Visual studio code 将自定义键盘快捷键添加到VS代码Jupyter扩展
有没有办法将自定义键盘快捷键添加到Visual studio code 将自定义键盘快捷键添加到VS代码Jupyter扩展,visual-studio-code,jupyter-notebook,jupyter,keyboard-shortcuts,Visual Studio Code,Jupyter Notebook,Jupyter,Keyboard Shortcuts,有没有办法将自定义键盘快捷键添加到VS code Jupyter扩展名 为了给您提供一些上下文,我想将CopyLinewsDownAction从Alt+Shift+Down更改为Ctrl+Shift+d 我可以用它更改大多数编辑器的键绑定 { "key": "ctrl+shift+d", "command": "editor.action.copyLinesDownAction", "when&
VS code Jupyter
扩展名
为了给您提供一些上下文,我想将CopyLinewsDownAction
从Alt+Shift+Down
更改为Ctrl+Shift+d
我可以用它更改大多数编辑器的键绑定
{
"key": "ctrl+shift+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
}
但这不会改变笔记本中的快捷方式
我还试图更改键绑定
{
"key": "shift+alt+down",
"command": "notebook.cell.copyDown",
"when": "notebookEditorFocused && !inputFocus"
}
但是没有成功。仅在预览本机笔记本界面中支持VS Code Jupyter笔记本的自定义键盘快捷键。如果您有兴趣尝试,请遵循以下说明: