Is there a way to add syntax highlighting and IntelliSense to inline styles in Svelte?

I recently came to know of the VSCode extension vscode-styled-components that adds syntax highlighting and IntelliSense to inline style strings in js, ts, jsx, and tsx files using the css template literal.

Unfortunately, this extension doesn’t seem to have support for .svelte files.

Is there a way to add the support myself? Or maybe there is an entirely different solution altogether?

  • 1

    Do you have the Svelte extension?

    – 

  • @H.B. Yes, I do.

    – 

Leave a Comment