Skip to content

Bugs with LSP-CSS and LESS files #262

Closed

Description

@Amparose

With only these packages installed:

"installed_packages":
[
    "ColorHelper",
    "Less",
    "LSP",
    "LSP-css",
    "Package Control",
],

I get two colour hints in CSS files that open different modals:
CleanShot 2024-04-12 at 14 43 01@2x

In .less files, only one of the hints (unfortunately the less useful one) appears:
CleanShot 2024-04-12 at 14 53 55@2x

If I disable/remove LSP-CSS, then the hint and popup work as expected in a CSS file but not at all in a LESS file.

Support Info

  • ST ver.: 4169
  • Platform: osx
  • Arch: arm64
  • Plugin ver.: 6.3.2
  • Install via PC: True
  • mdpopups ver.: 4.2.2

Activity

  1. facelessuser commented on Apr 12, 2024

    @facelessuser
    Owner

    LSP provides its own color previews. If you only want one, you have to disable one. It seems you are here because you want ColorHelper previews, so I would check the LSP packages documentation or reach out the LSP-CSS author to find out how to disable the color previews.

    This issue has arisen with other LSP providers, such as JSON. In that case, I tracked down how to disable it. Maybe LSP-CSS is similar: #190 (comment).

  2. Repository owner locked and limited conversation to collaborators on Apr 12, 2024
  3. converted this issue into a discussion #263 on Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    S: triageIssue needs triage.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions