vscode-html-css icon indicating copy to clipboard operation
vscode-html-css copied to clipboard

CSS variables autocompletion not working in svelte files

Open raythurnvoid opened this issue 11 months ago • 1 comments

image

my variables are in src/lib/styles/variables.css

This is my config

{
	"css.styleSheets": [
		"src/lib/styles/*.css",
		"**/${fileBasenameNoExtension}.css",
		"**/${fileBasenameNoExtension}.svelte"
	],
}

This is an example of the content of the variables.css file image

raythurnvoid avatar Dec 29 '24 05:12 raythurnvoid

Have you installed the svelte extension? You should also enable svelte in the extension settings and restart vscode:

"css.enabledLanguages": ["html", "typescript", "svelte"],

ecmel avatar Dec 29 '24 08:12 ecmel

مرحبا بكم في تطبيق واسط jvhgxydd-ai

jvhgxydd-ai avatar Aug 24 '25 09:08 jvhgxydd-ai

واسط jvhgxydd-ai

jvhgxydd-ai avatar Aug 24 '25 09:08 jvhgxydd-ai

واسط jvhgxydd-ai

jvhgxydd-ai avatar Aug 24 '25 09:08 jvhgxydd-ai