Commit Graph

466 Commits (4bf3af2f9af5093ce4fdc8dd7464c5e7d5e78779)

Author SHA1 Message Date
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
Brad Cornes c0d593a9ae 0.9.10 2023-03-29 15:54:58 +01:00
Brad Cornes 85e32e3adf Account for `loadConfig` returning `{default:config}` just in case
See also: https://github.com/tailwindlabs/tailwindcss/pull/10898
2023-03-29 15:50:12 +01:00
Brad Cornes 2dd2449922 Update changelog 2023-03-29 15:45:34 +01:00
Brad Cornes 9482dd95ad
Bump bundled version of `tailwindcss` to `v3.3.0` (#749) 2023-03-29 15:43:15 +01:00
Brad Cornes 18dd2e7b09 Ensure `itemDefaults.data` is used in VS Code Insiders 2023-03-28 11:59:47 +01:00
Brad Cornes 5f361e8a02 Update changelog 2023-03-28 11:50:11 +01:00
Brad Cornes 5ccfd895c7
Fix activation when connected to Windows with Remote SSH (#748) 2023-03-28 11:42:42 +01:00
Brad Cornes 6c2dbf7355
Fix `theme` helper handling when specifying default value (#747)
* Fix `theme` helper handling when specifying default value

* Tidy
2023-03-27 20:20:21 +01:00
Brad Cornes db61c8891b
Exclude classes in `blocklist` from IntelliSense (#746) 2023-03-27 18:56:02 +01:00