-
Hello, I would like to create a shortcut to toggle between Is it something that can be achieved via Dance? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
71
Aug 7, 2022
Replies: 1 comment 1 reply
-
You can change the configuration with An example where // keybindings.json
[
// ...
{
"key": "tab",
"command": "dance.run",
"args": {
"code": [
"const cfg = vscode.workspace.getConfiguration('editor.inlayHints');",
"cfg.update('enabled', !cfg.get('enabled', false));"
],
},
"when": "editorTextFocus && dance.mode == 'normal'",
},
] |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bfulop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can change the configuration with
dance.run
usingWorkspaceConfiguration
s in VS Code.An example where
tab
is used to toggle inlay hints: