Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode intellisense flooded with css classes in typescript

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

like image 696
Thomas Reichmann Avatar asked Oct 08 '19 18:10

Thomas Reichmann


People also ask

How do I fix VS Code IntelliSense?

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 not working IntelliSense?

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.

How do I restart IntelliSense VS Code?

You may Ctrl+Shift+P or F1, then write "reset.." in command pallete, and choose in popup list "C/C++ Reset IntelliSense database".


1 Answers

Try to disable these 2 plugins and check again:

HTML CSS Support

IntelliSense for CSS class names in HTML

like image 82
Sergio Suárez Avatar answered Nov 15 '22 04:11

Sergio Suárez