ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Less

by SublimeText ST3 Top 100

Less syntax for Sublime Text

Details

  • 3.0.5
    2.7.6
  • github.​com
  • github.​com
  • 4 months ago
  • 51 minutes ago
  • 13 years ago

Installs

  • Total 703K
  • Win 382K
  • Mac 230K
  • Linux 90K
Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31
Windows 5 5 1 5 5 5 7 7 4 1 6 9 8 7 9 3 9 10 7 10 7 5 11 3 7 4 5 8 10 4 7 5 6 6 6 4 3 4 7 8 6 7 11 6 4 3
Mac 1 3 0 4 0 6 2 1 3 4 6 1 1 3 2 0 0 3 0 1 2 1 1 4 2 0 6 0 3 1 1 7 2 4 0 3 2 3 3 4 2 1 4 0 3 1
Linux 3 0 3 0 1 1 1 1 0 0 1 2 1 1 2 2 1 0 1 2 2 1 0 0 3 2 0 0 1 2 1 1 1 2 1 2 3 0 3 2 1 1 1 0 0 1

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.

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Choose Package Control: Install Package
  3. Find Less and hit Enter

Manual Install

  1. 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.
  2. Rename it to Less.sublime-package
  3. Copy it into Installed Packages directory

[!NOTE]

To find Installed Packages

  1. call Menu > Preferences > Browse Packages..
  2. 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,

  1. check if CSS package enabled.
  2. remove any out-dated syntax override.

Enable CSS package

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Choose Package Control: Enable Packages
  3. Find CSS and hit Enter

Remove overrides

  1. call Menu > Preferences > Browse Packages..
  2. Look for CSS folder
  3. Remove it or at least delete any CSS.sublime-syntax in it