Skip to content

intellisense does not work properly #1249

Open
@shayan-flh

Description

@shayan-flh

What version of VS Code are you using?
v1.97.2
What version of Tailwind CSS IntelliSense are you using?
v0.14.8
What version of Tailwind CSS are you using?
v4.0
What package manager are you using?
npm
What operating system are you using?
Windows
Tailwind config

// Paste the contents of your Tailwind config file here

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'

// https://vite.dev/config/
export default defineConfig({
  plugins: [react(),
  tailwindcss(),
  ],
})

//version 4 of tailwind does not have an tailwind config file based on the tailwind document so this is the vite.config.js

VS Code settings

// Paste your VS Code settings in JSON format here
{
    "files.autoSave": "afterDelay",
    "npm.enableRunFromFolder": true,
    "debug.javascript.codelens.npmScripts": "all",
    "editor.minimap.enabled": false,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "editor.stickyScroll.enabled": false,
    "editor.unicodeHighlight.nonBasicASCII": false
}

Reproduction URL

https://github.com/shayanjoon11/tailwind-test.git

Describe your issue

intellisense does not work on tailwindcss v4 and there is no class name suggestions either in the html file or jsx file

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions