eclipse completely remove validation

Eclipse in the default JS editor is very slow, especially when copying and pasting the code, CPU occupancy is always high even to 100%, and it leads to edit it very slow.

This is because the Validate function in Eclipse with the cause of this tasteless function simply makes you go crazy.

Validation tried to modify the corresponding configuration items in the menu and project properties does not work, finally found the need to modify the .project file in the root directory of the project in order to solve the problem.

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
    <name>integrate-base-web</name>
    <comment></comment>
    <projects>
    </projects>
    <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>
        <buildCommand>
            <name>org.eclipse.m2e.core.maven2Builder</name>
            <arguments>
            </arguments>
        </buildCommand>
    </buildSpec>
    <natures>
        <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
        <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
        <nature>org.eclipse.jdt.core.javanature</nature>
        <nature>org.eclipse.m2e.core.maven2Nature</nature>
        <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
        <!-- <nature>org.eclipse.wst.jsdt.core.jsNature</nature> -->
    </natures>
</projectDescription>

Posted the comment section above code is to be removed portion Validation configuration items.

After removal of the whole world clean.

 

"So do not hold back contacted for some time, I really do not contacted."

Guess you like

Origin www.cnblogs.com/yanggb/p/11528281.html