优化eclipse打开jsp,js速度
2017-12-11 17:39
176 查看
1、取消验证
windows–>perferences–>validation
把 除了manual 下面的全部点掉,build下只留 classpath dependency Validator
2、关闭拼写检查
windows–>perferences–>general–> editors->Text Editors->spelling
3、修改JSP页面默认打开工具
Window > perferences > General > Editors > File Associations >
在File types 中选择 *.jsp > 在Associated editors
中将"JSP Editor"设置为默认。
4、修改打开链接的快捷键
Window -> Preferences -> General -> Editors -> Text Editors -> Hyperlinking
把超链的快捷键改为其他键比如Alt(不能改为shift)
说明:在Eclipse中,经常可以使用Ctrl+鼠标单击操作,有会延迟IDE响应。
5、修改项目的.project文件
去掉.project中红色行
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><project>/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><project>/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
6、调整Eclipse运行内存
在eclipse的安装目录下用EditPlus编辑eclipse.ini文件,将其中的参数改成:
-Xms512m
-Xmx2048m
-server
-XX:PermSize=128m
-XX:MaxPermSize=256m
-XX:+UseParNewGC
-Xverify:none
7、启动插件优化
windows - preference- general - startup and shutdown 里,只保留第1、3、4,其他全部取消,保留的为:
Usage DAta Gathering Plug-in,
Equinox Provisioning Platform Automatic Updata Support,
WTP Webservice UI Plug-in
8、清理工程文件
删除工作空间目录下.metadata\.plugins\org.eclipse.epp.usagedata.recording目录里的所有文件,主要要保留这个目录,只删除目录下文件即可
9、其他
1. 取消掉“project -> Buiild Automatically”选项;
2.进入Windows->Preferences->Java->Editor->Hovers,然后关掉eclipse相关的hover选项;
windows–>perferences–>validation
把 除了manual 下面的全部点掉,build下只留 classpath dependency Validator
2、关闭拼写检查
windows–>perferences–>general–> editors->Text Editors->spelling
3、修改JSP页面默认打开工具
Window > perferences > General > Editors > File Associations >
在File types 中选择 *.jsp > 在Associated editors
中将"JSP Editor"设置为默认。
4、修改打开链接的快捷键
Window -> Preferences -> General -> Editors -> Text Editors -> Hyperlinking
把超链的快捷键改为其他键比如Alt(不能改为shift)
说明:在Eclipse中,经常可以使用Ctrl+鼠标单击操作,有会延迟IDE响应。
5、修改项目的.project文件
去掉.project中红色行
<buildSpec>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><project>/.externalToolBuilders/org.eclipse.wst.jsdt.core.javascriptValidator.launch</value>
</dictionary>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value><project>/.externalToolBuilders/org.eclipse.wst.validation.validationbuilder.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
6、调整Eclipse运行内存
在eclipse的安装目录下用EditPlus编辑eclipse.ini文件,将其中的参数改成:
-Xms512m
-Xmx2048m
-server
-XX:PermSize=128m
-XX:MaxPermSize=256m
-XX:+UseParNewGC
-Xverify:none
7、启动插件优化
windows - preference- general - startup and shutdown 里,只保留第1、3、4,其他全部取消,保留的为:
Usage DAta Gathering Plug-in,
Equinox Provisioning Platform Automatic Updata Support,
WTP Webservice UI Plug-in
8、清理工程文件
删除工作空间目录下.metadata\.plugins\org.eclipse.epp.usagedata.recording目录里的所有文件,主要要保留这个目录,只删除目录下文件即可
9、其他
1. 取消掉“project -> Buiild Automatically”选项;
2.进入Windows->Preferences->Java->Editor->Hovers,然后关掉eclipse相关的hover选项;
相关文章推荐
- 【沫沫金原创】eclipse卡死,打开js jsp等卡死 电脑尖叫看这里
- eclipse打开JS JSP卡死 反应慢 解决方法
- 关于Eclipse中XML、JSP、JS等文件打开方式的设置
- Eclipse中XML、JSP、JS等文件打开方式的设置
- 在Eclipse里面使用其它编辑器打开jsp,css,js等文件
- eclipse添加js,html,jsp编辑输入补充提示
- 配置Eclipse编写HTML/JS/CSS/JSP页面的自动提示。
- eclipse加速之禁用JS、jsp等文件的语法验证,eclipsejs
- 大幅优化 eclipse+myeclipse 速度
- eclipse加速之禁用JS、jsp等文件的语法验证
- 系统架构 优化js的 优化web页面加载速度
- JSP速度优化七种方法
- 前端工程打开速度优化的循序渐进总结
- 提高页面相应速度之压缩优化js和css文件
- 优化网站提高打开速度
- eclipse完全支持jsp页面下HTML/JS/CSS智能提示
- 提高页面相应速度之压缩优化js和css文件
- 优化JVM参数提升Eclipse运行速度
- 优化JVM参数提升Eclipse运行速度
- Eclipse中jsp、js文件编辑时,卡死现象解决汇总