gencer / SCSS-Everywhere

A Visual Studio Code extension that provides CSS class and ID atttribute completion with incremental build and usage explorer for the HTML class attribute based on the CSS/Template files in your workspace. Also supports React's className attribute.
https://marketplace.visualstudio.com/items?itemName=gencer.html-slim-scss-css-class-completion
MIT License
24 stars 9 forks source link

Fix file read after VSCode 1.73.0 update #81

Closed mikekscholz closed 1 year ago

mikekscholz commented 1 year ago

After the latest VSCode update this extension stopped working for me. Through some experimentation and enabling the debugging code, it was reporting 0 files in the workspace. When launching VSCode the lightning bolt would appear briefly then disappear, but if I uninstalled the extension, restarted VSCode, then reinstalled it, it would work as expected until the app was closed then fail on next start. My best guess is that it's scanning the workspace before the workspace is actually loaded. (note: I primarily work in workspaces on mapped network drives.) Delaying startup until after all the * activated extensions have finished activating resolved all issues.