Skip to content

Commit 9eade32

Browse files
Merge branch 'topic/category' into 'master'
Use 'category' field instead of prefixing command titles See merge request eng/ide/ada_language_server!2061
2 parents 8d67df8 + 1936699 commit 9eade32

File tree

1 file changed

+43
-22
lines changed

1 file changed

+43
-22
lines changed

integration/vscode/ada/package.json

Lines changed: 43 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,104 +1046,125 @@
10461046
"commands": [
10471047
{
10481048
"command": "ada.restartLanguageServers",
1049-
"title": "Ada: Restart Language Servers",
1049+
"title": "Restart Language Servers",
1050+
"category": "Ada",
10501051
"when": "ADA_PROJECT_CONTEXT"
10511052
},
10521053
{
10531054
"command": "ada.createNewAdaMainUnit",
1054-
"title": "Ada: Create Main Unit",
1055+
"title": "Create Main Unit",
1056+
"category": "Ada",
10551057
"shortTitle": "Ada Main Unit"
10561058
},
10571059
{
10581060
"command": "ada.createNewAdaPackage",
1059-
"title": "Ada: Create Package",
1061+
"title": "Create Package",
1062+
"category": "Ada",
10601063
"shortTitle": "Ada Package"
10611064
},
10621065
{
10631066
"command": "ada.createNewGPRProjectFile",
1064-
"title": "Ada: Create GPR Project File",
1067+
"title": "Create GPR Project File",
1068+
"category": "Ada",
10651069
"shortTitle": "GPR Project File"
10661070
},
10671071
{
10681072
"command": "ada.otherFile",
1069-
"title": "Ada: Go to other file"
1073+
"title": "Go to other file",
1074+
"category": "Ada"
10701075
},
10711076
{
10721077
"command": "als-reload-project",
1073-
"title": "Ada: Reload project",
1078+
"title": "Reload project",
1079+
"category": "Ada",
10741080
"icon": "$(refresh)"
10751081
},
10761082
{
10771083
"command": "als-open-project-file",
1078-
"title": "Ada: Edit current project file"
1084+
"title": "Edit current project file",
1085+
"category": "Ada"
10791086
},
10801087
{
10811088
"command": "als-open-log-file",
1082-
"title": "Ada: Open Ada Language Server log file"
1089+
"title": "Open Ada Language Server log file",
1090+
"category": "Ada"
10831091
},
10841092
{
10851093
"command": "ada.subprogramBox",
1086-
"title": "Ada: Add subprogram box"
1094+
"title": "Add subprogram box",
1095+
"category": "Ada"
10871096
},
10881097
{
10891098
"command": "ada.showExtensionOutput",
1090-
"title": "Ada: Show extension output",
1099+
"title": "Show extension output",
1100+
"category": "Ada",
10911101
"when": "ADA_PROJECT_CONTEXT"
10921102
},
10931103
{
10941104
"command": "ada.showAdaLSOutput",
1095-
"title": "Ada: Show Ada Language Server output",
1105+
"title": "Show Ada Language Server output",
1106+
"category": "Ada",
10961107
"when": "ADA_PROJECT_CONTEXT"
10971108
},
10981109
{
10991110
"command": "ada.showGprLSOutput",
1100-
"title": "Ada: Show GPR Language Server output",
1111+
"title": "Show GPR Language Server output",
1112+
"category": "Ada",
11011113
"when": "ADA_PROJECT_CONTEXT"
11021114
},
11031115
{
11041116
"command": "ada.addMissingDirsToWorkspace",
1105-
"title": "Ada: Add Missing Source Directories To Workspace",
1117+
"title": "Add Missing Source Directories To Workspace",
1118+
"category": "Ada",
11061119
"when": "ADA_PROJECT_CONTEXT"
11071120
},
11081121
{
11091122
"command": "ada.buildAndRunMainAsk",
1110-
"title": "Ada: Build and run project main...",
1123+
"title": "Build and run project main...",
1124+
"category": "Ada",
11111125
"icon": "$(run-all)",
11121126
"when": "ADA_PROJECT_CONTEXT"
11131127
},
11141128
{
11151129
"command": "ada.buildAndRunMainLast",
1116-
"title": "Ada: Build and run last used main",
1130+
"title": "Build and run last used main",
1131+
"category": "Ada",
11171132
"icon": "$(run)",
11181133
"when": "ADA_PROJECT_CONTEXT"
11191134
},
11201135
{
11211136
"command": "ada.spark.tasks.proveFile",
1122-
"title": "spark: Prove file (task wrapper)",
1137+
"title": "Prove file (task wrapper)",
1138+
"category": "SPARK",
11231139
"when": "editorLangId == ada && editorTextFocus"
11241140
},
11251141
{
11261142
"command": "ada.spark.tasks.proveSubprogram",
1127-
"title": "spark: Prove subprogram (task wrapper)",
1143+
"title": "Prove subprogram (task wrapper)",
1144+
"category": "SPARK",
11281145
"when": "editorLangId == ada && editorTextFocus"
11291146
},
11301147
{
11311148
"command": "ada.spark.tasks.proveSelectedRegion",
1132-
"title": "spark: Prove selected region (task wrapper)",
1149+
"title": "Prove selected region (task wrapper)",
1150+
"category": "SPARK",
11331151
"when": "editorLangId == ada && editorTextFocus"
11341152
},
11351153
{
11361154
"command": "ada.spark.tasks.proveLine",
1137-
"title": "spark: Prove line (task wrapper)",
1155+
"title": "Prove line (task wrapper)",
1156+
"category": "SPARK",
11381157
"when": "editorLangId == ada && editorTextFocus"
11391158
},
11401159
{
11411160
"command": "ada.loadGnatCovXMLReport",
1142-
"title": "ada: GNATcoverage - Load an existing XML coverage report"
1161+
"category": "Ada",
1162+
"title": "GNATcoverage - Load an existing XML coverage report"
11431163
},
11441164
{
11451165
"command": "ada.issueReporter",
1146-
"title": "Ada: Report Issue"
1166+
"category": "Ada",
1167+
"title": "Report Issue"
11471168
}
11481169
],
11491170
"keybindings": [
@@ -1434,4 +1455,4 @@
14341455
"winston": "3.14.2",
14351456
"ws": "^8.18.0"
14361457
}
1437-
}
1458+
}

0 commit comments

Comments
 (0)