how do I enable javascript support in eclipse pdt. I have aptana installed. thx
2 Answers
You can install JavaScript Development Tools (JSDT): http://www.eclipse.org/webtools/jsdt/
Comments
In addition to the other answer there are ways to 'help' Eclipse with JS using JsDoc.
One example is using @memberOf to help the outline.
Also add the jshint eclipse plugin to show problems detected by jsHint in the js editor.