HTML-CSS-Class-Completion
HTML-CSS-Class-Completion copied to clipboard
Does not work with PostCSS files
I added "html-css-class-completion.includeGlobPattern": "**/*.{css,html,pcss}"
to my user settings, but the extension does not pick up classes defined in .pcss files, even if those files follow valid CSS syntax. This is true with or without PostCSS support in VSCode. I would think that the plugin should be able to pick out classes regardless of the file ending, but it seems this is not the case.
Agree. This is an issue for sure. And the same issue occurs if you are just using PostCSS in regular .css
files. Additionally, it seems like once the extensions hits any kind of unexpected CSS, like cssnext powered nesting, then it just stops indexing all your classes so you end up with close to no results at all, even if you have just a few non-standard css items.
I'm not sure what this extension does differently, but it works for my cssnext code: https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css
Created a PR to fix this: #140