Skip to content

Completions not appearing on my v4 project #1261

Open
@Erghan

Description

@Erghan

What version of VS Code are you using?

1.98.0

What version of Tailwind CSS IntelliSense are you using?

0.14.8

What version of Tailwind CSS are you using?

4.0.12

What package manager are you using?

npm

What operating system are you using?

macOS

Tailwind config

module.exports = {
  content: [
    "./src/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};

VS Code settings

{
  "explorer.sortOrder": "type",
  "editor.minimap.enabled": true,
  "editor.renderWhitespace": "all",
  "editor.wordWrap": "on",
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[php]": {
    "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
  },
  "php.validate.executablePath": "/Applications/MAMP/bin/php/php7.4.12/bin/php",
  "files.autoSaveDelay": 3000,
  "editor.tabSize": 2,
  "prettier.tabWidth": 2,
  "CSSNavigation.activeCSSFileExtensions": ["scss", "sass", "less"],
  "workbench.iconTheme": "helium-icon-theme",
  "workbench.tree.indent": 18,
  "[svg]": {
    "editor.defaultFormatter": "jock.svg"
  },
  "files.exclude": {
    "prepros.config": true
  },
  "editor.fontFamily": "Fira Code",
  "editor.fontLigatures": true,
  "accessibility.signalOptions.volume": 0,
  "tailwind-fold.autoFold": true,
  "tailwind-fold.unfoldIfLineSelected": true,
  "files.associations": {
    "*.css": "tailwindcss"
  },

  "editor.quickSuggestions": {
    "strings": true
  },

  "tailwindCSS.includeLanguages": {
    "plaintext": "html"
  }
}

Reproduction URL

N/A

Describe your issue

I am working on a project with Next.js and Tailwind v4.
When I start typing the Tailwind class, I get this error in the dev tool. Autocompletion doesn't work.

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