ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-some-sass

by sublimelsp ST4

Sass support for Sublime’s LSP plugin through Some Sass language server

Details

Installs

  • Total 134
  • Win 53
  • Mac 39
  • Linux 42
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
Windows 0 1 0 0 0 0 4 0 0 1 3 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0
Mac 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 0 2 0 0 0

Readme

Source
raw.​githubusercontent.​com

LSP-some-sass

Sass support for Sublime’s LSP.

Provided through Some Sass language server.

Installation

Configuration

There are some ways to configure the package and the language server.

  • From Preferences > Package Settings > LSP > Servers > LSP-some-sass
  • From the command palette Preferences: LSP-some-sass Settings

FAQ

Using with Vue SFC

When working with Vue SFC, LSP-volar is usually used to provide LSP capabilities to every part of component.

Since LSP-some-sass can be used to process style[lang="scss"] blocks in SFCs, CSS language features from LSP-volar will clash with LSP-some-sass since both are trying to provide information at the same time.

To resolve this, it’s best to disable certain LSP-volar CSS language features and let LSP-some-sass handle that.

  • In LSP-some-sass.sublime-settings set selector to handle Vue SFC:
{
    "selector": "source.scss | text.html.vue"
}
  • In LSP-volar.sublime-settings disable Sass features:
{
    "settings": {
        "scss.hover.documentation": false,
        "scss.hover.references": false
    }
}

Beware that there are certain features that can’t be disabled currently (duplicate color provider references).