I've been having some annoyance with vscode while programming in typescript, intellisense seems to think that any object in a typescript file has all of the css classes as properties, when I type a "." after any object it shows a list including the objects methods, properties and a tuck load of css classes making intellisense virtually useless.
I've tried disabling all the extensions that I felt might have something related to it to no avail, but here is the list of extensions I have installed in case I missed something:
Beautify
DotENV
Heroku
heroku-cli
HTML CSS Support
HTML Preview
IntelliSense for CSS class names in HTML
Material Icon Theme
Troubleshooting# If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the issue. If you are still missing IntelliSense features after installing a language extension, open an issue in the repository of the language extension.
Why is VS Code suggestions not working? If you're coding in JavaScript or TypeScript and finds that VSCode IntelliSense does work but does not behave properly, it's likely that you've selected the wrong language mode. TypeScript and JavaScript share the same language service, so you need to select the right language.
You may Ctrl+Shift+P or F1, then write "reset.." in command pallete, and choose in popup list "C/C++ Reset IntelliSense database".
Try to disable these 2 plugins and check again:
HTML CSS Support
IntelliSense for CSS class names in HTML
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