Skip to content

Newly added breakpoints to @theme do not show up in suggestions until VSCode is reloaded #1093

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
martin-ukhanov opened this issue Nov 22, 2024 · 2 comments · Fixed by #1094
Assignees
Labels

Comments

@martin-ukhanov
Copy link

martin-ukhanov commented Nov 22, 2024

What version of Tailwind CSS are you using?

4.0.0-beta.1

What build tool (or framework if it abstracts the build tool) are you using?

Vite 5.0.3

What version of Node.js are you using?

v20.12.2

What browser are you using?

N/A

What operating system are you using?

macOS

Reproduction URL

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

Describe your issue

When customizing breakpoints in the theme directive, custom breakpoints won't show up in IntelliSense and default breakpoints will still show up if they are overridden.

@martin-ukhanov martin-ukhanov changed the title [v4] Breakpoints customization in theme directive not reflected by IntelliSense [v4] Breakpoints customization in '@theme' directive not reflected by IntelliSense Nov 22, 2024
@thecrypticace thecrypticace self-assigned this Nov 22, 2024
@thecrypticace thecrypticace transferred this issue from tailwindlabs/tailwindcss Nov 22, 2024
@thecrypticace
Copy link
Contributor

Thanks for reporting! It appears to work after restarting the extension host so probably some caching related thing. Will look into it!

@thecrypticace thecrypticace changed the title [v4] Breakpoints customization in '@theme' directive not reflected by IntelliSense Newly added breakpoints to '@theme' do not show up in suggestions until VSCode is reloaded Nov 22, 2024
@thecrypticace thecrypticace changed the title Newly added breakpoints to '@theme' do not show up in suggestions until VSCode is reloaded Newly added breakpoints to @theme do not show up in suggestions until VSCode is reloaded Nov 22, 2024
@thecrypticace
Copy link
Contributor

thecrypticace commented Nov 22, 2024

I'll get a release out today with this fixed 👍

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

Successfully merging a pull request may close this issue.

2 participants