As soon I installed the newer version of TailwindCSS V4.1 the autocomplete suggestion from Tailwind CSS IntelliSense donot work. So far I have tried the following troubleshooting methods:
- Adding experimental config on settings.json
"tailwindCSS.experimental.configFile": "src/index.css" - Adding old style empty tailwind.config.js file at the root folder.
- Tried disabling and enabling the Tailwind CSS IntelliSense.
- Adding space before each tailwind ClassName, for e.g
" text-red-500"
All of the methods above had been done in isolation from each other, after each method the VS code has been restarted to test the implementation. The editor.quickSuggestions for the Strings is also turned on. I have made sure that there is no file from tailwind is being excluded in VS Code.