Reputation: 3190
When I write
if(true)
{
eclipse auto-completes it to
if(true)
{
//cursor here
}
Which gets annoying when I want to write an else or else if. Any way to disable it?
Upvotes: 32
Views: 19805
Reputation: 170148
From Eclipse's main window, choose Window and then Preferences. Then choose Java, Editor and then Typing to get the following screen:
and un-check {Braces}.
Tested on Eclipse Helios.
Upvotes: 48