Commit Graph

475 Commits (4dd6a7d57fc36430b79fd82aed44fb3bb9c10a69)

Author SHA1 Message Date
Jordan Pittman 4dd6a7d57f Update lockfile 2023-10-13 13:39:28 -04:00
Jordan Pittman 83cd162a16 0.10.1 2023-10-11 12:14:36 -04:00
Jordan Pittman 61aa8e16d9 Fix type error 2023-10-11 09:55:46 -04:00
Jordan Pittman 81fcd231e0 Add prettier config 2023-10-11 09:55:19 -04:00
dependabot[bot] 5f697353d7
Bump postcss from 8.3.9 to 8.4.31 (#864)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.9 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.9...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 16:07:20 -04:00
Brad Cornes 909d097c30 Tidy 2023-09-28 09:23:22 +01:00
Brad Cornes d5dbede4f8 Remove unused function 2023-09-28 09:03:05 +01:00
Brad Cornes d49a90b4e7 Bump `vscode-css-languageservice` 2023-09-26 14:51:48 +01:00
Jonathan Reinink 045dc6080a Update LICENSE 2023-09-20 08:12:50 -04:00
Yt 4bf3af2f9a
Update npm lock files (#853)
* tailwindcss-language-server: update lockfile

* Update package-lock.json

* Update package-lock.json

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-09-04 17:01:58 -04:00
Brad Cornes 1cc8e62da3
Add "Sort Selection" command (#851)
* Add `sortSelection` command

* wip

* wip

* wip

* wip

* wip

* wip

* Add test

* Update command name and description

* Don't show sort command if file is excluded
2023-08-31 15:53:20 +01:00
Brad Cornes 2599da8541 Use `move-file-cli` in npm script for compatibility 2023-08-30 14:44:40 +01:00
Brad Cornes 9ccc34d616 0.10.0 2023-08-29 11:30:37 +01:00
Brad Cornes f202bab7b9 Add global test timeout 2023-08-29 11:13:54 +01:00
Brad Cornes 31e28e862f Increase v2 test timeout 2023-08-29 11:04:38 +01:00
Brad Cornes 401a306e16
Fix recommended variant order linting in Tailwind v2 (#849) 2023-08-29 10:42:11 +01:00
Brad Cornes bac7e2e564 Add tests 2023-08-29 10:37:51 +01:00
atgote d5268fd41e
Fix language server initialisation outside of VS Code (#803)
* Remove buggy await call

This is to resolve issue https://github.com/tailwindlabs/tailwindcss-intellisense/issues/802

* Fix unhandled method errors

---------

Co-authored-by: Brad Cornes <hello@bradley.dev>
2023-08-22 12:26:05 +01:00
Brad Cornes 4c702acf85
Fix `classRegex` offset (#846) 2023-08-21 13:05:27 +01:00
Brad Cornes 5faf811489 0.9.13 2023-08-16 23:06:25 +01:00
Brad Cornes 528fb6caba
Fix CSS conflict regression (#842) 2023-08-16 23:02:31 +01:00
Brad Cornes 755eb5fe53 0.9.12 2023-08-16 17:27:02 +01:00
Brad Cornes 47d512edde
Expand `classRegex` search range (#840) 2023-08-16 17:03:36 +01:00
Brad Cornes 5c59d6f59b
Update README.md 2023-08-10 14:55:51 +01:00
dependabot[bot] f3f396bf1d
Bump word-wrap from 1.2.3 to 1.2.4 (#825)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:20:09 +01:00
Brad Cornes b3a4df7949 Remove old stuff 2023-07-19 11:14:34 +01:00
Brad Cornes 316357530f
Fix `classRegex` hovers in unknown contexts (#824) 2023-07-18 15:14:51 +01:00
Brad Cornes a6c19d7cb4
Fix IntelliSense following closing script/style tag containing whitespace (#808) 2023-06-27 11:02:17 +01:00
dependabot[bot] 1b8fa09000
Bump semver from 7.3.7 to 7.5.2 (#806)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:35:38 +01:00
Brad Cornes 1438300d98
Update `editor.quickSuggestions` example in readme 2023-06-09 14:27:11 +01:00
Brad Cornes b6d257c843
Add language mode icon (#794) 2023-05-31 11:26:54 +01:00
Brad Cornes 22209f09c7
Fix diagnostic false-positive when no CSS properties are present (#793) 2023-05-30 09:58:24 +01:00
Brad Cornes 53b81ca460
Fix activation when `files.excludes` contains braces (#789)
* Fix activation when `files.excludes` contains braces

* Fix file exclude when searching for CSS files
2023-05-25 13:24:38 +01:00
Brad Cornes 4d0623ede0
Fix initialisation when using `tailwindcss@^0` (#787) 2023-05-25 10:35:21 +01:00
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 460d921ca3
Include pixel equivalents in more places (#775)
* Show pixel equivalents for more `rem`/`em` values

* Add pixel equivalents to media query variant completions
2023-05-02 10:44:37 +01:00
Brad Cornes 5e9cce64ef Update `package-lock.json` 2023-05-02 10:13:02 +01:00
Brad Cornes ae99cbfafc
Enable IntelliSense for `<script lang="tsx">` (#773) 2023-04-28 17:34:36 +01:00
Brad Cornes 9b47dd0597
Fix CSS conflict diagnostics in semicolonless CSS documents (#771) 2023-04-27 18:17:13 +01:00
Brad Cornes 8266d6b0aa
Resolve helper functions in CSS previews (#766) 2023-04-25 16:47:12 +01:00
Brad Cornes 8f45144eb7 Fix culori type 2023-04-25 16:45:03 +01:00
Remco Haszing 752cd5eae4
Use @types/culori (#735)
This removes the need to define types here. Also this allows third
parties to use this package without having to declare type definitions
for culori.
2023-04-24 14:45:06 +01:00
Mark Skelton c5d20ab343
fix: Don't attempt to read from deleted CSS files (#765) 2023-04-24 14:26:52 +01:00
Brad Cornes 6fa8861efd
Fix CSS conflict diagnostic false negatives (#761) 2023-04-18 08:54:14 +01:00
Brad Cornes 105b8b86ec
Increase class search range (#760) 2023-04-17 12:09:05 +01:00
Brad Cornes f3967a72ad Bump language server version 2023-03-31 11:44:45 +01:00
Brad Cornes 1c09f663f5 Update language server notices file 2023-03-31 11:37:12 +01:00
Brad Cornes 56821f5d69 0.9.11 2023-03-30 10:33:56 +01:00
Brad Cornes 66945537e9 Update changelog 2023-03-30 10:33:27 +01:00
Brad Cornes 2e2dcc2e0e
Fix first-party plugin usage when using bundled version of `tailwindcss` (#751) 2023-03-30 10:30:52 +01:00