在eclipse 3.5中更改编辑器选项卡宽度(Changing editor tab width in 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文件有一个特殊的地方来编辑这个设置。 你需要去
Window -> Preferences -> Java -> Code Style -> Formatter
并编辑个人资料。
Java files have a special place to edit this setting. You need to go to
Window -> Preferences -> Java -> Code Style -> Formatter
And edit the profile.
更多推荐
发布评论