LSP-css
CSS, SCSS, LESS support for Sublime's LSP plugin
Details
Installs
- Total 8K
- Win 3K
- Mac 3K
- Linux 2K
May 28 | May 27 | May 26 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 3 | 2 | 3 | 4 | 6 | 4 | 3 | 3 | 4 | 5 | 3 | 3 | 3 | 4 | 4 | 1 | 4 | 1 | 6 | 3 | 3 | 0 | 4 | 6 | 4 | 5 | 2 | 3 | 4 | 3 | 2 | 5 | 2 | 4 | 3 | 1 | 2 | 4 | 4 | 4 | 6 | 3 | 2 | 3 | 7 |
Mac | 0 | 1 | 0 | 2 | 3 | 1 | 3 | 2 | 4 | 4 | 2 | 4 | 3 | 2 | 3 | 1 | 2 | 3 | 2 | 2 | 5 | 2 | 0 | 5 | 1 | 2 | 2 | 2 | 3 | 2 | 5 | 3 | 3 | 1 | 2 | 0 | 2 | 3 | 6 | 3 | 1 | 4 | 2 | 3 | 3 | 1 |
Linux | 2 | 2 | 4 | 2 | 1 | 1 | 2 | 1 | 3 | 5 | 4 | 4 | 6 | 5 | 0 | 2 | 2 | 2 | 5 | 7 | 4 | 3 | 4 | 2 | 0 | 0 | 3 | 1 | 2 | 1 | 7 | 5 | 2 | 2 | 5 | 2 | 3 | 1 | 4 | 1 | 3 | 2 | 3 | 3 | 5 | 4 |
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
- either download and use 1.0.8 manually.
- or if you want to try the hard way, you can use Node v14 on Windows 7 on your own risk. See https://github.com/nodejs/node/issues/33000#issuecomment-644530517.