If you're facing issues with Tailwind CSS IntelliSense not providing suggestions in your ReactJS project, follow these steps to adjust your workspace settings:
- Open your code editor and access the command palette (you can typically do this by pressing
Ctrl + Shift + P
orCmd + Shift + P
). - Search for
settings.json
in the command palette and select the option for "Preferences: Open Workspace Settings (JSON)" to open the workspace settings file in JSON format. - In the opened
settings.json
file, paste the following code:
{
"tailwindCSS.includeLanguages": {
"javascript": "javascript",