Js2-mode

From WikEmacs
Revision as of 12:21, 10 December 2012 by Ruediger (talk | contribs) (fork)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

js2-mode provides Emacs font-lock, indentation, and navigation for the JavaScript programming language. It also features an advanced JavaScript parser.

js2-mode
Description major mode for JavaScript programming
Author Steve Yegge
Maintainer FSF
Source http://bzr.savannah.gnu.org/lh/emacs/elpa/annotate/head:/packages/js2-mode/js2-mode.el
Part of Emacs no

The original repository (at Google Code) seems to be outdated and https://github.com/mooz/js2-mode#readme seems to be a maintained fork. It includes several changes.

Basic setup

(package-install "js2-mode")
(require 'js2-mode)

Helpful keybindings

Common Customization

See Also

Tutorial Pages