1297 Commits

Author SHA1 Message Date
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
Anthony Leonardo Gracio
4f4806bfe4 U921-010: Avoid duplicates in completion
by using full sloc image comparison. This is needed in particular
for inherited subprograms coming from generic packages that are
instantiated multiple times: from the LAL perspective these nodes
are different, which is not what we want for completion.

An automatic test has been added.
2021-09-21 15:39:16 +02:00
Maxim Reznik
624af8dc99 U906-019 Revert project reloading optimization
Let ALS reload project on every configuration change
(if projectFile /= ""). This allows GS to reload project
on demand.
2021-09-20 16:55:44 +03:00
Maxim Reznik
1212978f9e U906-019 Don't skip project reloading
if didChangeConfiguration provides a different charset.
2021-09-16 21:13:00 +03:00
Anthony Leonardo Gracio
57e4ba0faa U915-024: Don't insert 'invisible' in supbs snippets
Add an automatic test.
2021-09-15 16:46:28 +02:00
Andry Ogorodnik
8a198fcdfc U910-017 Document Symbols request with filtration 2021-09-15 16:31:49 +03:00
Maxim Reznik
7bc6ca1ebe U906-019 re-publish diagnostics on project reload
Don't reload project on didChangeConfiguration if GPR/scenario is
the same as before.
2021-09-15 14:20:06 +03:00