A JavaScript development environment for Emacs https://indium.readthedocs.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Nicolas Petton c6225418f2
Fix running tests
7 years ago
screenshots crop the debugger screenshot 7 years ago
test Fix running tests 7 years ago
.gitignore Add basic gitignore 7 years ago
.travis.yml Add tests and travis support 7 years ago
Cask Fix running tests 7 years ago
LICENSE Add LICENSE and readme 7 years ago
jade-backend.el add jade-reload to reload the page 7 years ago
jade-chrome.el Better commentary for jade-chrome.el 7 years ago
jade-debugger.el Better mode names for jade-debugger and jade-repl 7 years ago
jade-faces.el Add the ability to reconnect when a connection is closed. 7 years ago
jade-inspector.el Decouple a generic backend from the chrome specific one 7 years ago
jade-interaction.el Fix running tests 7 years ago
jade-nodejs.el Add documentation to jade-nodejs.el 7 years ago
jade-render.el Add the ability to reconnect when a connection is closed. 7 years ago
jade-repl.el Better mode names for jade-debugger and jade-repl 7 years ago
jade-scratch.el better documentation 7 years ago
jade-webkit.el Fix eof comment in jade-webkit.el 7 years ago
jade.el Add URL package header 7 years ago
readme.md better documentation 7 years ago
run-tests.sh Fix running tests 7 years ago
run-travis-ci.sh Add tests and travis support 7 years ago

readme.md

Jade MELPA

JavaScript Awesome Development Environment (in Emacs)

Jade connects to a browser tab or nodejs process and provides many features for JavaScript development, including:

  • a REPL (with auto completion) & object inspection;
  • an inspector, with history and navigation;
  • a scratch buffer (M-x jade-scratch);
  • a stepping Debugger, similar to edebug, or cider.

Screenshots

The REPL with company-mode

REPL

The REPL showing clickable output

REPL

The inspector

REPL

The stepping debugger, and an inspector on locals

REPL

Getting started

(Emacs 25 is required)

It's available on melpa:

M-x package-install jade

Connection to a chrom[e|ium] tab

Start chrom[e|ium] with the --remote-debugging-port flag:

chromium --remote-debugging-port=9222 https://gnu.org

Evaluate M-x jade-connect-to-chrome.

Connection to a nodejs process

(Note: as of July 31 2016, this requires node-nightly, which can be installed with npm install -g node-nightly).

Start a node process with the --listen flag:

node --listen myfile.js

Evaluate M-x jade-connect-to-nodejs.

Missing features

Jade is young, here's a list of missing/wanted features

  • Code evaluation using C-M-x from project JS buffers
  • Adding breakpoints (to remove the need for debugger statements)
  • Network inspector (could get inspiration from restclient.el)
  • DOM inspector
  • Start processes (chromium, node, grunt, gulp, etc.) from Emacs and attach a jade connection to it.

Backends

There is currently support for Chrom[e|ium], & nodejs. The firefox backend is currently missing.