Yt
4bf3af2f9a
Update npm lock files ( #853 )
...
* tailwindcss-language-server: update lockfile
* Update package-lock.json
* Update package-lock.json
---------
Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-09-04 17:01:58 -04:00
Brad Cornes
1cc8e62da3
Add "Sort Selection" command ( #851 )
...
* Add `sortSelection` command
* wip
* wip
* wip
* wip
* wip
* wip
* Add test
* Update command name and description
* Don't show sort command if file is excluded
2023-08-31 15:53:20 +01:00
Brad Cornes
f202bab7b9
Add global test timeout
2023-08-29 11:13:54 +01:00
Brad Cornes
31e28e862f
Increase v2 test timeout
2023-08-29 11:04:38 +01:00
Brad Cornes
bac7e2e564
Add tests
2023-08-29 10:37:51 +01:00
atgote
d5268fd41e
Fix language server initialisation outside of VS Code ( #803 )
...
* Remove buggy await call
This is to resolve issue https://github.com/tailwindlabs/tailwindcss-intellisense/issues/802
* Fix unhandled method errors
---------
Co-authored-by: Brad Cornes <hello@bradley.dev>
2023-08-22 12:26:05 +01:00
dependabot[bot]
f3f396bf1d
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>
2023-07-19 11:20:09 +01:00
Brad Cornes
b3a4df7949
Remove old stuff
2023-07-19 11:14:34 +01:00
Brad Cornes
4d0623ede0
Fix initialisation when using `tailwindcss@^0` ( #787 )
2023-05-25 10:35:21 +01:00
Max
35b9d115bb
Migrate from deprecated text document ( #781 )
...
* Removed instances of deprecated TextDocument
* Replaced TextDocument type in diagnostics
2023-05-15 11:21:43 +01:00
Brad Cornes
5e9cce64ef
Update `package-lock.json`
2023-05-02 10:13:02 +01:00
Brad Cornes
8266d6b0aa
Resolve helper functions in CSS previews ( #766 )
2023-04-25 16:47:12 +01:00
Brad Cornes
8f45144eb7
Fix culori type
2023-04-25 16:45:03 +01:00
Mark Skelton
c5d20ab343
fix: Don't attempt to read from deleted CSS files ( #765 )
2023-04-24 14:26:52 +01:00
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
2e2dcc2e0e
Fix first-party plugin usage when using bundled version of `tailwindcss` ( #751 )
2023-03-30 10:30:52 +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
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
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
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
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
016373e79a
Bundle `@tailwindcss/container-queries` ( #733 )
2023-03-13 11:21:29 +00:00
Brad Cornes
ce897c9b12
Support `InitializeParams.rootUri` ( #725 )
...
* Support `InitializeParams.rootUri`
* Remove log
2023-03-10 11:09:36 +00: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
8e70fbb460
Add workspace root document selector when there's exactly one active project ( #711 )
2023-01-27 13:40:13 +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
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
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
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
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]
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
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
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