Commit Graph

815 Commits (909d097c30a2729cff3ec74a89799113d9c3f570)

Author SHA1 Message Date
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 c1c811e7a3 Run `test:prepare` script before running tests 2023-08-29 10:55:54 +01:00
Brad Cornes e242535cac Add test step to pre-release workflow 2023-08-29 10:45:10 +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
Florian Stellbrink 0964dbfe4a
Add basic build instructions (#830)
* Add basic build instructions

* Create `CONTRIBUTING.md`

---------

Co-authored-by: Brad Cornes <hello@bradley.dev>
2023-08-22 14:18:40 +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 ac2f9fabd7 update workflow 2023-08-21 16:59:37 +01:00
Brad Cornes ff3eac37f4 Update workflow 2023-08-21 16:53:42 +01:00
Brad Cornes fc7e38da1f Update workflow 2023-08-21 16:43:26 +01:00
Brad Cornes 67eb02e659 Fix lerna command scope in workflow 2023-08-21 16:31:28 +01:00
Brad Cornes 1fb0019928 Add WIP pre-release workflow 2023-08-21 16:28:54 +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 e5bc536871 Update package-lock.json 2023-08-16 17:26:05 +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 19ba969f99
Update issue template
Add VS Code version question
2023-06-08 14:43:43 +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 2ddb1f93f8 Update `package-lock.json` 2023-04-25 16:45: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