No syntax highlighting for svelte in vscode??

So recently (not sure when as I mainly work of my other os - I run dual boot) my svelte syntax highlighting stopped working, and all intellisense with it. I have tried:

- disabling all extensions

- re-installing svelte for vscode extension

- updating everything

if I try to manually restart the svelte language server, I get a "svelte.restartLanguageServer" command is not found. So I suspect this is part of it, but I don't know what that even means at all or how to go about fixing it. Anyone got any advice or know how to?

EDIT: Fixed - had to manually delete the svelte.svelte-vscode-107.2.5 folder in `Users/leonm/.vscode/extensions`, uninstalling/reinstalling didn't work

Posted Apr 1, 2023, 7:04 PM UTC · edited

21
Loading comments…