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

  • 1.2.5
    1.2.0
  • github.​com
  • github.​com
  • 2 months ago
  • 59 minutes ago
  • 6 years ago

Installs

  • Total 14K
  • Win 5K
  • Mac 5K
  • Linux 4K
May 30 May 29 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
Windows 1 4 4 7 0 1 6 5 7 7 1 5 8 1 2 4 0 1 4 0 3 3 1 2 3 4 4 4 1 3 8 1 2 3 4 5 3 6 5 5 5 2 3 5 3 5
Mac 2 9 2 1 2 1 2 2 5 2 4 1 2 0 1 2 3 2 1 0 3 1 2 1 1 2 1 0 0 4 4 2 2 2 4 3 4 3 3 2 2 0 1 3 2 3
Linux 0 2 8 1 1 6 1 2 4 4 1 2 1 3 3 2 1 1 3 5 0 1 5 5 4 8 5 6 5 3 5 5 3 4 3 4 6 2 4 2 4 1 1 3 2 8

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.