Js2-mode

From WikEmacs
Revision as of 07:21, 10 December 2012 by Ruediger (Talk | contribs)

Jump to: navigation, search
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

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

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