Skip to content

Commit 60d5298

Browse files
Merge branch 'topic/contextual-menus' into 'master'
Add editor contextual menus for some Ada commands Closes #1477 See merge request eng/ide/ada_language_server!1749
2 parents 5d0fef1 + 96af0fa commit 60d5298

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

integration/vscode/ada/package.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,19 @@
858858
},
859859
{
860860
"command": "ada.subprogramBox",
861-
"when": "ADA_PROJECT_CONTEXT"
861+
"when": "editorLangId == ada"
862+
}
863+
],
864+
"editor/context": [
865+
{
866+
"command": "ada.otherFile",
867+
"group": "ada",
868+
"when": "editorLangId == ada"
869+
},
870+
{
871+
"command": "ada.subprogramBox",
872+
"group": "ada",
873+
"when": "editorLangId == ada"
862874
}
863875
],
864876
"editor/title/run": [

0 commit comments

Comments
 (0)