One refactoring I'd love to have is one which inverts
an if-else statement; i.e.
if (an-expr){
BLOCK-1
}
else {
BLOCK-2
}
all to often I decide it would make more sense if it
looked like:
if (!(an-expr)) {
BLOCK-2
}
else {
BLOCK-1
}
I'd love to be able to right-click>refactor>invert-if
on the if keyword, even if I have to simplify the expression
by hand (e.g. (!(x == y)) to (x != y) ) by hand afterwards;
it is moving the compound statements about which is a pain.
---------------------------------
(Sorry if this has been mentioned before, but I find the digests
almost unreadable because of people posting in HTML format)
In #607 I have set up my favourite editor colours, but I cannot
seem to change the cursor (caret?) colour - it appears as an pale
green bar - except where it intersects part of a letter, when it shows
up bright red which is what I have selected. My default background is
R:62 G:89 B:145 and my foreground is white. Caret is red.
-----------------------------------
I have used an Emacs keymap from the beginning, and as a result have
never learnt the default keybindings, which means I never know how to
get at half of the functions mentioned in the tooltips, as their default
bindings conflicted with Emacs bindings and were removed.
With the advent of Ariadna I have been inspired to recreate an Emacs
keymap, but this time, for every keybinding conflict I have created an
alternate keybinding of Alt-X,<original binding>, so for example,
Ctrl-B is backwards-one-character in Emacs, but 'Goto Declaration" in
Default, so I have rebound "Goto Declaration" to Alt-X,Ctrl-B.
It seems to work well, so if anyone would like to test it out, I can email
it on to them and when it is thoroughly debugged, ship it to IntelliJ.
regards,
Tim
P.S. I can use MRJAppBuilder on MacOS-X to build a standalone launcher
for IDEA, but cannot persuade it to use a custom icon for it - has anyone
managed to yet?
----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail
disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.
----------------------------------------------------------------------
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list