File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
- // The module 'vscode' contains the VS Code extensibility API
3
- // Import the module and reference it with the alias vscode in your code below
4
2
import * as vscode from 'vscode' ;
5
3
import * as process from 'child_process' ;
6
4
7
-
8
- // this method is called when your extension is activated
9
- // your extension is activated the very first time the command is executed
10
5
export function activate ( context : vscode . ExtensionContext ) {
11
- // The command has been defined in the package.json file
12
- // Now provide the implementation of the command with registerCommand
13
- // The commandId parameter must match the command field in package.json
14
6
let disposable = vscode . commands . registerCommand ( 'pico8.runCart' , ( ) => {
15
7
if ( ! vscode . window || ! vscode . window . activeTextEditor ) {
16
8
vscode . window . showInformationMessage ( "Error: Unable to find current document to execute." ) ;
@@ -72,6 +64,5 @@ export function activate(context: vscode.ExtensionContext) {
72
64
context . subscriptions . push ( disposable ) ;
73
65
}
74
66
75
- // this method is called when your extension is deactivated
76
67
export function deactivate ( ) {
77
68
}
You can’t perform that action at this time.
0 commit comments