Skip to content

Commit 2a479c4

Browse files
committed
Code refactoring.
Move all code to extract code snippets/documentation into the own package. Remove unused parameter.
1 parent f6823fa commit 2a479c4

9 files changed

+651
-616
lines changed

source/ada/lsp-ada_completions-generic_assoc.adb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
------------------------------------------------------------------------------
22
-- Language Server Protocol --
33
-- --
4-
-- Copyright (C) 2022, AdaCore --
4+
-- Copyright (C) 2022-2023, AdaCore --
55
-- --
66
-- This is free software; you can redistribute it and/or modify it under --
77
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -20,7 +20,7 @@ with GNATCOLL.Traces;
2020
with Laltools.Common;
2121
with Libadalang.Doc_Utils;
2222
with LSP.Ada_Documents;
23-
with LSP.Common;
23+
with LSP.Ada_Documentation;
2424
with LSP.Lal_Utils;
2525
with LSP.Types;
2626
with VSS.Strings.Character_Iterators;
@@ -497,7 +497,7 @@ package body LSP.Ada_Completions.Generic_Assoc is
497497

498498
procedure Add_Signature (Spec : Assoc_Data) is
499499
Signature : LSP.Messages.SignatureInformation :=
500-
(label => LSP.Common.Get_Hover_Text (Spec.Decl),
500+
(label => LSP.Ada_Documentation.Get_Hover_Text (Spec.Decl),
501501
documentation =>
502502
(Is_Set => True,
503503
Value =>

0 commit comments

Comments
 (0)