Skip to content

Custom @import Breaks IntelliSense on v4 Beta #1115

Closed
@martin-ukhanov

Description

@martin-ukhanov

What version of VS Code are you using?

v1.96.2

What version of Tailwind CSS IntelliSense are you using?

v0.13.64 (pre-release)

What version of Tailwind CSS are you using?

v4.0.0-beta.8

What package manager are you using?

npm

What operating system are you using?

macOS

Tailwind config

N/A

VS Code settings

{
  "workbench.sideBar.location": "right",
  "workbench.iconTheme": "file-icons",
  "window.commandCenter": false,
  "workbench.layoutControl.enabled": false,
  "css.lint.unknownAtRules": "ignore",
  "svelte.enable-ts-plugin": true,
  "editor.quickSuggestions": {
    "strings": "on"
  },
  "editor.tabSize": 2,
  "workbench.startupEditor": "none",
  "git.autofetch": true,
  "tailwindCSS.emmetCompletions": true,
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "editor.stickyScroll.enabled": false,
  "breadcrumbs.enabled": false,
  "git.enableSmartCommit": true,
  "editor.linkedEditing": true
}

Reproduction URL

https://github.com/martin-ukhanov/tailwind-intellisense-bug

Describe your issue

When using a custom import in the main CSS file (in the reproduction repo I am importing 'test.css' which contains a custom utility class), Tailwind IntelliSense breaks and does not provide suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions