Skip to content

[Bug] Plugin adds obsolete semicolon in Svelte Sass code #123

@uvulpos

Description

@uvulpos

Describe the bug
I have a scss file in a lib folder and whenever I want to import a CSS Variable from your plugin, it adds a semicolon and the compiler goes crazy and creates an error modal

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Svelte Project with Sass and start Dev Server npm run dev
  2. Create a new Component and use sass as style language
  3. Insert a Variable via your plugin
  4. See error

Expected behavior
The plugin discovers the css language (sass, scss, ...) and inserts it accordingly

Screenshots
Not needed, just a semicolon

Details (please complete the following information):

  • OS: MacOS M1 something
  • VSCode version 1.96.2
  • Extension version 2.6.4

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions