Change priorities of GPR-based commands

These commands can be executed immediately to unblock
the Ada & SPARK VS Code extension when some Ada file
editors are already opened.

This allows to speed-up the extension's initialization, triggering
the indexing sooner.

For eng/ide/ada_language_server#1473
This commit is contained in:
Anthony Leonardo Gracio
2024-10-22 14:53:10 +00:00
parent ea839bbf03
commit 26c1fefa88
3 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ private
overriding function Priority (Self : Command)
return LSP.Server_Jobs.Job_Priority
is (LSP.Server_Jobs.Low);
is (LSP.Server_Jobs.Immediate);
for Command'External_Tag use "als-executables";

View File

@@ -43,7 +43,7 @@ private
overriding function Priority (Self : Command)
return LSP.Server_Jobs.Job_Priority
is (LSP.Server_Jobs.Low);
is (LSP.Server_Jobs.Immediate);
for Command'External_Tag use "als-other-file";

View File

@@ -47,7 +47,7 @@ private
overriding function Priority (Self : Command)
return LSP.Server_Jobs.Job_Priority
is (LSP.Server_Jobs.Low);
is (LSP.Server_Jobs.Immediate);
for Command'External_Tag use "als-show-dependencies";