Last week I updated Aptana studio to last version (Aptana Studio 3, build: 3.4.2.201308081805). And now shows me warnings everywhere for missing semicolons in my JS files. I know these are optional in JS, and almost useless in some cases like this, which gives me a "missing semicolon" warning:
var LogLevels = {
debug : 4,
info : 3,
warning : 2,
error : 1,
none : 0
}
So, my question is: is there a method to remove just this warning, and just for Javascript in Aptana?
I would recommend always using semicolons as good practice as Kevin has said in his comment, but to answer your question.
I do not know of a way to ignore semicolon errors but you can disable javascript validation by going to:
Window > Preferences > Aptana Studio > Validation
Then untick Javascript Syntax Validator