Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom @import Breaks IntelliSense on v4 Beta #1115

Closed
martin-ukhanov opened this issue Jan 1, 2025 · 5 comments
Closed

Custom @import Breaks IntelliSense on v4 Beta #1115

martin-ukhanov opened this issue Jan 1, 2025 · 5 comments

Comments

@martin-ukhanov
Copy link

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.

@florianbouvot
Copy link

florianbouvot commented Jan 1, 2025

@martin-ukhanov I think it's the same issue as #1103, @thecrypticace is working on it #1106.

@martin-ukhanov
Copy link
Author

@martin-ukhanov I think it's the same issue as #1103, @thecrypticace is working on it #1106.

@florianbouvot yes I'm aware, @thecrypticace asked me to create this issue in the IntelliSense repo. Not sure if they didn't realize that it was the same.

@thecrypticace
Copy link
Contributor

It is indeed the same problem.

Not sure if they didn't realize that it was the same.

The discussion didn't include many details or a reproduction. Nor did it include an indication of using tsconfig or custom imports just a "… my IntelliSense stopped working out of the blue" so I could not have known it was the same issue.

Closing in favor of #1103

@martin-ukhanov
Copy link
Author

It is indeed the same problem.

Not sure if they didn't realize that it was the same.

The discussion didn't include many details or a reproduction. Nor did it include an indication of using tsconfig or custom imports just a "… my IntelliSense stopped working out of the blue" so I could not have known it was the same issue.

Closing in favor of #1103

My apologies, I should have been more clear.

@thecrypticace
Copy link
Contributor

No worries!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants