Various fixes for #174

This commit is contained in:
Pine Wu
2019-04-16 09:59:21 -07:00
parent 0fe4a15b26
commit 631a16f9d5
8 changed files with 14 additions and 5 deletions

View File

@ -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",

View File

@ -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

View File

@ -50,6 +50,7 @@
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},