From baee21e453f77f3ba9bf2265b2ca3d5413cdb297 Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Sat, 21 Jun 2025 12:12:45 +0100 Subject: [PATCH] feat: add keybindings for syntax checking commands Signed-off-by: Gordon Smith --- package.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 67976d7..6da9907 100644 --- a/package.json +++ b/package.json @@ -134,6 +134,17 @@ "command": "wit-idl.syntaxCheckWorkspace" } ] - } + }, + "keybindings": [ + { + "command": "wit-idl.syntaxCheck", + "key": "f7", + "when": "editorTextFocus && editorLangId == wit" + }, + { + "command": "wit-idl.syntaxCheckWorkspace", + "key": "shift+f7" + } + ] } }