Techatrix
a9a1fad13e
remove types.TextDocument ( #693 )
...
* remove types.TextDocument
* resolve compile errors because of previous merge
2022-09-30 20:45:45 -04:00
Techatrix
51356517a9
Self hosted fixes ( #682 )
...
* fix compiler errors when using self-hosted
* move parameters into builder struct
* simplify code when using self hosted
* fix stage2 error `cast discards const qualifier`
* correctly return after finding method
* fix position context tests on self hosted
* remove unnecessary comptime in position context tests
2022-09-30 00:04:55 -04:00
Techatrix
d030dd0993
improve conformance to the lsp ( #687 )
2022-09-30 00:04:27 -04:00
Techatrix
f3889cfe8d
explicit request didSave notification from client ( #676 )
2022-09-28 12:07:24 -04:00
Techatrix
ca58cbb3f3
make types.Diagnostic correctly parseable
2022-09-25 01:01:31 +02:00
Techatrix
40c28d7a64
add code action types
2022-09-24 21:29:24 +02:00
Techatrix
e28549fa7d
Completely overhaul offsets.zig ( #643 )
...
* completely overhaul offsets.zig
2022-09-16 00:33:49 +00:00
Auguste Rame
246fee8a1b
ast-check fixes
2022-09-01 09:26:58 -04:00
Auguste Rame
57a35a7bc8
ast-check for zls!
2022-08-31 20:52:55 -04:00
Techatrix
605c4e2988
fix textDocument/rename
2022-08-29 21:28:05 +02:00
Techatrix
dc3199cffa
unmanage all the code
2022-08-23 12:44:26 +02:00
Techatrix
0ecdeeecb1
Implement textDocument/inlayHint ( #559 )
...
* Implement textDocument/inlayHint
* Add corresponding Config options
2022-07-24 07:38:13 -04:00
Gregory Anders
94770b86c6
Implement textDocument/documentHighlight
2022-07-22 19:37:06 -06:00
Auguste Rame
2e379336b9
(Hopefully) fix configuration uri/memory bugs
...
Closes #533
2022-07-14 12:43:10 +02:00
Auguste Rame
acd57ddb16
workspace configuration server request model implemented!
2022-07-11 15:45:31 +02:00
Auguste Rame
e5e76c8063
Add super basic unused variable support
2022-07-08 04:26:31 -04:00
Auguste Rame
acb339ab95
Merge branch 'master' into label_details_support
2022-07-07 03:15:05 -04:00
ryuukk
03f27ef145
Make Kind public
2022-07-07 03:09:44 -04:00
ryuukk
64fe8a6b03
Add sortText to CompletionItem struct
2022-07-07 03:09:44 -04:00
ryuukk
c964c4545a
Add link to the note
2022-06-24 13:37:24 +02:00
ryuukk
2a181af823
Update types for label details support
2022-06-23 16:43:23 +02:00
Vesim
f5fb4afd7c
implement workspace/configuration
2022-06-05 13:36:28 -04:00
Meghan Denny
caaec2bcfd
lsp- alias []const u8
-> string
so its closer to docs
2021-10-19 19:26:57 -07:00
Meghan Denny
9ceaf90657
add reference for which lsp version we're targetting
2021-10-19 19:26:57 -07:00
Meghan Denny
164e078dbb
collapse some std imports
2021-09-30 18:47:19 -07:00
Meghan Denny
4bc8b92e19
collapse more fn signatures
2021-09-30 18:45:45 -07:00
Meghan Denny
ad8d75b613
use single line method signatures
2021-09-30 17:51:51 -07:00
Alexandros Naskos
70cfba0eb9
Fixed unit tests
2021-07-10 20:05:16 +03:00
Alexandros Naskos
bba069526c
Fix build for zig master by inserting null terminators when tokenizing and resetting them when needed
2021-07-10 19:58:37 +03:00
Lee Cannon
ac4b198869
Update to zig master
...
Redundant comptime, unused locals, unused function params, unused captures
As issue with @"type" resolving to the keyword type
2021-06-24 11:38:01 +01:00
Alexandros Naskos
b756ed4da5
Fixed HashMap usage for latest master stdlib
2021-06-04 14:06:11 +03:00
Alexandros Naskos
2770321a61
Use a null filterText instead of an empty string by default
2021-04-05 11:58:41 +03:00
Alexandros Naskos
7f432d8715
Implemented the signature help request.
...
Refreshes builtin data, added 0.7.1 builtins
2021-04-02 20:49:01 +03:00
Alexandros Naskos
9cc8085699
Started signature help implementation
2021-04-01 14:20:37 +03:00
Alexandros Naskos
2d168ed63e
Fixed error completion generation when making document scopes
2021-03-29 12:28:52 +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
Alexandros Naskos
bf7f6cd5e9
Corrected semantic token server provider struct
2020-11-06 15:55:00 +02:00
Alexandros Naskos
abcccb5d85
Fixed session tests
2020-11-06 10:24:37 +02:00
Alexandros Naskos
f7eff6632e
Cleaned up LSP types, add InitializeResult, no longer use a hardcoded string
2020-11-06 10:08:20 +02:00
Alexandros Naskos
560b39d359
Better builtin data format and script
2020-11-05 00:39:24 +02:00
Tadeo Kondrak
b52817cd8f
Update to LSP version 3.16 semantic tokens protocol
2020-09-25 15:31:54 -06:00
Alexandros Naskos
6eee43af2f
Fixed build on latest zig nightly
2020-07-12 22:12:09 +03:00
Alexandros Naskos
62774d065b
Reworked tag stores, fixed memory leak
2020-07-08 04:05:44 +03:00
Alexandros Naskos
b61785eb3e
Optimize document symbols
2020-07-07 11:57:02 +03:00
Alexandros Naskos
3659a5c1a9
Added find references handler
2020-07-06 01:32:14 +03:00
Alexandros Naskos
6bf2c9a1c7
Added encoding offset aware documentRange
2020-07-03 12:39:58 +03:00
Alexandros Naskos
d8aba7da0b
Correctly support utf16 offsets
2020-07-03 02:31:28 +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
ddcf6c677b
Start working on a better proccess JSON RPC
2020-06-30 01:34:21 +03:00