Fix `classRegex` offset (#846)
Fix CSS conflict regression (#842)
Expand `classRegex` search range (#840)
Bump word-wrap from 1.2.3 to 1.2.4 (#825)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix `classRegex` hovers in unknown contexts (#824)
Fix IntelliSense following closing script/style tag containing whitespace (#808)
Bump semver from 7.3.7 to 7.5.2 (#806)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.5.2)
---
updated-dependencies:
- dependency-name: semver
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Update `editor.quickSuggestions` example in readme
Update issue template
Add VS Code version question
Add language mode icon (#794)
Fix diagnostic false-positive when no CSS properties are present (#793)
Fix activation when `files.excludes` contains braces (#789)
* Fix activation when `files.excludes` contains braces
* Fix file exclude when searching for CSS files
Fix initialisation when using `tailwindcss@^0` (#787)
Migrate from deprecated text document (#781)
* Removed instances of deprecated TextDocument
* Replaced TextDocument type in diagnostics
Include pixel equivalents in more places (#775)
* Show pixel equivalents for more `rem`/`em` values
* Add pixel equivalents to media query variant completions
Update `package-lock.json`
Enable IntelliSense for `<script lang="tsx">` (#773)
Fix CSS conflict diagnostics in semicolonless CSS documents (#771)
Resolve helper functions in CSS previews (#766)
Update `package-lock.json`
Use @types/culori (#735)
This removes the need to define types here. Also this allows third
parties to use this package without having to declare type definitions
for culori.
fix: Don't attempt to read from deleted CSS files (#765)
Fix CSS conflict diagnostic false negatives (#761)
Increase class search range (#760)
Bump language server version
Update `package-lock.json`
Update language server notices file
Fix first-party plugin usage when using bundled version of `tailwindcss` (#751)
Account for `loadConfig` returning `{default:config}` just in case
See also: https://github.com/tailwindlabs/tailwindcss/pull/10898
Bump bundled version of `tailwindcss` to `v3.3.0` (#749)
Ensure `itemDefaults.data` is used in VS Code Insiders
Fix activation when connected to Windows with Remote SSH (#748)
Fix `theme` helper handling when specifying default value (#747)
* Fix `theme` helper handling when specifying default value
* Tidy
Exclude classes in `blocklist` from IntelliSense (#746)
Fix format assumption when resolving module dependencies
https://github.com/tailwindlabs/tailwindcss/pull/10878
Remove language service dependency on TextDocuments (#742)
The code actions API depends on `TextDocuments`. This is specific to the
language server. This makes it hard to use without a language server.
The use of `TextDocuments` has been removed. Instead, the resolved text
document is passed down.
Fix use of certain built-in node modules in config file (#745)
Fix `getModuleDependencies`
https://github.com/tailwindlabs/tailwindcss/commit/439fdadb3abe9da865181f73422a19dc868cae95
Replace `detective-typescript` (#739)
Support TS/ESM config files (#738)
Bump language server version
Update `package-lock.json`
Bundle `@tailwindcss/container-queries` (#733)
Add modifier completions for `@apply` and `classRegex` configs (#732)
Improve JS comment handling (#727)
Fix IntelliSense inside Handlebars template scripts (#726)
Add `htmldjango` (vim filetype) to languages (#721)
Support `InitializeParams.rootUri` (#725)
* Support `InitializeParams.rootUri`
* Remove log
Fix `InvalidTailwindDirective` in `notSemicolonLanguages` with CRLF file endings (#723)
* Fix InvalidTailwindDirective in notSemicolonLanguages with CRLF file endings
* Fix regex
---------
Co-authored-by: Jordan Pittman <jordan@cryptica.me>
update `package-lock.json`
Bump `@tailwindcss/language-server`
Update `ThirdPartyNotices.txt`
Revert "Improve completions when class contains trigger character"
Improve completions when class contains trigger character
Add workspace root document selector when there's exactly one active project (#711)
Improve completions when class contains trigger character (#710)
* Improve completions when class contains trigger character
* wip
* wip
Only watch directories up to workspace root (#709)
* Don't watch beyond workspace root
* Catch errors when adding paths to chokidar watcher
* Normalize paths
* wip
Normalize document selector pattern (#708)
Update `context.getClassList` usage (#707)
* Update `context.getClassList` usage
* fix default metadata
Use `itemDefaults` to reduce size of completion lists (#706)
* Use completion list `itemDefaults`
* more defaults
Bump `minimatch` to `5.1.4` (#699)
Reduce size of project key in completion items
Fix error when a `files.excludes` pattern contains braces (#696)
Escape brackets in glob patterns (#694)
Fix document selector when `configFile` setting is a string (#693)
Bump language service version
Revert "Remove `typescript` from list of languages (#645)" (#690)
This reverts commit 19a550d0de1f3bfbc2a49297e9f7e0c53cfc1ca6.
Tweak `theme` helper detection (#689)
Bump bundled version of `tailwindcss` to `3.2.4`
Support class modifiers (#686)
Merge pull request #685 from tailwindlabs/dependabot/npm_and_yarn/packages/tailwindcss-language-server/json5-2.2.3
Bump json5 from 2.2.0 to 2.2.3 in /packages/tailwindcss-language-server
Merge pull request #684 from tailwindlabs/dependabot/npm_and_yarn/packages/tailwindcss-language-service/json5-and-tsconfig-paths-2.2.3
Bump json5 and tsconfig-paths in /packages/tailwindcss-language-service
Fix method called before initialize (#667)
wait for init in onInitialize before sending response to the client,
so that client won't try to do request before the lsp handlers are registered.
Bump qs from 6.5.2 to 6.5.3 in /packages/tailwindcss-language-service (#673)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump qs from 6.5.2 to 6.5.3 (#672)
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3)
---
updated-dependencies:
- dependency-name: qs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump ansi-regex (#671)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) and [ansi-regex](https://github.com/chalk/ansi-regex). These dependencies needed to be updated together.
Updates `ansi-regex` from 3.0.0 to 4.1.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v4.1.1)
Updates `ansi-regex` from 4.1.0 to 4.1.1
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v4.1.1)
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump decode-uri-component from 0.2.0 to 0.2.2 (#669)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Merge pull request #660 from tailwindlabs/dependabot/npm_and_yarn/packages/tailwindcss-language-service/minimatch-3.1.2
Bump minimatch from 3.0.4 to 3.1.2 in /packages/tailwindcss-language-service
Merge pull request #659 from tailwindlabs/dependabot/npm_and_yarn/packages/vscode-tailwindcss/minimatch-3.1.2
Bump minimatch from 3.0.4 to 3.1.2 in /packages/vscode-tailwindcss
Fix error when `initializationOptions` is undefined (#656)
Co-authored-by: Anbcodes <me@anb.codes>
Improve `theme` helper detection (#655)
Fix duplicate color decorators (#652)
Remove `typescript` from list of languages (#645)
* Comment out typescript from list of languages
* Update languages.ts
Co-authored-by: Brad Cornes <hello@bradley.dev>
Update GitHub issue template
Boot language servers for nested workspace folders (#642)
Add document URI to configuration scope
Add documentation for `@config` completion
Improve `experimental.configFile` in multi-root workspaces (#640)
Bump versions, update lockfiles and notices
Bump bundled version of `tailwindcss` to `3.2.0`
Add missing default function
Improve extraction for variable colors (#638)
Fix `@layer` syntax highlighting (#637)
Handle the `DEFAULT` case for `matchVariant` (#635)
* handle the `DEFAULT` case
* Prettier
Co-authored-by: Brad Cornes <hello@bradley.dev>
Update `package-lock.json`
Add automatic support for multi-config workspaces, including `@config` resolution (#633)
* wip
* wip
* Boot client if a CSS file contains `@config`
* wip
* Check document exists
* wip
* Fix duplicate document selector
* wip
* Use enum for document selector priorities
* Delete unused functions
* Remove unused state type
* Share glob patterns
* Update config file glob
* fix logs
* Fix filename checks on Windows
* Don't show error popups
* wip
* handle negated content paths
* Handle non-tailwind dependency installs
* add package root to document selectors
* tidy
* wip
* dedupe document selectors
* Fix `@config` regex
* Fix document selectors when using `experimental.configFile`
* Remove log
Merge pull request #630 from tailwindlabs/next
Theme helper improvements, support `@config`, adopt `getVariants`, bump bundled modules
Fix IntelliSense when separator is `--` (#628)
* Fix IntelliSense when separator is `--`
* Tidy up
Show completions when using parameterized and/or labelled variants
Fix `configFile` path resolution (#617)
Bump `@tailwindcss/language-server`
Merge settings with defaults (#605)
Update `@types/vscode` and VS Code `engines` version
Bump `@tailwindcss/language-server`
Update `ThirdPartyNotices.txt`
fix: guard against optional client capabilities (#602)
for client like lsp-mode for emacs which doesn't have colorProvider,
server is failing to start, and according to the specification, the
capabilities here is all optional, so we should guard the nil situation.
Use patched version of `enhanced-resolve` (#600)
Bump vs code dependencies
Ignore commented out code (#599)
Support Surface templates (#597)
Surface support is defined here https://github.com/msaraiva/vscode-surface/blob/master/syntaxes/surface.json
See https://github.com/tailwindlabs/tailwindcss-intellisense/issues/407 and https://github.com/tailwindlabs/tailwindcss-intellisense/commit/1253902e88d085ee82e0e4abb4e60de17fa925ab
Replace `multi-regexp2` with `becke-ch--regex--s0-0-v1--base--pl--lib` (#590)
Support `node:` module prefix (#585)
Support `require.extensions` mutations (#583)
Bump terser from 4.6.12 to 4.8.1 (#578)
Bumps [terser](https://github.com/terser/terser) from 4.6.12 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)
---
updated-dependencies:
- dependency-name: terser
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Remove `terser` dependency, update lockfiles
Don't watch `package.json` files (#573)
Deduplicate classlist candidates (#572)
Update `package-lock.json`
Support `insiders` versions of `tailwindcss` (#571)
* Support `insiders` versions of `tailwindcss`
* Revert import reorder
Improve `theme` helper detection
Fix `@types/vscode` version
Improve support for arbitrary variants (#558)
* Support arbitrary variants
* Bump typescript and types versions
* Revert `@types/vscode` version bump
Add support for arbitrary variants (#557)
* Support arbitrary variants
* Bump typescript and types versions
Account for undefined dependencies
Fix overeager `<style>` detection (#543)
Add `experimental.configFile` setting (#541)
* Add experimental `configFile` setting
* Fix initial capability registration
* Update readme
* Add setting default and description
* Remove unused variable
* Be more defensive when reading setting
* Fix type
* Fix type
Fix `@screen` highlighting for Vetur SFC PostCSS styles (#538)
Add settings to enable/disable specific features (#535)
* Add `suggest` and `hover` settings
* Rename settings, add `codeActions` setting
Add missing package metadata (#526)
* Add missing package metadata
* Remove `tailwindcss-language-service` metadata
Co-authored-by: Brad Cornes <hello@bradley.dev>
Fix language features when using nested Vue `<template>` (#532)
Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense
Bump language service version
Revert "Improve conflict diagnostics (#503)" (#525)
This reverts commit ddfaea21cc5feca1bbf71ddb36645a61f01daea3.
Define TypeScript compiler target (#522)
TypeScript was complaining about some syntax features, this solves it.
It doesn’t affect the output, as `tsdx` ignores the `target` property.
Optimize language service build (#520)
`tsdx` uses `.browserslistrc` to determine how to transpile the source
code. By default it supports very old environments.
By specifying relatively modern targets, the bundle size has been
reduced with ~40%. This also significantly increases performance and
readability of the output, because babel’s regenerator runtime isn’t
used anymore.
The output target can’t be set to something too new, because `tsdx` uses
an older version of terser which isn’t compatible with all new syntax
(e.g. optional chaining).
Convert dlv require statements to imports (#521)
It was already imported in one place, that appears to work fine.
Using `require` results in invalid ESM output, because `require` is not
defined in ES modules.
Update language contribution
Update `package-lock.json`
Add Tailwind CSS language mode (#518)
* Use `esbuild`
* Replace direct `eval`
* add initial language mode
* Update capabilities, add rename provider
* Update vscode types
* Add completion middleware to match built-in CSS provider
* Update language config to match built-in CSS language
* Add folding region completion provider
* Add stylesheet cache
* Add log and error handling
* Update settings handling, debounce validation
* Fix response flakiness by always augmenting CSS
* Respect folding range limit
* Use uncommon symbol as `@media` placeholder
* Update readme
* Use `esbuild` for language server build
* Add `theme()` completion item
* Avoid errors when using `@media screen()`
* Update readme
* Add CSS server to build script
* Rename language mode server file in prod
* Update VS Code `engines` and types versions
* Update grammar
Replace `@vercel/ncc` with `esbuild` (#517)
* Use `esbuild`
* Replace direct `eval`
* Use `esbuild` for language server build
Fix flakiness caused by expired cache entries
Bump ansi-regex in /packages/tailwindcss-language-server (#512)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump ansi-regex in /packages/tailwindcss-language-service (#511)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump minimist in /packages/tailwindcss-language-service (#510)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump minimist in /packages/tailwindcss-language-server (#509)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump minimist from 1.2.5 to 1.2.6 in /packages/vscode-tailwindcss (#508)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Improve conflict diagnostics (#503)
Rework language boundary detection (#502)
* Fix `classRegex` error
* Rework language boundary detection
Fix `classRegex` error (#501)
Detect conflicting multi-rule classes (#498)
Prevent errors in not semicolon languages (#461)
* fix: prevent errors in not semicolon languages
* fix: extends fix for sugarss and stylus
* Formatting
* Fix document access
Co-authored-by: Brad Cornes <bradlc41@gmail.com>
Bump hosted-git-info in /packages/tailwindcss-language-service (#493)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)
---
updated-dependencies:
- dependency-name: hosted-git-info
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add support for gohtmltmpl files for Hugo (#473)
Bump browserslist in /packages/tailwindcss-language-service (#492)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.6 to 4.19.1.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.6...4.19.1)
---
updated-dependencies:
- dependency-name: browserslist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump path-parse in /packages/tailwindcss-language-service (#489)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump glob-parent in /packages/tailwindcss-language-service (#490)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump tmpl from 1.0.4 to 1.0.5 in /packages/tailwindcss-language-service (#488)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump node-fetch from 2.6.1 to 2.6.7 (#482)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump trim-off-newlines from 1.0.1 to 1.0.3 (#481)
Bumps [trim-off-newlines](https://github.com/stevemao/trim-off-newlines) from 1.0.1 to 1.0.3.
- [Release notes](https://github.com/stevemao/trim-off-newlines/releases)
- [Commits](https://github.com/stevemao/trim-off-newlines/compare/v1.0.1...v1.0.3)
---
updated-dependencies:
- dependency-name: trim-off-newlines
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump shelljs from 0.8.4 to 0.8.5 (#483)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump lodash in /packages/tailwindcss-language-service (#487)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)
---
updated-dependencies:
- dependency-name: lodash
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bump nanoid from 3.1.30 to 3.2.0 (#485)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Filter out empty `files.exclude` items
Protect against undefined separator (#427)
Fix for projects with brackets in their path (#429)
Bump `@tailwindcss/language-server`
Fix for missing `files` config
Bump `@tailwindcss/language-server`
Add default excluded files (for non-vscode clients)
Synchronise `files` configuration section
Fix `files.exclude` merging (#464)
Don't read configuration from `initializationOptions`
Add `files.exclude` setting
Add bundled version of `tailwindcss` and first-party plugins
Exclude `*` from class completions
Disable variant order linting and sorting for tailwindcss v3
Bump `@parcel/watcher`
Adds M1 builds for language server
Ignore `content: var(--tw-content)` when determining color
Update syntax definitions
Update variant API for compatibility with `v3-alpha.2`
Ensure jit state is reset
Fix mode identification when using nested presets (#431)
Catch errors when resolving config and creating context
reinstate `console.log` override
increase classlist search range (#414)
update color extraction to allow parentheses (#423)
add `classAttributes` setting
Fix resolution of WSL files on Windows (#411)
add github issue template
allow whitespace around class attribute `=` (#426)
add `accent-color` to list of color-related CSS properties
Clarify supported config file names in readme (#278)
Add support for v3-alpha (#424)
* wip
* Update v3 support, color handling
* Update diagnostics and completions
* bump language service
* update context api usage
* bump language service
tweak style block regexes
Merge branch 'master' into bugfix-style
update `<style>` patterns
inline `getModuleDependencies`
[server] Fix crash on M1 macs
Fix error when rule doesn't have a parent
Merge branch 'master' into css-helpers
update diagnostic message
Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense
remove `@defaults` when stringifying CSS
fix semi-colon insertion for indented rules
update `@tailwind` completions and diagnostics
bump tailwindcss-language-service
ignore empty `content` when determining rule color
ignore watcher binary load errors
resolve parcel watcher prebuilds from actual package
Merge branch 'master' into watcher
use lsp file events when available
tweak opacity modifier completions
reinstate #341
Co-Authored-By: Rafał Chłodnicki <rchl2k@gmail.com>
add `inspectPort` to readme
add `inspectPort` setting
fix `@types/vscode` version
add lerna and separate language server package
Merge pull request #341 from rchl/patch-1
fix crash on not passing "userLanguages" option
fix JIT initialisation when mode is set in a preset (fixes #333)
fix module resolution when path has a `#` (fixes #331)
fix completions and hovers inside `<style>` (fixes #334)
show pixel equivalents in jit mode (fixes #332)
[JIT] add opacity modifier completions
fix @variants completions/diagnostics in JIT mode (fixes #324)
tweak dynamic registration disposal
update `setupContext` arguments
bump tailwindcss-language-service
bump minimum vscode version
1.52.0 is required for the language client/server
fix @apply in plugins in jit mode
avoid re-loading modules when not necessary
fix error when using a "withOptions" plugin
bump tailwindcss-language-service
add prepublishOnly script
add recommendedVariantOrder setting to readme
add support back in for config files named tailwind.js
resolve jit modules together
always disregard user-defined mode
load jit modules with try/catch instead of by version number
reinstate console.log overrides
fix re-init short-circuit
now it takes config dependencies into account
bust user plugin cache?
fixes classes not updating when plugin is changed
add recommendedVariantOrder lint setting
add note about color decorator settings
only create output channel when needed
fix error for tailwindcss < 1.7.0
never reveal output channel
clear color decorators when restarting language client
fix user-defined language support
update colorDecorators setting
short-circuit re-initialisation
remove unnecessary async keyword
boot language clients lazily
add jit support, refactor for general reliability
restore user-defined mode config after compilation
Merge pull request #296 from dorgelesn/jit
Force `aot` mode
override console.log/error and catch unhandled rejections
Merge pull request #262 from neupauer/patch-1
Make output chanel name more human-friendly
update changelog and readme
tweak pixel equivalent comment spacing (#200)
replace `experimental.showPixelValues` setting with `showPixelEquivalents` and enable by default (#200)
add missing variants (#256)
fix error when using @apply in plugins (#255)
bump tailwindcss-language-service version
fix fast-glob concurrency
Merge branch 'alexbjorlig-improve-troubleshoot-section'
Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense
ignore file watcher permission errors (#238)
update class attribute regex (#233)
bump language service version
fix pnp config module resolution
add emmet noise check (#146)
replace publish npm script
bump language service version
Merge branches 'master' and 'master' of github.com:tailwindlabs/tailwindcss-intellisense
don't search for pnp file above root dir
add support for config files with .cjs extension (#198)
add hover, color decorator, linting support for classRegex setting (#129)
Merge branch 'DanSnow-pnp-support'
bump language service version
update browserslist usage (#159)
fixes "extends" in browserslist config
update custom regex support (#129)
fixes "ors" in regexes
bump language service version
add experimental showPixelValues setting
add some basic initialisation logs
classRegex: increase search range, make search global (#129)
bump language service version
add support for [ngClass] attribute (#187)
bump language service version
add experimental classRegex setting (#129)
respect editor tab size in CSS previews
export completionsFromClassList
update color parser to avoid false positives (#180)
update class attribute regex
fix readme image references
improve support for tailwindcss v2
update for at-apply changes in v2
remove lerna and update lsp deps
separate out tailwindcss-language-service package
Suppress glob errors (#174)
On tailwind error prevent crash and show message (#156)
Fix color parsing when alpha is 0 (#177)
Merge branch 'color-decorators'
Skip @apply validation if applyComplexClasses flag is enabled
update class attribute lexers to fix matching of "computed" attributes
remove class list length limit (#136)
use realpath for config require hook
fixes case where config is a symlink
rejig config finder (#130)
compare scope when determining css conflicts (#134)
don't send diagnostics if intellisense is disabled (#133)
update setting description
Merge branch 'diagnostics'
ignore purge option (#131)
fix class list offsets (fixes hover ranges)
update module resolution (#128)
update settings descriptions and types
fix hover provider when using computed attribute in vue template
update class attribute regex (#125)
make pseudo class name meta always an array
update setting descriptions
add requirements to readme (thanks @ledenis)
emphasize default setting
update changelog and readme
provide corePlugins helper when running plugins
add class list finder helper and fix ranges
Merge branch 'next' of github.com:bradlc/vscode-tailwindcss into next
update hover provider to use lexer for html class attribute hovers
inject syntax definition to text.html
use lexer for class attribute completions
filter @apply completions
fix removeMeta when meta prop is an object
add notification handlers
fix numbers being interpreted as colors
only run browserslist once
add `target` plugin helper
add includeLanguages setting and remove default language client
tweak file watching (#112)
update color plucking logic (#113)
support css properties with multiple values
Merge branch 'next' of github.com:bradlc/vscode-tailwindcss into next
show completion item color swatches for variable-alpha colors
simplify built-in plugin finder
resolve workspace dependencies relative to config file
add `HTML (EEx)` language
build and package updates
fix config helper hover range
update extension package.json and add icon
fix zero values in CSS helper completion items
fix @tailwind completion item resolution
vary @tailwind completions based on version
add @tailwind completions
fix completion item order
add @screen completion item detail
update context completion items
update extension activationEvents
prevent crash on config error
fix hover provider error on unknown class name
use decache when resolving config
add @apply hover provider
add emmet-style completions
refactor class name extraction and stringify
add initial @variants completions
add screen directive completions
add directive completions
add initial css helper hover
inject syntax into vue and svelte
add initial hover provider
Merge branch 'master' of github.com:bradlc/vscode-tailwindcss
restore readme, changelog, and img
Merge branch 'master' of github.com:bradlc/vscode-tailwindcss
remove tree view stuff for now
update to work with lsp definition format
replace microbundle with ncc
update foundDefinition callback to match response format
add placeholder to clients map to prevent >1 instance per folder
add modules and options to tree view
add tree view go to definition
Add support for Phoenix (.html.eex) files (#18)
add support for leaf files (#16)
add icon and update gallery banner color
add anchor links to readme
Merge branch 'master' of github.com:bradlc/vscode-tailwindcss
fix for number values in config() completion items (#9)
avoid emmet matches when word starts with a HTML tag name
add img folder to vscodeignore
update readme and add changelog
add @screen completions (#7)
clear require cache before reading tailwind config
add marketplace link to readme
support emmet style syntax in html-based file types
look for tailwindcss in subdirs (#1)
fix config glob to search folders other than root (#1)
update readme image paths
add vscode gallery banner color
update package.json and readme
add missing document types
tweak class regex to include className
update tailwind-class-names dep
rename project vscode-tailwind -> vscode-tailwindcss
fix html class attr regex
remove commented out code
add tailwind-config.js to config file glob
prevent showing completions for unknown prefixes
add config helper completions
reload on config file change
Merge pull request #5 from bradlc/vue
Vue
improve emmet syntax handling (#3)
add config helper completions for .vue files
add .vue @apply support (#4)
fix issue with nested vue <template>
add support for slim files (#36)
Added njk to the HTML_TYPES array for njk file extension support. (#31)
Add support for AdonisJS Edge templating (#29)
Fix EEx support (for elixir/phoenix) (#54)
Merge pull request #111 from zolrath/next
Add additional Elixir eex languages
Add additional eex languages
Merge pull request #116 from danmichaelo/patch-2
Add SugarSS support
Merge pull request #101 from ledenis/patch-1
add to readme that tailwind.config.js is required
Move requirements section over features section
tailwindcss must be installed
add to readme that tailwind.config.js is required
fix #74
update gallery banner color
update extension metadata
update extension description
remove old img folder and update .vscodeignore
add troubleshooting section to readme
update extension description
increase dimensions of banner image
rename utilityConflicts lint rule
update extension description
invalid @apply quick fix: check that base class name can be @applied
reuse @apply validation in hover provider
refactor invalid config path diagnostics
detect indent from CSS text only
make invalidApply quick fix work with multiple selectors
don't provide quick fix for @apply class name which has multiple rules
make "invalid @apply" quick fix work in mixed-language documents
fix language boundary ranges
replace js-levenshtein with sift-string
refactor "suggestion" quick fixes
consolidate conflict diagnostics and update quick fixes
add initial quick fix for utility conflict diagnostic
refactor diagnostics and add types
wip quick fix for invalid @apply
update diagnostic messages
add quick fixes for invalid screens/variants/helper keys/@tailwind
update error message wording
update lint setting names
offer suggestions for unknown variants/screens/@tailwind
add types for js-levenshtein
Merge branch 'master' into diagnostics
update "invalid helper key" error conditions and messages
ensure diagnostics are updated when the user's tailwind config changes
rename unknownConfigKey to invalidHelperKey
update unknownConfigKey error messages
make diagnostics settings language-overridable
remove diagnostics settings enum descriptions
enable diagnostics in multi-language documents
add initial "unsupported tailwind directive" lint rule
add initial "unknown config key" lint rule
add initial "unknown variant" lint rule
add initial "unknown screen" diagnostics
add settings for utility conflict and unsupported apply lint rules
Merge branch 'master' into diagnostics
add initial class name conflict diagnostics
make pseudo class name meta always an array
minor refactor of @apply diagnostics
Merge branch 'master' into diagnostics
Merge branch 'next' into diagnostics
update @apply diagnostics
Merge branch 'next' into diagnostics
Update color decorator debounce
Update setting description
Fix color decorators not updating when config changes or errors
Add initial color decorators
Merge branch 'pnp-support' of https://github.com/DanSnow/tailwindcss-intellisense into DanSnow-pnp-support
fix: Add back pnpm support
Merge pull request #222 from dcalhoun/add-rescript-support
Add ReScript support
Merge pull request #236 from MoPaMo/patch-1
Typo: change `built-it` to `built-in` in Docs
change `built-it` to `built-in`
There's a typo in line 37
Merge branch 'improve-troubleshoot-section' of https://github.com/alexbjorlig/tailwindcss-intellisense into alexbjorlig-improve-troubleshoot-section
Added section to troubleshooting
In refrence to issue #172, this VS code setting:
```
"search.exclude": {
"**/*.js": true
},
```
prevented the Tailwind config from being found ☺️
Make output chanel name more human-friendly
According to the documentation, the channel name is: "Human-readable string which will be used to represent the channel in the UI". So it shouldn't break anything.
Signed-off-by: Peter Neupauer <peter@neupauer.sk>
fix crash on not passing "userLanguages" option
Since the server can be used by various clients and there is no
guarantee that the "userLanguages" are provided, handle that
case gracefully and don't crash.
Merge pull request #365 from choplin/patch-1
Avoid `invalidConfigPath` for function values
Avoid `invalidConfigPath` for function values
Pass `validateConfigPath` if a type of value equals to `function`. The purpose of this commit is to avoid unwanted warnings when we define theme values as functions in tailwind.config.js, which, for example, are required to define theme colors with opacity enabled. https://github.com/tailwindlabs/tailwindcss/discussions/2206#discussioncomment-60081
use character-base ranges when looking for classes
update language server package
add license and third-party notices for language server package
update resolver options to support `exports` fields (#412)
add `phoenix-heex` language (#407)
avoid false positives when parsing colors (#415)
disable extension in virtual workspaces (#398)
fix file event handler when file is in a dot folder (#389)
find config files hiding in hidden folders (#389)
bump language server version
Remove unused dependency vscode-languageclient (#527)
This dependency is unused by the language service.
Update `package-lock.json`
Bump `tailwindcss` and plugins
Remove arbitrary value snippet placeholder
`&` doesn't always make sense as a placeholder, for example with the container queries plugin
Add support for `@config`
Theme helper improvements
Bump minimatch from 3.0.4 to 3.1.2 in /packages/vscode-tailwindcss
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Bump minimatch in /packages/tailwindcss-language-service
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Bump json5 and tsconfig-paths in /packages/tailwindcss-language-service
Bumps [json5](https://github.com/json5/json5) and [tsconfig-paths](https://github.com/dividab/tsconfig-paths). These dependencies needed to be updated together.
Updates `json5` from 2.1.3 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3)
Updates `tsconfig-paths` from 3.9.0 to 3.10.1
- [Release notes](https://github.com/dividab/tsconfig-paths/releases)
- [Changelog](https://github.com/dividab/tsconfig-paths/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dividab/tsconfig-paths/compare/v3.9.0...v3.10.1)
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
- dependency-name: tsconfig-paths
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Bump json5 from 2.2.0 to 2.2.3 in /packages/tailwindcss-language-server
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>