diff --git a/vscode-extension/package.json b/vscode-extension/package.json index 79dfc19fa..9aefd37c1 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -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": {