引言:
前些天在家里电脑上重装了一个eclipse,代码一格式化发现全乱,果断重配了一下。虽然网上已有大量流传,但不够系统。因此再整理一下,利人利自。
提纲:
一、换table为空格
二、显示80列提示线
三、显示行号
四、去掉文档注释自动格式化
五、修改快捷键
六、显示Help菜单的安装新软件
七、添加扩展名对应的打开方式
正文:
一、换table为空格
Window| Preferences| Java| Code Style| Formatter,点“New ...”,起名“non-tablespace”,点“Edit..”,选标签“Indentation”,在“General settings| Tab policy”后下拉框选“Space only”
二、显示80列提示线
Window| Preferences| General| Editors| Text Editors|,勾选“Show print margin”,在“Print margin column”填写“80”
三、显示行号
Window| Preferences| General| Editors| Text Editors|,勾选“Show line numbers”
四、去掉文档注释自动格式化
Window| Preferences| Java| Code Style| Formatter,点“New ...”,起名“non-tablespace”,点“Edit..”,选标签“Comments”,在“General settings”,去勾“Enable Javadoc comment formatting”
五、修改完成提示快捷键
Window| Preferences| General| Keys|,找到“Content Assist”,选中,点击“Unbind Command”移动光标到“Binding”,按[Alt+E]组合键。即可将快捷建改为Alt+E
六、显示Help菜单的安装新软件
Window| Preferences| General| Capabilities|,勾选“Classic Update”
七、添加扩展名对应的打开方式
Window| Preferences| General| Editors|,选中“File Associations”,点上面“Add...”,弹出框内填入“*.config”,点下面“Add...”,选择“Properties File Editor”。以后,默认打开方式为配置文件编辑器。
(完结)
分享到:
相关推荐
Eclipse 常用设置和操作,容易掌握,提高操作速度。
Eclipse常用设置
eclipse常用设置.pdf
eclipse常用开发模板,下载完成后直接导入使用就OK了
本资源对于初学习Eclipse开发JAVA的学者来说是一套必备首选材料,其中对Eclipse的操作设置的讲解相当详细。
这个文档可以引导您设置一下eclipse,使java开发得心应手。该文档包含多个常用修改点,既方便又实用。
eclipse 运行卡 常用 设置
常用设置
NULL 博文链接:https://fly533.iteye.com/blog/2428303
eclipse 常用插件 整理 eclipse 常用插件 整理 eclipse 常用插件 整理
eclipse常用快捷键eclipse常用快捷键eclipse常用快捷键eclipse常用快捷键eclipse常用快捷键eclipse常用快捷键eclipse常用快捷键
eclipse_MyEclipse快捷键及其常用设置高手汇总
Eclipse常用快捷键.pdf Eclipse常用快捷键.pdf
Eclipse常用的插件包:tomcatPluginV33、OpenExplorer_1.5.0.v201108051513、org.apache.ivyde.eclipse-incubating_1.3.0-SNAPSHOT、edu.umd.cs.findbugs.plugin.eclipse_2.0.3.20131105-14951、eclipse-maven3-...
本文讲解了eclipse中常用配置,对初学eclipse的帮助很大啊
IDEA和eclipse常用快捷键对照表,常用的快捷键,可以自己再添加