Eclipse常用配置
前言
此为个人常用配置,不一定适用于所有人。
直接打开类文件/文件夹所在的本地目录
方案一
项目上右键->show in ->System Explorer 或者ALT+SHIFT +W ,在弹出的菜单中选择System Explorer
方案二
配置一个External Tool **1、Run --》ExternalTools --》External Tools Configurations ** 2、双击Program,新建一个Program。 3、设置新建的Program
location 里面填 :C:\WINDOWS\explorer.exe
Arguments 里面填: ${container_loc}
1
2
3
2
3
设置编码
整个工作空间
修改Workspace encoding & 换行符
Window ->Preference->Genera-->Workspace
1
Text file encoding 设为 UTF-8, new text file line delimiter 设为 Unix
Properties 文件
Window ->Preference->Genera-->Content Types-->Text -->Java Properties File
1
设置Default encoding,把下面的ISO-8859-1改为UTF-8,然后update,确认保存退出。 实际项目中,可能只配置Java Properties File,无法适用于Spring Properties File,此时需要单独配置一下其编码格式。
调整字体大小
控制台
控制台字体调整
Window -> Preferences -> General -> Appearance -> Colors and Fonts -> Basic -> Text Font -> Edit
1
调节主窗口字体大小。
Window -> Preferences -> General -> Appearance -> Colors and Fonts ->
Java -> Java Editor Text Font -> Edit
1
2
2
取消校验(提升Eclipse响应)
移除JSON文件红叉(旧)
以下为两种方案:
- 关闭校验 菜单Window - > Preferences 然后搜索 validation 关闭对应的校验。
- 关闭拼写检查 在eclipse下的Window–Preference输入spell,然后把第一个复选框“Enable spell checking“给去掉就可以了。
亦既:
Window--》 Preferrnces–》General–》Editors–》Text Editors–》spelling
1
,取消Enable spell checking选项
设置tab缩进
上面的是4空格缩进,下面是编辑在编辑窗口显示打印边距(换行参考线),非必选。
xml 文件格式化(非必要)
预览
除特别注明外,本站所有文章均为 windcoder 原创,转载请注明出处来自: eclipsechangyongpeizhi
Loading comments...

预览
暂无数据