Hello Paul,
please have a look at my comments below.
1) Text formatting as I type.
>A previous IDE had this great feature of taking care of my bracket indending
>and spacing for me, as I typed. In other words, if I configured it for
>"open brace on same line, next line indended, closing brace on its own
>line", then I would just type "if (x) {" and immediately the cursor would be
>positioned on the next line, indented. I could then type "break;}" and the
>"}" would immediately be positioned on the next line, flush with the "if".
>I didn't have to worry about carriage returns or tabs. It was all
>automatic. This was an option that could be turned on or off, and I really
>miss it in IDEA. If IDEA can do this, can someone steer me to the correct
>option to turn it on?
IDEA lets you define your preferred code style (e.g. where the brackets
should be aligned). With inserting the brackets IDEA is much smarter than
your expected behaviour:
if (x) {|
If you hit the <Tab>-key at the |-position (the <Tab>-key can be customized
to the <Space>-bar), IDEA completes to
if (x) {
|
}
, where the | represents the cursor position after expanding this really
nice live template. You safe some keystrokes and the code still is
correctly "bracketized".
I liked to create my own (really simple) live templates, e.g. the ife-template:
ife|
expands to
if (|) {
}
else {
}
Try to do this in MSDev ;-)
>2) Auto-generation of javadoc comments
>
>I would like to just be able to right-click on a method in the project view,
>and select "Add Javadoc" from the context menu, and have IDEA automatically
>add the comments, the "@param variable" entries, and the "@returns", all as
>appropriate, and then position the cursor at the proper place to start
>filling out the javadoc details. I know that typing "/**<return>" puts the
>whole javadoc comment block in, but maybe it could be extended to also
>insert the @param and @returns tags in as well, by examining the function
>signature. That would be as good.
I believe, the next IDEA version (called internally Ariadna) will have a
really smart Javadoc editing feature.
>3) Sync project view with current file/class
>
>I know there's a keystroke to do this, but I can never remember what it is.
>I'd like to be able to sync the project view to the file I'm currently
>working on, preferably by being able to right-click and select something.
>Or maybe an option (easily toggleable) that would always keep the project
>pane in sync with the editor window I'm working in (always have that class
>in view, and opened).
Did you worked with J++ in the history? Having some file opened in the
editor (e.g. while debugging), J++ highlighted this class in the
class-tree, too. This was a terrible bad feature of J++ IMHO. If you had a
large project, after a small debug session, the whole project tree was
expanded and you did not know, where you are.
IDEA solved that 10 times smarter. Just press Alt-F1, select you target
view (e.g. Source) and hit Enter. If you do it the second time, IDEA
remembers your previous choice and you only need to press Alt-F1 Enter. You
only will need this feature, if you want to add classes to the same package
or want to delete the current class.
>4) Cycling through open files
>
>MSDev had one of the best interfaces I've come across for moving among many
>open files. Ctrl-Tab would move to the next file, Shift-Ctrl-Tab would go
>to the previous. If you held down Ctrl (or Shift-Ctrl) while pressing Tab
>repeatedly, you'd cycle through the open files forward and backward. But
>the kicker was if you lifted up Ctrl (or shift-Ctrl), then the file you
>started on became the "next" file. Thus Ctrl-Tab could go to the next file,
>and then a subsequent Ctrl-Tab would take you right back to where you were.
>It was very easy to use the "Ctrl-Tab-Tab-Tab..." to move to the file you
>wanted, and then the next Ctrl-Tab would instantly return you to where you
>were, and using these, you could easily change/set the "order" of the files
>as well. As long as the next version makes it easy to "go back to the last
>file I was working on", I'll be happy, but I'd love to be able to reproduce
>the Ctrl-Tab behavior of MSDev, because I'm so used to it from my C++ days.
The difference is, that IDEA uses a tabbed editor, while the MSDev uses an
MDI-environment. I believe, you soon will become accustomed with IDEA's
shortcuts: Alt-Left and Alt-Right.
>5) Drag and Drop text editing.
>
>IDEA makes refactoring really easy, but reorganizing and rearranging code is
>still a cut & paste pain. I got used to doing lots of reorganizations using
>drag-and-drop text editing (in concert with ctrl-drag to copy text as well).
>I'd like to see an option to turn on drag-and-drop text editing, as I really
>miss it (and I know some people hate it and would want to turn it off).
Currently it's not possible. But do you really *need* it? Jumping between
the mouse and keyword significantly slows you down in writing code. I
suggest to play around with Ctrl-W, Ctrl-C, Ctrl-X and Ctrl-V. Ctrl-W (may
be used multiple times) selects logical belonging blocks. Ctrl-C copies
your selection to the clipboard. If there wasn't a selection, the current
line is copied. Ctrl-X cuts the selection to clipboard. If there wasn't a
selection, the current line is cut. Ctrl-V pasts the clipboards content on
the current cursor-position. The latter 3 short-cuts are Windows-standards,
so you will become familiar with them very soon.
Best regards,
Thomas Singer
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features