Skip to content

Commit 7af1652

Browse files
author
Philippe Gil
committed
Merge branch '1248-support-of-legacy-attributes' into 'master'
Register at als/gpr startup packages/attributes related to IDE & others gnat tools Closes #1248 See merge request eng/ide/ada_language_server!1441
2 parents 37c76ea + 8b8759e commit 7af1652

File tree

3 files changed

+1237
-0
lines changed

3 files changed

+1237
-0
lines changed

source/ada/lsp-ada_driver.adb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ with LSP.Ada_Handlers.Suspend_Executions;
6565
with LSP.GNATCOLL_Trace_Streams;
6666
with LSP.GNATCOLL_Tracers;
6767
with LSP.GPR_Handlers;
68+
with LSP.GPR_External_Tools;
6869
with LSP.Memory_Statistics;
6970
with LSP.Predefined_Completion;
7071
with LSP.Secure_Message_Loggers;
@@ -339,6 +340,9 @@ begin
339340

340341
begin
341342
if VSS.Command_Line.Is_Specified (Language_GPR_Option) then
343+
344+
LSP.GPR_External_Tools.Initialize_Extra_Packages_Attributes;
345+
342346
Server.Run
343347
(GPR_Handler'Unchecked_Access,
344348
Tracer'Unchecked_Access,

0 commit comments

Comments
 (0)