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

查看:103
本文介绍了在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

Window->首选项-> Java->代码样式->格式化程序

并编辑配置文件。

这篇关于在Eclipse 3.5中更改编辑器标签宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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