#805 JavascriptSideKick 1.0.0

closed-rejected
None
5
2012-03-19
2012-01-30
No

{{{ JavascriptSideKick 1.0.0
Source: https://jedit.svn.sourceforge.net/svnroot/jedit/plugins/JavascriptSideKick/tags/JavascriptSideKick-1.0.0
Announcement: Initial release
Requires Java 1.6
Requires jEdit 04.04.99.00
Required plugins:
ErrorList 1.9 (errorlist.ErrorListPlugin)
RhinoPlugin 1.7R3 (rhino.RhinoPlugin)
SideKick 1.2 (sidekick.SideKickPlugin)

Short Description: JavascriptSideKick is a parser that will show you errors in your javascript code

Long Description: <p>JavascriptSideKick is a javascript parser that will highlight syntax errors of your javascript files. It will delegate
the source tree to the javascript parser included in XML plugin if this one is available</p>

}}}

Discussion

1 2 3 > >> (Page 1 of 3)
  • Townsfolk
    Townsfolk
    2012-02-08

    Matthieu, I can't get this to work. I opened up a Javascript file, and switched the parser to RhinoJS. SideKick refreshes and the parser is set back to "none".

    I opened up SideKick options and set Javascript to RhinoJS, but when open a JS file, the parser is still set to none.

     
  • Townsfolk
    Townsfolk
    2012-02-08

    • assigned_to: nobody --> elberry
    • status: open --> pending
     
  • Townsfolk
    Townsfolk
    2012-02-08

    You can see from the screenshot that there's an error (looks like) in the status bar. I took this after trying to switch the parser to RhinoJS.

     
    • status: pending --> open
     
  • That's strange, I had this problem in the beginning but not anymore, I don't know from where it comes.
    Did you try with the trunk version of Sidekick ?

     
  • After choosing RhinoJS parser manually I get an exception and stop further testing. What's up?

    Jedit 4.4.1, plugin versions specified in props, automatically downloaded.

    java.lang.NoClassDefFoundError: org/mozilla/javascript/ErrorReporter
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
    at java.lang.Class.getConstructors(Class.java:1459)
    at org.gjt.sp.jedit.bsh.Reflect.constructObject(Reflect.java:603)
    at org.gjt.sp.jedit.bsh.BSHAllocationExpression.constructObject(BSHAllocationExpression.java:123)
    at org.gjt.sp.jedit.bsh.BSHAllocationExpression.objectAllocation(BSHAllocationExpression.java:114)

     
  • Do you have RhinoPlugin (and rhino.jar) loaded in jEdit ?

     
  • Sorry for the false alarm, Matthieu. I forgot about the dependencies of the dependencies. It must be that.

     
  • Still something is wrong. Rhino plugin is unavailable in 4.4.1 PM. And I have no clue how may rhino.jar jump into my jars directory.

     
1 2 3 > >> (Page 1 of 3)