Better Less
Cross-compatible syntax highlighting for Less
Details
Installs
- Total 6K
- Win 3K
- Mac 2K
- Linux 490
Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 |
Mac | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Better Less
Cross-compatible syntax highlighting for Less
Project Mission
- Works with Visual Studio Code, Sublime Text, and Textmate 2.
- Aligns with current CSS features without being overbearing or too relaxed
Installation
Visual Studio Code
Launch VS Code Quick Open (⌘+P), paste the following command, and press enter.
ext install better-less
Sublime Text
Use Package Control
and install Better Less
. Alternatively, you can clone this project and put it in your Sublime Text packages directory.
TextMate 2
Clone the repository to the Bundles directory and add the .tmbundle
extension:
$ cd ~/Library/Application\ Support/TextMate/Bundles
$ git clone git@github.com:radium-v/Better-Less.git Better-Less.tmbundle
Alternatively, you can clone the repository and symlink to it in your Bundles directory:
$ git clone git@github.com:radium-v/Better-Less.git
$ ln -s Better-Less/ ~/Library/Application\ Support/Textmate/Bundles/better-less.tmbundle
Recommended Color Schemes
Some themes are more suitable than others for the extended scopes provided by Better Less. Built-in themes tend to reuse the same colors for different scopes. For instance, many color schemes use the same color for variables and selectors, without taking the prefix into account (.
, #
, @
, etc.). This can make it difficult to scan your code for specific tokens.
I've found that the Oceanic Next Color Scheme works well. I primarily use the Boxy Theme Kit for Visual Studio Code, which is adapted from the original Boxy Theme for Sublime Text.
Contributing
For the time being, I'm making changes using PackageDev and Textmate Languages to convert the YAML-tmLanguage
to tmLanguage
. Any help, bugs, and suggestions are welcome!