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

If hide tailwind.config.js in VSCode explorer, intellisense plugin not work. #1052

Open
nyssance opened this issue Sep 15, 2024 · 1 comment

Comments

@nyssance
Copy link

What version of VS Code are you using?

v1.93.1

What version of Tailwind CSS IntelliSense are you using?

v0.12.10

What version of Tailwind CSS are you using?

v3.4.11

What package manager are you using?

bun

What operating system are you using?

macOS, Windows

Tailwind config

// Paste the contents of your Tailwind config file here

VS Code settings

    "files.exclude": {
        ...
        "tailwind.config.js": true
    },
    "search.exclude": {
        ...
        "tailwind.config.js": false
    },

Describe your issue

If hide tailwind.config.js in VSCode explorer, intellisense plugin not work.

@isimmons
Copy link

Same if I try to use the settings.json "tailwind.files.exclude": ["tailwind.config.js"]
Now no files get intellisense.

Reason I'm trying to do this is because VSCode built in editor.colorDecorators does not work for tailwind.config.js when the tailwind extension is enabled and when I just use the tailwind extension, I get no colors in the config file.

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

2 participants