I had the same issue. So, I solved it by adding

"files.associations": {
  "*.css": "css",
  "css": "css"
}

to my my settings.json file. Don't know is it is going to help you, but anyway. Good luck!

Answer from yaromir-zhuavsky on Stack Overflow
🌐
Reddit
reddit.com › r/vscode › intellisense for css not working
r/vscode on Reddit: Intellisense for CSS not working
January 30, 2023 -

Anyone ever had Intellisense for CSS stop working? It was working fine last week and now it stopped. Its working fine with HTML & JS files but the auto-complete & class-predict for CSS is gone.

I have uninstalled/re-installed the extension and nothing. I've checked for VSCode updates and its all up-to-date. I have restarted everything, and nope.

Its annoying having to type it all by hand haha

Giving it a shot here as I've searched the entire web and have not been able to figure it out. Any insight is appreciated!

Discussions

Installing recommended VS Code extensions disables default CSS IntelliSense
Before following this instruction, ... Support, IntelliSense for CSS class names in HTML and CSS Modules extensions installed. After installing both PostCSS Language Support and CSS Variable Autocomplete I noticed, that now there are only --var autocomplete suggestions in *.module.css files when I start typing things like display: flex. I found this https://stackoverflow.com/questions/61171247/vscode-autocomplete-doesnt-work-for-css-files ... More on github.com
🌐 github.com
1
1
Intellisense not working
Describe the bug (including copyable syntax) A clear and concise description of what the bug is. If you're planning on posting a screenshot, please paste the accompanying code here. Intellisens... More on github.com
🌐 github.com
35
September 13, 2021
How to make Intellisense Quick Info for JavaScript and CSS files to appear in Visual Studio 2017?
In Microsoft Visual Studio Professional 2017, when I edit a JavaScript or CSS file, the Intellisense Quick Info for Members, Objects and other keywords don't appear. However, when I open the same files in Visual Studio Code 1.66.0, Intellisense Quick… More on learn.microsoft.com
🌐 learn.microsoft.com
0
0
March 1, 2023
CSS intellisense does not work in inline styles
Issue Type: Bug IntelliSense can not be triggered automatically in inline styles, I have to use Ctrl+Space to trigger it. 1.25.1 1.26.1 VS Code version: Code 1.26.1 (493869e, 2018-08-16T18:38:57.43... More on github.com
🌐 github.com
3
August 22, 2018
🌐
GitHub
github.com › microsoft › vscode › issues › 152502
intellisense css not working · Issue #152502 · microsoft/vscode
June 17, 2022 - Issue Type: Bug intellisense css not working I'm a newby, but after many trying, i couldn't fix the problem. In VSC, files .css are not recognized. The icon of file .css is displayed as an ...
Author   lucajahi
🌐
Visual Studio Code
code.visualstudio.com › docs › editing › intellisense
IntelliSense
November 3, 2021 - If you find IntelliSense has stopped working, the language service may not be running. Try restarting VS Code and this should solve the issue.
🌐
JavaScript in Plain English
javascript.plainenglish.io › how-to-fix-tailwind-css-intellisense-in-visual-studio-code-3dede794df21
How to Fix Tailwind CSS IntelliSense in Visual Studio Code | JavaScript in Plain English
July 17, 2024 - TailwindCSS IntelliSense not working in VSCode? Follow the step-by-step guideline to fix the issue by adding a couple of lines in your VSCode settings file.
🌐
GitHub
github.com › styled-components › vscode-styled-components › issues › 347
Intellisense not working · Issue #347 · styled-components/vscode-styled-components
September 13, 2021 - Style a simple div e.g. css height property. Expected behavior Explain what you expected to happen, and what is happening instead. I expect the intellisense to tell me that an height css property exists.
Author   idelice
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › answers › questions › 795844 › how-to-make-intellisense-quick-info-for-javascript
How to make Intellisense Quick Info for JavaScript and CSS files to appear in Visual Studio 2017? - Microsoft Q&A
March 1, 2023 - I just updated to Visual Studio Professional 2022 and the problem of IntelliSense QuickInfo not appearing for JavaScript methods and properties got resolved. JavaScript files are now showing QuickInfo properly. But the problem still remains with CSS files even in VS 2022.
🌐
DEV Community
dev.to › mrpaulishaili › vscode-intellisense-broken-in-tailwind-css-v4-heres-the-solution-4d5
VSCode IntelliSense Broken in Tailwind CSS v4? Here’s the Solution - DEV Community
March 20, 2025 - Enable Quick Suggestions for Strings: Sometimes, VSCode may not trigger suggestions inside JSX or TSX files. To remedy this, update your settings to enable quick suggestions for strings: ... . This will ensure that when you type class names within your markup, the IntelliSense popup will appear as expected. Validate Your Project Structure: Ensure that your Tailwind CSS files are consistently located.
🌐
GitHub
github.com › microsoft › vscode › issues › 57010
CSS intellisense does not work in inline styles · Issue #57010 · microsoft/vscode
August 22, 2018 - Issue Type: Bug IntelliSense can not be triggered automatically in inline styles, I have to use Ctrl+Space to trigger it. 1.25.1 1.26.1 VS Code version: Code 1.26.1 (493869e, 2018-08-16T18:38:57.43...
Author   shizengzhou
🌐
Plain English
plainenglish.io › blog › how-to-fix-tailwind-css-intellisense-in-visual-studio-code-3dede794df21
How to Fix Tailwind CSS IntelliSense in Visual Studio Code
October 18, 2019 - You can also open the Settings editor from the Command Palette (⇧⌘P) with Preferences: Open Settings or use the keyboard shortcut (⌘,). You can place the snippet anywhere in your settings.json and it should work just fine. If it doesn't just give it 1–2 minutes or reload the VSCode window. ... If you want to use Emmet with your TailwindCSS make sure to add this line "tailwindCSS.emmetCompletions": true to the same settings.json file. Your final snippet of code should look something like this: "tailwindCSS.emmetCompletions": true, "editor.inlineSuggest.enabled": true, "editor.quickSuggestions": { "strings": true }, "css.validate": false,
🌐
Developer Community
developercommunity.visualstudio.com › t › intellisense-does-not-show-up-for-css-style-class › 1509704
Intellisense does not show up for css style class names in ...
Skip to main content · Microsoft · Visual Studio · Sign in · You need to enable JavaScript to run this app · Sorry this browser is no longer supported · Please use any other modern browser like 'Microsoft Edge'
🌐
codestudy
codestudy.net › blog › how-to-solve-css-intellisense-for-vscode-not-working
How to Fix CSS IntelliSense Not Working in VSCode for Vanilla HTML/CSS Projects — codestudy.net
3 weeks ago - VSCode’s developer tools can reveal errors in IntelliSense logic: Open Developer Tools: Help > Toggle Developer Tools. Go to the Console tab and look for errors related to css-language-features or html-language-features.
🌐
Developer Community
developercommunity.visualstudio.com › content › problem › 72512 › bootstrap-css-intellisense-not-displayed-in-html.html
Bootstrap CSS Intellisense Not Displayed In HTML
June 17, 2022 - Skip to main content · Microsoft · Visual Studio · Sign in · You need to enable JavaScript to run this app · Sorry this browser is no longer supported · Please use any other modern browser like 'Microsoft Edge'
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
IntelliSense for CSS class names in HTML - Visual Studio Marketplace
December 19, 2020 - Extension for Visual Studio Code - CSS class name completion for the HTML class attribute based on the definitions found in your workspace.
🌐
MiniTool
minitool.com › home › news › visual studio intellisense not working? multiple ways for you!
Visual Studio IntelliSense Not Working? Multiple Ways for You! - MiniTool
February 6, 2023 - Reinstalling Visual Studio or Visual Studio Code is a good method to fix IntelliSense not working on Windows 11/10. Just go to uninstall the program from Control Panel, then download the latest version of the code editor and install it on your PC.
🌐
GitHub
github.com › microsoft › vscode › issues › 164914
CSS IntelliSense is not working · Issue #164914 · microsoft/vscode
January 8, 2024 - Type: Bug The CSS IntelliSense do not work if you are in a CSS file, only when I'm in a HTML file and use the style tag VS Code version: Code 1.72.2 (d045a5e, 2022-10-12T22:15:18.074Z) OS versi...
Author   carlosvcerqueira