JDT Quick-Fix Question : Smart Insert of Semicolon ?? [message #29638] |
Fri, 25 February 2005 17:39 |
Eclipse User |
|
|
|
Originally posted by: leif.hanack.t-systems.com
Hello,
i found inside JDT tips and tricks the smart insert of semicolons but can
not get it to work.
I pressed Ctrl-Shift-Insert to enable this mode. the mode is displayed in
the lower part of the ide. I changed the preferences in order to enable
the insertion of semicolons.
BUT: how does it work now?!
I would suggest an automatically semicolon if i type s.th. like
String test = "test"
No semicolon:((
In IDEA there is a key binding, that 'finishs' the line. If i press in the
above example Ctrl-Shift-Enter the semicolon is added. Furthermore if you
have a line like
if ( 3==5
pressing Ctrl-Shift-Enter will change the code to
if ( 3==5 ) {
}
Is there a equivalent quick fix extension in eclipse?!
How does the smart insertion work?
Thanks in advance, Leif
|
|
|
|
Powered by
FUDForum. Page generated in 0.07821 seconds