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

LSP-css

by sublimelsp ST3

CSS, SCSS, LESS support for Sublime's LSP plugin

Details

  • 1.2.1
    1.2.0
  • github.​com
  • github.​com
  • 1 month ago
  • 2 hours ago
  • 5 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

LSP-css

CSS, SCSS, LESS support for Sublime's LSP plugin provided through VS Code's CSS language server.

Installation

  • Install LSP and LSP-css from Package Control. If you use Sass install Sass. If you use Less install LESS.
  • Restart Sublime.

Configuration

There are some ways to configure the package and the language server.

  • From Preferences > Package Settings > LSP > Servers > LSP-css
  • From the command palette Preferences: LSP-css Settings

FAQs

  • I'm getting duplicate suggestions in the completion popup.

Sublime Text comes with a plugin that provides completions for the CSS and HTML syntaxes. This results in duplicate completions when using this package.

To disable ST's built-in completions for CSS syntax, for example: - open any CSS file - run Preferences: Settings - Syntax Specific from the Command Pallete - add "disable_default_completions": true in the view on the right

Repeat for other syntaxes that provide built-in completions. Same applies to third-party SASS package that provides SASS and SCSS support.