Skip to content

Releases: tailwindlabs/tailwindcss-intellisense

v0.14.4

12 Feb 15:03
Compare
Choose a tag to compare
  • Ensure hover information for theme(…) and other functions are shown when used in @media queries (#1172)
  • Treat <script lang=“tsx”> as containing JSX (#1175)
  • Add support for static theme option (#1176)
  • Add details about theme options when hovering (#1176)
  • Fix parsing of @custom-variant shorthand in Tailwind CSS language mode (#1183)
  • Make sure custom regexes apply in Vue <script> blocks (#1177)
  • Fix suggestion of utilities with slashes in them in v4 (#1182)
  • Assume 16px font size for 1rem in media queries (#1190)
  • Show warning when loading a config in v3 fails (#1191)
  • Better handle really long class lists in attributes and custom regexes (#1192)
  • Add support for Astro’s template literal attributes (#1193)
  • Match custom class regex in Vue templates (#1194)
  • Support directory imports in plugins for index.{ts,cts,mts} (#1198)

v0.14.3

05 Feb 15:37
Compare
Choose a tag to compare
  • Allow v4.0 projects not installed with npm to use IntelliSense (#1157)
  • Ignore preprocessor files when looking for v4 configs (#1159)
  • Allow language service to be used in native ESM environments (#1122)
  • Don't create v4 projects for CSS files that don't look like v4 configs #1164
  • Support property and variable completions inside @utility (#1165)
  • Support style-rule like completions inside @custom-variant (#1165)
  • Support style-rule like completions inside @variant (#1165)
  • Make sure @slot isn't considered an unknown at-rule (#1165)
  • Fix equivalent calculation when using prefixes in v4 (#1166)
  • Fix use of tailwindCSS.experimental.configFile option when using the bundled version of v4 (#1167)
  • Recursively resolve values from the theme (#1168)
  • Handle theme keys containing escaped commas (#1168)
  • Show colors for utilities when they point to CSS variables contained in the theme (#1168)

v0.14.2

29 Jan 17:35
Compare
Choose a tag to compare
  • Don't suggest --font-size-* theme keys in v4.0 (#1150)
  • Fix detection of Tailwind CSS version when using Yarn PnP (#1151)
  • Add support for v4.x insiders builds (#1123)

v0.14.1

21 Jan 19:31
Compare
Choose a tag to compare
  • Fix detection of TypeScript config paths on Windows (#1130)

v0.14.0

21 Jan 17:52
Compare
Choose a tag to compare
  • Don't break when importing missing CSS files (#1106)
  • Resolve CSS imports as relative first (#1106)
  • Add TypeScript config path support in v4 CSS files (#1106)
  • Add support for @custom-variant (#1127)
  • Add variant suggestions to @variant (#1127)
  • Don't suggest at-rules when nested that cannot be used in a nested context (#1127)
  • Make sure completions work when using prefixes in v4 (#1129)
  • Add support for @reference (#1117)
  • Add support for --theme(…), --utility(…), and --modifier(…) (#1117)
  • Add basic completions for --utility(…) and --modifier(…) (#1117)

v0.12.18

21 Jan 17:52
Compare
Choose a tag to compare
  • Stop auto-switching CSS files to the Tailwind CSS language mode (#1116)
  • Reload v4 design system when dependencies change (#1119)

Note: The language server now follows the same versioning scheme as the VSCode extension

v0.12.17

21 Jan 17:50
Compare
Choose a tag to compare
  • Show theme values in comments in later v4 betas (#1092)

v0.12.16

21 Jan 17:50
Compare
Choose a tag to compare
  • Update theme entry suggestions (#1105)

v0.12.15

21 Jan 17:50
Compare
Choose a tag to compare
  • Reload variants when editing the theme in v4 (#1094)
  • Don't show syntax errors when imports contain layer(…) and source(…) (#1095)
  • Don't show syntax errors when document contains an @layer statement (#1095)
  • Correct syntax highlighting when imports contain layer(…) (#1095)

v0.12.14

21 Jan 17:50
Compare
Choose a tag to compare
  • Add suggestions for theme options (#1083)
  • Add suggestions when using @source "…" and source(…) (#1083)
  • Show brace expansion when hovering @source (#1083)
  • Highlight source(…), theme(…), and prefix(…) when used with @import "…" (#1083)
  • Highlight @tailwind utilities source(…) (#1083)
  • Show document links when using source(…) (#1083)
  • Ensure language server starts as needed (#1083)
  • Don't show syntax errors when using source(…), theme(…), or prefix(…) with @import "…" (#1083)
  • Don't show warning when using @tailwind utilities source(…) (#1083)
  • Don't suggest TypeScript declaration files for @config, @plugin, and @source (#1083)
  • Don't link Windows-style paths in @source, @config, and @plugin (#1083)
  • Warn on invalid uses of source(…), @source, @config, and @plugin (#1083)
  • Warn when a v4 project uses an old @tailwind directive (#1083)