Do any Javascript IDEs support automatic error highlighting (like the Eclipse Java IDE)?

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

Anderson Green

Posted 2012-10-02T03:20:53.747

Reputation: 5 214

I now realize that this question is off-topic here. It should instead be migrated to http://softwarerecs.stackexchange.com.

– Anderson Green – 2015-09-12T16:38:41.530

i believe xcode has the ability to do that, what are you using, mac or windows?' – pneumatics – 2012-10-02T03:48:06.047

I'm using Linux right now, but I also have Windows installed on my computer. – Anderson Green – 2012-10-02T04:06:00.410

1

It appears that Aptana supports this feature: https://aptanastudio.tenderapp.com/discussions/questions/935-how-to-highlight-errors-in-javascript-or-html

– Anderson Green – 2012-10-02T04:10:46.927

Also, the cloud9 ide makes it possible to quickly jump to an error (which can't yet be done using Geany.) – Anderson Green – 2012-10-02T19:33:05.323

Answers

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.

Jeff Lockhart

Posted 2012-10-02T03:20:53.747

Reputation: 231

Do any other JavaScript IDEs have this feature (besides Eclipse)? – Anderson Green – 2013-01-11T17:45:30.677

Also, how can the JavaScript development tools be installed in Eclipse? – Anderson Green – 2013-01-11T17:49:54.870

I added info on how to install JSDT in Eclipse as well as change the perspective for JavaScript programming. – Jeff Lockhart – 2013-01-11T19:36:45.010

I found out that it's also possible to install Eclipse plugins from the command line: http://stackoverflow.com/questions/7163970/how-do-you-automate-the-installation-of-eclipse-plugins-with-command-line

– Anderson Green – 2013-01-12T04:48:45.153

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 – 2013-01-12T04:53:33.280