If any of these features or capabilities already exist, please let me know
about them! These are just something I've wanted to do over the last couple
of days, and thought I'd mention them to see if anyone else agrees:
* A key-press that jumps me to "outside the current block".
This way, if I use a live-template that creates a full {} block,
I can type away, and when done, just hit one key press to move
the cursor to the correct place outside the current block, at
the correct indentation level
* An "un-surround". If I'm anywhere in an "if" statement, I want
it to peel off the if statement and un-indent the body code.
Same with being in a try/catch. Peel off the try and all catch
clauses, and un-indent the code. I need to do this a lot.
* An "extract-subclass". I know there's an "extract super-class",
but I sometimes need to keep the root of the object hierarchy
the same, and create a new subclass (moving some members and
methods "down"). Instead I have to extract a super-class
specifying a 'temporary' name, then rename the orignal class to
what I want it to be, and then rename the new 'super' class
to be what the original class WAS. A pain in the ass. The
other choice is to do it "manually" of course. I'd rather just
have an "extract-subclass" in addition to "extract-superclass".
* A key that "cancels" the current operation, like Ctrl-G in
EMACS. If you have already pressed the first key in a two-key
command, this key would cancel it. It would also cancel any
incremental searches, leaving the cursor exactly where it is.
In most cases, it would be a "no-op" key.
* There's a "layout code" function for optimizing and updating
import statements. This isn't really part of "layout code".
It's more an "update" feature. I'd like to see it separated
out, and enhanced, so that I can use a single key press to do
things like update javadoc @params/@returns, update "catch"
and "throws" clauses, optimze import statements (to remove
unused imports, for example), etc. This feature would help
me ensure my code was correctly "in sync" with changes being
made, especially with respect to exceptions.
* I really want code-completion to work when specifying an array
index. If I type "foo[", and hit ctrl-space or whatever, I'd
like to see options come up that make sense. I don't always use
simple "i" variables to index. Sometimes the names are longer
(like "currentComponent"), so it'd be helpful to get a list of
all viable index variables at this point.
* When creating my own live-templates, there are "expressions"
you can use when editing variables. I'd like to be able to
select these expressions from a drop-down list of some sort,
so I don't have to remember the names and spellings, or
refer back to the help. Or maybe use an "insert expression"
button on the dialog that would bring up a list of expressions
and allow me to select one.
* An indicator on the tab of the file that indicates if there
are errors and/or warnings, so I can tell just by looking at
the tab, and not have to select every tab to see which ones
still have outstanding issues.
Comments? Are any of these things possible today, and I'm just missing
something? I know some of these have been mentioned before, but others I
haven't seen.
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features