Skip to content

Commit 55f1b46

Browse files
committed
feat: add keybindings for syntax checking commands
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent dbf1fd3 commit 55f1b46

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@
134134
"command": "wit-idl.syntaxCheckWorkspace"
135135
}
136136
]
137-
}
137+
},
138+
"keybindings": [
139+
{
140+
"command": "wit-idl.syntaxCheck",
141+
"key": "f7",
142+
"when": "editorTextFocus && editorLangId == wit"
143+
},
144+
{
145+
"command": "wit-idl.syntaxCheckWorkspace",
146+
"key": "shift+f7"
147+
}
148+
]
138149
}
139150
}

0 commit comments

Comments
 (0)