Skip to content

Commit

Permalink
Merge pull request #75 from Achal1607/javavscode-16
Browse files Browse the repository at this point in the history
[JAVAVSCODE-16] Added option for running any Java project using context menu
  • Loading branch information
arvindaprameya authored Nov 28, 2023
2 parents 63339ea + df3a50c commit d9a1cb2
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -467,13 +467,33 @@
"command": "jdk.java.goto.super.implementation",
"when": "nbJdkReady && editorLangId == java && editorTextFocus",
"group": "navigation@100"
},
{
"command": "jdk.project.run",
"when": "nbJdkReady && editorLangId == java && resourceExtname == .java",
"group": "javadebug@1"
},
{
"command": "jdk.project.debug",
"when": "nbJdkReady && editorLangId == java && resourceExtname == .java",
"group": "javadebug@2"
}
],
"explorer/context": [
{
"command": "jdk.workspace.new",
"when": "nbJdkReady && explorerResourceIsFolder",
"group": "navigation@3"
},
{
"command": "jdk.project.run",
"when": "nbJdkReady && resourceExtname == .java",
"group": "javadebug@1"
},
{
"command": "jdk.project.debug",
"when": "nbJdkReady && resourceExtname == .java",
"group": "javadebug@2"
}
],
"commandPalette": [
Expand Down Expand Up @@ -703,4 +723,4 @@
"jsonc-parser": "3.2.0",
"vscode-languageclient": "^8.1.0"
}
}
}

0 comments on commit d9a1cb2

Please sign in to comment.