LSP-css
CSS, SCSS, LESS support for Sublime's LSP plugin
Details
Installs
- Total 15K
- Win 5K
- Mac 5K
- Linux 5K
Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | Aug 24 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 3 | 9 | 4 | 1 | 4 | 5 | 4 | 2 | 1 | 2 | 3 | 4 | 2 | 5 | 2 | 3 | 1 | 2 | 3 | 2 | 10 | 5 | 0 | 2 | 2 | 2 | 4 | 3 | 3 | 4 | 3 | 1 | 2 | 1 | 7 | 5 | 3 | 5 | 3 | 3 | 5 | 8 | 2 | 5 | 5 | 2 |
Mac | 1 | 1 | 3 | 2 | 1 | 2 | 1 | 2 | 0 | 1 | 3 | 2 | 3 | 2 | 3 | 4 | 2 | 0 | 3 | 5 | 4 | 5 | 1 | 1 | 3 | 2 | 4 | 2 | 3 | 3 | 1 | 0 | 2 | 2 | 1 | 1 | 3 | 2 | 2 | 2 | 6 | 1 | 1 | 4 | 1 | 1 |
Linux | 3 | 3 | 5 | 2 | 2 | 0 | 2 | 1 | 2 | 3 | 1 | 3 | 0 | 5 | 0 | 2 | 2 | 3 | 4 | 3 | 1 | 3 | 4 | 5 | 2 | 5 | 2 | 2 | 3 | 5 | 3 | 1 | 5 | 3 | 3 | 1 | 5 | 2 | 3 | 1 | 4 | 4 | 0 | 4 | 2 | 6 |
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.