Skip to content

Color decorators don't show up in a split editor #885

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

Closed
mthierman opened this issue Dec 17, 2023 · 2 comments · Fixed by #888
Closed

Color decorators don't show up in a split editor #885

mthierman opened this issue Dec 17, 2023 · 2 comments · Fixed by #888
Assignees
Labels
bug Something isn't working

Comments

@mthierman
Copy link

What version of VS Code are you using?

1.85.1

What version of Tailwind CSS IntelliSense are you using?

v0.10.3

What version of Tailwind CSS are you using?

3.3.6

What package manager are you using?

pnpm

What operating system are you using?

Windows 11

Tailwind config

import type { Config } from "tailwindcss";

export default {
    plugins: [require("@tailwindcss/typography")],
    content: ["./src/**/*.{html,js,ts}"],
} satisfies Config;

VS Code settings

"editor.colorDecorators": true
"tailwindCSS.colorDecorators": true
"editor.defaultColorDecorators": true

Reproduction URL

N/A

Describe your issue

Color decorators for Tailwind don't show up when you split an editor. This does work with regular CSS.

Screenshot 2023-12-17 125025

@thecrypticace thecrypticace self-assigned this Dec 17, 2023
@thecrypticace thecrypticace added the bug Something isn't working label Dec 19, 2023
@thecrypticace
Copy link
Contributor

Confirmed. Weirdly enough the editor that the decorators appear in depends on the order in which you opened the files.

For example, if you opened a CSS file in the 2nd pane but not the first they show up in the 2nd split editor but not the first. If you swap the order then they don't appear in the second editor.

Will look into it!

@thecrypticace
Copy link
Contributor

I've got a fix for this. Will get a release out sometime today or tomorrow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants