Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JavaScript syntax check in eclipse

I am developing a RIA application with JavaScript in Eclipse. How can I enable JavaScript syntax check in eclipse?

like image 683
flybywire Avatar asked Mar 03 '10 21:03

flybywire


People also ask

How do I test JavaScript code in Eclipse?

To run JavaScript program code in Eclipse, right-click on myJavascriptProgram and navigate to New -> Open with -> web browser and click on it as shown below. Eclipse will open the web browser in the editor and display the following output.

Can we use JavaScript in Eclipse?

The JavaScript Development Tools (JSDT) provide plug-ins that implement an IDE supporting the development of JavaScript applications and JavaScript within web applications. It adds a JavaScript project type and perspective to the Eclipse Workbench as well as a number of views, editors, wizards, and builders.


2 Answers

Both the Web Tools Platform (WTP) and Aptana offer a quite good JavaScript editor with syntax checking. I use the later myself.

like image 72
Zef Hemel Avatar answered Sep 28 '22 06:09

Zef Hemel


Have you looked at JSEclipse or JavaScript Editor PlugIn for Eclipse?
If you are developing using ExtJS you can get even intellisense along with syntax check using spket.

like image 43
Li0liQ Avatar answered Sep 28 '22 08:09

Li0liQ