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 7K
  • Win 2K
  • Mac 2K
  • Linux 2K
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 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15
Windows 1 5 9 8 4 5 1 7 2 2 4 3 5 4 5 5 5 4 8 3 5 1 1 6 3 6 2 3 8 4 5 2 5 1 2 1 1 4 1 0 3 1 4 5 6 7
Mac 0 3 4 9 3 4 3 2 0 4 8 5 5 4 2 0 3 4 3 5 2 5 5 5 3 1 3 2 2 1 3 2 2 1 5 4 3 4 3 2 2 3 2 4 6 1
Linux 0 4 2 2 2 2 3 5 5 6 3 0 5 6 1 1 2 2 2 6 4 6 3 2 1 3 6 5 4 2 2 2 2 5 2 1 4 4 0 5 3 1 0 5 5 1

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