Commit Graph

39 Commits (ec100b6cae5a6509e64b2b8b2bbca000f3438b8b)

Author SHA1 Message Date
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 7978a2eb28 Fix format assumption when resolving module dependencies
https://github.com/tailwindlabs/tailwindcss/pull/10878
2023-03-27 18:49:25 +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 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 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 bf57dd14bc Add support for `@config` 2022-10-17 17:59:07 +01:00
Brad Cornes 8aa2064684
Merge settings with defaults (#605) 2022-09-13 17:31:09 +01:00
Brad Cornes aeb1595b86
Use patched version of `enhanced-resolve` (#600) 2022-09-07 16:49:29 +01:00
Brad Cornes d298014070
Support `require.extensions` mutations (#583) 2022-07-25 16:28:54 +01:00
Brad Cornes 9bc82821c7 Fix for missing `files` config 2022-01-17 15:40:55 +00:00
Brad Cornes ff52e815b6 Add `files.exclude` setting 2022-01-07 17:13:11 +00:00
Brad Cornes 80e2e5aba5 Fix resolution of WSL files on Windows (#411) 2021-10-08 16:48:44 +01:00
Brad Cornes 365281ca61 update resolver options to support `exports` fields (#412) 2021-09-24 17:47:01 +01:00
Brad Cornes a1e085d0cd inline `getModuleDependencies` 2021-09-10 12:30:03 +01:00
Brad Cornes bdb398bf80 add lerna and separate language server package 2021-06-01 12:37:15 +01:00
Brad Cornes 39733ae72a restructure 2020-05-03 15:57:15 +01:00
Brad Cornes 14ffaf4aea update color plucking logic (#113) 2020-05-02 13:22:49 +01:00
Brad Cornes 95b249409b support css properties with multiple values 2020-05-02 13:18:30 +01:00
Brad Cornes 8f2ca0a6b4 Merge branch 'next' of github.com:bradlc/vscode-tailwindcss into next 2020-04-30 19:25:29 +01:00
Matt Furden b61d24b52e Add additional eex languages 2020-04-30 01:57:06 -07:00
Brad Cornes a13290c276 show completion item color swatches for variable-alpha colors 2020-04-29 23:46:05 +01:00
Brad Cornes 1768f96b53 add `HTML (EEx)` language 2020-04-29 19:08:52 +01:00
Brad Cornes a52765fc0f add mustache (#58) 2020-04-29 11:05:02 +01:00
Brad Cornes d66c8200d3 add languages 2020-04-28 22:54:52 +01:00
Brad Cornes 777681aaa7 add docs url helper 2020-04-28 21:42:43 +01:00
Brad Cornes feb19371f4 vary @tailwind completions based on version 2020-04-28 00:06:47 +01:00
Brad Cornes 6f5a942632 fix completion item order 2020-04-27 23:18:28 +01:00
Brad Cornes 01f37e2c30 add @screen completion item detail 2020-04-27 22:48:30 +01:00
Brad Cornes 15d387ea45 show config errors 2020-04-23 19:54:01 +01:00
Brad Cornes 568e078522 prevent crash on config error 2020-04-22 20:29:36 +01:00
Brad Cornes 16725980b7 add @apply hover provider 2020-04-17 18:59:19 +01:00
Brad Cornes 32dca9259b add emmet-style completions 2020-04-16 22:39:16 +01:00
Brad Cornes 3b50a445a3 refactor class name extraction and stringify 2020-04-13 01:44:43 +01:00
Brad Cornes 7b8ee549de add initial css helper hover 2020-04-12 17:53:22 +01:00
Brad Cornes a9a0983d8b add initial hover provider 2020-04-12 15:48:38 +01:00
Brad Cornes adadf06518 add vue/svelte support 2020-04-11 23:34:03 +01:00
Brad Cornes 072809d9b7 initial refactor 2020-04-11 22:20:45 +01:00