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

LSP-css

by sublimelsp ST3 Trending

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

Details

Installs

  • Total 5K
  • Win 1K
  • Mac 2K
  • Linux 1K
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 Apr 9 Apr 8
Windows 0 2 3 3 1 1 1 0 3 3 2 3 3 4 2 4 2 7 2 4 5 1 1 1 5 4 7 7 2 4 2 4 3 2 5 4 1 4 2 4 3 5 0 0 1 3
Mac 0 8 3 3 3 2 4 6 3 5 4 2 8 6 7 4 0 5 2 7 3 1 1 3 2 7 2 1 4 3 4 5 6 5 5 0 1 1 3 1 11 5 4 1 2 2
Linux 0 7 1 1 2 3 3 3 4 2 1 1 2 2 2 3 4 2 3 2 7 3 2 4 3 4 5 5 2 4 3 1 3 8 4 5 2 1 4 4 4 4 6 2 1 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.

  • The server exited with status code 1.

It's probably that the node executable on your system is outdated. This plugin requires v14 as of version 1.0.9. If your OS is incapable of using Node v14 like Windows 7, you can