1303 Commits

Author SHA1 Message Date
Anthony Leonardo Gracio
5e47473dab UC21-003: Fix regression 2021-12-21 10:18:38 +01:00
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
Anthony Leonardo Gracio
e7d0f84bbc UC01-021: recompute predefined tasks when scenario vars change
The predefined tasks for gprbuild should be recomputed when the scenario
variables change, to provide the right command line when building.
2021-12-10 17:17:18 +01:00
Adrien Boulanger
1dff249351 UA20-011: Fix completion parameter sort when having >10 results
Separate the completion parameter results using a "+" before and
properly index them.
2021-10-29 11:02:56 +02:00
Adrien Boulanger
74d2224f5d UA21-041: Parameters completion handling of dotted call
Add a test
2021-10-27 11:42:22 +02:00
Anthony Leonardo Gracio
03a462e132 UA20-006: Use P_Canonical_Part to avoid duplicates
This will return the same Defining_Node for subprogram declarations
and bodies, avoiding duplicates that might be returned by LAL.

Add an automatic test.
2021-10-22 14:56:49 +02:00
Anthony Leonardo Gracio
c3ef688cc9 UA06-031: Don't check for tokens in Is_End_Label filter
Since we are only trying to detect end name nodes. This
allows to have keyword completion after 'end', for instance
in 'end loop'.
v22.0.0
2021-10-07 10:54:56 +02:00
Adrien Boulanger
ecca1024e5 Adapt test on edge after LAL improvements...
... this is related to a better handling of "A => " when no value
is provided (before the related nodes were discarded).
2021-10-07 10:23:13 +02:00
Joao Azevedo
55974bc20c UA06-051 Added check to process comments 2021-10-06 17:30:41 +01:00
Anthony Leonardo Gracio
3b06b62d39 UA06-032: Add completion for attributes
All the tests have been adapted.
2021-10-06 17:27:50 +02:00
Anthony Leonardo Gracio
2a66172f6d UA05-024: Add special case in completion for end names
The existing automatic test has been adapted.
2021-10-06 16:57:28 +02:00
Maxim Reznik
9060f06b37 U922-009 Don't index files after shutdown request
because it's useless and causes timeout on some tests.
2021-10-06 16:30:52 +03:00
Etienne Servais
8f36742437 Add integration with vim-lsp
Contrary to cocvim, this plugin does not require node.js.
2021-10-05 16:47:45 +03:00
Joao Azevedo
a9f892ca47 U415-027 Added support to resourceOperations client capability
File creations/deletions/renames are sent according to the capabilities
sent by the client in `workspace.workspaceEdit.resourceOperations`.
Added a test case where a top level declartion is renamed and file renames
are computed but not sent.
2021-10-05 12:16:09 +02:00
Joao Azevedo
a77520b433 U415-027 Added file renaming of top level decls
Added test cases for this functionality.
Updated test suite baseline.
2021-10-05 12:16:09 +02:00
Joao Azevedo
5397463d4d U415-027 Baseline update: use new safe rename interface 2021-10-05 12:16:09 +02:00
Maxim Reznik
6e40d21e9f U922-009 Use GCC 11 toolchain by alire
and get rid of outdated GNAT CE 2020 for Mac OS
2021-10-03 20:15:17 +03:00
Adrien Boulanger
23e6c2b782 U929-049: Completion param provider enhancement
- Add documentation for "Params of X" item (use lazy computation
if possible)
- Keep the results grouped by family
- Fix the kind of param item
- Fix wrong sortText for invisible symbols

Adapt tests
2021-10-01 15:44:37 +02:00
Adrien Boulanger
0ace5e7931 U929-027: Various completion provider enhancement.
- don't trigger completion when inside a string literal
- add "," as a trigger character to automatically
have "completion parameter" when writing.
- automatically add a whitespace when adding a parameter after
a ","

Adapt the tests.
2021-09-30 16:41:44 +02: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
Maxim Reznik
39b4b9fdf7 U218-014 Add task provider for gnatprove
Update ada problem matcher regexp to accept more severities kinds.
2021-09-29 00:28:32 +03:00
Adrien Boulanger
9d720bef7f U913-028: Completion provider for parameters
For a function call, propose a snippet with all parameters or
the parameters individually.
The choices are filtered using the previous designators.

Add a test.
2021-09-28 14:45:10 +02: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