Changing editor tab width in eclipse 3.5(在 Eclipse 3.5 中更改编辑器选项卡宽度)
问题描述
我正在尝试从窗口 -> 首选项 -> 常规 -> 编辑器 -> 文本编辑器中调整选项卡的宽度,其中有一个显示选项卡宽度"字段.但无论我在那里输入什么,当我在 Java 文件中开始换行时,缩进的大小都是 4.有什么想法吗?
I am trying to adjust the width of tabs from Window -> Preferences -> General -> Editors -> Text Editors where there is a field for "Display Tab Width". But no matter what I enter there the size of indentations when I start a newline in a Java file is 4. Any ideas?
推荐答案
Java 文件有一个特殊的地方可以编辑这个设置.你需要去
Java files have a special place to edit this setting. You need to go to
窗口->首选项->爪哇->代码风格 ->格式化程序
然后编辑个人资料.
这篇关于在 Eclipse 3.5 中更改编辑器选项卡宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Eclipse 3.5 中更改编辑器选项卡宽度
基础教程推荐
- 大摇大摆的枚举 2022-01-01
- Java Swing计时器未清除 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- 从 python 访问 JVM 2022-01-01
