How do I disable auto-indent in Eclipse Helios (Java)?

前端 未结 3 956
伪装坚强ぢ
伪装坚强ぢ 2020-12-21 06:10

I swear I looked everywhere, and disabled almost everything (insertion of matching brackets etc), but when I type an opening brace and hit enter, it auto-indents the next li

3条回答
  •  萌比男神i
    2020-12-21 06:20

    1. From the menu go to Project > Properties
    2. Select Java Code Style > Formatter
    3. Check the box for Enable project specific settings OR click Configure Workspace Settings
    4. Click the Edit... button for the active profile
    5. On the Indentation tab uncheck all of the Indent options

提交回复
热议问题