How to disable auto creation of curly brackets({}) in eclipse?

前端 未结 1 733
后悔当初
后悔当初 2020-12-25 11:07

When I write

if(true)
{

eclipse auto-completes it to

if(true)
{
    //cursor here
}

Which gets annoying w

相关标签:
1条回答
  • 2020-12-25 11:43

    From Eclipse's main window, choose Window and then Preferences. Then choose Java, Editor and then Typing to get the following screen:

    enter image description here

    and un-check {Braces}.

    Tested on Eclipse Helios.

    0 讨论(0)
提交回复
热议问题