Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
i believe xcode has the ability to do that, what are you using, mac or windows?' –  AlanTuring Oct 2 '12 at 3:48
    
I'm using Linux right now, but I also have Windows installed on my computer. –  Anderson Green Oct 2 '12 at 4:06
1  
It appears that Aptana supports this feature: aptanastudio.tenderapp.com/discussions/questions/… –  Anderson Green Oct 2 '12 at 4:10
    
Also, the cloud9 ide makes it possible to quickly jump to an error (which can't yet be done using Geany.) –  Anderson Green Oct 2 '12 at 19:33
add comment

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer
    
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
add comment

Yes, I suggest to try Codelobster PHP Edition

It has great auto-cpmpletion and error highlighting

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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