版本支持：sublime text 2,sublime text 3
系统支持： Windows,OS X,Linux
插件介绍：A comprehensive textmate / sublime text bundle for the Jade template language.
This was made specifically for Sublime Text 2, but was tested and works with Textmate 2 and Sublime Text 3
A TextMate Bundle for the Jade templating language. Implemented in JSON-tmLanguage, a compiled tmLanguage version is included. All language features that I know of (including some undocumented ones and quircks of the Jade parser) and some indent increase/decrease patterns are implemented.
A test.jade file is included for testing, it is a valid file, so you can compile it with jade to check its output.
A test_errors.jade file is also included for testing some syntax/semantic errors that are highlighted.
Jade (Python)from the syntaxes list or give your file the extension
.py.jadeto select automatically (only on Sublime Text). Also included is a
test.py.jadefile that can be compiled with
pyjadeto test it.
Using Package Control in SUblime Text 2/3
Package control is a package manager for Sublime Text extensions (think of it like “apt-get” for Sublime Text). If you haven't already, install Package Control into your instance of Sublime Text and restart. Choose Package Controll: Install Package (press
Ctrl/Cmd + pand then type
pi), search for package named
Jadeand install. Restart if you cannot select “Jade” from syntax highlighter menu.
TextMate 2mkdir -p ~/Library/Application Support/TextMate/Managed/Bundles cd ~/Library/Application Support/TextMate/Managed/Bundles git clone https://github.com/davidrios/jade-tmbundle.git Jade.tmbundle
Sublime Text manual installationmkdir -p ~/Library/Application Support/Sublime Text 2/Packages cd ~/Library/Application Support/Sublime Text 2/Packages git clone https://github.com/davidrios/jade-tmbundle.git Jade
Replace '2' with '3' in case of Sublime Text 3.
Patches for additions are always welcome.