Adopt new 'run' menu in editor title (#956)

* Adopt new 'run' menu in editor title

Signed-off-by: Sheng Chen <sheche@microsoft.com>
This commit is contained in:
Sheng Chen 2021-03-11 15:44:36 +08:00 committed by GitHub
parent bf4f4597f8
commit f7dc675995
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

6
package-lock.json generated
View File

@ -103,9 +103,9 @@
"dev": true "dev": true
}, },
"@types/vscode": { "@types/vscode": {
"version": "1.49.0", "version": "1.54.0",
"resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.49.0.tgz", "resolved": "https://registry.npmjs.org/@types/vscode/-/vscode-1.54.0.tgz",
"integrity": "sha512-wfNQmLmm1VdMBr6iuNdprWmC1YdrgZ9dQzadv+l2eSjJlElOdJw8OTm4RU4oGTBcfvG6RZI2jOcppkdSS18mZw==", "integrity": "sha512-sHHw9HG4bTrnKhLGgmEiOS88OLO/2RQytUN4COX9Djv81zc0FSZsSiYaVyjNidDzUSpXsySKBkZ31lk2/FbdCg==",
"dev": true "dev": true
}, },
"@webassemblyjs/ast": { "@webassemblyjs/ast": {

View File

@ -14,7 +14,7 @@
"debugger" "debugger"
], ],
"engines": { "engines": {
"vscode": "^1.49.0" "vscode": "^1.54.0"
}, },
"license": "SEE LICENSE IN LICENSE.txt", "license": "SEE LICENSE IN LICENSE.txt",
"repository": { "repository": {
@ -60,12 +60,12 @@
}, },
{ {
"command": "java.debug.runJavaFile", "command": "java.debug.runJavaFile",
"title": "Run", "title": "Run with Java Debugger",
"icon": "$(play)" "icon": "$(play)"
}, },
{ {
"command": "java.debug.debugJavaFile", "command": "java.debug.debugJavaFile",
"title": "Debug", "title": "Debug with Java Debugger",
"icon": "$(debug-alt-small)" "icon": "$(debug-alt-small)"
}, },
{ {
@ -136,16 +136,16 @@
"group": "javadebug@2" "group": "javadebug@2"
} }
], ],
"editor/title": [ "editor/title/run": [
{ {
"command": "java.debug.runJavaFile", "command": "java.debug.runJavaFile",
"when": "resourceExtname == .java", "when": "resourceExtname == .java",
"group": "1_run@10" "group": "1_javadebug@10"
}, },
{ {
"command": "java.debug.debugJavaFile", "command": "java.debug.debugJavaFile",
"when": "resourceExtname == .java", "when": "resourceExtname == .java",
"group": "1_run@20" "group": "1_javadebug@20"
} }
], ],
"debug/toolBar": [ "debug/toolBar": [
@ -768,7 +768,7 @@
"@types/mocha": "^5.2.7", "@types/mocha": "^5.2.7",
"@types/node": "^14.14.10", "@types/node": "^14.14.10",
"@types/uuid": "^8.3.0", "@types/uuid": "^8.3.0",
"@types/vscode": "1.49.0", "@types/vscode": "1.54.0",
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-tslint": "^8.1.4", "gulp-tslint": "^8.1.4",