Less
Less syntax for Sublime Text
Details
Installs
- Total 704K
- Win 383K
- Mac 231K
- Linux 91K
Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 8 | 11 | 5 | 7 | 4 | 0 | 7 | 4 | 8 | 4 | 2 | 3 | 2 | 1 | 5 | 5 | 6 | 7 | 3 | 9 | 6 | 2 | 6 | 0 | 0 | 1 | 1 | 6 | 3 | 4 | 4 | 3 | 2 | 0 | 1 | 4 | 10 | 9 | 10 | 4 | 6 | 0 | 5 | 1 | 8 |
Mac | 0 | 1 | 2 | 3 | 1 | 1 | 2 | 1 | 2 | 3 | 3 | 0 | 1 | 1 | 2 | 0 | 3 | 1 | 1 | 3 | 4 | 4 | 2 | 1 | 2 | 2 | 0 | 1 | 1 | 1 | 4 | 1 | 1 | 0 | 0 | 0 | 3 | 1 | 1 | 2 | 1 | 2 | 3 | 2 | 0 | 3 |
Linux | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 | 3 | 1 | 2 | 0 | 2 | 0 | 1 | 0 | 2 | 1 | 2 | 1 | 1 | 2 | 0 | 1 | 2 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 2 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 |
Readme
- Source
- raw.githubusercontent.com
Less
Less syntax definitions for Sublime Text based on its CSS syntax.
Highlights .less
(or .css.less
) files, and provides
- snippets
- completions
- symbols
Installation
Package Control
The easiest way to install is using Package Control. It's listed as Less
.
- Open
Command Palette
using ctrl+shift+P or menu itemTools → Command Palette...
- Choose
Package Control: Install Package
- Find
Less
and hit Enter
Manual Install
- Download appropriate Less.sublime-package for your Sublime Text build.
A suffix (e.g.
-st4xxx
) denotes the least required ST build for the sublime-package to work. - Rename it to Less.sublime-package
- Copy it into Installed Packages directory
[!NOTE]
To find Installed Packages…
- call Menu > Preferences > Browse Packages..
- Navigate to parent folder
[!WARNING]
Manually installed packages are not automatically updated by Package Control.
Troubleshooting
Less extends Sublime Text's CSS syntax definition as of ST4149.
If Less syntax highlighting doesn't work and console displays syntax errors,
- check if CSS package is enabled.
- remove any out-dated syntax override.
Enable CSS package
- Open
Command Palette
using ctrl+shift+P or menu itemTools → Command Palette...
- Choose
Package Control: Enable Packages
- Find
CSS
and hit Enter
Remove overrides
- call Menu > Preferences > Browse Packages..
- Look for CSS folder
- Remove it or at least delete any CSS.sublime-syntax in it