I'm attempting to switch over from Sublime Text to VS Code. One thing I really like about Sublime is that I have a plugin that will scan all my files and allow me to access my ids and classes within my css and scss files.
Is there something similar for vscode:
Press Ctrl + Shift + P to open the command palette. Type 'Change Language Mode' in the searcher. Select 'Change Language Mode'. Type 'HTML' in the searcher.
1) Search file ( CTRL + P ) Simply type in the full or partial name and VSCode will automatically look into your current workspace and display the ones that contain the name you just wrote (at the top of the list would be the files already open).
Intellisense for CSS Class Names
HTML Class Suggestions
Class autocomplete for HTML
These extensions provide autocomplete for css class names, but neither appears to provide support for scss files or id's sadly.
CSS Peek gives "Go To Definition"/Peek support for classes and id's and although it only mentions .less supports it seems to support .scss files as well!!
I think the later is what you are looking for?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With