|
6 years ago | |
---|---|---|
screenshots | 6 years ago | |
test | 6 years ago | |
.gitignore | 6 years ago | |
.travis.yml | 6 years ago | |
Cask | 6 years ago | |
LICENSE | 7 years ago | |
jade-backend.el | 6 years ago | |
jade-chrome.el | 6 years ago | |
jade-debugger.el | 6 years ago | |
jade-faces.el | 6 years ago | |
jade-inspector.el | 6 years ago | |
jade-interaction.el | 6 years ago | |
jade-nodejs.el | 6 years ago | |
jade-render.el | 6 years ago | |
jade-repl.el | 6 years ago | |
jade-scratch.el | 6 years ago | |
jade-webkit.el | 6 years ago | |
jade.el | 6 years ago | |
readme.md | 6 years ago | |
run-tests.sh | 6 years ago | |
run-travis-ci.sh | 6 years ago |
JavaScript Awesome Development Environment (in Emacs)
Jade connects to a browser tab or nodejs process and provides many features for JavaScript development, including:
M-x jade-scratch
);jade-interaction-mode
;edebug
, or cider
.The REPL with company-mode
The REPL showing clickable output
The inspector
The stepping debugger, and an inspector on locals
(Emacs 25 is required)
It's available on melpa:
M-x package-install jade
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
.
(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 --inspect
flag:
node --inspect myfile.js
Evaluate M-x jade-connect-to-nodejs
.
Add the following to enable evaluation in all JS buffers:
(add-hook 'js2-mode-hook #'jade-interaction-mode)
Then C-x C-e
will evaluate the node before the point, and C-c M-i
will
inspect the result.
The entire buffer can also be executed with jade-eval-buffer
.
Jade is young, here's a list of missing/wanted features
C-x C-e
from project JS buffersdebugger
statements)There is currently support for Chrom[e|ium], & nodejs. The firefox backend is currently missing.