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

js Editor shows eror in JSON, but json editor not // where is JSHist #62

Closed paulvi closed 10 years ago

paulvi commented 11 years ago

I have discovered that Editor for .js files can show error in JSON (e.g. missing quotes), while Editor for .json doesn't show

js editor shows eror in json but json editor not

I will look that.

The bigger question is where is JSHint integration and how to call it explicitly.

paulvi commented 11 years ago

Related code from plugin.xml

  <extension
     point="org.eclipse.ui.editors">
  <editor
        class="org.nodeclipse.ui.editors.NodeEditor"
        contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor"
        default="true"
        extensions="js,json"
        icon="icons/node.png"
        id="org.nodeclipse.ui.editors.NodeEditor"
        name="Node Editor">
  </editor>
 </extension>
paulvi commented 10 years ago

close by f36d81a147