Andry Ogorodnik
7186129614
Apply 1 suggestion(s) to 1 file(s)
...
Co-authored-by: Max Reznik <reznik@adacore.com >
2025-09-25 10:58:08 +00:00
Andry Ogorodnik
bb5146a26a
Swap If Not refactoring
...
For eng/ide/ada_language_server#1672
Depends-On: https://gitlab.adacore-it.com/eng/ide/lal-refactor/-/merge_requests/75
2025-09-25 10:58:08 +00:00
Romain Beguet
3de3b12c28
Update due to recent LAL API change.
...
(cherry picked from commit 9a3378a9ab )
2025-09-19 10:12:55 +00:00
Boulanger
295c20a6fb
Ignore new GNAT Warning
...
For eng/ide/gnatstudio#572
2025-09-17 09:41:32 +00:00
Andry Ogorodnik
9a636069d4
Expand SemanticTokenModifiers enumeration type
...
Added globalVariable & localVariable
For eng/ide/gnatstudio#389
2025-09-08 18:15:41 +00:00
Elie Richa
13cadcef47
Make als-project-file more robust
2025-09-08 15:00:58 +00:00
Boulanger
7c7c5f384d
Fallback indenter extracted from GS Ada_Analyzer
...
Fix test: an assoc list need to finish by a "," or it will
use continuation indentation.
Closes eng/ide/gnatstudio#568
2025-09-05 09:05:17 +00:00
Andry Ogorodnik
54fa13bd8f
New refactoring: Sort case alternatives
...
For eng/ide/ada_language_server#1671
2025-09-02 20:21:42 +03:00
Boulanger
c7383d2bb0
Use Ada-Xdiff library
...
For eng/ide/ada_language_server#1667
2025-09-01 12:19:00 +02:00
Maxim Reznik
a317031430
Add "Delete Entity" refactoring.
2025-08-26 09:18:04 +00:00
Anthony Leonardo Gracio
fc546269c7
Fix foldingRange request for 'loop' statements
...
For eng/ide/ada_language_server#1704
2025-08-12 14:37:00 +00:00
Anthony Leonardo Gracio
e334a5c89e
Disable the logger's code when the trace is not active
...
We should do that for both modes: ALS for Ada and GPR.
For eng/ide/ada_language_server#1701
2025-08-11 16:05:16 +00:00
Anthony Leonardo Gracio
090f54b66e
Disable the logger's code when the trace is not active
...
When the ALS.MAIN.LOGGER trace is disabled, we should not
even register the In/Out loggers.
This increases performance and memmory consumption.
For eng/ide/ada_language_server#1701
2025-08-11 10:50:43 +00:00
Anthony Leonardo Gracio
eddfb6fda9
Avoid printing textEdits for textDocument/formatting
...
This can cause a STORAGE_ERROR on huge files.
Add a test for this.
For eng/ide/ada_language_server#1701
2025-08-08 08:13:01 +00:00
Mathéo Rome
6727aab0d0
Implement Graph Visualization based on LSP request
2025-07-29 15:27:21 +02:00
Anthony Leonardo Gracio
886374fb3f
Revert "Merge branch 'topic/def' into 'master'"
...
This reverts merge request !2049
2025-07-25 08:49:34 +00:00
Joao Azevedo
302dc21658
Change Sort Dependencies code action kind to source.organizeImports
2025-07-22 13:59:24 +00:00
Vadim Godunko
0c775ddd01
Use arrays to speedup execution.
2025-07-20 22:38:46 +04:00
Andry Ogorodnik
263cffca5e
Extract expression implementation
...
For eng/ide/lal-refactor#17
2025-07-18 16:07:51 +00:00
Elie Richa
2067136a1c
Adjust priorities of requests and notifications
2025-07-18 14:05:46 +00:00
Mathéo Rome
fb4ffe1940
Add a custom request to fetch dependency between gpr files projets.
2025-07-16 12:47:36 +00:00
Anthony Leonardo Gracio
bea55ba752
Adapt signatureHelp handler/tests to new Get_Node_At behavior
...
The test was erasing wrongly a newline character, which had for
effect to give wrong signatureHelp results with the new
behavior of Get_Node_At.
Do some cleanup in the signatureHelp handler, to make the code
and its behavior a bit clearer.
For eng/ide/ada_language_server#1686
2025-07-11 08:43:57 +00:00
Anthony Leonardo Gracio
ebe063ed7b
Allow navigation queries right after entities
...
For eng/ide/ada_language_server#1686
2025-07-11 08:43:57 +00:00
Maxim Reznik
55717df6b7
Add to definition response
...
destinations for `begin` and `private` keywords for package,
subprogram, task and protected objects to make navigation
easy.
2025-07-10 17:00:52 +00:00
Maxim Reznik
077b33b312
Minor code refactoring for definition request
...
* Always use `Find_Next_Part_For_Decl` because `Find_Next_Part`
doesn't work for some constructs
* Extract accept statement search and overridings search to
subprograms to make code simpler
2025-07-10 17:00:52 +00:00