You've already forked ada_language_server
mirror of
https://github.com/AdaCore/ada_language_server.git
synced 2026-02-12 12:45:50 -08:00
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:
@@ -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";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user