Brad Cornes
2509d09857
Remove unused import
2022-10-17 18:07:29 +01:00
Brad Cornes
f59adbe35b
Adopt `getVariants` API
2022-10-17 18:05:04 +01:00
Brad Cornes
bf57dd14bc
Add support for `@config`
2022-10-17 17:59:07 +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
112fae6a6c
Replace `multi-regexp2` with `becke-ch--regex--s0-0-v1--base--pl--lib` ( #590 )
2022-08-05 16:58:50 +01:00
Brad Cornes
a39da43e4c
Support `insiders` versions of `tailwindcss` ( #571 )
...
* Support `insiders` versions of `tailwindcss`
* Revert import reorder
2022-07-06 16:07:13 +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
Remco Haszing
bc2e5edd45
Convert dlv require statements to imports ( #521 )
...
It was already imported in one place, that appears to work fine.
Using `require` results in invalid ESM output, because `require` is not
defined in ES modules.
2022-04-13 17:10:47 +01:00
Brad Cornes
86497bb380
Rework language boundary detection ( #502 )
...
* Fix `classRegex` error
* Rework language boundary detection
2022-03-02 17:16:35 +00:00
Brad Cornes
4e8918ad8c
Disable variant order linting and sorting for tailwindcss v3
2021-12-06 15:40:54 +00:00
Brad Cornes
251d32faaf
increase classlist search range ( #414 )
2021-10-08 17:36:17 +01:00
Brad Cornes
0f4d93b96e
add `classAttributes` setting
2021-10-08 16:51:14 +01:00
Brad Cornes
d641b8eb2b
allow whitespace around class attribute `=` ( #426 )
2021-10-04 18:14:24 +01: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
79a3f2b5a1
use character-base ranges when looking for classes
2021-08-13 17:59:14 +01:00
Brad Cornes
c2345f0112
update `@tailwind` completions and diagnostics
2021-06-16 19:37:35 +01:00
Brad Cornes
14ec688199
formatting
2021-06-04 17:00:34 +01:00
Brad Cornes
388cbb8351
tweak opacity modifier completions
2021-06-04 17:00:27 +01:00
Brad Cornes
b7bf51f156
fix completions and hovers inside `<style>` ( fixes #334 )
2021-05-20 16:50:10 +01:00
Brad Cornes
b8dc88d699
show pixel equivalents in jit mode ( fixes #332 )
2021-05-20 13:24:16 +01:00
Brad Cornes
5cf4b1717d
[JIT] add opacity modifier completions
2021-05-18 12:22:18 +01:00
Brad Cornes
4cee488fb4
fix @variants completions/diagnostics in JIT mode ( fixes #324 )
2021-05-17 12:38:52 +01:00
Brad Cornes
a72226c141
update settings schema
2021-05-04 12:40:50 +01:00
Brad Cornes
99297add4e
add jit support, refactor for general reliability
2021-05-03 18:00:04 +01:00
Brad Cornes
5a810fd193
tweak pixel equivalent comment spacing ( #200 )
2021-02-07 20:58:41 +00:00
Brad Cornes
14f0fe9f3f
replace `experimental.showPixelValues` setting with `showPixelEquivalents` and enable by default ( #200 )
2021-02-05 14:49:06 +00:00
Brad Cornes
0e66dac7b7
update class attribute regex ( #233 )
2021-01-08 15:53:02 +00:00
Brad Cornes
4b10581005
add emmet noise check ( #146 )
2020-12-10 17:22:06 +00:00
Brad Cornes
b2d47d220b
add hover, color decorator, linting support for classRegex setting ( #129 )
2020-12-07 15:39:44 +00:00
Brad Cornes
534eb253ac
update custom regex support ( #129 )
...
fixes "ors" in regexes
2020-12-02 13:52:09 +00:00
Brad Cornes
d115e008d1
remove log
2020-12-02 13:29:56 +00:00
Brad Cornes
615fd7f630
add experimental showPixelValues setting
2020-12-01 19:05:58 +00:00
Brad Cornes
85fb953d0a
classRegex: increase search range, make search global ( #129 )
2020-12-01 16:35:46 +00:00
Brad Cornes
c508a028d4
add support for [ngClass] attribute ( #187 )
2020-11-30 18:15:31 +00:00
Brad Cornes
9c60e0bfca
add @layer completions
2020-11-27 17:13:46 +00:00
Brad Cornes
a4fdd949be
add experimental classRegex setting ( #129 )
2020-11-27 16:56:19 +00:00
Brad Cornes
5633349c49
remove comment
2020-11-26 20:07:56 +00:00
Brad Cornes
e0f8d73a79
respect editor tab size in CSS previews
2020-11-26 20:07:39 +00:00
Brad Cornes
fa875e1d50
export completionsFromClassList
2020-11-26 18:27:13 +00:00
Brad Cornes
e6a371921f
update class attribute regex
2020-11-24 15:45:08 +00:00
Brad Cornes
2c05f5df3a
improve support for tailwindcss v2
2020-11-19 17:34:59 +00:00
Brad Cornes
0cce870c13
update for at-apply changes in v2
2020-11-03 11:08:39 +00:00
Brad Cornes
ccf7cd57a7
separate out tailwindcss-language-service package
2020-10-08 16:20:54 +01:00