When you edit a JSP or JS file in Eclipse, the deadlock resolution rollup

Source: Internet
Author: User

The use of js files, often appear to gradually improve the phenomenon, the specific method played a role, not too good to speak. List all the used methods as follows:

1. Cancel Verification

Windows–>perferences–>validation

Drop all except the manual below, build only leave classpath dependency Validator

2. Turn off spell checking

Windows–>perferences–>general–> Editors->text editors->spelling

3. For MyEclipse, editing tools when modifying JSP pages

Window > Perferences > General > Editors > File associations >

In file types, select *.jsp > Set myeclipse jsp Editor to default in associated editors.

4, eliminate the JAR packet access network

When using the card to die.

This is because of the workaround: window-->preferences-->java-->installed JREs, editing the JRE used, putting Rt.jar and Charsets.jar Javadoc Location is set to null (none). Of course, you can also download Javadoc to this machine, the relevant settings can also be resolved.

Also: All the jar packages used in your project are treated the same.

5. Modify shortcut keys for open links

Recently, when editing code in MyEclipse, use shortcut keys to copy and paste, often cause the editor briefly pause, the cursor does not follow, incredibly response, almost suspended animation.

Want to think about what should be the editor on the configuration or what the IDE's function, so into the preferences to find the edit function, a test, and finally found that the original code of the super-chain function caused.

Access method: Text Editors, Editors, Preferences, General, Windows------hyperlinking

Change the hyperlink shortcut to another key such as ALT (cannot change to shift)

Description: In This function is really very useful, but because the copy and paste function shortcut key is also CTRL, so I in the fast operation, the original page address: http://liyanblog.cn/articles/2013/03/28/ 1364464592117.html#6555527-youdao-1-342-6bf3f08145fcae5f9805082906cbbf15

6. Modify the project's. Project file

JS Editor is very slow, especially when copying and pasting code.

Using the official website of the standard version of JS when JS is no longer like a snail.

<buildSpec>

<buildCommand>

<name>org.Eclipse.ui.externaltools.externaltoolbuilder</name>

<triggers>full,incremental,</triggers>

<arguments>

<dictionary>

<key>LaunchConfigHandle</key>

<value>&lt;project&gt;/.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>&lt;project&gt;/.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>

Original link: http://blog.csdn.net/bell2008/article/details/8758290

7. Adjustment in the Eclipse. ini file, change the parameters to:

-vmargs

-dosgi.requiredjavaversion=1.6

-xms512m

-xmx512m

-xx:permsize=256m

-xx:maxpermsize=256m

-xx:-usegcoverheadlimit

When you edit a JSP or JS file in Eclipse, the deadlock resolution rollup

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.