I added a shortcut in vscode to insert a small pattern in my code:
{
"key": "ctrl+alt+z",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "#ZZZ ${1:comment}"
}
}
This shortcut perfectly works in all "normal" files but I want to use it in a jupyter notebook (*.ipynb). I therefore opened it in VSCode and it is now read in Notebook mode (which is fine as I want to execute it). The shortcut then doesn't work. Any clue?
I checked, it isn't used in Default keybindings.
Version of VSCode 1.40.2