Commit Graph

172 Commits (61aa8e16d9d94cde28fcb1e5e156925fd91c74a0)

Author SHA1 Message Date
Jordan Pittman 61aa8e16d9 Fix type error 2023-10-11 09:55:46 -04:00
Jordan Pittman 81fcd231e0 Add prettier config 2023-10-11 09:55:19 -04:00
dependabot[bot] 5f697353d7
Bump postcss from 8.3.9 to 8.4.31 (#864)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.9 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.9...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 16:07:20 -04:00
Brad Cornes d5dbede4f8 Remove unused function 2023-09-28 09:03:05 +01:00
Brad Cornes d49a90b4e7 Bump `vscode-css-languageservice` 2023-09-26 14:51:48 +01:00
Jonathan Reinink 045dc6080a Update LICENSE 2023-09-20 08:12:50 -04:00
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