如何在Eclipse Helios(Java)中禁用自动缩进? [英] How do I disable auto-indent in Eclipse Helios (Java)?
本文介绍了如何在Eclipse Helios(Java)中禁用自动缩进?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
- 从菜单中选择项目>属性
- 选择 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
这篇关于如何在Eclipse Helios(Java)中禁用自动缩进?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文