Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 78 forks source link

Warnings for node_modules with jsdt.core.jsNature enabled #43

Closed paulvi closed 10 years ago

paulvi commented 11 years ago

When testing 0.4.0.201305181550 (in Eclipse for JEE 4.2.2), and project has 2 natures

<natures>
    <nature>org.nodeclipse.ui.NodeNature</nature>
    <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>

then when browsing code under node_modules, Eclipse shows a lot of error for .js file. For example node_modules\jade\jade.js.

This is not useful and waste of CPU resources.

Quick solution is just to remove jsdt.core.jsNature from .project file.

tomotaro1065 commented 11 years ago

I didn't got those errors in my environment. And is there any relationship between having 2 natures and those errors?

paulvi commented 11 years ago

Those are not errors, but warnings in Editor. It is not so bad. This issue is like optimization.

I am trying it now, but I think it is related to dependency on JSDT

paulvi commented 10 years ago

closed in 0.7 with switch to JSHint for validation