- 从菜单中选择项目>属性
- 选择 Java代码样式>格式化器
- 启用项目特定设置或单击配置工作区设置
- 单击编辑... 按钮活动个人资料
- 在缩进标签中,取消选中所有缩进选项
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 line with a tab. Is there a way to disable this "handy" "commodity"?
- From the menu go to Project > Properties
- Select Java Code Style > Formatter
- Check the box for Enable project specific settings OR click Configure Workspace Settings
- Click the Edit... button for the active profile
- On the Indentation tab uncheck all of the Indent options