Syntax and pre-compiler checks

You must Login before you can answer or comment on any questions.

Hi Guys

I am finding a lot of time is being wasted going through a compile, load and run cycle to find out I have a silly syntax error or incorrect capitalization of a variable, etc. Are there any tools that I can use during the build to do deeper checking of the code (like a lint for JS)?

Regards, Richard

1 Answer

Accepted Answer

You can activate JSLint validation in the Preferences window.

Follow the path:

  • Aptana Studio
    • Validatoin
      • Select JavaScript from the list of languages

From there, you can activate JSLint validation

— answered 8 months ago by Christian Brousseau
answer permalink
1 Comment
  • Thanks - I have turned it on :)

    It is complaining about the use of '++' and '--', though these are used extensively in the JavaScript code I have seen. Do you know why this is a warning?

    — commented 8 months ago by Richard George

Your Answer

Think you can help? Login to answer this question!