diff --git a/package.json b/package.json index 10dd4b4..8d87411 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "answer-set-programming-language-support", "displayName": "Clingo for VSCode", - "version": "1.0.6", + "version": "1.0.7", "description": "Language Support for Clingo ASP (developed at University of Potsdam).", "publisher": "ffrankreiter", "jest": { @@ -162,19 +162,19 @@ "command": "answer-set-programming-language-support.runinterminalall", "key": "ctrl+shift+a", "mac": "cmd+shift+a", - "when": "editorTextFocus" + "when": "editorTextFocus && editorLangId == 'asp'" }, { "command": "answer-set-programming-language-support.runinterminalsingle", - "key": "ctrl+shift+s", - "mac": "cmd+shift+s", - "when": "editorTextFocus" + "key": "ctrl+shift+x", + "mac": "cmd+shift+x", + "when": "editorTextFocus && editorLangId == 'asp'" }, { "command": "answer-set-programming-language-support.runinterminalconfig", "key": "ctrl+shift+c", "mac": "cmd+shift+c", - "when": "editorTextFocus" + "when": "editorTextFocus && editorLangId == 'asp'" } ] },