1

Are there any Javascript IDEs that support automatic error highlighting? I want to enable automatic highlighting, but the Geany IDE doesn't support it. (I mean that it should be possible to see a line that produced an error immediately after the error was encountered in a script).

3

Eclipse supports syntax and error highlighting for JavaScript. Just be sure the JavaScript Development Tools (JSDT) are installed.

If you have a package of Eclipse that doesn't include the JavaScript Development Tools, go to Help->Install New Software... Select the repository http://download.eclipse.org/releases/juno from the dropdown menu (or add it if it's not there). (This is assuming you're running the latest Juno version of Eclipse. Other versions will have a similar repository though.)

You can type "JavaScript" in the filter text box or locate JavaScript Development Tools under Programming Languages. Check the box next to the tools, hit next, agree to the licenses, finish and you're good to go once Eclipse restarts.

You will likely want to change to the JavaScript perspective for an optimal experience while programming in that language. Window->Open Perspective->Other... Select JavaScript in the list and hit OK.

  • Do any other JavaScript IDEs have this feature (besides Eclipse)? – Anderson Green Jan 11 '13 at 17:45
  • Also, how can the JavaScript development tools be installed in Eclipse? – Anderson Green Jan 11 '13 at 17:49
  • I added info on how to install JSDT in Eclipse as well as change the perspective for JavaScript programming. – Jeff Lockhart Jan 11 '13 at 19:36
  • I found out that it's also possible to install Eclipse plugins from the command line: stackoverflow.com/questions/7163970/… – Anderson Green Jan 12 '13 at 4:48
  • I found out that the error highlighter for Eclipse and Aptana can't point out the use of non-existent variables. I wonder if there are any other IDEs that can do this? – Anderson Green Jan 12 '13 at 4:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.