159 Commits

Author SHA1 Message Date
Anthony Leonardo Gracio
cf9783fe19 V624-007: Fix memory leaks in lsp-ada_handlers.adb 2022-07-01 12:19:22 +02:00
Anthony Leonardo Gracio
567d5b406f UB25-027: Add a custom request to list source directories
Allowing the extension to query them in order to add them to the workspace
if not already present.

This allows to search for files that come from imported projects that might
not be under the workspace root directory.

This works only for importing non-externally built source directories
for the moment.
2022-06-24 15:54:53 +02:00
Maxim Reznik
2c22be75cb U908-034 Add semantic token range request stubs 2022-05-11 16:20:21 +03:00
Maxim Reznik
5696e6e782 U908-034 Add stubs for a semantic tokens request
`textDocument/semanticTokens/full`.
2022-04-21 14:46:06 +03:00
Maxim Reznik
f1c8a63273 V125-045 Add GPR handler to ALS
This patch introduces a command line option for ALS
to turn it into LSP for GPR language.
2022-01-31 10:50:57 +02:00
Joao Azevedo
f81f7d016f UA28-007 Added file operation requests and notifications
Added different behaviours depending on the change kind.
Improved DidChangeWatchedFiles Notification.
Added test cases.
2021-12-13 09:08:00 +00:00
Vadim Godunko
1d68cf6403 T714-004 Use Virtual_String. 2021-12-07 20:09:27 +03:00
Vadim Godunko
043e8485d2 T714-004 Use Virtual_String into LSP_URI type. 2021-12-07 20:09:27 +03:00
Vadim Godunko
1ef866de2b T714-004 Use Virtual_String in Nullable_String. 2021-12-01 09:55:09 +03:00
Vadim Godunko
cd55385617 T714-004 Use of Virtual_String for optional string. 2021-12-01 09:55:09 +03:00
Vadim Godunko
3a8d6866f8 T714-004 More replacement of LSP_String to Virtual_String. 2021-11-29 22:22:52 +03:00
Joao Azevedo
e847b2e253 S314-015 Simplified ALS_Check_Syntax_Params Image function 2021-11-15 16:55:15 +00:00
Joao Azevedo
28ad0ed8df S314-015 Added 'Add_Parameter' refactoring tool
Added 'Check_Syntax' protocol extension
Added test case for this tool
Adjusted existing test cases of other refactoring tools
2021-11-15 16:55:15 +00: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
de05e4a410 T826-026 Workspace_Symbols Request
Do not process too small pattern because this produces a huge
 response that is useless and costs a while.

Corrections for requests cancelling
2021-09-14 16:30:21 +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
Andry Ogorodnik
41f417aa94 T826-026 Correction for cancelling Workspace_Symbols_Request 2021-09-07 13:11:55 +03:00
Maxim Reznik
9233e60b47 T826-026 Add a generic version of Has_Been_Canceled
to reduce copy/paste.
2021-09-06 14:06:35 +03:00
Vadim Godunko
10517fecb6 U827-008 Increase size of stack for request processing task
... to prevent craches on deep nesting calls in LAL.
2021-09-03 11:15:19 +03:00
Maxim Reznik
5a5d4d720b U224-018 Disable ASCII package as obsolescent 2021-09-01 16:34:17 +03:00
Vadim Godunko
95a6b2b500 T629-024 Qualify type to prevent build failures. 2021-08-20 16:33:54 +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