LSP-css
CSS, SCSS, LESS support for Sublime's LSP plugin
Details
Installs
- Total 14K
- Win 5K
- Mac 5K
- Linux 4K
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 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 3 | 4 | 5 | 2 | 2 | 1 | 0 | 3 | 4 | 3 | 4 | 0 | 1 | 2 | 1 | 2 | 3 | 5 | 3 | 3 | 5 | 2 | 2 | 4 | 3 | 3 | 5 | 0 | 4 | 1 | 1 | 4 | 2 | 1 | 2 | 4 | 4 | 7 | 0 | 1 | 6 | 5 | 7 | 7 | 1 |
Mac | 0 | 3 | 0 | 3 | 1 | 4 | 0 | 1 | 1 | 2 | 6 | 1 | 0 | 7 | 2 | 1 | 3 | 0 | 2 | 2 | 1 | 2 | 1 | 1 | 2 | 1 | 0 | 1 | 3 | 2 | 5 | 3 | 0 | 1 | 0 | 5 | 9 | 2 | 1 | 2 | 1 | 2 | 2 | 5 | 2 | 4 |
Linux | 0 | 2 | 5 | 3 | 0 | 5 | 3 | 4 | 3 | 0 | 0 | 2 | 5 | 1 | 3 | 3 | 5 | 6 | 3 | 1 | 4 | 6 | 1 | 3 | 2 | 3 | 1 | 0 | 2 | 2 | 3 | 4 | 4 | 3 | 9 | 3 | 2 | 8 | 1 | 1 | 6 | 1 | 2 | 4 | 4 | 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.