Includes build system and syntax highlighting for stylus CSS preprocessor.
In order to provide better integration with Emmet and Hayaku packages that allow dynamic expansion of CSS properties, snippets that were previously a part of this package are now distrubited separately as new package called Sublime-Snippets (available via Package Control).
In order for build system to work you will need stylus installed via npm and available in your PATH
.
The easiest way to install this is with Package Control.
- Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
- Select "Package Control: Install Package" (it'll take a few seconds)
- Select Stylus when the list appears.
Package Control will automatically keep the package up to date with the latest version.
Go to Preferences > Package Settings > Stylus > Settings - User
to change settings.
You can set paths to the stylus binary, and other plugin settings including compileOnSave
which is off by default, compress
and output paths.
Full details in the comments in Preferences > Package Settings > Stylus > Settings - Default
Go to Project > Edit Project
to change project settings.
{
"folders":
[
...
],
"settings":
{
"Stylus":
{
"compress": false,
"compileOnSave": true,
"compileDir": "out"
}
}
}
Please use GitHub Issue Tracker to report any bugs and make feature requests.
- Logan Howlett The compileOnSave, Python script and settings file have been forked from aponxi
If you want to help developing this package you will need grunt installed to be able to recompile language definition from .yml
source by navigating to a folder contain this package in terminal and typing:
grunt watch
Licensed under permissive MIT-style license.