Home > general > Enable JSLint Javascript source code validation in Aptana

Enable JSLint Javascript source code validation in Aptana

October 18th, 2009

You might know Aptana, which is a free, on Eclipse based Javascript IDE. Aptana has several nice features like autocompletion and code formatting. You might know Lint as well. Lint is a tool which checks your code from well known coding errors which do not necessarily cause weird program behaviour. It turned out there is JSLint as well, which is Lint for Javascript. The nice thing is that Aptana natively supports JSLint code verification. Out of the box Aptana uses the Mozilla Javascript Validator.

In order to change your validator launch Aptana and click Window -> Preferences. Then goto Aptana -> Editors -> Javascript -> Validation. Now check the JSLint checkbox. Click [Apply] and you are good to go. You might want to uncheck the Mozilla Javascript checkbox.

Aptana preferences window

Aptana preferences window

general ,

  1. No comments yet.
  1. No trackbacks yet.