Riley Bruins
9aa8c1dc58
test: mock client to record notification events ( #226 )
...
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 )
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 )
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 )
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
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
Riley Bruins
b83d4a16be
chore: bump to v3.9.0
2025-07-24 08:33:17 -07:00
Riley Bruins
4216492f13
docs: add helpful doc comments ( #217 )
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-24 00:30:13 +00:00
Riley Bruins
aeb5f9fbd5
feat(diagnostic): push related document diagnostics when necessary ( #216 )
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-23 11:52:29 -07:00
Riley Bruins
3a4c8f6145
feat(diagnostic): send related document diagnostics ( #215 )
2025-07-23 11:42:48 -07:00
Riley Bruins
4345f2b604
test: factor out common test methods ( #214 )
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-22 20:13:24 -07:00
Riley Bruins
214bc5b0d9
feat: add containerName
in workspace symbols response ( #213 )
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-22 18:09:05 +00:00
Will Lillis
e428ea9d09
fix(cli): remove conflicting -f
short arg for check
command ( #212 )
2025-07-22 08:29:35 -07:00
Riley Bruins
64f865f8d5
feat: constraints for predicate parameters ( #211 )
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
CI / Lint (push) Waiting to run
2025-07-22 01:25:39 +00:00
Riley Bruins
32b480c53e
test: more range formatting cases ( #210 )
2025-07-21 23:04:42 +00:00
Riley Bruins
c846a63aca
feat: range formatting support ( #209 )
2025-07-21 22:07:18 +00:00
Riley Bruins
c9b2c27bd5
fix: typo in end byte offset calculations ( #208 )
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-21 05:29:46 +00:00
Riley Bruins
ba5c5907fc
refactor: more util refactoring to use traits ( #207 )
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-20 09:11:23 -07:00
Riley Bruins
428b846eb8
refactor: simplify completion options logic ( #206 )
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-19 19:25:03 -07:00
Riley Bruins
4a2e2e9a05
refactor: simplify byte conversion logic, use more traits ( #205 )
2025-07-19 18:45:28 -07:00
Riley Bruins
e0e7f7dbff
refactor: reduce parser allocations by keeping a static object ( #204 )
...
CI / Generate schema (push) Waiting to run
CI / Format (push) Waiting to run
CI / Test (push) Waiting to run
CI / Corpus test (push) Waiting to run
CI / Lint (push) Waiting to run
Also, remove some useless parser instantiations in some handlers that
don't need it.
2025-07-19 17:39:02 -07:00
Riley Bruins
6bdf90ac94
chore: bump to v3.8.0 ( #203 )
2025-07-19 11:01:58 -07:00
Riley Bruins
cbad04414f
fix: remove another problematic document reference ( #202 )
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-17 14:46:54 -07:00
Riley Bruins
3f0dd1b22d
feat: support push diagnostics ( #201 )
...
Only sent if the client does not support pull diagnostics. This one's
for you, Helix ;)
2025-07-17 11:02:23 -07:00
Riley Bruins
d0de4fd5a3
chore: bump to v3.7.0
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Corpus test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-07-15 09:32:30 -07:00
Riley Bruins
ee1aa465bd
chore: bump tree-sitter from v0.25.6 -> v0.25.8
2025-07-15 09:32:30 -07:00
Riley Bruins
2118f5f8b6
fix(lib): add default language patterns in impl ( #199 )
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-15 08:27:46 -07:00
Riley Bruins
b2222eb6f8
refactor: easier code action -> value conversion ( #198 )
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-14 08:50:24 -07:00
Riley Bruins
e0758dfa00
feat(hover): module-level support ( #197 )
2025-07-14 08:30:25 -07:00
Riley Bruins
e073e5e7cf
test(diagnostic): typo fix ( #196 )
CI / Corpus test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Generate schema (push) Has been cancelled
2025-07-11 15:16:09 +00:00
Riley Bruins
9741aa30be
test(diagnostic): coverage for supertype diagnostics ( #195 )
2025-07-11 07:39:55 -07:00
Riley Bruins
9cefb1e94b
test: coverage for workspace symbols ( #194 )
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-11 01:38:44 +00:00
Riley Bruins
17f9a275b4
feat: specify supported ABI versions in config ( #193 )
...
This allows the server to provide diagnostics for unsupported parser ABI
versions.
2025-07-10 18:01:44 -07:00
Riley Bruins
1173f5c2d5
chore: bump to v3.6.0 ( #192 )
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-10 08:38:21 -07:00
Riley Bruins
0c525b6fce
refactor: expose missing language diagnostics in CLI
...
CLI already supported these errors, but now they are read from the main
diagnostic handler instead of being specially populated by the CLI
itself.
2025-07-10 07:34:22 -07:00
Riley Bruins
c838581df9
chore: update linguist glob
2025-07-10 07:34:22 -07:00
Riley Bruins
40eefb4ee5
test: use query language object in mock tests ( #190 )
...
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
This allows us to have true end-to-end coverage for language loading, at
least just for the `query` language. In the future other languages can
be added as dev dependencies.
This allows for another massive refactor of the test logic, removing
custom test helper hacks, unnecessary optionals used by mocks, and
removes lots of redundant code, replacing it with calls to the actual
server method handlers (which now have increased test coverage).
2025-07-09 23:44:21 -07:00
Riley Bruins
a23754314a
feat(diagnostic): include problematic module name in message ( #189 )
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-10 01:52:30 +00:00
Riley Bruins
d79bf7f46a
test(diagnostic): coverage for language not found, module not found ( #188 )
2025-07-10 01:19:36 +00:00
Riley Bruins
ddee107f80
test: overhaul initialization logic ( #187 )
...
This is a large refactor that separates the document population logic
from the language population logic. This allows us to craft much more
granular tests, such as ones that check for diagnostics when no
languages are found. It also paves the way to using real language
objects in tests, to provide full end-to-end coverage. Additionally, it
allows tests to be fully workspace-aware, allowing coverage for
workspace methods (e.g. workspace symbols), and for diagnostics which
require importing files from the workspace.
It also removes the custom test document population logic with actual
calls to `textDocument/didOpen`, giving full coverage for that
notification.
2025-07-09 18:10:37 -07:00
Christian Clason
3c0871e738
chore: bump deps
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-09 09:34:36 -07:00
Christian Clason
23c176e023
chore: bump query parser to 0.6.2
2025-07-09 09:34:36 -07:00
Riley Bruins
10a094ecf2
feat: diagnostic for "language not found" ( #185 )
2025-07-09 16:08:06 +00:00
Riley Bruins
eea61b00fb
feat: log warning if WASM parser failed to load ( #183 )
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-07 15:41:32 +00:00
Riley Bruins
2f5f902b77
chore: bump to v3.5.0 ( #182 )
2025-07-07 07:24:22 -07:00
Riley Bruins
2b4c44e0b7
feat(cli): clearer file name display in format
( #181 )
...
Removes superfluous text before printing file names which have improper
format. Also colors the file names purple so they are more easily
differentiated from the diff text.
2025-07-07 13:17:06 +00:00