File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
testsuite/gpr_lsp/completion_package_resolve Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ package body LSP.GPR_External_Tools is
203203 if not Exists (Name) then
204204 Add (Name, Projects);
205205 end if ;
206- if Get_Package_Description (Name)'Length > 0
206+ if Get_Package_Description (Name)'Length = 0
207207 and then Description'Length > 0
208208 then
209209 Set_Package_Description (Name, Description);
Original file line number Diff line number Diff line change 578578 }
579579 ]
580580 }
581+ },
582+ {
583+ "send" : {
584+ "request" : {
585+ "id" : 13 ,
586+ "method" : " completionItem/resolve" ,
587+ "params" : {
588+ "label" : " Ide" ,
589+ "insertTextFormat" : 1 ,
590+ "data" : [
591+ " Ide"
592+ ]
593+ }
594+ },
595+ "wait" : [
596+ {
597+ "id" : 13 ,
598+ "result" : {
599+ "label" : " Ide" ,
600+ "documentation" : " This package specifies the options used by 'gnatstudio' IDE." ,
601+ "insertTextFormat" : 1 ,
602+ "data" : [
603+ " Ide"
604+ ]
605+ }
606+ }
607+ ]
608+ }
581609 },
582610 {
583611 "stop" : {
You can’t perform that action at this time.
0 commit comments