Anthony Leonardo Gracio
3832a50276
V202-064: add safety checks in completion
...
In both invisible and aggregate completion providers.
2022-03-30 11:30:05 +02:00
Anthony Leonardo Gracio
715516b003
V225-028: Don't try to complete Ada_Node_List nodes
...
This can happen when completion is trigerred while typing
within a comment for instance. Make sure to not try to complete
list of nodes, avoiding ALS hangs.
2022-03-29 14:42:55 +02:00
Anthony Leonardo Gracio
1b789732ac
V202-064: Make ALS more robust to several didOpen
...
by using Include instead of Insert, allowing the client
to send several didOpen notifications for the same
document.
2022-03-18 16:06:07 +01:00
Anthony Leonardo Gracio
c79ca47a7a
V202-064: Add nullity check for completion
2022-03-17 15:03:48 +01:00
Maxim Reznik
61fed4a2c4
UC13-013 Don't keep Libadalang's Defining_Name objects
...
This should fix stale_reference_error exceptions.
2022-02-09 14:01:21 +02:00
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