Andry Ogorodnik
3c5018677b
Support gprbuild's configuration file
...
`gprConfigurationFile` configuration option can be used to set
configuration file name that will be passed to GPR2
For eng/ide/gnatstudio#453
2024-12-16 08:34:54 +00:00
Anthony Leonardo Gracio
a82ec5ae19
Use first received configuration as base one if not set yet
...
For eng/ide/ada_language_server#1554
2024-12-12 10:59:13 +00:00
Anthony Leonardo Gracio
4bdac9e03c
Workspace-specific diagnostics for project issues
...
A new kind of diagnostics' source has been introduced for that.
These diagnostics are published on the root directory's URI instead
on files being opened.
For eng/ide/ada_language_server#1524
2024-12-11 11:02:30 +00:00
Elie Richa
5fffa91c36
Factorize the logic for deciding if a project reload is needed
2024-12-06 15:21:28 +00:00
Elie Richa
3f50dc72e4
Fix accessing XDG_CONFIG_HOME and the user home directory on Windows
2024-12-05 18:06:44 +00:00
Elie Richa
1044ed595f
Address vscode-only settings in the settings-doc test
2024-12-05 11:06:52 +00:00
Elie Richa
98ec0eed0e
Support resetting settings to the initial state
2024-12-05 11:06:52 +00:00
Elie Richa
774eab6f97
Make the ALS more verbose about errors while testing
2024-12-05 11:06:51 +00:00
Elie Richa
9f983537bd
Load a global settings file and a workspace .als.json
2024-12-05 11:06:51 +00:00
Elie Richa
40af476897
Move environment values to a common package
2024-12-05 11:00:50 +00:00
Boulanger
0eaecc9475
Change detection of sources using GPR2
...
LAL project provider is also using GPR2 Project_Tree and
they are not been designed to support Update_Sources.
The only solution is to do a full reload to recreate the
contexts.
Also add defensive code when trying to access the potential
undefined source.
Add missing blocking priority for didCreate/Rename/Delete-Files
Add tests.
Closes eng/ide/ada_language_server#1465
2024-12-04 17:00:30 +00:00
Anthony Leonardo Gracio
116f3cdf80
Enable 'showNotificationsOnErrors' to ALS developers
...
This makes ALS request failures more visible when developing.
For eng/ide/ada_language_server#1510
2024-12-04 09:15:22 +00:00
Anthony Leonardo Gracio
fdab44f675
Add a setting to disable popups on LSP errors
...
And disable it by default: these error popups are too noisy for
normal users.
We still have ALS logs and traces output from VS Code when we need
to investigate deeper.
For eng/ide/ada_language_server#1510
2024-12-04 09:15:22 +00:00
Anthony Leonardo Gracio
f3ce10de3d
Use RequestFailed error code for formatting errors
...
And reword the error messages.
For eng/ide/ada_language_server#1510
2024-12-04 09:15:22 +00:00
Boulanger
02daf225c1
Change diff representation
...
"-" for the expected result
"+" for the test result
no-issue-check
2024-11-28 16:55:06 +00:00
Anthony Leonardo Gracio
1b47b77101
Handle parsing failures of traces configuration files
...
We now fallback to default traces configuration instead of
crashing.
Add a test for that.
For eng/ide/ada_language_server#1497
2024-11-28 13:07:43 +00:00
Elie Richa
8172ee77db
Improve error logging for all notifications and requests
2024-11-28 11:08:23 +00:00
Elie Richa
154a5b674b
Fix project loading test to send missing 'initialized' notification
2024-11-28 11:08:23 +00:00
Elie Richa
e74b596e42
Rework project loading logic
...
* Parse settings from the initializationOptions of the 'initialize'
request
* Perform actual project loading upon the 'initialized' notification
* Make sure the priority of project file search is always honored
2024-11-28 11:08:23 +00:00
Elie Richa
406b71f711
Improve Alire interactions and logging
2024-11-28 11:08:23 +00:00
Guillaume Rivier
60879d2ce5
Add missing Subdirs attribute to Analyzer package
...
The attribute was introduced in
https://gitlab.adacore-it.com/eng/codepeer/codepeer/-/issues/1278 .
2024-11-28 00:55:19 +00:00
Vadim Godunko
73aae8526f
Minor reformatting
...
(cherry picked from commit a45f57c71f )
2024-11-25 10:27:25 +00:00
Vadim Godunko
acfa3f6f05
Rewrite To_LSP_Column to compute LSP column index at the end
...
(cherry picked from commit 5e7c0b9e98 )
2024-11-25 10:27:25 +00:00
Elie Richa
0dc1f41d8e
Hard-reset to previous good state on edge branch
...
(cherry picked from commit 96ed81c350 )
2024-11-25 10:27:25 +00:00
Boulanger
de4618de9d
Fix Proof.Switches attribute type
...
Adapt test
Closes eng/ide/ada_language_server#1506
2024-11-23 08:27:30 +00:00