You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤔 I’m not sure how Intellisense could work with just .scss? Without making an extension, that is. The token() function will err on an invalid token name with a clear error in any runtime, but that won’t show up in Intellisense.
Is there a Sass library that does have good Intellisense that you know of out-of-the-box? If there’s a way to add this without writing an extension I’d love to! Just not sure how.
No, not that I know of :/
By reading the mentioned comment, I thought it could mean intellisense.
You are right, that you get runtime errors if you put something wrong into the token function.
I also experiment with Style Dictionary. There, the scss output are classic scss variables (eg. $color-primary). With VSCode extension "SCSS IntelliSense" I get nice autocompletion.
So, an extension seems to be the only viable solution here. But yeah, extra work and extra complexity 😬
I’ll leave this open because I’m sure some improvement could be made here to VS Code. An extension realistically isn’t on my roadmap, but that’s not to say there aren’t some improvements that could be made
I don't get any intellisense when using the
token
function in scss.Should I get intellisense here? At least the docs (kinda) say so:
My Setup works (Nuxt 3 app in monorepo) -> putting in a correct name renders as expected in the browser.
The text was updated successfully, but these errors were encountered: