Brad Cornes
5932d20ff1
Remove "preview" tag
2023-01-04 11:01:18 +00:00
Brad Cornes
be046aa4fd
Update readme
2023-01-04 10:48:24 +00:00
Brad Cornes
b0e4fadc4f
Tweak `theme` helper detection ( #689 )
2023-01-04 10:34:41 +00:00
Brad Cornes
3beff1474a
0.9.2
2023-01-03 17:03:18 +00:00
Brad Cornes
f07eeddca7
Bump bundled version of `tailwindcss` to `3.2.4`
2023-01-03 16:35:27 +00:00
Brad Cornes
07ad87e8da
Support class modifiers ( #686 )
2023-01-03 16:22:15 +00:00
dependabot[bot]
50a5918164
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>
2023-01-02 10:57:29 +00:00
dependabot[bot]
32384fe3bc
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>
2023-01-02 10:34:50 +00:00
Merrick Luo
0a900b9bf6
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.
2022-12-13 17:05:12 +00:00
dependabot[bot]
e3de7c206d
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>
2022-12-06 15:05:31 +00:00
dependabot[bot]
027ac5ac1b
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>
2022-12-06 10:51:44 +00:00
dependabot[bot]
cddcf33e88
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>
2022-11-11 18:16:57 +00:00
dependabot[bot]
5972fe573e
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>
2022-11-11 16:25:17 +00:00
anbcodes
a740b0e240
Fix error when `initializationOptions` is undefined ( #656 )
...
Co-authored-by: Anbcodes <me@anb.codes>
2022-11-09 10:01:34 +00:00
Brad Cornes
9bff008eae
Improve `theme` helper detection ( #655 )
2022-11-07 12:10:16 +00:00
Brad Cornes
0625c6de35
Fix duplicate color decorators ( #652 )
2022-11-04 10:56:23 +00:00
Usman Sabuwala (Max Programming)
19a550d0de
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>
2022-11-01 12:18:35 +00:00
Brad Cornes
e4239414e3
Boot language servers for nested workspace folders ( #642 )
2022-10-21 12:33:57 +01:00
Brad Cornes
2ab6ee7dff
Add document URI to configuration scope
2022-10-21 12:17:56 +01:00
Brad Cornes
ea5aff58f0
Add documentation for `@config` completion
2022-10-21 12:09:57 +01:00
Brad Cornes
55d2b9e8da
Improve `experimental.configFile` in multi-root workspaces ( #640 )
2022-10-20 18:41:01 +01:00
Brad Cornes
aa282c19a0
Bump versions, update lockfiles and notices
2022-10-20 18:03:15 +01:00
Brad Cornes
8d42934ea2
Bump bundled version of `tailwindcss` to `3.2.0`
2022-10-20 17:59:31 +01:00
Brad Cornes
30bf090d71
Add missing default function
2022-10-20 17:48:54 +01:00
Brad Cornes
733d872d8d
Improve extraction for variable colors ( #638 )
2022-10-20 12:59:28 +01:00
Brad Cornes
6c47780242
Fix `@layer` syntax highlighting ( #637 )
2022-10-20 11:44:33 +01:00
Brad Cornes
802c15d5d3
0.9.1
2022-10-19 18:47:50 +01:00
Robin Malfait
3f9762e003
Handle the `DEFAULT` case for `matchVariant` ( #635 )
...
* handle the `DEFAULT` case
* Prettier
Co-authored-by: Brad Cornes <hello@bradley.dev>
2022-10-19 18:18:06 +01:00
Brad Cornes
a12e3ae686
0.9.0
2022-10-18 21:22:49 +01:00
Brad Cornes
b26e122fac
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
2022-10-18 20:35:02 +01:00
Brad Cornes
315070a2aa
Bump `tailwindcss` and plugins
2022-10-18 17:04:50 +01:00
Brad Cornes
0b2a208d27
Remove arbitrary value snippet placeholder
...
`&` doesn't always make sense as a placeholder, for example with the container queries plugin
2022-10-18 14:04:33 +01:00
Brad Cornes
8393aa68bf
Fix completion text
2022-10-18 14:03:51 +01:00
Brad Cornes
875cb6f324
Tweak type
2022-10-17 18:35:55 +01:00
Brad Cornes
2509d09857
Remove unused import
2022-10-17 18:07:29 +01:00
Brad Cornes
f59adbe35b
Adopt `getVariants` API
2022-10-17 18:05:04 +01:00
Brad Cornes
bf57dd14bc
Add support for `@config`
2022-10-17 17:59:07 +01:00
Brad Cornes
1b730cb656
Theme helper improvements
2022-10-17 17:56:00 +01:00
Brad Cornes
c9acd0d124
Fix IntelliSense when separator is `--` ( #628 )
...
* Fix IntelliSense when separator is `--`
* Tidy up
2022-10-13 09:23:19 +01:00
Brad Cornes
d073bb9de6
Show completions when using parameterized and/or labelled variants
2022-10-07 16:54:25 +01:00
Brad Cornes
72569b00dd
Fix `configFile` path resolution ( #617 )
2022-09-30 15:09:12 +01:00
Brad Cornes
f49c7e84a1
Bump `@tailwindcss/language-server`
2022-09-13 17:35:00 +01:00
Brad Cornes
8aa2064684
Merge settings with defaults ( #605 )
2022-09-13 17:31:09 +01:00
Brad Cornes
9ca9359fec
0.8.7
2022-09-12 11:35:24 +01:00
Brad Cornes
f2e0256b9e
Update `@types/vscode` and VS Code `engines` version
2022-09-12 11:31:00 +01:00
Brad Cornes
53560ea071
Bump `@tailwindcss/language-server`
2022-09-12 11:12:10 +01:00
Brad Cornes
8f9088a15c
Update `ThirdPartyNotices.txt`
2022-09-12 11:07:54 +01:00
Brad Cornes
c3885adf3e
Update lockfiles
2022-09-12 11:07:33 +01:00
A.I
d32e11fa60
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.
2022-09-12 10:13:02 +01:00
Brad Cornes
aeb1595b86
Use patched version of `enhanced-resolve` ( #600 )
2022-09-07 16:49:29 +01:00
Brad Cornes
f7463a87ee
Bump vs code dependencies
2022-09-07 16:45:22 +01:00
Brad Cornes
86d93aaa18
Ignore commented out code ( #599 )
2022-09-01 15:06:47 +01:00
Josh Price
92410c1bf8
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 1253902e88
2022-08-30 10:06:34 +01:00
Brad Cornes
112fae6a6c
Replace `multi-regexp2` with `becke-ch--regex--s0-0-v1--base--pl--lib` ( #590 )
2022-08-05 16:58:50 +01:00
Brad Cornes
0efcdd773e
Support `node:` module prefix ( #585 )
2022-07-25 17:43:37 +01:00
Brad Cornes
d298014070
Support `require.extensions` mutations ( #583 )
2022-07-25 16:28:54 +01:00
dependabot[bot]
31d20e3a37
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>
2022-07-22 18:19:30 +01:00
Brad Cornes
4b0a5f332f
Remove `terser` dependency, update lockfiles
2022-07-22 18:11:58 +01:00
Brad Cornes
f368c1c454
Don't watch `package.json` files ( #573 )
2022-07-06 17:08:36 +01:00
Brad Cornes
d09a4b11f1
Deduplicate classlist candidates ( #572 )
2022-07-06 16:40:29 +01:00
Brad Cornes
05a8685c49
Bump `dset` to `v3.1.2`
2022-07-06 16:12:54 +01:00
Brad Cornes
a39da43e4c
Support `insiders` versions of `tailwindcss` ( #571 )
...
* Support `insiders` versions of `tailwindcss`
* Revert import reorder
2022-07-06 16:07:13 +01:00
Brad Cornes
407af8d135
0.8.6
2022-06-02 15:16:51 +01:00
Brad Cornes
15bc6dbc19
Improve `theme` helper detection
2022-06-02 14:40:37 +01:00
Brad Cornes
64aa320d18
0.8.5
2022-05-30 11:27:38 +01:00
Brad Cornes
6f298b2e19
Fix `@types/vscode` version
2022-05-30 11:24:25 +01:00
Brad Cornes
76cbaa4948
Add support for arbitrary variants ( #557 )
...
* Support arbitrary variants
* Bump typescript and types versions
2022-05-26 11:31:22 +01:00
Brad Cornes
5516e3321c
0.8.4
2022-05-16 11:10:39 +01:00
Brad Cornes
82d0d442e8
Account for undefined dependencies
2022-05-16 11:00:34 +01:00
Brad Cornes
a2b694c3e0
Fix overeager `<style>` detection ( #543 )
2022-04-28 12:14:36 +01:00
Brad Cornes
56bc549571
0.8.3
2022-04-25 15:25:34 +01:00
Brad Cornes
78a20f4daf
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
2022-04-25 15:06:31 +01:00
Brad Cornes
68682298b9
Fix `@screen` highlighting for Vetur SFC PostCSS styles ( #538 )
2022-04-22 18:07:21 +01:00
Brad Cornes
d28ebbc9a1
0.8.2
2022-04-20 15:09:45 +01:00
Brad Cornes
c56e800f23
Add settings to enable/disable specific features ( #535 )
...
* Add `suggest` and `hover` settings
* Rename settings, add `codeActions` setting
2022-04-20 15:04:51 +01:00
Remco Haszing
97bfbb1c3e
Add missing package metadata ( #526 )
...
* Add missing package metadata
* Remove `tailwindcss-language-service` metadata
Co-authored-by: Brad Cornes <hello@bradley.dev>
2022-04-19 15:09:29 +01:00
Brad Cornes
cd1678bd8d
Fix language features when using nested Vue `<template>` ( #532 )
2022-04-19 15:02:27 +01:00
Brad Cornes
ef111a9bc7
Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense
2022-04-19 10:00:39 +01:00
Brad Cornes
7f4ea122ff
Bump language service version
2022-04-19 10:00:37 +01:00
Remco Haszing
d5d7185d2e
Remove unused dependency vscode-languageclient ( #527 )
...
This dependency is unused by the language service.
2022-04-14 17:41:27 +01:00
Brad Cornes
ff199dbb66
0.8.1
2022-04-13 22:27:03 +01:00
Brad Cornes
183cc2f863
Revert "Improve conflict diagnostics ( #503 )" ( #525 )
...
This reverts commit ddfaea21cc
.
2022-04-13 22:24:02 +01:00
Remco Haszing
055b8909af
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.
2022-04-13 17:43:35 +01:00
Remco Haszing
061618745c
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).
2022-04-13 17:29:08 +01:00
Remco Haszing
bc2e5edd45
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.
2022-04-13 17:10:47 +01:00
Brad Cornes
7dd5646e6f
Update notices
2022-04-13 14:59:23 +01:00
Brad Cornes
1f1c3fcd79
0.8.0
2022-04-13 14:51:28 +01:00
Brad Cornes
a879cf29d3
Update language contribution
2022-04-13 14:48:09 +01:00
Brad Cornes
fbbd4bc2d0
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
2022-04-13 14:05:41 +01:00
Brad Cornes
0a6e5def00
Replace `@vercel/ncc` with `esbuild` ( #517 )
...
* Use `esbuild`
* Replace direct `eval`
* Use `esbuild` for language server build
2022-04-13 13:54:33 +01:00
Brad Cornes
d344400688
Fix flakiness caused by expired cache entries
2022-04-12 19:11:48 +01:00
dependabot[bot]
de3861757c
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>
2022-04-01 15:24:00 +01:00
dependabot[bot]
f1e43cd6a7
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>
2022-04-01 15:23:47 +01:00
dependabot[bot]
05b0f74f7e
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>
2022-04-01 13:03:44 +01:00
dependabot[bot]
2f1f1e5884
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>
2022-04-01 13:01:59 +01:00
dependabot[bot]
75de393cfd
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>
2022-04-01 13:01:50 +01:00
Brad Cornes
ddfaea21cc
Improve conflict diagnostics ( #503 )
2022-03-04 15:41:44 +00:00
Brad Cornes
86497bb380
Rework language boundary detection ( #502 )
...
* Fix `classRegex` error
* Rework language boundary detection
2022-03-02 17:16:35 +00:00
Brad Cornes
a082bb3fd7
Fix `classRegex` error ( #501 )
2022-02-28 13:49:07 +00:00
Brad Cornes
4be5d9d082
Detect conflicting multi-rule classes ( #498 )
2022-02-25 13:20:02 +00:00