You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix suggestion of utilities with slashes in them in v4 (#1182)
All utilities implicitly have at least `modifiers: []` in the class list
when no modifiers are present. We should only change the completion list
when there are actually modifiers to show in case an existing utility
with a slash in it (e.g. `w-1/2`) is “close” to what the user has typed.
This is the other half to fix#1178 b/c while the completions show up
but as soon as you type `/` they disappear which is an awful experience.
Copy file name to clipboardExpand all lines: packages/vscode-tailwindcss/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@
8
8
- Add details about theme options when hovering ([#1176](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1176))
9
9
- Fix parsing of `@custom-variant` shorthand in Tailwind CSS language mode ([#1183](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1183))
10
10
- Make sure custom regexes apply in Vue `<script>` blocks ([#1177](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1177))
11
+
- Fix suggestion of utilities with slashes in them in v4 ([#1182](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1182))
0 commit comments