Commit Graph

50 Commits

Author SHA1 Message Date
Techatrix
0ecdeeecb1
Implement textDocument/inlayHint (#559)
* Implement textDocument/inlayHint

* Add corresponding Config options
2022-07-24 07:38:13 -04:00
Auguste Rame
37f79c86fa
Fix CI?
I really need to fix Zig's error handling on message send failure, it's so bad 😭
2022-07-11 20:28:50 +02:00
Auguste Rame
3f880a0c40 Tests pass? 2022-07-08 04:26:31 -04:00
ryuukk
7fa58ae1b8 Update test 2022-07-07 03:09:44 -04:00
Lee Cannon
ffe9598fbd
fix tests 2022-05-29 18:45:08 +01:00
Lee Cannon
4f04f7dac0
std.ChildProcess.init cannot error 2022-05-29 18:18:57 +01:00
Meghan Denny
09d51af161 handle AccessDenied when making 'builtin.zig' fill-in 2021-12-29 22:53:30 -08:00
Meghan Denny
304c9bec2f only print stderr 2021-12-29 22:47:12 -08:00
Meghan Denny
81818e3319 investing in debugging tools 2021-12-29 22:44:24 -08:00
Meghan Denny
56fccdefd5 add back FIXME comment 2021-12-29 22:24:33 -08:00
Meghan Denny
29e43a60ae cant repro locally 2021-12-29 22:23:01 -08:00
Meghan Denny
578265f3e6 cleanup tests 2021-12-29 21:56:17 -08:00
Meghan Denny
b99c13ceef match other tests 2021-12-29 21:45:32 -08:00
Lee Cannon
90f8109639 Update to use @import("builtin") where required 2021-10-07 12:53:31 +01:00
Lee Cannon
fbdc07d4b1 make tests pass 2021-09-01 15:57:37 +01:00
Lee Cannon
b1fee2dad2 Fix tests 2021-06-26 21:13:00 +01:00
Alexandros Naskos
f8b9d3bfcb
Fixed zls path in session tests 2021-05-03 15:46:24 +03:00
Alexandros Naskos
91643c04c9
Fixed integer overflow in semantic_tokens.Builder.handleComments 2021-05-03 15:36:29 +03:00
Alexandros Naskos
0e5a91d4fc
Fixed zls path in session tests 2021-05-03 14:08:59 +03:00
Jonathan Hähne
f61c9d8d4f Run zig fmt 2021-04-15 18:17:06 +02:00
Jonathan Hähne
b90c9b49ac Fix inclusion of toplevel doc comments, remove @async recursion in
writeNodeTokens, add a few regression tests
2021-04-15 11:07:43 +02:00
Jonathan Hähne
0e4f4c1e04 Improve testing infrastructure
It should now be a bit easier to set up a test and see how it failed.
2021-04-07 15:10:18 +02:00
Alexandros Naskos
88d79a769c
Fix session tests 2021-04-05 12:05:11 +03:00
Alexandros Naskos
f4e777ed7b
Fix session tests 2021-04-05 12:03:08 +03:00
Alexandros Naskos
ccf15a304d
Fix session tests 2021-04-03 19:05:55 +03:00
Jonathan Hähne
ec1ee55dee Accelerate symbolReferencesInternal by another factor of 2 and activate unit tests 2021-03-29 14:08:38 +02:00
Alexandros Naskos
3a8d4c7bfb
Fix completions test 2021-03-28 17:47:10 +03:00
rhysd
6057d290b4 Fix falsy value for filterText and insertText
'filterText' and 'insertText' fields of 'CompletionItem' can only have
"" or undefined as falsy value.

https://github.com/microsoft/language-server-protocol/issues/1222
2021-03-15 20:20:38 +09:00
Luuk de Gram
85937d48ca
Semantic token + scope fixes:
- Highlights pipes of loops/elses payloads correctly
- New ast structure counts last token as the variable itself and not the '}' so change scope checking to '<=' instead of '<'
2021-03-10 10:02:07 +01:00
Alexandros Naskos
c98c44460c
Fixed session tests 2021-01-28 11:20:13 +02:00
Alexandros Naskos
eefee4759c
Fixed compilation for latest zig master 2021-01-07 10:35:36 +02:00
Lee Cannon
2a9edf243d Fixed string printing with {s} format specifier 2021-01-04 17:51:26 +00:00
Alexandros Naskos
67b5adc04e
Fix session tests 2020-11-15 22:24:29 +02:00
Alexandros Naskos
bf7f6cd5e9
Corrected semantic token server provider struct 2020-11-06 15:55:00 +02:00
Alexandros Naskos
f363a1fbdb
Fixed session tests 2020-11-06 12:59:21 +02:00
Alexandros Naskos
d877019abe
Removed struct, enum, opaque, union token types, added them to token modifiers 2020-11-06 11:03:21 +02:00
Alexandros Naskos
abcccb5d85
Fixed session tests 2020-11-06 10:24:37 +02:00
Alexandros Naskos
307ac34d4a
Fixed session tests. 2020-11-04 13:00:55 +02:00
Tadeo Kondrak
b52817cd8f
Update to LSP version 3.16 semantic tokens protocol 2020-09-25 15:31:54 -06:00
codehz
68163f99e1 Adopt to new log API 2020-09-01 13:58:53 +08:00
SuperAuguste
5302cfbdbc fix tests 2020-07-16 15:04:55 -04:00
Alexandros Naskos
39c0cf429b Fixed session test 2020-07-07 12:29:01 +03:00
Alexandros Naskos
1ad73b6060 Add test zls.json file 2020-07-03 14:24:27 +03:00
Alexandros Naskos
c416f68d05 Fixed semantic tokens test 2020-07-03 14:21:32 +03:00
Alexandros Naskos
3a0281b59a Better session tests 2020-07-03 13:56:57 +03:00
Alexandros Naskos
f6df9d4c0a Added offsetEncoding clangd extension support 2020-07-03 12:00:00 +03:00
Alexandros Naskos
e54a6d2522 Fixed documentPositionIndex, added tests 2020-07-02 14:03:24 +03:00
Alexandros Naskos
671318730a Started adding session tests, finished (buggy) main loop rewrite 2020-06-30 15:46:43 +03:00
Alexandros Naskos
6a830de271 Fixed position context tests 2020-06-27 15:34:28 +03:00
Alexandros Naskos
6f8fbe1ccb Added tests. 2020-05-27 21:58:35 +03:00