126 Commits

Author SHA1 Message Date
Vadim Godunko
dee1b1ebda Reflect changes in VSS JSON API. 2021-09-21 18:16:08 +03: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
Maxim Reznik
01858ef831 U224-018 Drop ASCII.LF from JSON
The ASCII package is a depricated unit. The LF isn't required in JSON
syntax anyway.
2021-09-01 16:34:17 +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
Vadim Godunko
eee46f2209 T714-004 Use Virtual_String_Vector. 2021-07-02 13:31:59 +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
Vadim Godunko
4434c26ad4 T714-004 Use Virtual_String for jsonrpc field. 2021-06-23 10:41:39 +03:00
Vadim Godunko
74f3bf7985 T714-004 Use Virtual_String for error message. 2021-06-23 10:41:39 +03:00
Vadim Godunko
ebd5e0c464 T714-004 Use Virtual_String for enumeration images. 2021-06-23 10:41:39 +03:00
Vadim Godunko
ebc0c6c3ce T714-004 Use Virtual_String for keys. 2021-06-23 10:41:39 +03:00
Joao Azevedo
2b9075e449 T318-086 Add Suppress Separate refactoring tool
Add testsuite for suppress separate refactoring tool.
2021-06-01 13:32:42 +01:00
Joao Azevedo
6a731c8c52 Convert to Python 3 2021-06-01 13:32:42 +01:00
Adrien Boulanger
ee91f1b08d T723-027: Implement SignatureHelp
Use P_All_Env_Elements and filter the returned node
to find all the function declaration with the same name.
Fix param type in the generated spec.

Add tests.
2021-04-22 11:16:17 +02:00
Nicolas Setton
338cc01308 U317-021 remove big amount of concatenations
... in lsp-predefined_completion-ada2012.ads, in order
to help LAL process the project.
2021-03-17 13:26:39 +00:00
Maxim Reznik
9501c348db Update gitpod Dockerfile to install GNAT Community 2020 2021-03-15 15:34:25 +02:00
Maxim Reznik
3fc8633c5f TC21-032 Move to LSP 3.16. LogTraceParams, SetTraceParams 2021-03-12 18:34:50 +02:00
Maxim Reznik
acc7eb83de TC21-032 Move to LSP 3.16. labelSupport
in document symbol.
2021-03-12 18:34:50 +02:00
Maxim Reznik
78192984c5 TC21-032 Move to LSP 3.16. file Create/Rename/Delete 2021-03-12 18:34:50 +02:00
Maxim Reznik
bd7188fb79 TC21-032 Move to LSP 3.16. SymbolTag
Add tagSupportCapability and SymbolTag types.
Add a configuration for Generic_Sets to skip writting empty
sets and avoid extra Generic_Optional instances for them.
2021-03-12 18:34:50 +02:00
Maxim Reznik
f4b6a0f362 TC21-032 Move to LSP 3.16. prepareSupportDefaultBehavior
for RenameClientCapabilities.
2021-03-12 18:34:50 +02:00
Maxim Reznik
ba1dc21066 TC21-032 Move to LSP 3.16. CodeActions improvements
resolveProvider, disabledSupport, dataSupport, disabled.
2021-03-12 18:34:50 +02:00
Maxim Reznik
49503bb158 TC21-032 Move to LSP 3.16. resolveSupport 2021-03-12 18:34:50 +02:00