[Greasemonkey] Re: Any syntax tester/ indenter around for gm?

Steven Morrison sgmorrison at gmail.com
Sun Sep 3 21:11:44 EDT 2006


> I am using Crimson Editor for javascript/ gm scripts. It has syntax
> highlighting, and bracket-matching, but that is almost all it has.
>
> It doesn't have any option to arrange entire script in a readable format
> by putting indents, etc. It can't even preprocess the error to check for
> logical errors like mismatched bracket, undeclared var, wrongly spelled
> command.
>
> Is there any such pre-processor for JS/GM that would highlight errors in
> advance and prevent us from staring at the webpage when our script
> doesn't show.

Aptana (www.aptana.com) is what I currently use for JS/GM editing. It
offers warnings and errors on syntax errors and unsafe operations. It
doesn't yet support auto-formatting, but I imagine it will in the near
future, as it is built on top of Eclipse (a Java IDE that offers
auto-formatting as well as hundreds of other features that are
applicable to JS editing).


More information about the Greasemonkey mailing list