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).

5

1 Answer 1

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.

5
  • Do any other JavaScript IDEs have this feature (besides Eclipse)? Jan 11, 2013 at 17:45
  • Also, how can the JavaScript development tools be installed in Eclipse? Jan 11, 2013 at 17:49
  • I added info on how to install JSDT in Eclipse as well as change the perspective for JavaScript programming. Jan 11, 2013 at 19:36
  • I found out that it's also possible to install Eclipse plugins from the command line: stackoverflow.com/questions/7163970/… Jan 12, 2013 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? Jan 12, 2013 at 4:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .