Skip to content

Latest commit

 

History

History
847 lines (590 loc) · 56 KB

File metadata and controls

847 lines (590 loc) · 56 KB

Changelog

Prerelease

  • Fix incorrect invalidConfigPath warnings when a theme(…) or config(…) call spans multiple lines (#1606)

0.16.0

  • Add a source to all emitted diagnostics (#1491)
  • Improve performance in large files (#1507)
  • Improve utility lookup performance when using v4 (#1509, #1512)
  • Fix project initalization when stylesheet is named tailwindcss.css (#1517)
  • Mark @variant as deprecated when defining custom variants (#1578)
  • Show pixel equivalents for @container (#1585)
  • Fix class hover in Vue <script></script> tags when they exist after <template></template> tags (#1580)
  • Fix incorrect cssConflict warnings when using Tailwind CSS v4.3.3+ (#1601)

0.14.29

  • Offload content detection to separate process (#1471)
  • Suggest canonical classes when pixels and rem values match based on the root font size (#1476)
  • Fix completion edit range being incorrect when part before cursor ends with -[ (#1480)

0.14.28

  • Fix infinite recursion in theme variable lookups (#1473)
  • Fix infinite recursion when replacing unbalanced calc expressions (#1473)
  • Add diagnostic to suggest canonical classes by default (#1475)

0.14.27

  • Publish our fork of the CSS language server (#1437)
  • Suggest default variant values when they also support arbitrary values (#1439)
  • Show color swatches for OKLCH colors with units in all positions (#1442)
  • Fix incorrect diagnostic for --theme(--some-var inline) (#1443)
  • Bump precision of evaluated calc expressions (#1449)
  • Fix theme lookup when variable names contain escaped dots (#1466)

0.14.26

  • Match class functions that appear after an opening square bracket (#1428)
  • Don't match helper functions when part of a larger function name (#1429)

0.14.25

  • Ensure color swatches show up in completions when using a prefix in v4 (#1422)

0.14.24

  • Fix highlighting when theme namespaces are used inside --value() and --modifier() (#1420)

0.14.23

  • Highlight CSS variables correctly inside @theme (#1409)
  • Highlight comments inside @theme (#1409)
  • Highlight at-rules inside @theme (#1409)
  • Detect class functions and class attributes inside Astro code fences (#1386)

0.14.22

  • Fix matching files when config is not in the workspace root (#1412)

0.14.21

  • Bump bundled CSS language service (#1395)
  • Fix high CPU usage when given non-file URI workspace folders (#1396)
  • Ignore workspace folders that are the filesystem root (#1396)
  • Fix infinite loop when resolving completion details with recursive theme keys (#1400)
  • Simplify completion details for more utilities (#1397)
  • Improve project stylesheet detection (#1401)

0.14.20

  • Simplify completion details for border and outline utilities (#1384)
  • Fix error initializing a new project when editing a CSS file (#1387)
  • Improve syntax highlighting for CSS (#1367)

0.14.19

  • Speed up project selector matching in large projects (#1381)

0.14.18

  • Display color swatches when using before/after variants (#1374)
  • Clear trigger characters when restarting server (#1375)
  • Don't register ability to hover, request colors, etc… more than once (#1378)

0.14.17

  • Improve dynamic capability registration in the language server (#1327)
  • Ignore Python virtual env directories by default (#1336)
  • Ignore Yarn v2+ metadata & cache directories by default (#1336)
  • Ignore some build caches by default (#1336)
  • Gracefully handle color parsing failures (#1363)
  • Calculate swatches for HSL colors with angular units (#1360)
  • Fix error when using VSCode < 1.78 (#1353)
  • Don’t skip suggesting empty variant implementations (#1352)
  • Handle helper function lookups in nested parens (#1354)
  • Hide @property declarations from completion details (#1356)
  • Hide variant-provided declarations from completion details for a utility (#1356)
  • Compute correct document selectors when a project is initialized (#1335)
  • Fix matching of some content file paths on Windows (#1335)

0.14.16

  • Warn when using a blocklisted class in v4 (#1310)
  • Support class function hovers in Svelte and HTML <script> blocks (#1311)
  • Evaluate complex calc(…) expressions in completions and equivalents (#1316)
  • Guard against recursive theme key lookup (#1332)

0.14.15

  • Prevent infinite loop when any file exclusion starts with / (#1307)

0.14.14

  • Only scan the file system once when needed (#1287)
  • Don't follow recursive symlinks when searching for projects (#1270)
  • Correctly re-create a project when its main config file is removed then re-created (#1300)
  • Bump @parcel/watcher used by the language server (#1269)

0.14.13

  • Hide completions from CSS language server inside @import "…" source(…) (#1091)
  • Bump bundled v4 fallback to v4.1.1 (#1294)
  • Show color swatches for most new v4.1 utilities (#1294)
  • Support theme key hovers in the CSS var() function (#1289)
  • Show theme key hovers inside @theme for better context and syntax highlighting (#1289)

0.14.12

  • Fix content detection when using v4.0+ (#1280)
  • Ensure file exclusions always work on Windows (#1281)
  • Prep for new Oxide API in v4.1 (#1284)
  • Handle negated sources during project discovery in v4.1 (#1288)

0.14.11

  • Fix completions not showing for some class attributes when a class function exists in the document (#1278)

0.14.10

  • Detect classes in JS/TS functions and tagged template literals with the tailwindCSS.classFunctions setting (#1258, #1272)
  • v4: Make sure completions show after variants using arbitrary and bare values (#1263)
  • v4: Add support for upcoming @source not feature (#1262)
  • v4: Add support for upcoming @source inline(…) feature (#1262)
  • LSP: Refresh internal caches when settings are updated (#1273)
  • LSP: Improve error message when a workspace folder does not exist or is inaccesible to the current user (#1276)
  • v4: Show theme key completions in var(…) in CSS (#1274)

0.14.9

  • v4: Support loading bundled versions of some first-party plugins (#1240)
  • Cancel initial file search if it takes too long (#1242)
  • LSP: Don’t throw when the client does not provide textDocument in capabilities (#1252)
  • v4: Allow * anywhere in a CSS variable name (#1256)

0.14.8

  • Don't throw when requiring() packages that resolve to a path containing a # character (#1235)
  • Fix syntax error when resetting multi-word theme key namespaces (#1237)

0.14.7

  • LSP: Declare capability for handling workspace folder change notifications (#1223)
  • Don't throw when resolving paths containing a # character (#1225)
  • Show @theme in symbol list in CSS language mode (#1227)
  • Don't show syntax error when * appear inside —value(…) and --modifier(…) (#1226)
  • Don't show syntax error for theme namespaces inside @theme (#1226)

0.14.6

  • Fix detection when project contains stylesheets that import the "main" stylesheet (#1218)

0.14.5

  • Show light color swatch from light-dark() functions (#1199)
  • Ignore comments when matching class attributes (#1202)
  • Show source diagnostics when imports contain a layer (#1204)
  • Only detect project roots in v4 when using certain CSS features (#1205)
  • Update Tailwind CSS v4 version to v4.0.6 (#1207)
  • Fix parsing of @custom-variant block syntax containg declarations and/or @slot (#1212)
  • Fix display of custom at-rules in symbol listing (#1212)

0.14.4

  • 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)

0.14.3

  • 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)

0.14.2

  • 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)

0.14.1

  • Fix detection of TypeScript config paths on Windows (#1130)

0.14.0

  • 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)

0.12.18

  • Stop auto-switching CSS files to the Tailwind CSS language mode (#1116)
  • Reload v4 design system when dependencies change (#1119)

0.12.17

  • Show theme values in comments in later v4 betas (#1092)

0.12.16

  • Update theme entry suggestions (#1105)

0.12.15

  • 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)

0.12.14

  • 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)

0.12.13

  • Fix display of color swatches using new v4 oklch color palette (#1073)
  • Properly validate theme(…) function paths in v4 (#1074)
  • Support loading TypeScript configs and plugins in v4 projects (#1076)
  • Show colors for logical border properties (#1075)
  • Show all potential class conflicts in v4 projects (#1077)
  • Lookup variables in the CSS theme (#1082)
  • Auto-switch CSS files to tailwindcss language in valid projects (#1087)

0.12.12

  • Add support for Tailwind CSS v4.0.0-alpha.31 (#1078)

0.12.11

  • Add support for .cts and .mts config files (#1025)
  • Add support for Tailwind CSS v4.0.0-alpha.25 (#1058)

0.12.10

  • Improve support for new v4 at rules (#1045)

0.12.9

  • Support plugins loaded via @plugin in v4 (#1044)
  • Support configs loaded via @config in v4 (#1044)

0.12.8

  • Fix an issue that caused the language server for any project with a non-standard CSS file to crash (#1030)

0.12.7

  • Add support for @source (#1030)

0.12.6

  • Add support for Tailwind CSS v4.0.0-alpha.19 (#1031)

0.12.5

  • Use paths relative to opened folder when searching for projects (#1013)

0.12.4

  • Fix detection of v3 insiders builds (#1007)
  • Make sure language-specific settings are passed to our language server (#1006)
  • Fix initialization when path contains parentheses (#1009)

0.12.3

  • Normalize Windows drive letters in more places (#1001)
  • Attempt matches on non-normalized path for a project (#999)

0.12.2

  • Fix loading projects on Windows network drives (#996)
  • Fix server not launching on older versions of VSCode (#998)

0.12.1

  • Normalize Windows drive letters in document URIs (#980)

0.12.0

  • Fix crash when class regex matches an empty string (#897)
  • Add support for Tailwind CSS v4 Alpha (#917)
  • Soft-reload Tailwind CSS v4 theme when editing CSS files (#918)
  • Fix loading of ESM and TypeScript configs (c3bbd2f)
  • Show equivalent hex colors (#831)
  • Fix Tailwind CSS v4 project loading on Windows (8285ebc)
  • Internal code cleanup (#922)
  • Support Astro's class:list attribute by default (#890)
  • Fix hovers and CSS conflict detection in Vue <style lang="sass"> blocks (#930)
  • Add support for <script type="text/babel"> (#932)
  • Show pixel equivalents in completions and hovers of the theme() helper (#935)
  • Handle style exports condition when processing @import statements (#934)
  • Highlight @theme contents as a rule list (#937)
  • Show color decorators for oklab and oklch colors (#936)
  • Update fallback version of Tailwind to v3.4.2 (#938)
  • Fix errors thrown by detecting content files with oxide (#945)
  • Fix crash when generating rules produces an error (#954)
  • Add support for initializing when using workspaceFolders (#955)
  • Fix crash when reading CSS files that don't exist (#956)
  • Use one server to handle all folders in a workspace (#957)
  • Fix Tailwind CSS v4 theme reloading on Windows (#960)
  • Show color decorators when utility has an opacity modifier in Tailwind CSS v4 (#969)
  • Bump enhanced-resolve dependency (#971)
  • Remove is-builtin-module dependency (#970)
  • Bump minimum supported Node version to v18 (#978)
  • Pass URI to configuration call not a file path (#981, #982)
  • Fix handling of added workspaces (b39c8e0)
  • Bump bundled version of tailwindcss to v3.4.4 (#987)

0.10.5

  • Bump bundled version of tailwindcss to v3.4.1 (#898)

0.10.4

  • Enable Sort Selection on a remote host (#878)
  • Show color decorators in split editors (#888)
  • Bump bundled version of tailwindcss to v3.4.0 (#889)

0.10.3

No changes — publishing quirk

0.10.2

  • Add support for Glimmer (#867)
  • Ignore duplicate variant + value pairs (#874)

0.10.1

  • Add Sort Selection command (#851)
  • Update lockfiles (#853)

0.10.0

  • Fix classRegex offset (#846)
  • Fix language server initialisation outside of VS Code (#803)
  • Fix recommended variant order linting in Tailwind v2 (#849)

0.9.13

  • Fix CSS conflict regression (#842)

0.9.12

  • Increase class search range (#760)
  • Fix CSS conflict diagnostic false negatives (#761)
  • Don't attempt to read from deleted CSS files (#765)
  • Resolve helper functions in CSS previews (#766)
  • Fix CSS conflict diagnostics in semicolonless CSS documents (#771)
  • Enable IntelliSense for <script lang="tsx"> (#773)
  • Include pixel equivalents in more places (#775)
  • Fix initialisation when using tailwindcss@^0 (#787)
  • Fix activation when files.excludes contains braces (#789)
  • Fix diagnostic false-positive when no CSS properties are present (#793)
  • Add language mode icon (#794)
  • Fix IntelliSense following closing script/style tag containing whitespace (#808)
  • Fix classRegex hovers in unknown contexts (#824)
  • Expand classRegex search range (#840)

0.9.11

  • Fix first-party plugin usage when using bundled version of tailwindcss (#751)

0.9.10

  • Fix use of certain built-in node modules in config file (#745)
  • Exclude classes in blocklist from IntelliSense (#746)
  • Fix theme helper handling when specifying default value (#747)
  • Fix activation when connected to Windows with Remote SSH extension (#748)
  • Bump bundled version of tailwindcss to v3.3.0 (#749)

0.9.9

0.9.8

  • Fix invalidTailwindDirective linting with CRLF file endings (#723)
  • Add support for Handlebars template scripts (<script type="text/x-handlebars-template">) (#726)
  • Improve JavaScript comment detection (#727)
  • Add modifier completions for @apply and classRegex setting (#732)
  • Add bundled version of @tailwindcss/container-queries (#733)
  • Support InitializeParams.rootUri (#725)
  • Add htmldjango to default supported languages (#721)

0.9.7

  • Improve completion list performance (#706)
  • Improve support for Tailwind class modifiers (#707)
  • Fix activation on Windows when using tailwindCSS.experimental.configFile setting (#708)
  • Don't watch directories above workspace root (#709)
  • Enable IntelliSense in entire workspace when there is exactly one active Tailwind project (#711)

0.9.6

  • Fix activation on Windows when project path contains brackets (#699)

0.9.5

  • Fix error when a files.excludes pattern contains braces (#696)

0.9.4

  • Fix document selector when tailwindCSS.experimental.configFile is a string (#693)
  • Fix IntelliSense for project paths containing brackets (#694)

0.9.3

  • Tweak theme helper detection (#689)
  • Remove marketplace "preview" tag (5932d20)
  • Add typescript to default languages (#690)

0.9.2

  • Fix @layer syntax highlighting (#637)
  • Improve extraction for variable colors (#638)
  • Improve experimental.configFile in multi-root workspaces (#640)
  • Add documentation for @config completion (ea5aff5)
  • Boot language servers for nested workspace folders (#642)
  • Remove typescript from default languages (#645)
  • Fix duplicate color decorators (#652)
  • Improve theme helper detection (#655)
  • Add class modifier completions (#686)
  • Bump bundled version of tailwindcss to 3.2.4 (f07eedd)

0.9.1

  • Fix variant completions when using a DEFAULT value with matchVariant (#635)

0.9.0

  • Fix usage of absolute paths in experimental.configFile setting (#617)
  • Fix IntelliSense when separator is -- (#628)
  • Improve support for theme CSS helper when not using quotes and/or using an opacity modifier (1b730cb)
  • Add support for dynamic and parameterized variants (Tailwind v3.2) (d073bb9, f59adbe)
  • Add support for @config (Tailwind v3.2) (bf57dd1)
  • Bump bundled versions of tailwindcss and first-party plugins (315070a)
  • Add automatic support for multi-config workspaces, including @config resolution (#633)

0.8.7

  • Support insiders versions of tailwindcss (#571)
  • Deduplicate classlist candidates (#572)
  • Don't watch package.json files (#573)
  • Support require.extensions mutations (#583)
  • Support node: module prefix (#585)
  • Replace multi-regexp2 with becke-ch--regex--s0-0-v1--base--pl--lib (#590)
  • Support Surface templates (#597)
  • Ignore commented out code (#599)
  • Use patched version of enhanced-resolve (#600)
  • Guard against optional client capabilities (#602)

0.8.6

  • Improve theme helper detection

0.8.5

0.8.4

  • Fix overeager <style> detection (#543)
  • Fix dependencies .map() error

0.8.3

0.8.2

  • Fix language features when nesting <template> in Vue files (#532)
  • Add hovers, suggestions, and codeActions settings (#535)

0.8.1

  • Revert "Improve conflict diagnostics" (#525)

0.8.0

  • Add gohtmltmpl to supported languages (#473)
  • Prevent directive errors in non-semicolon languages (#461)
  • Detect conflicting multi-rule classes (#498)
  • Fix classRegex error (#501)
  • Rework language boundary detection (#502)
  • Improve conflict diagnostics (#503)
  • Add Tailwind CSS language mode (#518)

0.7.7

  • Fix activation for projects with square brackets in their path

0.7.6

  • Fix files.exclude configuration resolution (#464)
  • Ensure files.exclude configuration changes are synchronized
  • [LSP] Remove InitializeParams.initializationOptions requirement

0.7.5

  • Add bundled version of tailwindcss. The extension will use this version if tailwindcss cannot be resolved within the workspace
  • Add tailwindCSS.files.exclude setting

0.7.4

  • Update icon
  • Update readme banner image

0.7.3

  • Disable variant order linting and automatic sorting when using Tailwind v3
  • Exclude the global selector (*) from class completions

0.7.2

  • Update CSS syntax definitions
  • Fix compatibility with Tailwind v3.0.0-alpha.2
  • Fix error when switching from JIT mode to AOT mode
  • Fix stale error messages when resolving a config file error
  • Fix mode detection when using nested presets (#431)

0.7.1

  • Add tailwindCSS.classAttributes setting (#350)
  • Fix resolution of WSL files on Windows (#411)
  • Show color decorators for accent-* classes
  • Support attributes with whitespace around the = character (#426)
  • Fix color decorators for var() fallbacks (#423)
  • Increase class list search range (#414)

0.7.0

  • Add support for Tailwind CSS v3 alpha (#424)

0.6.15

  • Support config files in hidden (dot) folders (#389)
  • Disable extension in virtual workspaces (#398)
  • Support exports fields when resolving dependencies (#412)
  • Add phoenix-heex language (#407)
  • Improve color parsing (#415)

0.6.14

  • Fix false positive error when using theme helper with a function value (thanks @choplin, #365)
  • Improve theme helper completion and hover info
  • Use character-based ranges when parsing class lists (#373)

0.6.13

  • [JIT] Fix missing semi-colons in CSS previews
  • [JIT] Remove @defaults from CSS previews

0.6.12

  • Fix hover error (#353)

0.6.11

  • Update @tailwind completions and diagnostics to account for @tailwind variants

0.6.10

  • Ignore content: "" when determining document colors. This enables color decorators for before and after variants

0.6.9

  • Use VS Code's built-in file watcher

0.6.8

  • Add Astro languages (astro and astro-markdown)
  • Fix incorrect separator (#343)
  • [JIT] Update opacity modifier completions to show the full class

0.6.7

  • Add support for tailwindcss v2.2
  • Fix excess semi-colons in CSS previews
  • Add tailwindCSS.inspectPort setting

0.6.6

  • [JIT] Show rem pixel equivalents in completion item details (#332)
  • [JIT] Fix initialisation when mode is set in a preset (#333)
  • Fix completions and hovers inside <style> in JavaScript files (#334)
  • Fix module resolution when path has a # character (#331)

0.6.5

0.6.4

  • Update minimum VS Code version requirement to ^1.52.0
  • Potential fix for language feature duplication (#316, #326, #327)
  • [JIT] Fix @variants completions and diagnostics (#324)

0.6.3

  • [JIT] Fix error when using @apply in a plugin (#319)

0.6.2

  • Fix error when using a withOptions plugin without any options

0.6.1

  • Fix error caused by incorrect feature flags import

0.6.0

  • Add support for JIT mode
  • General stability and reliability improvements
  • Change tailwindCSS.colorDecorators setting to a boolean. Note that editor.colorDecorators must be enabled for decorators to render.

0.5.10

  • Update output channel name (#262)
  • Fix initialisation failure when using "jit" mode with tailwindcss v2.1 (#296)

0.5.9

  • Add focus-visible, checked, motion-safe, motion-reduce, and dark to @variants completions
  • Add showPixelEquivalents and rootFontSize settings (#200)

0.5.8

  • Fix error when @​apply is used within a plugin (#255)

0.5.7

  • Ignore file watcher permission errors (#238)
  • Update class attribute regex to support (class="_") (#233)
  • Fix fast-glob concurrency on certain operating systems (#226, #239)

0.5.6

  • Fix module resolution in config files when using Yarn Plug'n'Play
  • Add noise check when providing Emmet-style completions (#146, #228)

0.5.5

  • Add support for Yarn Plug'n'Play. Thanks @DanSnow! (#217)
  • Add rescript to list of default languages. Thanks @dcalhoun! (#222)
  • Add hover, color decorator, linting support for classRegex setting (#129)
  • Add support for config files with .cjs extension (#198)

0.5.4

  • Fix initialisation failure when using extends in browserslist config (#159)
  • Fixes for experimental.classRegex setting (#129)

0.5.3

  • Add experimental.showPixelValues setting (#200)
  • Add some basic initialisation logs
  • Fixes for experimental.classRegex setting (#129)

0.5.2

  • Add support for [ngClass] attribute (#187)

0.5.1

  • Update color parser to avoid interpreting shadows and font-weights as colors (#180)
  • Respect default editor tab size in CSS previews
  • Add experimental.classRegex setting (#129)
  • Fix documentation links
  • Add @​layer completions
  • Add mdx to default languages
  • Fix readme image references

0.5.0

  • Improve support for Tailwind CSS v2.0
  • Suppress filesystem errors when scanning for Tailwind config file (#174)

0.4.3

  • Prevent crash when there's a Tailwind error, and show the error message in the editor (#156)
  • Fix completions not working when encountering a color with an alpha value of 0 (#177)

0.4.2

  • Add color decorators for classes and CSS helper functions. This can be configured with the new tailwindCSS.colorDecorators setting.
  • Fix incorrect cssConflict warnings. (#136)
  • Fix completion triggers for "computed" class attributes.
  • Disable invalidApply lint rule when applyComplexClasses experimental flag is enabled.
  • Show all classes in @apply completion list when applyComplexClasses experimental flag is enabled.

0.4.1

  • Fixed cssConflict lint rule when classes apply the same properties but have different scopes (#134)
  • Fixed JS error when providing diagnostics in the case that IntelliSense is not enabled (#133)
  • Fixed config finder incorrectly determining that no config file can be found (#130)
  • Fixed class name completion tree when config is a symlink

0.4.0

  • Added linting and quick fixes for both CSS and markup
  • Updated module resolution for compatibility with pnpm (#128)
  • The extension now ignores the purge option when extracting class names (#131)
  • Fixed hover offsets for class names which appear after interpolations

0.3.1

  • Fixed class attribute completions not showing when using the following Pug syntax (#125):
    div(class="")
    
  • Fixed hover previews not showing when using a computed class attribute in Vue templates
  • Restore missing readme images
  • Update settings descriptions to use markdown

0.3.0

General

  • Added support for string values in Tailwind's important option (#96)
  • Removed all unnecessary logs (#91)
  • Added support for components in addition to utilities (#67)
  • Added description to custom variant completion items where possible
  • Config parsing errors are now displayed in the VS Code UI
  • Class names from @tailwind base are now included (by default @tailwind base does not include any class names but plugins may contribute them)
  • Color swatches can now be displayed for rules with multiple properties and/or colors with variable alpha (#113)
  • Added tailwindCSS.includeLanguages setting:
    {
      "tailwindCSS.includeLanguages": {
        "plaintext": "html"
      }
    }
    This setting allows you to add additional language support. The key of each entry is the new language ID and the value is any one of the extensions built-in languages, depending on how you want the new language to be treated (e.g. html, css, or javascript)

HTML

  • Added built-in support for liquid, aspnetcorerazor, mustache, HTML (EEx), html-eex, gohtml, GoHTML, and hbs languages
  • Added syntax definition to embedded stylesheets in HTML files

CSS

  • Added built-in support for sugarss language
  • Added theme (and config) helper hovers
  • Added @apply class name hovers
  • Added directive completion items with links to documentation
  • Added @tailwind completion items (preflight/base, utilities, components, screens) with links to documentation
  • Helper completion items that contain the . character will now insert square brackets when selected
  • @apply completion list now excludes class names that are not compatible
  • Added CSS syntax highlighting in .vue files (#15)

JS(X)

  • Completions now trigger when using backticks (#50, #93):
    const App = () => <div className={`_

0.2.0

  • Support for Tailwind v1 via LSP 🎉
  • Support for multi-root workspaces
  • Support for reason, slim, edge, njk, svelte files (thanks @nhducit, @wayness, @mattwaler, @guillaumebriday)
  • Support for non-default Tailwind separators
  • Add @variants completions
  • Better support for dynamic class(Name) values in JSX
  • Disables Emmet support by default. This can be enabled via the tailwindCSS.emmetCompletions setting

0.1.16

0.1.15

0.1.10

  • add syntax definitions for @apply and config()