在 Eclipse 3.5 中更改编辑器选项卡宽度 [英] Changing editor tab width in eclipse 3.5

查看:25
本文介绍了在 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 中更改编辑器选项卡宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆