###一. 优化 ####1. 取消自动validation ``` 取消方法: windows–>perferences–>myeclipse–>validation 除开Manual下面的复选框全部选中之外,其他全部不选 手工验证方法: 在要验证的文件上,单击鼠标右键–>myeclipse–>run validation ``` ####2. 取消Eclipse拼写检查 ``` windows–>perferences–>general->editors->Text Editors->spelling ``` ####3. 取消myeclipse的启动项 ``` myeclipse会有很多的启动项,而其中很多我们都用不着,或者只用一两个,取消前面不用的就可以 windows–>perferences–>general–>startup and shutdown 可以关掉的启动项有: JSF辅助开发插件 1)ICEfaces Integration for MyEclipse; 2)JSF Editor Preview Support for MyEclipse; 交付相关的插件 3)Delivery Runtime JRE 4)Delivery Package Runtime UI等3个 5)m2e Marketplace; 6)Mylyn Tasks UI和Mylyn Team UI; 关闭自动更新 7)Equinox Provisioning Platform Automatic Update Support ``` ####4. 换用JDK8 ![](https://leanote.com/api/file/getImage?fileId=5b06e075ab644131ac0029a5) ![](https://leanote.com/api/file/getImage?fileId=5b06e075ab644131ac0029a3) ####5. 关闭Maven自动下载 ![](https://leanote.com/api/file/getImage?fileId=5b06e075ab644131ac0029a6) ####6. 更改JSP默认打开的方式 ![](https://leanote.com/api/file/getImage?fileId=5b06e075ab644131ac0029a2) ####7. 更改文件编码 ![](https://leanote.com/api/file/getImage?fileId=5b06e075ab644131ac0029a4) ![](https://leanote.com/api/file/getImage?fileId=5b06e075ab644131ac0029a7) ####8. 配置代码提示 不建议配置 ``` 配置代码提示 1). 打开Eclipse,然后“window”→“Preferences” 2). 选择“java”,展开,“Editor”,选择“Content Assist”。 3). 选择“Content Assist”,然后看到右边,右边的“Auto-Activation”下面的“Auto Activation triggers for java”这个选项。其实就是指触发代码提示的就是“.”这个符号. 4). “Auto Activation triggers for java”这个选项, 把“.abc”改成“.abcdefghijklmnopqrstuvwxyz(,” 以后,当你输入任意一个字母时,都会自动提示。 ``` ####9. eclipse与myeclipse编码设置 ``` 1.window-->preference-->general-->content type 然后在<Content Types>中展开每一颗子项,并在<Default encoding>中输入"UTF-8"或"GB18030", 点update! 2.window-->preference-->MyEclipse-->Files and Editors 将每个子项的"Encoding"改为"ISO 10645/Unicode(UTF-8)"或"Chinese,National Standard",点Apply! 以后所有创建的文档类型都是UTF-8或GB18030格式! 改变Eclipse或者MyEclipse新建文件的默认编码 eclipse的: window-preferences-General-ContentType 的右边窗口,改成gbk也可以,utf-8也行。 myEclipse的: window-preferences-myEclipse-files and editors-jsp里面有encoding,改这里为ISO10646/UTF-8. eclipse和java文件编码设定 ``` ####10. 内存优化 ``` 将最大堆内存 Xmx 和 最大永久内存 MaxPermSize 按比例扩大,例如扩大2倍,4倍都行. ```
博客
312312312
07-14
396
博客
32132
07-14
294
博客
312321312
07-12
236
02-06
1581
博客
试试文章类型
01-05
576
12-15
348
12-15
742
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交