Former thread title: Text editor that properly auto-indents JavaScript? ...but maybe all I need is a plugin.
I just downloaded SubEthaEdit and I like the code coloring and the functions popup.
But something I miss from Director and Flash: auto-formatting. Indenting intelligently to enforce cleanly laid out scripting. (Anything between { and } gets indented for instance.)
Is there a text editor that will do that to JavaScript while you type?
If not, is there one that will do it when you press Return (like Director)?
If not, is there one that can at least do it on command (like Flash)?
(I know I can tab manually--but with auto-formatting, you have an instant cue if you've made a syntax error and left something unclosed.)
Also, anything with JavaScript syntax-checking to remind me of missing ;s etc. would be great.
TIA. I like SubEthaEdit so far, but maybe I can do better if all I want is JavaScript editing.
I just downloaded SubEthaEdit and I like the code coloring and the functions popup.
But something I miss from Director and Flash: auto-formatting. Indenting intelligently to enforce cleanly laid out scripting. (Anything between { and } gets indented for instance.)
Is there a text editor that will do that to JavaScript while you type?
If not, is there one that will do it when you press Return (like Director)?
If not, is there one that can at least do it on command (like Flash)?
(I know I can tab manually--but with auto-formatting, you have an instant cue if you've made a syntax error and left something unclosed.)
Also, anything with JavaScript syntax-checking to remind me of missing ;s etc. would be great.
TIA. I like SubEthaEdit so far, but maybe I can do better if all I want is JavaScript editing.