doomemacs/modules/lang/javascript
Henrik Lissner 7645f843ac
lang/javascript: mode-name = JS2
A shorter name looks nicer in the modeline.
2019-01-08 00:38:05 -05:00
..
autoload.el lang/javascript: update tide project resolution 2018-10-15 00:50:39 -04:00
config.el lang/javascript: mode-name = JS2 2019-01-08 00:38:05 -05:00
packages.el General refactor of modules 2018-09-09 09:58:20 -04:00
README.org lang/javascript: remove mention of tern in README 2018-04-18 18:05:44 -04:00

:lang javascript

This module adds Javascript support.

  • Code completion (tide)
  • REPL support (nodejs-repl)
  • Refactoring commands (js2-refactor)
  • Syntax checking (flycheck)
  • Browser code injection with skewer-mode
  • Coffeescript & JSX support
  • Jump-to-definitions and references support (xref)

Table of Contents   TOC

Install

Node & NPM

To get started with Javascript, you'll need node and its package manager, NPM, installed.

MacOS

brew install node

Arch Linux

sudo pacman --needed --noconfirm -S nodejs npm

Appendix

Commands

command key / ex command description
+javascript/repl :repl Open the NodeJS REPL (or send the current selection to it)
+javascript/skewer-this-buffer SPC m S Attaches a browser to the current buffer