Better Less
Cross-compatible syntax highlighting for Less
Details
Installs
- Total 5K
- Win 3K
- Mac 2K
- Linux 481
Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | Aug 23 | Aug 22 | Aug 21 | Aug 20 | Aug 19 | Aug 18 | Aug 17 | Aug 16 | Aug 15 | Aug 14 | Aug 13 | Aug 12 | Aug 11 | Aug 10 | Aug 9 | Aug 8 | Aug 7 | Aug 6 | Aug 5 | Aug 4 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 1 | 1 | 1 | 0 |
Linux | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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!