diff --git a/fsprovider-sample/.vscode/launch.json b/fsprovider-sample/.vscode/launch.json index 0a9decf8..a07aa3e6 100644 --- a/fsprovider-sample/.vscode/launch.json +++ b/fsprovider-sample/.vscode/launch.json @@ -1,6 +1,6 @@ // A launch configuration that compiles the extension and then opens it inside a new window { - "version": "0.1.0", + "version": "0.2.0", "configurations": [ { "name": "Launch Extension", diff --git a/statusbar-sample/.vscode/launch.json b/statusbar-sample/.vscode/launch.json index 54cc3422..084dd5dd 100644 --- a/statusbar-sample/.vscode/launch.json +++ b/statusbar-sample/.vscode/launch.json @@ -1,6 +1,6 @@ // A launch configuration that compiles the extension and then opens it inside a new window { - "version": "0.1.0", + "version": "0.2.0", "configurations": [ { "name": "Launch Extension", diff --git a/theme-sample/.vscode/launch.json b/theme-sample/.vscode/launch.json index d0d36fea..228a6c7d 100644 --- a/theme-sample/.vscode/launch.json +++ b/theme-sample/.vscode/launch.json @@ -1,6 +1,6 @@ // A launch configuration that compiles the extension and then opens it inside a new window { - "version": "0.1.0", + "version": "0.2.0", "configurations": [ { "name": "Launch Extension", diff --git a/vim-sample/package.json b/vim-sample/package.json index 7d27c1dc..0e928712 100644 --- a/vim-sample/package.json +++ b/vim-sample/package.json @@ -66,6 +66,7 @@ }, "scripts": { "vscode:prepublish": "tsc -p ./", + "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "postinstall": "node ./node_modules/vscode/bin/install" }, diff --git a/virtual-document-sample/.vscode/launch.json b/virtual-document-sample/.vscode/launch.json index 54cc3422..084dd5dd 100644 --- a/virtual-document-sample/.vscode/launch.json +++ b/virtual-document-sample/.vscode/launch.json @@ -1,6 +1,6 @@ // A launch configuration that compiles the extension and then opens it inside a new window { - "version": "0.1.0", + "version": "0.2.0", "configurations": [ { "name": "Launch Extension", diff --git a/virtual-document-sample/README.md b/virtual-document-sample/README.md index 57cfd9f5..a1cb8461 100644 --- a/virtual-document-sample/README.md +++ b/virtual-document-sample/README.md @@ -12,3 +12,10 @@ This is a sample extension that shows how to add virtual documents to the editor - [`workspace.registerTextDocumentContentProvider`](https://code.visualstudio.com/api/references/vscode-api#workspace.registerTextDocumentContentProvider) - [`commands.registerCommand`](https://code.visualstudio.com/api/references/vscode-api#commands.registerCommand) - [`window.showInputBox`](https://code.visualstudio.com/api/references/vscode-api#window.showInputBox) + +## Running the Sample + +- Run `npm install` in terminal to install dependencies +- Run the `Launch Extension` target in the Debug View. This will: + - Start a task `npm: watch` to compile the code + - Run the extension in a new VS Code window diff --git a/virtual-document-sample/package.json b/virtual-document-sample/package.json index d7d2ffa4..cfee6116 100644 --- a/virtual-document-sample/package.json +++ b/virtual-document-sample/package.json @@ -50,6 +50,7 @@ }, "scripts": { "vscode:prepublish": "tsc -p ./", + "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "postinstall": "node ./node_modules/vscode/bin/install" }, diff --git a/webpack-sample/.vscode/launch.json b/webpack-sample/.vscode/launch.json index f3f93a4a..e0a96d6a 100644 --- a/webpack-sample/.vscode/launch.json +++ b/webpack-sample/.vscode/launch.json @@ -1,6 +1,6 @@ // A launch configuration that compiles the extension and then opens it inside a new window { - "version": "0.1.0", + "version": "0.2.0", "configurations": [ { "name": "Launch Extension",