Awesome
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 <kbd>ctrl+shift+P</kbd> or menu itemTools → Command Palette...
- Choose
Package Control: Install Package
- Find
Less
and hit <kbd>Enter</kbd>
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 <kbd>ctrl+shift+P</kbd> or menu itemTools → Command Palette...
- Choose
Package Control: Enable Packages
- Find
CSS
and hit <kbd>Enter</kbd>
Remove overrides
- call Menu > Preferences > Browse Packages..
- Look for CSS folder
- Remove it or at least delete any CSS.sublime-syntax in it