Anyone got an emacs mode file for es4?
I use java-mode for all my ES needs. It works well unless you're a big fan of leaving out semicolons, or using a lot of function expressions.
On 06/12/2007, Lars Hansen <lhansen at adobe.com> wrote:
I use java-mode for all my ES needs. It works well unless you're a big fan of leaving out semicolons, or using a lot of function expressions.
I find it very hard to find a mode that fits my demands even for ES3 (I'm not an emacs user, but I haven't found an editor with a good ES mode at all), not to speak of ES4. Particularly if you're using a lot of function expression, object literals or array literals. In a way, I'd be more comfortable with a Scheme/LISP based mode (except expressions aren't necessarily contained in parentheses and there's statements syntax to consider as well) than a Java or C based mode, but there's not many modes that combines a good handling of statement-based code with good handling of expression-based code, especially when the expressions can contain statements such as function expressions.
javascript-mode doesn't quite cut it.