Tuesday, May 30, 2006

Javascript plugin for Eclipse

I waas looking for a Javascript editor and came across JSEclipse plugin from Interakt. Its a beautiful plugin and even has a all-features-enabled free version :).

The best things I like about JSEclipse are:
  • Code completion for JavaScript function and classes.
  • Code completion for JavaDoc.
  • Function and class names are displayed in the Outline panel for the currently open file.
  • Open declaration i.e. the famous F3 functionality
  • Error reporting
  • Warning reporting
  • Code wrap
  • Support for major JavaScript libraries
  • Code completion uses Rhino for better accuracy
  • Use of JSDoc and inline parameter comments to detect parameter type
  • Suggest parameters to be filled
  • Project dependent code completion
  • Reads all classes in current project
  • Reads classes in currently opened files
  • Scan current file for words
  • Reads XML files for class definitions
  • Add your own XML with class definitions
However, it works on Eclipse 3.1.x versions only. I have multiple Eclipse installations. It didnt work on Eclipse 3.0 ("Editor could not be initialized."). However with Eclipse 3.1.2, it was a breeze to work with it. Either create an Eclipse project, or add JS files to your existing project, and you are ready to go!

It appears to work based on usage - it remembers how an object is used and completes based on that.

Have u guys (and gals) used any other editor for Javascript? Do share your experiences here.

No comments:

Total Pageviews

Diving into the Controversial World of IPL with Lalit Modi

Lalit Modi, the mastermind behind the Indian Premier League (IPL), recently had a candid interview with Raj Shamani. The interview delved d...