Working VS Code extension for Custom Property intellisense

Hello! So I've been trying about 3 or 4 different extensions to get intellisense going for custom properties coming from an external file, when working with multiple .scss partials, but apparently, I'm not setting those correctly or they just don't work. You guys have a working setup that has been working for you ? What settings were tweaked to get there ? Thanks!
9 Replies
b1mind
b1mind2y ago
b1mind
b1mind2y ago
gotta have postCSS installed in your project, read the docs. I have issues with it working in svelte still but have not tried to config yet. right now it only sees the ones I already have used in components but works great out side of them in normal html with css 🤷‍♂️ oh ... nvm I got it working, I just had to tell it to look for css vars in my **/*.scss settings.json "cssvar.files": ["**/*.css", "**/*.scss"] let me test another project xD
b1mind
b1mind2y ago
yup working!!! ty for reminding me to fix this
kirin-808
kirin-808OP2y ago
Gives me that error when trying to parse ; ;
kirin-808
kirin-808OP2y ago
b1mind
b1mind2y ago
mmm does it have to a min? I would use a non minified css file or ignore that if you don't need it xD
kirin-808
kirin-808OP2y ago
could try with a non minified
b1mind
b1mind2y ago
Also make sure you uninstall any other extensions that do the same thing
kirin-808
kirin-808OP2y ago
or even my main.scss Meh, no go still, ah well, thanks for your time, I'll just go the old way and go back and forth between my files X)
Want results from more Discord servers?
Add your server