Skip to content

Commit

Permalink
vscode-extension: don't set key bindings if quick compile commands ar…
Browse files Browse the repository at this point in the history
…e disabled (references #663)
  • Loading branch information
joshtynjala committed Jan 3, 2023
1 parent 53fb0b5 commit 1041e47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vscode-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,14 @@
{
"key": "ctrl+enter",
"mac": "cmd+enter",
"command": "as3mxml.quickCompileAndRun"
"command": "as3mxml.quickCompileAndRun",
"when": "config.as3mxml.quickCompile.enabled"
},
{
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"command": "as3mxml.quickCompileAndDebug"
"command": "as3mxml.quickCompileAndDebug",
"when": "config.as3mxml.quickCompile.enabled"
}
],
"menus": {
Expand Down

0 comments on commit 1041e47

Please sign in to comment.