Introduce toggle inlay hints vscode command

Users now can assign a shortcut for this command
via the general vscode
keybindings ui or `keybinding.json file`

Closes: #4599
This commit is contained in:
veetaha 2020-05-25 03:47:33 +03:00
parent fbb8b884a2
commit 5dab5e7379
6 changed files with 25 additions and 1 deletions

View file

@ -86,6 +86,7 @@ export async function activate(context: vscode.ExtensionContext) {
ctx.registerCommand('ssr', commands.ssr);
ctx.registerCommand('serverVersion', commands.serverVersion);
ctx.registerCommand('toggleInlayHints', commands.toggleInlayHints);
// Internal commands which are invoked by the server.
ctx.registerCommand('runSingle', commands.runSingle);