Commit Graph

445 Commits (b6d257c8434ac9cd2f48caf47124b342e2957c83)

Author SHA1 Message Date
Brad Cornes b6d257c843
Add language mode icon (#794) 2023-05-31 11:26:54 +01:00
Brad Cornes 22209f09c7
Fix diagnostic false-positive when no CSS properties are present (#793) 2023-05-30 09:58:24 +01:00
Brad Cornes 53b81ca460
Fix activation when `files.excludes` contains braces (#789)
* Fix activation when `files.excludes` contains braces

* Fix file exclude when searching for CSS files
2023-05-25 13:24:38 +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 460d921ca3
Include pixel equivalents in more places (#775)
* Show pixel equivalents for more `rem`/`em` values

* Add pixel equivalents to media query variant completions
2023-05-02 10:44:37 +01:00
Brad Cornes 5e9cce64ef Update `package-lock.json` 2023-05-02 10:13:02 +01:00
Brad Cornes ae99cbfafc
Enable IntelliSense for `<script lang="tsx">` (#773) 2023-04-28 17:34:36 +01:00
Brad Cornes 9b47dd0597
Fix CSS conflict diagnostics in semicolonless CSS documents (#771) 2023-04-27 18:17:13 +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
Remco Haszing 752cd5eae4
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.
2023-04-24 14:45:06 +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 6fa8861efd
Fix CSS conflict diagnostic false negatives (#761) 2023-04-18 08:54:14 +01:00
Brad Cornes 105b8b86ec
Increase class search range (#760) 2023-04-17 12:09:05 +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 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