Commit Graph

165 Commits (d7d0406794efa11d4c522776fc68d29c3a5ed2e9)

Author SHA1 Message Date
Brad Cornes 4686f1bf4b tidy up 2020-06-19 14:40:19 +01:00
Brad Cornes 4c0cff6c14 make invalidApply quick fix work with multiple selectors 2020-06-19 14:34:39 +01:00
Brad Cornes 614154c0fd tidy up code actions 2020-06-19 12:14:30 +01:00
Brad Cornes a0c6229688 tidy up 2020-06-19 11:52:38 +01:00
Brad Cornes 743f10ac3d don't provide quick fix for @apply class name which has multiple rules 2020-06-18 20:17:00 +01:00
Brad Cornes 6add64c19b make "invalid @apply" quick fix work in mixed-language documents 2020-06-18 19:58:54 +01:00
Brad Cornes a6a8f7e536 fix language boundary ranges 2020-06-18 19:52:17 +01:00
Brad Cornes 983cfe5ac7 replace js-levenshtein with sift-string 2020-06-18 14:53:20 +01:00
Brad Cornes 6cbd49a74a refactor "suggestion" quick fixes 2020-06-18 14:49:50 +01:00
Brad Cornes 7b916ab3c6 consolidate conflict diagnostics and update quick fixes 2020-06-18 14:22:28 +01:00
Brad Cornes 01941f967b add initial quick fix for utility conflict diagnostic 2020-06-18 12:23:31 +01:00
Brad Cornes b79dbfc9f9 refactor diagnostics and add types 2020-06-18 10:54:01 +01:00
Brad Cornes e79f72bda8 wip quick fix for invalid @apply 2020-06-17 18:34:53 +01:00
Brad Cornes d76119cab1 update diagnostic messages 2020-06-17 16:41:03 +01:00
Brad Cornes 329a50d8f5 add quick fixes for invalid screens/variants/helper keys/@tailwind 2020-06-16 16:49:52 +01:00
Brad Cornes 1de8af5de1 update error message wording 2020-06-16 16:49:08 +01:00
Brad Cornes f4507eea46 update lint setting names 2020-06-16 16:29:08 +01:00
Brad Cornes bb3605c9ad offer suggestions for unknown variants/screens/@tailwind 2020-06-16 15:41:45 +01:00
Brad Cornes 4fb1e980e4 Merge branch 'master' into diagnostics 2020-06-16 15:14:11 +01:00
Brad Cornes 361e878539 update "invalid helper key" error conditions and messages 2020-06-16 15:14:04 +01:00
Brad Cornes aaa9bd9f2b fix class list offsets (fixes hover ranges) 2020-06-16 11:24:35 +01:00
Brad Cornes eb28c540c3 update module resolution (#128) 2020-06-16 10:41:26 +01:00
Brad Cornes 3de1b980ad ensure diagnostics are updated when the user's tailwind config changes 2020-06-15 19:00:03 +01:00
Brad Cornes 60cc17be77 rename unknownConfigKey to invalidHelperKey 2020-06-15 18:53:53 +01:00
Brad Cornes b052884ad4 update unknownConfigKey error messages 2020-06-15 18:40:19 +01:00
Brad Cornes 20c41600db make diagnostics settings language-overridable 2020-06-15 14:31:04 +01:00
Brad Cornes 4f17e2358d enable diagnostics in multi-language documents 2020-06-15 11:24:05 +01:00
Brad Cornes 81aad28bc8 add initial "unsupported tailwind directive" lint rule 2020-06-12 17:34:59 +01:00
Brad Cornes 2c2f63a0b8 add initial "unknown config key" lint rule 2020-06-12 17:16:54 +01:00
Brad Cornes 5e63a12b48 add initial "unknown variant" lint rule 2020-06-12 16:56:02 +01:00
Brad Cornes 7c0247fb11 add initial "unknown screen" diagnostics 2020-06-12 16:41:49 +01:00
Brad Cornes 652052c1f4 add settings for utility conflict and unsupported apply lint rules 2020-06-12 16:22:04 +01:00
Brad Cornes eb0b8e55be Merge branch 'master' into diagnostics 2020-06-12 16:20:32 +01:00
Brad Cornes 30bb96f983 fix hover provider when using computed attribute in vue template 2020-06-12 12:30:12 +01:00
Brad Cornes cfd4e4fd07 update class attribute regex (#125) 2020-06-12 12:29:04 +01:00
Brad Cornes cd444aba6c make pseudo class name meta always an array 2020-06-12 11:42:40 +01:00
Brad Cornes de6273dad2 add initial class name conflict diagnostics 2020-06-12 11:41:39 +01:00
Brad Cornes d5b5176756 make pseudo class name meta always an array 2020-06-12 11:26:17 +01:00
Brad Cornes cc587adf35 minor refactor of @apply diagnostics 2020-06-11 18:07:20 +01:00
Brad Cornes 1473a4d88c Merge branch 'master' into diagnostics 2020-06-11 17:41:47 +01:00
Brad Cornes bdfe43a639 provide corePlugins helper when running plugins 2020-06-11 12:10:47 +01:00
Brad Cornes bf524542ce add gohtml 2020-05-25 19:37:45 +01:00
Brad Cornes 02683ece85 add class list finder helper and fix ranges 2020-05-24 18:32:25 +01:00
Brad Cornes 8bfb6d9b67 Merge branch 'next' into diagnostics 2020-05-17 19:21:18 +01:00
Brad Cornes d6b5a897ac Merge branch 'next' of github.com:bradlc/vscode-tailwindcss into next 2020-05-17 17:24:00 +01:00
Brad Cornes 112f1678b2 add typescript (#118) 2020-05-17 17:23:56 +01:00
Brad Cornes eccee758a9
Merge pull request #116 from danmichaelo/patch-2
Add SugarSS support
2020-05-17 17:14:35 +01:00
Brad Cornes 51a1050a26 update hover provider to use lexer for html class attribute hovers 2020-05-17 17:13:14 +01:00
Brad Cornes e0093b7404 fix css context check 2020-05-17 16:50:41 +01:00
Brad Cornes b5daeb43c3 use lexer for class attribute completions 2020-05-16 19:10:17 +01:00
Brad Cornes 0a62fbc90c update @apply diagnostics 2020-05-10 14:49:57 +01:00
Brad Cornes 4d87c66139 Merge branch 'next' into diagnostics 2020-05-10 14:38:48 +01:00
Brad Cornes c78faee425 add base/preflight 2020-05-10 13:19:17 +01:00
Brad Cornes c9fea34deb filter @apply completions 2020-05-10 13:06:22 +01:00
Dan Michael O. Heggø eecb360654
Add SugarSS support 2020-05-10 13:21:28 +02:00
Brad Cornes ef1f922c86 fix removeMeta when meta prop is an object 2020-05-10 12:06:49 +01:00
Brad Cornes 41b8fd104e diagnostics 2020-05-09 22:11:35 +01:00
Brad Cornes 8eaa5c9326 add notification handlers 2020-05-09 17:24:56 +01:00
Brad Cornes 7978c9e6dc fix numbers being interpreted as colors 2020-05-03 20:52:14 +01:00
Brad Cornes f809595659 only run browserslist once 2020-05-03 20:32:00 +01:00
Brad Cornes 243c9b4011 add `target` plugin helper 2020-05-03 19:39:06 +01:00
Brad Cornes 3836cbf2a5 add includeLanguages setting and remove default language client 2020-05-03 18:11:45 +01:00
Brad Cornes 6af6797f2c move some utils 2020-05-03 17:10:38 +01:00
Brad Cornes 39733ae72a restructure 2020-05-03 15:57:15 +01:00
Brad Cornes 072809d9b7 initial refactor 2020-04-11 22:20:45 +01:00
Brad Cornes f5dfe02f74 Merge branch 'master' of github.com:bradlc/vscode-tailwindcss 2019-08-06 23:57:40 +01:00
Praveen Perera 0e2bc796fd Fix EEx support (for elixir/phoenix) (#54) 2019-08-06 23:57:06 +01:00
Brad Cornes c14959937a add django support (#58) 2019-08-06 19:43:11 +01:00
Brad Cornes 2fb32939af remove tree view stuff for now 2019-05-16 21:16:09 +01:00
Brad Cornes ab8baace62 v0.2.0 2019-05-16 21:13:57 +01:00
Brad Cornes acbc5a203f update to work with lsp definition format 2019-01-26 01:00:33 +00:00
Brad Cornes b21c42e638 fix type 2019-01-16 20:15:45 +00:00
Brad Cornes 3b3c296006 replace microbundle with ncc 2019-01-10 23:43:44 +00:00
Brad Cornes 984bb5641c update foundDefinition callback to match response format 2019-01-06 14:37:42 +00:00
Brad Cornes 318debc41f add placeholder to clients map to prevent >1 instance per folder 2019-01-06 14:36:26 +00:00
Brad Cornes 163c3fc633 add modules and options to tree view 2018-12-29 00:09:28 +00:00
Brad Cornes 805ddd2879 add tree view go to definition 2018-12-29 00:02:22 +00:00
Brad Cornes b1ee4759c5 add tree view 2018-12-28 18:38:12 +00:00
Brad Cornes 99be4063c4 add lsp boilerplate 2018-12-18 19:27:33 +00:00
Brad Cornes def423a7fe custom seperator 2018-12-16 14:58:21 +00:00
Donnie Clapp cc20e45371 Add support for Phoenix (.html.eex) files (#18) 2018-11-07 00:03:33 +00:00
Brad Cornes 2501fb56f2 add support for leaf files (#16) 2018-11-02 11:16:06 +00:00
Brad Cornes 0d07e7b698 fix issue with nested vue <template> 2018-10-21 02:09:28 +01:00
Brad Cornes 061bff14f6 fix for number values in config() completion items (#9) 2018-09-25 22:36:53 +01:00
Brad Cornes ce8b928891 avoid emmet matches when word starts with a HTML tag name 2018-09-07 00:04:41 +01:00
Brad Cornes 69edb1e9d8 update readme and add changelog 2018-08-28 20:40:20 +01:00
Brad Cornes 7dd65d85d3 add @screen completions (#7) 2018-08-28 13:06:43 +01:00
Brad Cornes 8d677d00bc improve postcss 2018-08-27 19:08:59 +01:00
Brad Cornes 8189593493 merge 2018-08-25 12:00:03 +01:00
Brad Cornes cc42400081 improve emmet syntax handling (#3) 2018-08-25 11:57:21 +01:00
Brad Cornes a8e6a9ac01 tweaks 2018-08-25 00:15:40 +01:00
Brad Cornes 7f77a9ebfa clear require cache before reading tailwind config 2018-08-25 00:10:30 +01:00
Brad Cornes 3ed7a35646 add config helper completions for .vue files 2018-08-25 00:03:13 +01:00
Brad Cornes e3bbd69369 add .vue @apply support (#4) 2018-08-24 19:43:35 +01:00
Brad Cornes 90775131f0 tweak emmet regex 2018-08-21 19:13:51 +01:00
Brad Cornes d17449864e support emmet style syntax in html-based file types 2018-08-21 18:48:57 +01:00
Brad Cornes df4660435c look for tailwindcss in subdirs (#1) 2018-08-21 16:38:15 +01:00
Brad Cornes dd9a67369f add .haml support 2018-08-21 16:03:28 +01:00
Brad Cornes 232bdc9767 fix config glob to search folders other than root (#1) 2018-08-21 14:33:37 +01:00
Brad Cornes 30b2d1a248 swap array for CSS_TYPES 2018-08-21 13:30:49 +01:00