Eclipse - Cancel "Convert to JavaScript project ..."

I am working on an AngularJS / Gradle project in Eclipse. Everything worked fine, and no error was displayed in my project explorer.

Because of the idea, I selected my project -> right click -> Configure -> Convert to JavaScript project ...

After that, I had various errors in my * .js (AngularJS) files in my explorer project (but my project works fine!). Therefore, I decided to remove nature from my .project file, but errors still exist.

What is the correct way to "undo" that "Convert to JavaScript project"? Any help appreciated!

+4
source share
1 answer

, Un-convert JavaScript Project. .project :

<buildSpec>
    <buildCommand>
        <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
        <arguments>
        </arguments>
    </buildCommand>
</buildSpec>
<natures>
    <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>

, .

+1

Source: https://habr.com/ru/post/1626022/


All Articles