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 中更改编辑器选项卡宽度
基础教程推荐
- Struts2 URL 无法访问 2022-01-01
- 如何对 Java Hashmap 中的值求和 2022-01-01
- 修改 void 函数的输入参数,然后读取 2022-01-01
- 存储 20 位数字的数据类型 2022-01-01
- REST Web 服务返回 415 - 不支持的媒体类型 2022-01-01
- 使用堆栈算法进行括号/括号匹配 2022-01-01
- 问题http://apache.org/xml/features/xinclude测试日志4j 2 2022-01-01
- Spring AOP错误无法懒惰地为此建议构建thisJoinPoin 2022-09-13
- 无法复制:“比较方法违反了它的一般约定!" 2022-01-01
- RabbitMQ:消息保持“未确认"; 2022-01-01
