[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] JDT Quick-Fix Question : Smart Insert of Semicolon ??
|
- From: leif.hanack@xxxxxxxxxxxxx (Leif)
- Date: Fri, 25 Feb 2005 17:39:41 +0000 (UTC)
- Newsgroups: eclipse.newcomer
- Organization: Eclipse.org
- User-agent: NewsPortal/0.34 (http://florian-amrhein.de/newsportal/)
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