sublimelsp / LSP-css

CSS, SCSS, LESS support for Sublime's LSP plugin
MIT License
37 stars 0 forks source link

Duplicate suggestion with built-in Sass package #39

Closed findrakecil closed 2 years ago

findrakecil commented 2 years ago

Hi, I'm using Sublime Text 4 with LSP-css and Sass package. I use Sass package for syntax highlighting but it appears to show duplicate suggestion.

This is an example of coding in .scss file.

Jepretan Layar 2021-11-21 pukul 4 58 40 PM

If I disable the package by adding "Sass" in "ignored_packages" in Preferences (press Ctrl + , on Mac) like this, both syntax highlighting and suggestion feature won't work

"ignored_packages":
[
    ...,
    "Ruby",
    "Sass",
    "Scala",
    ...,
]

Ideally, only suggestion from LSP-css will show because it has More button which will show short documentation when clicked. Or, only one of them will be showed.

Any help on this is greatly appreciated.

jfcherng commented 2 years ago

https://github.com/braver/SublimeSass/blob/d3d94046409db6fbbc9d51dea52b589ecc9d3d48/sass_completions.py#L627-L630

rchl commented 2 years ago

Adding entry in the FAQ for this - #40

findrakecil commented 2 years ago

Awesome! Thank you @jfcherng @rchl 🙌