Commit Graph

421 Commits (18dd2e7b096ac9ea3a2b356743358fba80184c29)

Author SHA1 Message Date
Brad Cornes 80e2e5aba5 Fix resolution of WSL files on Windows (#411) 2021-10-08 16:48:44 +01:00
Brad Cornes d32e9cc086 bump `postcss` 2021-10-08 10:55:38 +01:00
Brad Cornes d641b8eb2b allow whitespace around class attribute `=` (#426) 2021-10-04 18:14:24 +01:00
Brad Cornes 8c299f96a9 bump language service 2021-10-04 18:13:42 +01:00
Brad Cornes 214e2b487b add `accent-color` to list of color-related CSS properties 2021-10-04 16:10:16 +01:00
Brad Cornes 79aad93b97 Clarify supported config file names in readme (#278) 2021-10-01 14:48:54 +01:00
Brad Cornes a5a79f021e v0.7.0 2021-10-01 14:14:03 +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 11e097ec5a v0.6.15 2021-09-29 16:47:56 +01:00
Brad Cornes a4f5a5f287 tweak style block regexes 2021-09-29 16:38:23 +01:00
Brad Cornes 62ddc243d3 Merge branch 'master' into bugfix-style 2021-09-24 17:48:42 +01:00
Brad Cornes 365281ca61 update resolver options to support `exports` fields (#412) 2021-09-24 17:47:01 +01:00
Brad Cornes 1253902e88 add `phoenix-heex` language (#407) 2021-09-24 16:11:23 +01:00
Brad Cornes 7e2b53cd11 avoid false positives when parsing colors (#415) 2021-09-24 15:05:07 +01:00
Brad Cornes dce390d98c remove log 2021-09-17 17:48:16 +01:00
Brad Cornes 1bd1d0e504 disable extension in virtual workspaces (#398) 2021-09-17 16:04:38 +01:00
Brad Cornes b089cc3833 fix file event handler when file is in a dot folder (#389) 2021-09-17 15:55:41 +01:00
Brad Cornes fa68c54a01 find config files hiding in hidden folders (#389) 2021-09-10 14:46:27 +01:00
Brad Cornes 38b596b846 bump language server version 2021-09-10 14:46:00 +01:00
Brad Cornes 6367de3870 update `<style>` patterns 2021-09-10 12:33:35 +01:00
Brad Cornes a1e085d0cd inline `getModuleDependencies` 2021-09-10 12:30:03 +01:00
Brad Cornes 6d88a5c31c [server] Fix crash on M1 macs 2021-09-10 12:12:24 +01:00
Brad Cornes 6812188323 Fix error when rule doesn't have a parent 2021-09-03 13:23:55 +01:00
Brad Cornes d435db19ed update changelog 2021-08-18 13:22:40 +01:00
Brad Cornes 7ea4a462e2 v0.6.14 2021-08-18 13:05:06 +01:00
Brad Cornes 02d7b4fc09 Merge branch 'master' into css-helpers 2021-08-18 12:10:36 +01:00
Brad Cornes 79a3f2b5a1 use character-base ranges when looking for classes 2021-08-13 17:59:14 +01:00
Brad Cornes 3d6e9b7e4d remove logs 2021-08-13 17:50:50 +01:00
Brad Cornes 8c0c777c65 update language server package 2021-08-13 12:46:40 +01:00
Brad Cornes a0130fa945 update readme 2021-08-13 12:35:59 +01:00
Brad Cornes 7090111539 add license and third-party notices for language server package 2021-07-12 17:24:19 +01:00
Brad Cornes 569635067c update css helper hovers 2021-07-12 15:23:16 +01:00
Brad Cornes 114284865d prettier 2021-07-07 12:38:00 +01:00
Brad Cornes 579d580896 update diagnostic message 2021-07-07 12:37:41 +01:00
Brad Cornes caa2ba1de8 Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense 2021-07-07 12:37:07 +01:00
Brad Cornes e197b21e21 bump language service 2021-07-07 12:36:34 +01:00
Akihiro Okuno 1da2139684
Avoid `invalidConfigPath` for function values
Pass `validateConfigPath` if a type of value equals to `function`. The purpose of this commit is to avoid unwanted warnings when we define theme values as functions in tailwind.config.js, which, for example, are required to define theme colors with opacity enabled. https://github.com/tailwindlabs/tailwindcss/discussions/2206#discussioncomment-60081
2021-07-06 18:33:46 +09:00
Brad Cornes 43cfe83ed2 v0.6.13 2021-07-05 14:15:41 +01:00
Brad Cornes c2a9479a4d remove `@defaults` when stringifying CSS 2021-07-05 14:09:33 +01:00
Brad Cornes eaa76f195a fix semi-colon insertion for indented rules 2021-07-05 14:03:21 +01:00
Brad Cornes 766a5d533d v0.6.12 2021-06-20 18:03:33 +01:00
Brad Cornes f2372c9120 fix hover error 2021-06-20 17:59:46 +01:00
Brad Cornes dc7502c900 bump language service 2021-06-20 17:58:44 +01:00
Brad Cornes 5b4d6c0503 v0.6.11 2021-06-16 19:56:07 +01:00
Brad Cornes c2345f0112 update `@tailwind` completions and diagnostics 2021-06-16 19:37:35 +01:00
Brad Cornes 096e93b988 bump tailwindcss-language-service 2021-06-16 14:17:44 +01:00
Brad Cornes 8e4c9faf11 v0.6.10 2021-06-16 10:38:39 +01:00
Brad Cornes 16864d96ae ignore empty `content` when determining rule color 2021-06-15 20:39:53 +01:00
Brad Cornes e2285c087c ignore watcher binary load errors 2021-06-15 20:39:16 +01:00
Brad Cornes 8aa60b122d v0.6.9 2021-06-14 16:11:37 +01:00
Brad Cornes c01fed9c9f resolve parcel watcher prebuilds from actual package 2021-06-14 15:42:35 +01:00
Brad Cornes 2deda99fe7 add parcel watcher 2021-06-14 14:11:29 +01:00
Brad Cornes 01278a9d4d Merge branch 'master' into watcher 2021-06-12 18:35:48 +01:00
Brad Cornes 3d14326275 v0.6.8 2021-06-05 16:00:24 +01:00
Brad Cornes 6e092ddf33 add astro languages 2021-06-05 15:46:00 +01:00
Brad Cornes 20da2b3e67 use lsp file events when available 2021-06-05 15:44:21 +01:00
Brad Cornes 405f22f339 fix separator (#343) 2021-06-05 15:39:15 +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 cf7bb68e35 fix for canary releases 2021-06-04 15:07:32 +01:00
Brad Cornes 52ae09b4fa reinstate #341
Co-Authored-By: Rafał Chłodnicki <rchl2k@gmail.com>
2021-06-04 14:34:30 +01:00
Brad Cornes 898347c4cd fix heading level 2021-06-04 14:31:53 +01:00
Brad Cornes 97af4f0470 update changelog 2021-06-04 14:31:15 +01:00
Brad Cornes bd7be7b101 update readme 2021-06-04 14:07:25 +01:00
Brad Cornes b14815ae01 add `inspectPort` to readme 2021-06-04 14:05:25 +01:00
Brad Cornes e3942e89e4 add `inspectPort` setting 2021-06-04 14:00:00 +01:00
Brad Cornes 73886ffbf0 tweak semi-colon regex 2021-06-04 13:37:44 +01:00
Brad Cornes 44e6b9ab9d fix `@types/vscode` version 2021-06-04 12:21:23 +01:00
Brad Cornes 4de605928b support tailwindcss v2.2 2021-06-04 12:17:00 +01:00
Brad Cornes bdb398bf80 add lerna and separate language server package 2021-06-01 12:37:15 +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 c8e9046cf4 bump tailwindcss-language-service 2021-05-12 11:08:39 +01:00
Brad Cornes 482b5bc7af fix @​apply in plugins in jit mode 2021-05-10 13:41:48 +01:00
Brad Cornes b16f22540a bump tailwindcss-language-service 2021-05-07 13:16:09 +01:00
Brad Cornes 173980d411 add prepublishOnly script 2021-05-07 13:15:39 +01:00
Brad Cornes 2f2d66124a resolve jit modules together 2021-05-06 18:01:54 +01:00
Brad Cornes e08ac09959 fix re-init short-circuit
now it takes config dependencies into account
2021-05-05 17:56:45 +01:00
Brad Cornes 15fd935c57 update diagnostic name 2021-05-05 14:52:22 +01:00
Brad Cornes 580b183d89 remove unused imports 2021-05-04 12:41:13 +01:00
Brad Cornes a72226c141 update settings schema 2021-05-04 12:40:50 +01:00
Brad Cornes e0ef982fd5 update colorDecorators setting 2021-05-04 12:17:06 +01:00
Brad Cornes 6aabc3d9a5 short-circuit re-initialisation 2021-05-04 11:55:32 +01:00
Brad Cornes 99297add4e add jit support, refactor for general reliability 2021-05-03 18:00:04 +01:00
Brad Cornes 8fce24db9c v0.5.10 2021-04-07 23:22:57 +01:00
Brad Cornes 72ad324467 restore user-defined mode config after compilation 2021-04-07 23:17:40 +01:00
Dorgeles N'ZI 85f4995e71 Force AOT mode 2021-04-06 17:48:35 +02:00
Brad Cornes f6971ca001 override console.log/error and catch unhandled rejections 2021-02-12 13:29:01 +00:00
Peter Neupauer 1a523824c7 Make output chanel name more human-friendly
According to the documentation, the channel name is: "Human-readable string which will be used to represent the channel in the UI". So it shouldn't break anything.

Signed-off-by: Peter Neupauer <peter@neupauer.sk>
2021-02-09 14:15:20 +01:00
Brad Cornes 9a3b3d6132 update changelog and readme 2021-02-07 21:11:07 +00:00
Brad Cornes 244d109f2f bump versions 2021-02-07 21:04:43 +00: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 6304d223ae add missing variants (#256) 2021-02-05 12:25:54 +00:00
Brad Cornes cb5d6b6b3a v0.5.8 2021-01-29 16:42:22 +00:00
Brad Cornes c7a1632250 fix error when using @​apply in plugins (#255) 2021-01-29 16:37:39 +00:00
Brad Cornes 09e96ed598 update changelog 2021-01-15 12:24:27 +00:00
Brad Cornes 1d8ec98c68 v0.5.7 2021-01-15 12:20:56 +00:00
Brad Cornes 50b68ab5b2 bump tailwindcss-language-service version 2021-01-15 12:20:10 +00:00
Brad Cornes 2713c64365 fix fast-glob concurrency 2021-01-08 18:36:34 +00:00
Brad Cornes 31097c683b tweak readme wording 2021-01-08 18:10:52 +00:00
Brad Cornes 81e6c7bef5 Merge branch 'improve-troubleshoot-section' of https://github.com/alexbjorlig/tailwindcss-intellisense into alexbjorlig-improve-troubleshoot-section 2021-01-08 18:05:53 +00:00
Brad Cornes 58a28d7bbb Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense 2021-01-08 18:00:13 +00:00
Brad Cornes 8ca0e518b0
Merge pull request #236 from MoPaMo/patch-1
Typo: change `built-it` to `built-in` in Docs
2021-01-08 16:44:28 +00:00
Brad Cornes 5a4591cc3e ignore file watcher permission errors (#238) 2021-01-08 15:57:10 +00:00
Brad Cornes 0e66dac7b7 update class attribute regex (#233) 2021-01-08 15:53:02 +00:00
MoPaMo 94786b12de
change `built-it` to `built-in`
There's a typo in line 37
2020-12-31 11:40:30 +01:00
Brad Cornes b3c17cf5c9 v0.5.6 2020-12-14 15:06:00 +00:00
Brad Cornes bd3161bd98 update changelog 2020-12-14 15:05:36 +00:00
Brad Cornes 8146dbd263 bump language service version 2020-12-14 15:00:32 +00:00
Brad Cornes e963d68f42 fix pnp config module resolution 2020-12-14 13:59:22 +00:00
Brad Cornes 4b10581005 add emmet noise check (#146) 2020-12-10 17:22:06 +00:00
Brad Cornes 84e3bf4b3a v0.5.5 2020-12-10 15:20:13 +00:00
Brad Cornes 5ae7183b78 replace publish npm script 2020-12-10 15:18:29 +00:00
Brad Cornes ea401cd533 update changelog 2020-12-10 15:17:38 +00:00
Brad Cornes 16d9c1c60a bump language service version 2020-12-10 14:23:09 +00:00
Brad Cornes 3a01ebd173 Merge branches 'master' and 'master' of github.com:tailwindlabs/tailwindcss-intellisense 2020-12-10 14:17:08 +00:00
Brad Cornes 763fc18300
Merge pull request #222 from dcalhoun/add-rescript-support
Add ReScript support
2020-12-10 14:14:09 +00:00
Brad Cornes 0369ee74e0 don't search for pnp file above root dir 2020-12-10 13:47:05 +00:00
Brad Cornes b6dbe71797 update readme 2020-12-08 17:11:15 +00:00
Brad Cornes da5bf43ba7 update readme 2020-12-08 16:07:34 +00:00
Brad Cornes f9865fb219 add support for config files with .cjs extension (#198) 2020-12-08 13:26:02 +00:00
Brad Cornes e530f03739 add missing import 2020-12-07 15:52:01 +00:00
Brad Cornes b2d47d220b add hover, color decorator, linting support for classRegex setting (#129) 2020-12-07 15:39:44 +00:00
David Calhoun dcde392ba6 Add ReScript support 2020-12-06 13:31:39 -06:00
Brad Cornes 264cdc0c5e fix config resolution 2020-12-03 17:59:29 +00:00
Brad Cornes 08d32ffe09 Merge branch 'pnp-support' of https://github.com/DanSnow/tailwindcss-intellisense into DanSnow-pnp-support 2020-12-03 17:23:50 +00:00
Brad Cornes 7346d18493 v0.5.4 2020-12-02 14:11:34 +00:00
Brad Cornes 6ea4a86c69 update changelog 2020-12-02 14:09:35 +00:00
Brad Cornes 511deb4336 bump language service version 2020-12-02 14:00:51 +00:00
Brad Cornes f62a5e9092 update browserslist usage (#159)
fixes "extends" in browserslist config
2020-12-02 13:57:17 +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 f1198cf053 update changelog 2020-12-01 19:17:06 +00:00
Brad Cornes d44d85f936 v0.5.3 2020-12-01 19:14:54 +00:00
Brad Cornes 08799a3769 bump language service version 2020-12-01 19:09:59 +00:00
Brad Cornes 615fd7f630 add experimental showPixelValues setting 2020-12-01 19:05:58 +00:00
Brad Cornes 340336ed99 add some basic initialisation logs 2020-12-01 19:03:31 +00:00
Brad Cornes 85fb953d0a classRegex: increase search range, make search global (#129) 2020-12-01 16:35:46 +00:00
Brad Cornes f95c881b45 bump language service version 2020-12-01 11:19:15 +00:00
Brad Cornes 657425666b update changelog 2020-11-30 18:17:31 +00:00
Brad Cornes 6329ceca1d v0.5.2 2020-11-30 18:17:25 +00:00
Brad Cornes c508a028d4 add support for [ngClass] attribute (#187) 2020-11-30 18:15:31 +00:00
Brad Cornes 31335400cf update changelog 2020-11-30 16:29:50 +00:00
Brad Cornes 71c254964b v0.5.1 2020-11-30 16:24:38 +00:00
Brad Cornes 3fc1a11196 add mdx language support 2020-11-30 15:54:31 +00:00
Brad Cornes 13407177ba bump language service version 2020-11-30 15:19:53 +00:00
Brad Cornes 9c60e0bfca add @​layer completions 2020-11-27 17:13:46 +00:00
Brad Cornes 4f0e415df7 update docs urls 2020-11-27 17:05:58 +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 689aaa6d3b update color parser to avoid false positives (#180) 2020-11-24 15:50:11 +00:00
Brad Cornes e6a371921f update class attribute regex 2020-11-24 15:45:08 +00:00
Brad Cornes 321098dac4 merge 2020-11-24 13:27:19 +00:00
Brad Cornes 99febcd4c0 fix readme image references 2020-11-23 10:58:30 +00:00
Brad Cornes b97c89508a update changelog 2020-11-19 17:49:35 +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 33523b3f11 remove lerna and update lsp deps 2020-11-03 11:02:30 +00:00
Brad Cornes 8aca9fcd37 import types only 2020-10-08 17:06:29 +01:00
Brad Cornes ccf7cd57a7 separate out tailwindcss-language-service package 2020-10-08 16:20:54 +01:00
Brad Cornes 39733ae72a restructure 2020-05-03 15:57:15 +01:00
Brad Cornes 2232f18d33 tweak file watching (#112) 2020-05-03 14:45:36 +01:00
Brad Cornes 9b136f448e replace glob 2020-05-02 18:08:50 +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 e39c398f48 fix tests 2020-04-30 20:02:46 +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 82dad05540 simplify built-in plugin finder 2020-04-29 19:46:36 +01:00
Brad Cornes 2cd29c13d6 resolve workspace dependencies relative to config file 2020-04-29 19:20:37 +01:00
Brad Cornes 387419d031 set chokidar cwd 2020-04-29 19:13:48 +01:00
Brad Cornes 1768f96b53 add `HTML (EEx)` language 2020-04-29 19:08:52 +01:00
Brad Cornes ddcb38a3da add todos 2020-04-29 19:01:34 +01:00
Brad Cornes a52765fc0f add mustache (#58) 2020-04-29 11:05:02 +01:00
Brad Cornes 63f8c0ff07 build and package updates 2020-04-28 22:58:24 +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 f3f1b3b259 fix config helper hover range 2020-04-28 21:19:28 +01:00
Brad Cornes 7f411e345b update extension package.json and add icon 2020-04-28 19:06:35 +01:00
Brad Cornes 72ed62f730 fix zero values in CSS helper completion items 2020-04-28 00:30:32 +01:00
Brad Cornes 8ec7510e02 fix @tailwind completion item resolution 2020-04-28 00:07:07 +01:00
Brad Cornes feb19371f4 vary @tailwind completions based on version 2020-04-28 00:06:47 +01:00
Brad Cornes 2c1a520547 add @tailwind completions 2020-04-27 23:52:31 +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 2cd6b792c1 use user's separator 2020-04-27 22:23:22 +01:00
Brad Cornes fb9539ac46 update context completion items 2020-04-27 22:14:47 +01:00
Brad Cornes 1614bd1eed add languages 2020-04-26 22:02:16 +01:00
Brad Cornes c69e210f7d update extension activationEvents 2020-04-26 18:42:44 +01:00
Brad Cornes 2de4816e3c add utility config map 2020-04-25 22:41:17 +01:00
Brad Cornes d89883b658 add group-focus variant 2020-04-23 22:20:46 +01:00
Brad Cornes 4174b98485 remove log 2020-04-23 19:58:17 +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 850ad5c0a5 fix hover provider error on unknown class name 2020-04-22 19:18:57 +01:00
Brad Cornes 2ec21694c3 add missing dep 2020-04-19 17:50:24 +01:00
Brad Cornes 08bfebec9c add missing dep 2020-04-19 17:41:16 +01:00
Brad Cornes 1c26324860 add missing dep 2020-04-19 17:32:07 +01:00
Brad Cornes 65abae2abc use decache when resolving config 2020-04-19 17:31:26 +01:00
Brad Cornes 37bdf7439d fix array equality check 2020-04-19 17:30:25 +01:00
Brad Cornes dd553d9d03 remove unused deps 2020-04-17 19:10:19 +01:00
Brad Cornes 928f485a5d remove lerna deps 2020-04-17 19:09:37 +01:00
Brad Cornes 16725980b7 add @apply hover provider 2020-04-17 18:59:19 +01:00
Brad Cornes cb20c3bc86 remove variants filter 2020-04-16 22:44:52 +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 9caa94fcb8 add initial @variants completions 2020-04-12 23:48:57 +01:00
Brad Cornes 12fd0e9568 add screen directive completions 2020-04-12 18:11:41 +01:00
Brad Cornes ba8a6ff48d add directive completions 2020-04-12 17:55:32 +01:00
Brad Cornes 7b8ee549de add initial css helper hover 2020-04-12 17:53:22 +01:00
Brad Cornes 97c4a29d88 update syntax scope name 2020-04-12 17:09:01 +01:00
Brad Cornes 0c9f8f5c0d inject syntax into vue and svelte 2020-04-12 17:07:19 +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