Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hupp's avatar
Level 11

Tailwind CSS IntelliSense + Blade File Not Suggesting in VS Code

I am using this Official VSCode Extension : https://marketplace.visualstudio.com/items?itemName=bradlc.vscode-tailwindcss

i have setup fresh Laravel Project. Using Tailwind via CDN in Welcome.blade.php in that file its not suggesting for tailwind classes. In .html file its working fine.

In Vs Code settings.json i tried bellow code and reload the vscode but still its not working. ! Let me know which setting is correct to get suggestion in blade file.

"tailwindCSS.includeLanguages": {
        "blade": "html"
    }
0 likes
2 replies
Charlesemery's avatar

Hello,

If the Tailwind CSS IntelliSense extension is not providing suggestions for Tailwind classes in your Blade files in a fresh Laravel project, you can try the following steps to resolve the issue:

Verify that the extension is installed and enabled: Double-check that you have the "Tailwind CSS IntelliSense" extension installed from the official Visual Studio https://www.surveyzo.com/smashburger-survey/ Code marketplace, and ensure it is enabled.

Check VS Code settings: Open your VS Code settings (settings.json) and add or update the following configuration to include Blade files for Tailwind CSS IntelliSense: "tailwindCSS.includeLanguages": { "blade": "html" } Reload VS Code: After saving the settings file, reload VS Code to apply the changes.

Ensure proper file extension: Make sure your Blade files have the correct extension (e.g., .blade.php) so that they are recognized as Blade templates.

Clear cache: If the issue persists, try clearing the IntelliSense cache by pressing Ctrl+Shift+P (or Cmd+Shift+P on macOS), typing "Developer: Reload Window," and selecting it.

File associations: In some cases, there might be conflicts with other extensions handling Blade files. Check if any other extensions are interfering with IntelliSense for Blade files.

2 likes
hupp's avatar
Level 11

@charlesemery I already write in my question Plugin is Official , Active & all ready set blade as html in settings.json and reload the vscode and extension. Its not working

Please or to participate in this conversation.