Commit graph

315 commits

Author SHA1 Message Date
Riley Bruins
f40220770a
feat(format): option to prefer dot-prefixed predicates (#265)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-12-21 12:28:48 -08:00
Riley Bruins
4d2be7485f
chore: simplify queries after new parser version (#264)
Some checks are pending
CI / Corpus test (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-12-20 19:20:04 -08:00
Riley Bruins
ec1ac920fe
deps: bump tree-sitter to 0.26.3 (#263)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-12-13 10:08:44 -08:00
Riley Bruins
b91405f626
docs: mention crates.io publish (#262)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-12-12 22:26:48 -08:00
Riley Bruins
e6defd4d0a
ci: fix crates.io publish run (#261)
The imported workflow thinks `xtask` is a crate for some reason. `cargo
publish` seems to recognize that it is not, so I'm not sure where this
is coming from. Opting to just publish from the CLI, since we don't need
any crazy features.
2025-12-12 22:20:22 -08:00
Riley Bruins
6df9f1bc56
chore: bump to v3.14.0 (#260) 2025-12-12 21:10:19 -08:00
Riley Bruins
87b341fba6
ci: add crates.io publish workflow (#259) 2025-12-12 20:56:19 -08:00
Christian Clason
ecdebc6990
build(deps): cargo update (#258)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-12-12 12:59:40 -08:00
Will Lillis
2281b3261c
deps: update to tree-sitter 0.26.2 (#257)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-12-11 12:13:37 -08:00
Christian Clason
ba6bb0e4e7
docs(README): add homebrew packaging (#256)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-11-30 07:38:10 -08:00
Riley Bruins
a06d2655f3
fix(hover): support anonymous nodes after MISSING (#255)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-11-28 14:49:00 -08:00
Riley Bruins
8a73b5dd9a
feat(hover): support for anonymous subtypes (#254) 2025-11-28 13:53:30 -08:00
Riley Bruins
9677a46790
feat(completion): support anonymous subtype nodes (#253) 2025-11-28 13:45:56 -08:00
Riley Bruins
b3677040ba
feat(diagnostic): support anonymous subtype nodes (#252)
Supported by the upcoming 0.26 release of Tree-sitter.
2025-11-28 12:51:10 -08:00
Christian Clason
9e711fbfd7
build(deps): update tree-sitter-tsquery to v0.8.0 (#250)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-11-28 18:03:31 +00:00
Riley Bruins
c9e843d686
chore: bump to v3.13.0 (#251) 2025-11-28 09:59:03 -08:00
Christian Clason
794acf49e1 ci: bump actions/checkout to latest
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-11-22 09:24:43 -08:00
Christian Clason
b9ece0ffdf build(deps): cargo update 2025-11-22 09:24:43 -08:00
Riley Bruins
f141c81943
feat: broaden language object search (#248)
This commit changes the language object detection logic to search for
files of the name `<lang>` or `tree-sitter-<lang>`, regardless of file
extension (`.wasm`, `.so`, ...).
2025-11-22 09:07:08 -08:00
Riley Bruins
991bdba907
chore: bump to v3.12.0 (#245)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-11-10 06:38:39 -08:00
Riley Bruins
8d82694d6c
chore: allow building with warnings, for debugging (#243)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-11-09 11:59:10 -08:00
Christian Clason
1aa9965d97
build(deps): cargo update (#244)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-11-08 15:30:59 -08:00
Will Lillis
6c5b7d60da fix(rust): address new lints
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-10-13 20:58:02 -07:00
Will Lillis
434734c73d rust: turn on more linting 2025-10-13 20:58:02 -07:00
WillLillis
2b31855207 fix(rust): apply various pedantic suggestions from clippy 2025-10-13 20:58:02 -07:00
WillLillis
4fdc02c534 perf: reserve some Vec capacities, re-order some allocations 2025-10-13 20:58:02 -07:00
WillLillis
9f26e385d7 refactor(cli): clean up lint logic a bit 2025-10-13 20:58:02 -07:00
Riley Bruins
9b42f92c89
feat(hover): show symbol/field IDs (#242)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-10-12 16:21:47 -07:00
Riley Bruins
dbe8584676
fix(lint): better detection of module diagnostics (#240)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-09-28 23:28:41 +00:00
Riley Bruins
acca0f2c0a
fix(diagnostic): ignore fields in alternation check (#239) 2025-09-28 15:50:54 -07:00
Riley Bruins
3a65388efd fix(lint): don't report imported diagnostics as unfixable 2025-09-28 15:34:47 -07:00
Riley Bruins
f704c03c2e feat(diagnostic): report redundant alternants
In other words, show a diagnostic when an alternation has redundant nodes.
2025-09-28 15:34:47 -07:00
Riley Bruins
b03b7072e4
feat(client): bare-bones support for vscode (#237)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-09-12 21:43:05 -07:00
Riley Bruins
f66b4f9a3a
chore: bump to v3.11.1 (#236)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-09-11 19:49:01 -07:00
Riley Bruins
e55f54b2b5
docs: note on parser_install_directories (#235) 2025-09-11 19:35:40 -07:00
Christian Clason
078ea89c2c
build(deps): bump tree-sitter, tree-sitter-tsquery (#234)
Some checks failed
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
* update tree-sitter to v0.25.9
* update tree-sitter-query to v0.7.0
  (published as tree-sitter-ts-query to crates.io)
* cargo update
2025-09-07 09:57:30 -07:00
Riley Bruins
40860e37a2
chore: update deps (#232)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-08-31 13:31:29 -07:00
Riley Bruins
e0abb7d2a7
chore: bump to v3.11.0 (#231)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-08-16 09:39:27 -07:00
Riley Bruins
69f4c45a51
fix: allow empty parameter specs in schema (#229)
Some checks failed
CI / Generate schema (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
2025-08-11 03:35:47 +00:00
Riley Bruins
95e3e5486e
fix: allow predicates with no parameters (#228) 2025-08-10 14:24:36 -07:00
Riley Bruins
9aa8c1dc58
test: mock client to record notification events (#226)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
We can now test that the server sent certain notifications/requests to
the client. Also prevents tests from hanging upon notifying the client.
Great!
2025-07-31 18:32:23 -07:00
Riley Bruins
6a84c497ee
feat: work done progress for workspace symbols (#225)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-07-31 09:37:05 -07:00
Riley Bruins
773f4c1f95
chore: mark fixtures as linguist vendored (#224)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-07-30 09:51:15 -07:00
Riley Bruins
a1d152da1c
refactor: move query test fixtures into their own dir (#223) 2025-07-30 09:47:24 -07:00
Riley Bruins
3cc629b2b9
chore: bump to v3.10.0 (#222) 2025-07-30 08:59:05 -07:00
Riley Bruins
cd32ec937e test: sort test files to prevent flakiness 2025-07-30 08:53:26 -07:00
Riley Bruins
6c483e0909 ci: additionally run tests on macos latest 2025-07-30 08:53:26 -07:00
Riley Bruins
adc99c5cc9
feat(diagnostic): support for diagnostic codes (#220)
Some checks are pending
CI / Lint (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Generate schema (push) Waiting to run
2025-07-29 20:49:03 -07:00
Riley Bruins
60f3bb069b
refactor: store empty version for unopened documents (#219)
Documents which are populated only because other documents have imported
them, but have not been opened by the editor itself, should not have a
fake -1 sentinel version number. Rather, the number should be `None` for
slightly better correctness.
2025-07-30 02:27:27 +00:00
Riley Bruins
1ff284985d ci: fix parser install workflow
Some checks failed
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-07-24 08:33:17 -07:00