Add play/debug buttons to editor title bar for single file debugging (#856)
* Add play/debug buttons to editor title bar for single file debugging Signed-off-by: Jinbo Wang <jinbwan@microsoft.com> * address review comments Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
This commit is contained in:
parent
d5d85a65f2
commit
68b012bc68
|
@ -6,3 +6,4 @@ node_modules
|
|||
vscode-java-debug-*.vsix
|
||||
packages/
|
||||
dist
|
||||
.DS_Store
|
|
@ -18,3 +18,4 @@ packages
|
|||
package-lock.json
|
||||
node_modules
|
||||
webpack.config.js
|
||||
.DS_Store
|
|
@ -49,9 +49,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"@types/vscode": {
|
||||
"version": "1.42.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.42.0.tgz",
|
||||
"integrity": "sha512-ds6TceMsh77Fs0Mq0Vap6Y72JbGWB8Bay4DrnJlf5d9ui2RSe1wis13oQm+XhguOeH1HUfLGzaDAoupTUtgabw==",
|
||||
"version": "1.47.0",
|
||||
"resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.47.0.tgz",
|
||||
"integrity": "sha512-nJA37ykkz9FYA0ZOQUSc3OZnhuzEW2vUhUEo4MiduUo82jGwwcLfyvmgd/Q7b0WrZAAceojGhZybg319L24bTA==",
|
||||
"dev": true
|
||||
},
|
||||
"@webassemblyjs/ast": {
|
||||
|
|
22
package.json
22
package.json
|
@ -14,7 +14,7 @@
|
|||
"debugger"
|
||||
],
|
||||
"engines": {
|
||||
"vscode": "^1.42.0"
|
||||
"vscode": "^1.47.3"
|
||||
},
|
||||
"license": "SEE LICENSE IN LICENSE.txt",
|
||||
"repository": {
|
||||
|
@ -60,11 +60,13 @@
|
|||
},
|
||||
{
|
||||
"command": "java.debug.runJavaFile",
|
||||
"title": "Run"
|
||||
"title": "Run",
|
||||
"icon": "$(play)"
|
||||
},
|
||||
{
|
||||
"command": "java.debug.debugJavaFile",
|
||||
"title": "Debug"
|
||||
"title": "Debug",
|
||||
"icon": "$(debug-alt-small)"
|
||||
},
|
||||
{
|
||||
"command": "java.debug.continueAll",
|
||||
|
@ -108,6 +110,18 @@
|
|||
"group": "javadebug@2"
|
||||
}
|
||||
],
|
||||
"editor/title": [
|
||||
{
|
||||
"command": "java.debug.runJavaFile",
|
||||
"when": "resourceExtname == .java",
|
||||
"group": "1_run@10"
|
||||
},
|
||||
{
|
||||
"command": "java.debug.debugJavaFile",
|
||||
"when": "resourceExtname == .java",
|
||||
"group": "1_run@20"
|
||||
}
|
||||
],
|
||||
"debug/toolBar": [
|
||||
{
|
||||
"command": "java.debug.hotCodeReplace",
|
||||
|
@ -686,7 +700,7 @@
|
|||
"@types/lodash": "^4.14.137",
|
||||
"@types/mocha": "^5.2.7",
|
||||
"@types/node": "^8.10.51",
|
||||
"@types/vscode": "1.42.0",
|
||||
"@types/vscode": "1.47.0",
|
||||
"cross-env": "^5.2.0",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-tslint": "^8.1.4",
|
||||
|
|
Loading…
Reference in New Issue