Which javascript major modes exist in Emacs, and what are their key-features?
js2-mode: a new JavaScript mode for Emacs
This is part of a larger project, in progress, to permit writing Emacs extensions in JavaScript instead of Emacs-Lisp.
- Mx customize
- Accurate syntax highlighting
- Indentation
- Code folding
- Comment and string filling
- Syntax errors
- Strict warnings
- jsdoc highlighting
http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascript-mode-for-emacs.html
With some documentation.
I think what you want is this:
http://www.corybe.nett.org/download/javascript-mode.el
Then again, maybe this what you are looking for?
or this?
People seem to prefer (at least given the highest rated answer):
Updated: http://steve-yegge.blogspot.com/2008/03/js2-mode-new-javascript-mode-for-emacs.html
I use Steve Yegge's js2-mode , and like it a lot. It's quite configurable, its indentation ideas match mine, and most impressively it has a full JavaScript parser in it, so it can alert me to syntax errors as I type (indispensable for little things like trailing commas in property lists that bork IE).
Espresso mode is supposed to be quite good as well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.