第一次
This commit is contained in:
52
.vscode/launch.json
vendored
52
.vscode/launch.json
vendored
@@ -1,26 +1,26 @@
|
||||
// A launch configuration that launches the extension inside a new window
|
||||
{
|
||||
"version": "0.1.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Extension",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "npm: build",
|
||||
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
||||
},
|
||||
{
|
||||
"name": "Launch Tests",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceRoot}",
|
||||
"--extensionTestsPath=${workspaceRoot}/test"
|
||||
],
|
||||
"preLaunchTask": "npm: build",
|
||||
}
|
||||
]
|
||||
}
|
||||
// A launch configuration that launches the extension inside a new window
|
||||
{
|
||||
"version": "0.1.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch Extension",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
|
||||
"sourceMaps": true,
|
||||
"preLaunchTask": "npm: build",
|
||||
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
|
||||
},
|
||||
{
|
||||
"name": "Launch Tests",
|
||||
"type": "extensionHost",
|
||||
"request": "launch",
|
||||
"runtimeExecutable": "${execPath}",
|
||||
"args": [
|
||||
"--extensionDevelopmentPath=${workspaceRoot}",
|
||||
"--extensionTestsPath=${workspaceRoot}/test"
|
||||
],
|
||||
"preLaunchTask": "npm: build",
|
||||
}
|
||||
]
|
||||
}
|
||||
|
66
.vscode/tasks.json
vendored
66
.vscode/tasks.json
vendored
@@ -1,34 +1,34 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "build",
|
||||
"group": "build",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: build",
|
||||
"detail": "webpack --mode production"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "package",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: package",
|
||||
"detail": "webpack --mode production && vsce package"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: watch",
|
||||
"detail": "webpack --mode production --watch"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "format",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: format",
|
||||
"detail": "eslint src --ext ts"
|
||||
},
|
||||
]
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "build",
|
||||
"group": "build",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: build",
|
||||
"detail": "webpack --mode production"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "package",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: package",
|
||||
"detail": "webpack --mode production && vsce package"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "watch",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: watch",
|
||||
"detail": "webpack --mode production --watch"
|
||||
},
|
||||
{
|
||||
"type": "npm",
|
||||
"script": "format",
|
||||
"problemMatcher": [],
|
||||
"label": "npm: format",
|
||||
"detail": "eslint src --ext ts"
|
||||
},
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user