Skip to content

Commit 76084fe

Browse files
author
Tyler Deemer
committed
Corrected titles and added missing semicolons
1 parent 4e4d67f commit 76084fe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,12 @@
413413
{
414414
"category": "ObjectScript",
415415
"command": "vscode-objectscript.studio.actions",
416-
"title": "Studio actions"
416+
"title": "Studio Actions"
417417
},
418418
{
419419
"category": "ObjectScript",
420420
"command": "vscode-objectscript.studio.contextActions",
421-
"title": "Studio context actions"
421+
"title": "Studio Context Actions"
422422
}
423423
],
424424
"keybindings": [

src/commands/studio.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class StudioActions {
156156
const filetype = splitClassname[splitClassname.length - 1];
157157
const isCorrectMethod = (text: string) => (filetype === "cls")
158158
? text.match("Method " + method)
159-
: text.startsWith(method)
159+
: text.startsWith(method);
160160

161161
const uri = DocumentContentProvider.getUri(classname);
162162
vscode.window.showTextDocument(uri, {"preview": false}).then(newEditor => {
@@ -331,7 +331,7 @@ class StudioActions {
331331
// Save all documents
332332
if(bitString.charAt(2) === "1") {
333333
for(const document of vscode.workspace.textDocuments) {
334-
await saveAndCompile(document)
334+
await saveAndCompile(document);
335335
}
336336
}
337337
}
@@ -380,7 +380,7 @@ function getOtherStudioActionLabel(action: OtherStudioAction): string {
380380
case OtherStudioAction.ConnectedToNewNamespace:
381381
label = "Changed Namespace";
382382
case OtherStudioAction.FirstTimeDocumentSave:
383-
label = "Saved Document to Server for the First Time"
383+
label = "Saved Document to Server for the First Time";
384384
}
385385
return label;
386386
}

0 commit comments

Comments
 (0)