Skip to content

Commit 59d95a1

Browse files
authored
Renamed command category from ObjectScript to Consistem for consistent branding (#43)
1 parent 10951a2 commit 59d95a1

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"when": "vscode-objectscript.connectActive"
129129
},
130130
{
131-
"command": "vscode-objectscript.getGlobalDocumentation",
131+
"command": "vscode-objectscript.ccs.getGlobalDocumentation",
132132
"when": "editorLangId =~ /^objectscript/ && vscode-objectscript.connectActive"
133133
},
134134
{
@@ -858,33 +858,28 @@
858858
],
859859
"commands": [
860860
{
861-
"category": "ObjectScript",
862-
"command": "vscode-objectscript.export",
863-
"title": "Export Code from Server"
864-
},
865-
{
866-
"category": "ObjectScript",
867-
"command": "vscode-objectscript.resolveContextExpression",
861+
"category": "Consistem",
862+
"command": "vscode-objectscript.ccs.resolveContextExpression",
868863
"title": "Resolve Context Expression"
869864
},
870865
{
871-
"category": "ObjectScript",
872-
"command": "vscode-objectscript.getGlobalDocumentation",
866+
"category": "Consistem",
867+
"command": "vscode-objectscript.ccs.getGlobalDocumentation",
873868
"title": "Show Global Documentation",
874869
"enablement": "vscode-objectscript.connectActive"
875870
},
876871
{
877-
"category": "ObjectScript",
872+
"category": "Consistem",
878873
"command": "vscode-objectscript.ccs.goToDefinition",
879874
"title": "Go to Definition"
880875
},
881876
{
882-
"category": "ObjectScript",
877+
"category": "Consistem",
883878
"command": "vscode-objectscript.ccs.followDefinitionLink",
884879
"title": "Follow Definition Link"
885880
},
886881
{
887-
"category": "ObjectScript",
882+
"category": "Consistem",
888883
"command": "vscode-objectscript.ccs.followSourceAnalysisLink",
889884
"title": "Follow Source Analysis Link"
890885
},
@@ -893,6 +888,11 @@
893888
"command": "vscode-objectscript.ccs.createItem",
894889
"title": "Create Item"
895890
},
891+
{
892+
"category": "ObjectScript",
893+
"command": "vscode-objectscript.export",
894+
"title": "Export Code from Server"
895+
},
896896
{
897897
"category": "ObjectScript",
898898
"command": "vscode-objectscript.compile",
@@ -994,7 +994,7 @@
994994
},
995995
{
996996
"category": "ObjectScript",
997-
"command": "vscode-objectscript.getGlobalDocumentation",
997+
"command": "vscode-objectscript.ccs.getGlobalDocumentation",
998998
"enablement": "vscode-objectscript.connectActive",
999999
"title": "Show Global Documentation"
10001000
},
@@ -1285,13 +1285,13 @@
12851285
"when": "editorLangId =~ /^objectscript/"
12861286
},
12871287
{
1288-
"command": "vscode-objectscript.resolveContextExpression",
1288+
"command": "vscode-objectscript.ccs.resolveContextExpression",
12891289
"key": "Ctrl+Alt+Space",
12901290
"mac": "Cmd+Alt+Space",
12911291
"when": "editorTextFocus && editorLangId =~ /^objectscript/"
12921292
},
12931293
{
1294-
"command": "vscode-objectscript.getGlobalDocumentation",
1294+
"command": "vscode-objectscript.ccs.getGlobalDocumentation",
12951295
"key": "Ctrl+Q",
12961296
"mac": "Cmd+Q",
12971297
"when": "editorTextFocus && editorLangId =~ /^objectscript/"

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
12911291
sendCommandTelemetryEvent("copyToClipboard");
12921292
vscode.env.clipboard.writeText(command);
12931293
}),
1294-
vscode.commands.registerCommand("vscode-objectscript.resolveContextExpression", () => {
1294+
vscode.commands.registerCommand("vscode-objectscript.ccs.resolveContextExpression", () => {
12951295
sendCommandTelemetryEvent("resolveContextExpression");
12961296
void resolveContextExpression();
12971297
}),
@@ -1422,7 +1422,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<any> {
14221422
sendCommandTelemetryEvent("viewOthers");
14231423
viewOthers(false);
14241424
}),
1425-
vscode.commands.registerCommand("vscode-objectscript.getGlobalDocumentation", () => {
1425+
vscode.commands.registerCommand("vscode-objectscript.ccs.getGlobalDocumentation", () => {
14261426
sendCommandTelemetryEvent("getGlobalDocumentation");
14271427
void showGlobalDocumentation();
14281428
}),

0 commit comments

Comments
 (0)