Commit Graph

471 Commits (6ecb0011cfb7ac1e5e234acfd49459fb6ca2783e)

Author SHA1 Message Date
Josh Price 92410c1bf8
Support Surface templates (#597)
Surface support is defined here https://github.com/msaraiva/vscode-surface/blob/master/syntaxes/surface.json

See https://github.com/tailwindlabs/tailwindcss-intellisense/issues/407 and 1253902e88
2022-08-30 10:06:34 +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 0efcdd773e
Support `node:` module prefix (#585) 2022-07-25 17:43:37 +01:00
Brad Cornes d298014070
Support `require.extensions` mutations (#583) 2022-07-25 16:28:54 +01:00
dependabot[bot] 31d20e3a37
Bump terser from 4.6.12 to 4.8.1 (#578)
Bumps [terser](https://github.com/terser/terser) from 4.6.12 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-22 18:19:30 +01:00
Brad Cornes 4b0a5f332f Remove `terser` dependency, update lockfiles 2022-07-22 18:11:58 +01:00
Brad Cornes f368c1c454
Don't watch `package.json` files (#573) 2022-07-06 17:08:36 +01:00
Brad Cornes d09a4b11f1
Deduplicate classlist candidates (#572) 2022-07-06 16:40:29 +01:00
Brad Cornes 05a8685c49 Bump `dset` to `v3.1.2` 2022-07-06 16:12:54 +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 407af8d135 0.8.6 2022-06-02 15:16:51 +01:00
Brad Cornes 15bc6dbc19 Improve `theme` helper detection 2022-06-02 14:40:37 +01:00
Brad Cornes 64aa320d18 0.8.5 2022-05-30 11:27:38 +01:00
Brad Cornes 6f298b2e19 Fix `@types/vscode` version 2022-05-30 11:24:25 +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
Brad Cornes 5516e3321c 0.8.4 2022-05-16 11:10:39 +01:00
Brad Cornes 82d0d442e8 Account for undefined dependencies 2022-05-16 11:00:34 +01:00
Brad Cornes a2b694c3e0
Fix overeager `<style>` detection (#543) 2022-04-28 12:14:36 +01:00
Brad Cornes 56bc549571 0.8.3 2022-04-25 15:25:34 +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 68682298b9
Fix `@screen` highlighting for Vetur SFC PostCSS styles (#538) 2022-04-22 18:07:21 +01:00
Brad Cornes d28ebbc9a1 0.8.2 2022-04-20 15:09:45 +01:00
Brad Cornes c56e800f23
Add settings to enable/disable specific features (#535)
* Add `suggest` and `hover` settings

* Rename settings, add `codeActions` setting
2022-04-20 15:04:51 +01:00
Remco Haszing 97bfbb1c3e
Add missing package metadata (#526)
* Add missing package metadata

* Remove `tailwindcss-language-service` metadata

Co-authored-by: Brad Cornes <hello@bradley.dev>
2022-04-19 15:09:29 +01:00
Brad Cornes cd1678bd8d
Fix language features when using nested Vue `<template>` (#532) 2022-04-19 15:02:27 +01:00
Brad Cornes ef111a9bc7 Merge branch 'master' of github.com:tailwindlabs/tailwindcss-intellisense 2022-04-19 10:00:39 +01:00
Brad Cornes 7f4ea122ff Bump language service version 2022-04-19 10:00:37 +01:00
Remco Haszing d5d7185d2e
Remove unused dependency vscode-languageclient (#527)
This dependency is unused by the language service.
2022-04-14 17:41:27 +01:00
Brad Cornes ff199dbb66 0.8.1 2022-04-13 22:27:03 +01:00
Brad Cornes 183cc2f863
Revert "Improve conflict diagnostics (#503)" (#525)
This reverts commit ddfaea21cc.
2022-04-13 22:24:02 +01:00
Remco Haszing 055b8909af
Define TypeScript compiler target (#522)
TypeScript was complaining about some syntax features, this solves it.
It doesn’t affect the output, as `tsdx` ignores the `target` property.
2022-04-13 17:43:35 +01:00
Remco Haszing 061618745c
Optimize language service build (#520)
`tsdx` uses `.browserslistrc` to determine how to transpile the source
code. By default it supports very old environments.

By specifying relatively modern targets, the bundle size has been
reduced with ~40%. This also significantly increases performance and
readability of the output, because babel’s regenerator runtime isn’t
used anymore.

The output target can’t be set to something too new, because `tsdx` uses
an older version of terser which isn’t compatible with all new syntax
(e.g. optional chaining).
2022-04-13 17:29:08 +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 7dd5646e6f Update notices 2022-04-13 14:59:23 +01:00
Brad Cornes 1f1c3fcd79 0.8.0 2022-04-13 14:51:28 +01:00
Brad Cornes a879cf29d3 Update language contribution 2022-04-13 14:48:09 +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 d344400688 Fix flakiness caused by expired cache entries 2022-04-12 19:11:48 +01:00
dependabot[bot] de3861757c
Bump ansi-regex in /packages/tailwindcss-language-server (#512)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:24:00 +01:00
dependabot[bot] f1e43cd6a7
Bump ansi-regex in /packages/tailwindcss-language-service (#511)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 15:23:47 +01:00
dependabot[bot] 05b0f74f7e
Bump minimist in /packages/tailwindcss-language-service (#510)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 13:03:44 +01:00
dependabot[bot] 2f1f1e5884
Bump minimist in /packages/tailwindcss-language-server (#509)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 13:01:59 +01:00
dependabot[bot] 75de393cfd
Bump minimist from 1.2.5 to 1.2.6 in /packages/vscode-tailwindcss (#508)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-01 13:01:50 +01:00
Brad Cornes ddfaea21cc
Improve conflict diagnostics (#503) 2022-03-04 15:41:44 +00: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 a082bb3fd7
Fix `classRegex` error (#501) 2022-02-28 13:49:07 +00:00
Brad Cornes 4be5d9d082
Detect conflicting multi-rule classes (#498) 2022-02-25 13:20:02 +00:00
Lucas Vazquez 627d463f8f
Prevent errors in not semicolon languages (#461)
* fix: prevent errors in not semicolon languages

* fix: extends fix for sugarss and stylus

* Formatting

* Fix document access

Co-authored-by: Brad Cornes <bradlc41@gmail.com>
2022-02-23 11:18:53 +00:00
dependabot[bot] 3a33b8345f
Bump hosted-git-info in /packages/tailwindcss-language-service (#493)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

---
updated-dependencies:
- dependency-name: hosted-git-info
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-21 11:41:04 +00:00
dozyio 32e202a149
Add support for gohtmltmpl files for Hugo (#473) 2022-02-15 22:29:48 +00:00
dependabot[bot] b43250d1cf
Bump browserslist in /packages/tailwindcss-language-service (#492)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.6 to 4.19.1.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.6...4.19.1)

---
updated-dependencies:
- dependency-name: browserslist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 16:57:34 +00:00
dependabot[bot] 3d8b67490b
Bump path-parse in /packages/tailwindcss-language-service (#489)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:44:42 +00:00
dependabot[bot] d76c95505b
Bump glob-parent in /packages/tailwindcss-language-service (#490)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:44:32 +00:00
dependabot[bot] 4d789d3d1a
Bump tmpl from 1.0.4 to 1.0.5 in /packages/tailwindcss-language-service (#488)
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:42:10 +00:00
dependabot[bot] 4084def1ab
Bump shelljs from 0.8.4 to 0.8.5 (#483)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:39:49 +00:00
dependabot[bot] 599cb561be
Bump lodash in /packages/tailwindcss-language-service (#487)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

---
updated-dependencies:
- dependency-name: lodash
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:39:23 +00:00
dependabot[bot] 316e6ffa61
Bump nanoid from 3.1.30 to 3.2.0 (#485)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.30 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.30...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 14:38:13 +00:00
Brad Cornes f4cfe86af7 0.7.7 2022-02-14 18:15:41 +00:00
Brad Cornes e173a6fa64 Filter out empty `files.exclude` items 2022-01-24 12:21:15 +00:00
Brad Cornes 85cf5edccb Protect against undefined separator (#427) 2022-01-17 18:06:28 +00:00
Brad Cornes 8766f6d7de Fix for projects with brackets in their path (#429) 2022-01-17 16:55:31 +00:00
Brad Cornes bb5993d047 Bump `@tailwindcss/language-server` 2022-01-17 16:54:11 +00:00
Brad Cornes 9bc82821c7 Fix for missing `files` config 2022-01-17 15:40:55 +00:00
Brad Cornes 6eb310dfda Remove log 2022-01-17 15:21:43 +00:00
Brad Cornes fb6eb56fd0 Bump `@tailwindcss/language-server` 2022-01-17 15:18:25 +00:00
Brad Cornes 08927cb758 Add default excluded files (for non-vscode clients) 2022-01-17 15:14:09 +00:00
Brad Cornes f4c6b71a25 0.7.6 2022-01-17 14:19:47 +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 31393e6a5c 0.7.5 2022-01-07 17:27:58 +00:00
Brad Cornes ff52e815b6 Add `files.exclude` setting 2022-01-07 17:13:11 +00:00
Brad Cornes 6fdef8616a Add bundled version of `tailwindcss` and first-party plugins 2022-01-07 11:42:39 +00:00
Brad Cornes 0e8c71ada6
Create LICENSE 2022-01-05 10:28:59 +00:00
Brad Cornes c77600ccd2
Create LICENSE 2022-01-05 10:28:45 +00:00
Brad Cornes 7e6a620c1c 0.7.4 2021-12-09 22:45:10 +00:00
Brad Cornes 2dffb6636d Rename banner image 2021-12-09 22:38:48 +00:00
Brad Cornes e8a29ec9e4 Update assets 2021-12-09 22:36:48 +00:00
Brad Cornes edb38516ff 0.7.3 2021-12-07 16:33:27 +00:00
Brad Cornes f5006a8ff2 Exclude `*` from class completions 2021-12-06 16:06:30 +00:00
Brad Cornes 80336ae320 Bump language service 2021-12-06 16:06:16 +00:00
Brad Cornes 4e8918ad8c Disable variant order linting and sorting for tailwindcss v3 2021-12-06 15:40:54 +00:00
Brad Cornes ddabfe9390 Bump language server 2021-11-26 15:20:10 +00:00
Brad Cornes a655ad4701 Bump `@parcel/watcher`
Adds M1 builds for language server
2021-11-26 15:07:15 +00:00
Brad Cornes 0535454958 Bump language service 2021-11-26 15:05:28 +00:00
Brad Cornes 33eb1b5bd6 0.7.2 2021-11-05 16:35:15 +00:00
Brad Cornes e47f5fa539 Ignore `content: var(--tw-content)` when determining color 2021-11-05 16:29:34 +00:00
Brad Cornes ed51ba73a8 Update syntax definitions 2021-11-05 16:18:48 +00:00
Brad Cornes d256d5388e Update variant API for compatibility with `v3-alpha.2` 2021-11-05 16:13:22 +00:00
Brad Cornes 1557dfdabf Ensure jit state is reset 2021-11-05 12:38:54 +00:00
Brad Cornes 634b8c6fb1 Fix mode identification when using nested presets (#431) 2021-10-29 17:51:55 +01:00
Brad Cornes e786ece8c3 Catch errors when resolving config and creating context 2021-10-29 17:49:42 +01:00
Brad Cornes ecdfc1a98e 0.7.1 2021-10-11 13:23:24 +01:00
Brad Cornes ba21a2f1d8 fix color detection 2021-10-08 18:24:57 +01:00
Brad Cornes febded6864 update tsconfig 2021-10-08 18:24:11 +01:00
Brad Cornes 1eb62db848 reinstate `console.log` override 2021-10-08 17:36:41 +01:00
Brad Cornes 251d32faaf increase classlist search range (#414) 2021-10-08 17:36:17 +01:00
Brad Cornes d74a53ae9e update color extraction to allow parentheses (#423) 2021-10-08 17:06:10 +01:00
Brad Cornes 0f4d93b96e add `classAttributes` setting 2021-10-08 16:51:14 +01:00
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