I am working on a AngularJS/Gradle project within Eclipse. Everything was working fine and no error was displayed within my project explorer.
Due to an idea I chose my project -> right click -> Configure -> Convert to JavaScript project...
After that I had various errors in my *.js (AngularJS) files in my project explorer (but my project works fine!). Therefore I decided to remove the nature from my ".project" file but the errors are still there.
What's the correct way to "undo" that "Convert to JavaScript project" stuff? Any help appreciated!
I think It doesn't exists a Un-convert to JavaScript Project. So you must edit your .project and remove the following lines:
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
After go at to your Problems View and remove the error if it exists again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With