Commit Graph

318 Commits

Author SHA1 Message Date
Anthony Leonardo Gracio
691c58d9b7 UC02-052: Add 'overriding' reference kind
A basic test has been added and the other tests have been
adapted too.
2021-12-16 16:10:17 +01:00
Andry Ogorodnik
7e41b50b9e T826-026 New Visit method has been added
Contains Token as a parameter for handlers that need it.
2021-09-30 14:08:42 +03:00
Andry Ogorodnik
0cde301dc0 U910-020 Partial response for Workspace_Symbols request 2021-09-23 13:27:02 +03:00
Andry Ogorodnik
e5582f7760 U910-020 Partial response for Workspace_Symbols request 2021-09-23 13:27:02 +03:00
Vadim Godunko
dee1b1ebda Reflect changes in VSS JSON API. 2021-09-21 18:16:08 +03:00
Andry Ogorodnik
8a198fcdfc U910-017 Document Symbols request with filtration 2021-09-15 16:31:49 +03:00
Adrien Boulanger
689a961f47 U910-043: Fix parsing error for optional client capabilities
Some client capabilities like "moniker" were not defined as
optional => The server was crashing if their value was "null".

Add a test.
2021-09-13 15:00:35 +02:00
Anthony Leonardo Gracio
2fc9fa8b96 U622-021: Compute some completion items properties lazily
Use the newly added completionItem/resolve request to compute
the 'documentation' and 'detail' fieds of completion items lazily
when the client supports it (i.e: when a given item gets selected
in the completion window).

This makes the ALS way faster to return completion items for packages
that contain a huge number of declarations (e.g: Libadalang.Common).

VS Code already supports this lazy computation method but not other
clients.
2021-09-07 13:41:48 +02:00
Vadim Godunko
078c288f9c T629-024 Change type for text to Virtual_String. 2021-08-25 15:29:54 +03:00
Vadim Godunko
95a6b2b500 T629-024 Qualify type to prevent build failures. 2021-08-20 16:33:54 +03:00
Andry Ogorodnik
1ded9fe6bb T826-026 "workspace/symbol" request with filtration
The request has optional fields that allow doing filtering on
 the server-side. Needed to reduce the numbers of records in
 the response.
2021-08-19 11:30:37 +03:00
Anthony Leonardo Gracio
9e81ea65bd U804-021: Fix type for SignatureHelpParams
The context field was missing. Will be useful for improvements
later.
2021-08-05 16:21:10 +02:00
Maxim Reznik
478fe18b33 U622-019 Fix index of Line_To_Marker
to be Line_Number instead of Natural and simplify the code.
2021-07-06 20:37:51 +03:00
Vadim Godunko
f1de391ef5 T714-004 Replace type of memeber by Virtual_String. 2021-07-02 13:31:59 +03:00
Vadim Godunko
7723e41373 T714-004 Replace member's type by Virtual_String. 2021-07-02 13:31:59 +03:00
Vadim Godunko
824e0dbe5e T714-004 Use Virtual_String for message's member. 2021-07-02 13:31:59 +03:00
Vadim Godunko
0ded78a6ff T714-004 More use of Virtual_String. 2021-07-02 13:31:59 +03:00
Vadim Godunko
69c206bd67 T714-004 More use of Virtual_String_Vector. 2021-07-02 13:31:59 +03:00
Vadim Godunko
09ff0f2d23 T714-004 Use Virtual_String_Vector in AlsReferenceKind_Set. 2021-07-02 13:31:59 +03:00
Vadim Godunko
eee46f2209 T714-004 Use Virtual_String_Vector. 2021-07-02 13:31:59 +03:00
Vadim Godunko
6345262ceb T714-004 More Virtual_String in ALS. 2021-07-02 13:31:59 +03:00
Maxim Reznik
bc69c4a417 Make ALS generate "documentSymbolProvider":true
in `iitialize` response to fix an error in LSP4J 0.10. This
LSP4J expects a boolean value for documentSymbolProvider.
2021-06-29 20:06:35 +03:00
Adrien Boulanger
4989b86087 T903-007: purge ALS_Calls and ALS_Calls_By requests 2021-06-25 14:40:29 +02:00
Vadim Godunko
397d3d16ef T714-004 Use Virtual_String for method parameter. 2021-06-23 10:41:39 +03:00
Vadim Godunko
cd4721f474 T714-004 Don't convert keys to standard string. 2021-06-23 10:41:39 +03:00