Commit Graph

87 Commits (691cf9671f97a64c3f2794ea72944c18c166c44b)

Author SHA1 Message Date
Brad Cornes 061ec85f15 0.9.7 2023-01-27 17:22:31 +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 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 9338d64e66 0.9.3 2023-01-04 14:09:21 +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 3beff1474a 0.9.2 2023-01-03 17:03:18 +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
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 55d2b9e8da
Improve `experimental.configFile` in multi-root workspaces (#640) 2022-10-20 18:41:01 +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
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 f59adbe35b Adopt `getVariants` API 2022-10-17 18:05:04 +01:00
Brad Cornes 1b730cb656 Theme helper improvements 2022-10-17 17:56: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 f7463a87ee Bump vs code dependencies 2022-09-07 16:45:22 +01:00
Brad Cornes 4b0a5f332f Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
Brad Cornes 407af8d135 0.8.6 2022-06-02 15:16:51 +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 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
Brad Cornes ff199dbb66 0.8.1 2022-04-13 22:27:03 +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
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 f4cfe86af7 0.7.7 2022-02-14 18:15:41 +00:00
Brad Cornes e173a6fa64 Filter out empty `files.exclude` items 2022-01-24 12:21:15 +00:00
Brad Cornes 8766f6d7de Fix for projects with brackets in their path (#429) 2022-01-17 16:55:31 +00:00
Brad Cornes f4c6b71a25 0.7.6 2022-01-17 14:19:47 +00:00
Brad Cornes 6166a50d2f Synchronise `files` configuration section 2022-01-17 14:08:15 +00:00
Brad Cornes f40272fee2 Fix `files.exclude` merging (#464) 2022-01-17 14:07:55 +00:00
Brad Cornes 5b675434f0 Don't read configuration from `initializationOptions` 2022-01-17 13:58:13 +00:00