Brad Cornes
f3967a72ad
Bump language server version
2023-03-31 11:44:45 +01:00
Brad Cornes
1c09f663f5
Update language server notices file
2023-03-31 11:37:12 +01:00
Brad Cornes
56821f5d69
0.9.11
2023-03-30 10:33:56 +01:00
Brad Cornes
66945537e9
Update changelog
2023-03-30 10:33:27 +01:00
Brad Cornes
2e2dcc2e0e
Fix first-party plugin usage when using bundled version of `tailwindcss` ( #751 )
2023-03-30 10:30:52 +01:00
Brad Cornes
c0d593a9ae
0.9.10
2023-03-29 15:54:58 +01:00
Brad Cornes
85e32e3adf
Account for `loadConfig` returning `{default:config}` just in case
...
See also: https://github.com/tailwindlabs/tailwindcss/pull/10898
2023-03-29 15:50:12 +01:00
Brad Cornes
2dd2449922
Update changelog
2023-03-29 15:45:34 +01:00
Brad Cornes
9482dd95ad
Bump bundled version of `tailwindcss` to `v3.3.0` ( #749 )
2023-03-29 15:43:15 +01:00
Brad Cornes
18dd2e7b09
Ensure `itemDefaults.data` is used in VS Code Insiders
2023-03-28 11:59:47 +01:00
Brad Cornes
5f361e8a02
Update changelog
2023-03-28 11:50:11 +01:00
Brad Cornes
5ccfd895c7
Fix activation when connected to Windows with Remote SSH ( #748 )
2023-03-28 11:42:42 +01:00
Brad Cornes
6c2dbf7355
Fix `theme` helper handling when specifying default value ( #747 )
...
* Fix `theme` helper handling when specifying default value
* Tidy
2023-03-27 20:20:21 +01:00
Brad Cornes
db61c8891b
Exclude classes in `blocklist` from IntelliSense ( #746 )
2023-03-27 18:56:02 +01:00
Brad Cornes
7978a2eb28
Fix format assumption when resolving module dependencies
...
https://github.com/tailwindlabs/tailwindcss/pull/10878
2023-03-27 18:49:25 +01:00
Remco Haszing
ae18cb2449
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.
2023-03-27 18:39:56 +01:00
Brad Cornes
33f94bae1a
Fix use of certain built-in node modules in config file ( #745 )
2023-03-26 18:20:24 +01:00
Brad Cornes
89dd104419
Update changelog
2023-03-20 19:03:22 +00:00
Brad Cornes
fdc64cfef1
Fix `getModuleDependencies`
...
439fdadb3a
2023-03-20 18:57:44 +00:00
Brad Cornes
d14c81f45d
Replace `detective-typescript` ( #739 )
2023-03-20 17:46:45 +00:00
Brad Cornes
ca9c4da7b1
0.9.9
2023-03-20 11:50:08 +00:00
Brad Cornes
28b4abb644
Support TS/ESM config files ( #738 )
2023-03-20 11:12:02 +00:00
Brad Cornes
5038f6d57b
Bump language server version
2023-03-13 12:27:10 +00:00
Brad Cornes
424cb761c7
0.9.8
2023-03-13 12:16:50 +00:00
Brad Cornes
016373e79a
Bundle `@tailwindcss/container-queries` ( #733 )
2023-03-13 11:21:29 +00:00
Brad Cornes
61ebc865d5
Bump language service
2023-03-13 11:19:11 +00:00
Brad Cornes
cf2a5535b9
Add modifier completions for `@apply` and `classRegex` configs ( #732 )
2023-03-13 10:29:11 +00:00
Brad Cornes
05f8df0f60
Improve JS comment handling ( #727 )
2023-03-10 14:28:03 +00:00
Brad Cornes
7e3b93dd87
Fix IntelliSense inside Handlebars template scripts ( #726 )
2023-03-10 13:45:54 +00:00
Iain McNulty
8a2df180a8
Add `htmldjango` (vim filetype) to languages ( #721 )
2023-03-10 11:16:35 +00:00
Brad Cornes
ce897c9b12
Support `InitializeParams.rootUri` ( #725 )
...
* Support `InitializeParams.rootUri`
* Remove log
2023-03-10 11:09:36 +00:00
Leonard Grosoli
3aafffefda
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>
2023-03-06 09:45:23 -05:00
Brad Cornes
5376ee1e7a
update `package-lock.json`
2023-02-03 12:12:43 +00:00
Brad Cornes
4b215ba92e
Bump `@tailwindcss/language-server`
2023-01-31 17:28:18 +00:00
Brad Cornes
744e588219
Update `ThirdPartyNotices.txt`
2023-01-31 17:16:31 +00:00
Brad Cornes
061ec85f15
0.9.7
2023-01-27 17:22:31 +00:00
Brad Cornes
ef09d7431f
Revert "Improve completions when class contains trigger character"
2023-01-27 17:11:37 +00:00
Brad Cornes
086dfb4c28
Fix missing parameter
2023-01-27 16:58:51 +00:00
Brad Cornes
0b2db09a22
Improve completions when class contains trigger character
2023-01-27 15:48:53 +00:00
Brad Cornes
8e70fbb460
Add workspace root document selector when there's exactly one active project ( #711 )
2023-01-27 13:40:13 +00:00
Brad Cornes
862af2289f
Improve completions when class contains trigger character ( #710 )
...
* Improve completions when class contains trigger character
* wip
* wip
2023-01-27 13:24:41 +00:00
Brad Cornes
8c152bd650
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
2023-01-27 11:24:28 +00:00
Brad Cornes
7fdf6c437d
Normalize document selector pattern ( #708 )
2023-01-27 10:35:37 +00:00
Brad Cornes
0fab387f77
Update `context.getClassList` usage ( #707 )
...
* Update `context.getClassList` usage
* fix default metadata
2023-01-27 10:33:35 +00:00
Brad Cornes
637f838725
Use `itemDefaults` to reduce size of completion lists ( #706 )
...
* Use completion list `itemDefaults`
* more defaults
2023-01-27 10:30:27 +00:00
Brad Cornes
7235aeab48
0.9.6
2023-01-16 20:14:15 +00:00
Brad Cornes
9087b89dc1
Bump `minimatch` to `5.1.4` ( #699 )
2023-01-16 20:01:26 +00:00
Brad Cornes
86850376db
Reduce size of project key in completion items
2023-01-16 19:28:49 +00:00
Brad Cornes
00fb8ecb9e
0.9.5
2023-01-13 10:25:33 +00:00
Brad Cornes
16b11482ba
Fix error when a `files.excludes` pattern contains braces ( #696 )
2023-01-13 10:20:29 +00:00
Brad Cornes
fd9de48d27
Bump `vsce`
2023-01-05 16:55:42 +00:00
Brad Cornes
e9b806f3dc
0.9.4
2023-01-05 15:00:25 +00:00
Brad Cornes
dd6bb57f68
Escape brackets in glob patterns ( #694 )
2023-01-05 14:56:39 +00:00
Brad Cornes
d0b4a3ecda
Fix document selector when `configFile` setting is a string ( #693 )
2023-01-05 14:28:04 +00:00
Brad Cornes
eb40cfe5ca
Bump language service version
2023-01-05 10:12:58 +00:00
Brad Cornes
9338d64e66
0.9.3
2023-01-04 14:09:21 +00:00
Brad Cornes
07189b01bc
Revert "Remove `typescript` from list of languages ( #645 )" ( #690 )
...
This reverts commit 19a550d0de
.
2023-01-04 14:06:38 +00:00
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