Commit Graph

24 Commits (f3f396bf1d3a8def0fb1ab67d96116a4025c4fe2)

Author SHA1 Message Date
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 5ccfd895c7
Fix activation when connected to Windows with Remote SSH (#748) 2023-03-28 11:42:42 +01:00
Brad Cornes 16b11482ba
Fix error when a `files.excludes` pattern contains braces (#696) 2023-01-13 10:20:29 +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 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 f7463a87ee Bump vs code dependencies 2022-09-07 16:45:22 +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 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
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 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
Brad Cornes ff52e815b6 Add `files.exclude` setting 2022-01-07 17:13:11 +00:00
Brad Cornes 53743f2faa
Add support for v3-alpha (#424)
* wip

* Update v3 support, color handling

* Update diagnostics and completions

* bump language service

* update context api usage

* bump language service
2021-10-01 14:11:45 +01:00
Brad Cornes 3d6e9b7e4d remove logs 2021-08-13 17:50:50 +01:00
Brad Cornes f2372c9120 fix hover error 2021-06-20 17:59:46 +01:00
Brad Cornes e3942e89e4 add `inspectPort` setting 2021-06-04 14:00:00 +01:00
Brad Cornes bdb398bf80 add lerna and separate language server package 2021-06-01 12:37:15 +01:00