MyEclipse 2014 配置与优化设置

发布时间:2022-12-05 00:31:02   来源:文档文库   
字号:
MyEclipse2014优化设置
1.指定本机java环境
Windows-->preferences-->java-->InsetallelJREs
右侧单击ADDstandardVM-->Next-->Directory-->Finash点选新增jre环境-->点击OK

2.更换背景颜色个人感觉白色比较刺激眼睛可选择性更换
Windows-->preferences-->General-->Editors-->TextEditors
右侧左下方选中Backgroundcolor,单击Systemdefault选项框后,点击color选择颜色后-->OK

3.取消serversmyeclipse自带的tomcat开发中常常需要到相应的tomcat目录中查看,指定本机自带tomcat可以更方便的操作
Windows-->preferences-->MyEclipse-->Servers-->Tomcat
根据个人选择指定tomcat目录并点选上方的radioEnable选项-->OK

取消server中的tomcat
Windows-->preferences-->MyEclipse-->Servers-->IntegratedSandbox-->MyeclipseTomcat6点击disable

4.取消自动validation有一堆,什么xmljspjsfjs等等,我们没有必要全部都去自
动校验一下,只是需要的时候才会手工校验一下!取消方法
windows-->perferences-->myeclipse->validation
除开Manual下面的复选框全部选中之外,其他全部不选
手工验证方法:
在要验证的文件上,单击鼠标右键--->myeclipse--->runvalidation

5.取消Eclipse拼写检查
拼写检查会给我们带来不少的麻烦,我们的方法命名都会是单词的缩写,他也会提示有错,所以最好去掉,没有多大的用处
windows--->perferences--->general-->editors->TextEditors->spelling点击enablespellcheck

6.jsp/xml/html

windows--->perferences--->general--->editors->fileassociations
在下方选择一种编辑器,我选择的是myeclipsejsp/xml/htmleditor然后点击左边的default按钮

7.取消Maven更新(启动更新
Window>Preferences>Myeclipse>Maven4Myeclipse禁用Downloadrepositoryindexupdatesonstartup

8.修改jsp文件内容的编码
window->Preferences->myeclipse->FilesandEditors->jsp

9.hoversjavascripthovers(鼠标悬停提示关闭鼠标悬停提示关闭
Window>preference>Myeclipse>FilesandEditors>javascript>edit>选中Hover掉勾选CombinedHove
javaWindow>preference>java>Editor>Hovers去掉勾选CombinedHoverBug模式调勾选上VariableValues

10.修改新建文件java/js/html/properties文件编码
window->Preferences->General->ContentType把下面的DefaultCharacterSet的值改成UTF-8

11.个人习惯:
Window-->Preferences-->General-->Workspace,文字编码改为UTF-8

12.修改右键
windows>CustomizePerspective选项

13.myeclipse内存溢出
打开MyEclipse目录下的myeclipse.ini文件在后面修改下面几个属性-vmargs
-Xms512mJAVA能够分配的内存)-Xmx512mJAVA能够分配的最大内存)-XX:PermSize=512M(非堆内存初始值)-XX:MaxPermSize=512M(非堆内存最大值)-XX:ReservedCodeCacheSize=64meclipse缓存)


本文来源:https://www.2haoxitong.net/k/doc/ca018f4d050876323012123f.html

《MyEclipse 2014 配置与优化设置.doc》
将本文的Word文档下载到电脑,方便收藏和打印
推荐度:
点击下载文档

文档为doc格式