Skip to content

Support class function hovers in Svelte and HTML <script> blocks #1311

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Apr 12, 2025

When using the tailwindCSS.classFunctions setting we were handling completions correctly inside <script> tags but not class hovers. This is b/c the code path for the two is just… different.

It'll get unified eventually (soon hopefully) but until then this is the bug fix to ensure that hovering inside something like <script>let classes = clsx("flex relative")</script> works

@thecrypticace thecrypticace changed the title Support class function hovers in Svelte <script> blocks Support class function hovers in Svelte and HTML <script> blocks Apr 12, 2025
@thecrypticace thecrypticace force-pushed the fix/class-functions-hover-in-script-tags branch from 14fc27d to b4451e4 Compare April 14, 2025 15:38
@thecrypticace thecrypticace marked this pull request as ready for review April 14, 2025 15:39
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.

1 participant