Skip to content

Optimize AST before printing for IntelliSense#15347

Merged
thecrypticace merged 3 commits into
nextfrom
fix/v4-intellisense-css-printing
Dec 9, 2024
Merged

Optimize AST before printing for IntelliSense#15347
thecrypticace merged 3 commits into
nextfrom
fix/v4-intellisense-css-printing

Conversation

@thecrypticace

@thecrypticace thecrypticace commented Dec 9, 2024

Copy link
Copy Markdown
Contributor

We changed how AST printing worked recently but forgot to update this. Which causes us to print properties with a value of undefined in Tailwind Play, Tailwind CSS IntelliSense, and our Language Server (oops):

Screenshot 2024-12-09 at 12 29 13

This PR fixes this by optimizing the AST before printing (which is what toCss did previously)

@thecrypticace thecrypticace requested a review from a team as a code owner December 9, 2024 17:32
@thecrypticace thecrypticace force-pushed the fix/v4-intellisense-css-printing branch from 489b836 to e60cbd4 Compare December 9, 2024 17:35
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

Successfully merging this pull request may close these issues.

2 participants