Its actually a pretty simple fix. open your settings.json file then add this to get the intellisense working on all files
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"css": "css"
},
"editor.quickSuggestions": {
"strings": true
}
Answer from Zal on Stack OverflowIts actually a pretty simple fix. open your settings.json file then add this to get the intellisense working on all files
"tailwindCSS.includeLanguages": {
"html": "html",
"javascript": "javascript",
"css": "css"
},
"editor.quickSuggestions": {
"strings": true
}
I'm using tailwindcss in a react app. Tailwindcss Intellisense plugin was not working in my VSCode but then i installed HTML CSS Support extension and now i am getting suggestions of classes.
HTML CSS Support

I am using Windsurf as code editor.
Tailwind CSS Intelisense not working on VSCode
visual studio code - VSCode Tailwind CSS Intellisense autocompletion and suggestions not working after installing Tailwind v4 - Stack Overflow
vsCode Intellisense Not Working with V4
tailwind css - Tailwindcss Intellisense not working in VS Code - Stack Overflow
Videos
Support and improvements for TailwindCSS v4 are in progress. As of the fix in TailwindCSS Intellisense VSCode extension since February 2025 (v0.14.3), it is possible to specify the new CSS-first configuration as a configuration file.
Due to the proper v4 configuration detection, Intellisense will work the same way as in v3 without any additional settings. It remains compatible with both v3 and v4 versions simultaneously.
tailwindlabs/tailwindcss-intellisensePR #1167: Clarify how the configFile option works with v4
Tailwind CSS v4.x (CSS entrypoints)
For v4 projects, specify the CSS file(s) that serve as your Tailwind entrypoints.
If your project contains a single CSS entrypoint, set this option to a string:
"tailwindCSS.experimental.configFile": "src/styles/app.css"For projects with multiple CSS entrypoints, use an object where each key is a file path and each value is a glob pattern (or array of patterns) representing the files it applies to:
"tailwindCSS.experimental.configFile": { "packages/a/src/app.css": "packages/a/src/**", "packages/b/src/app.css": "packages/b/src/**" }
Additionally, it no longer displays an error message if the configuration file is missing in v4.
tailwindlabs/tailwindcss-intellisensePR #1164: Don't create v4 projects for CSS files that don't look like v4 configs
The VSCode extension can also be used for v4 projects that are not installed via NPM. This is important because the extension determines whether you are using v3 or v4 in your project based on the NPM package version by default. From now on, it can also detect the version for other installation methods (i.e., even without a package-lock.json).
tailwindlabs/tailwindcss-intellisensePR #1157: Allow v4.0 projects not installed with npm to use IntelliSense
Since TailwindCSS no longer supports Sass, Less, or Stylus preprocessors from v4 onwards, the Intellisense extension will also not consider them starting from v4.
tailwindlabs/tailwindcss-intellisensePR #1159: Ignore preprocessor files when looking for v4 configs
Tailwind css has released new version (4.0.0) and after installing it - ( npm install tailwindcss @tailwindcss/vite ) intellisense extension on VS Code stops working!
This occurs because in V4.0.0 there is no 'tailwind.config' file present in the root dir
To solve this problem follow these steps :
1 - after installing tailwind v4 , go to tailwind website and go to the old version that is v3.4.17
2 - then.. -> Get Started -> Framework Guides -> vite
3 - After that you can see the old steps. in the step 3 : " Configure your template paths " - copy the code of 'tailwind.config.js' :
/ @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src//*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
and then come back to vs code
4 - in vs code create 'tailwind.config.js' file in the root dir
5 - then paste the code which you've copied from Tailwind website (as mentioned in 3)
now autocompletion should work fine
First post here -
I installed v4 and now my intellisense is not working.
I saw somewhere that maybe I have to point this to my globals.css file (nextjs 15)?
I think you almost got it... i added this to my settings and it worked.
what you are missing (in my opinion) is "inlineSuggest" - full snippet here:
"editor.quickSuggestions": {
"strings": true
},
"css.validate": false,
"editor.inlineSuggest.enabled": true
I found that intellisense for the extension will not work with single quotes. I had my ESLint config set to "jsx-quotes": ["warn", "prefer-single"]. If I use double quotes in my classNames, the intellisense works fine.
The solution for me was to update my settings.json to include "editor.quickSuggestions": { "strings": true }
Anybody experienced problems with VS Code and Tailwind CSS IntelliSense? Tailwind CSS IntelliSense is like completely dead! it looks like its installing fine.
im trying to use it in combination with vue, but i have tried normal HTML files and nothing happens. Vs code do autocomplete things like tags and tags properties.. Any ide anybody?
VS Code v.1.39.2
Tailwindcss v.1.1.3
Tailwind CSS IntelliSense v 0.2.0
Os ubuntu v 19.10
Help....
Tailwind CSS IntelliSense extension doesn't work until you have a configuration file in your workspace, as its description clearly states!
You'll be fine even if you're just using the CDN, but you have to create a tailwind.config.js file in your project's root directory, containing the defaults at least:
module.exports = {
content: ["./src/**/*.{html,js}"],
theme: {
extend: {},
},
plugins: [],
};
Also, and since you're working with Laravel, I guess you need to add Blade files to be recognized by the extension through this VSC setting (in settings.json):
"tailwindCSS.includeLanguages": {
"blade": "html",
},
Moreover, this extension can offer intellisense in CSS files. So such files need to be binded too:
"files.associations": {
"*.css": "tailwindcss",
},
One final note: The content paths are what going to be processed by Tailwind's JIT engine; understanding it is crucial!
Update: In my current setup, it also won't work until I run the project folder as a "VSC workspace".
Possible Solution
Disable a single VS Code Extension called: "Bootstrap 4, Font awesome 4, Font Awesome 5 Free & Pro snippets"
Evidence
Tailwind CSS IntelliSense was not working in my Angular project. I had installed Tailwind CSS using their instructions:
Click here
MY VERSIONS
- VS Code: 1.62.3
- Tailwind CSS: 3.0.1
- Angular: 13.0.3
I disabled the extension, mentioned as my "Possible Solution" above, and Tailwind CSS IntelliSense worked instantly.
Demo of Tailwinds CSS IntelliSense in my Angular project
I'm a new user trying to get Intellisense's autopredict Tailwindcss classes feature to work in css, html, html.erb files. It's currently not working anywhere. Intellisense is definitely installed, enabled globally, and I really can;t see what's going wrong, here's my VScode settings.json contents. Can anybody see what might be wrong?
{"workbench.colorTheme": "Default Dark+","editor.tabSize": 2,"git.autofetch": true,"workbench.startupEditor": "none","diffEditor.ignoreTrimWhitespace": false,"github.copilot.enable": {"*": true,"plaintext": false,"markdown": true,"scminput": false},"emmet.includeLanguages": {"*.html.erb": "html","erb": "html"},"files.associations": {"*.html.erb": "html","*.css": "tailwindcss"},"rubyLsp.rubyVersionManager": "rvm","[html.erb]": {},"window.zoomLevel": 1,"tailwindCSS.includeLanguages": {"javascript": "javascript","html": "html","erb": "html"},"tailwindCSS.emmetCompletions": true,"[javascript]": {"editor.defaultFormatter": "esbenp.prettier-vscode"},"tailwindCSS.experimental.classRegex": ["\\bclass:\\s*'([^']*)'","\\bclass:\\s*\"([^\"]*)\""],"tailwindCSS.includeLanguages": {"javascript": "javascript","html": "html","erb": "html"}}
TIA
For older versions IntelliSense is working but for v4 it is not. It there any alternative?