Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code 将自定义键盘快捷键添加到VS代码Jupyter扩展_Visual Studio Code_Jupyter Notebook_Jupyter_Keyboard Shortcuts - Fatal编程技术网

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笔记本的自定义键盘快捷键。如果您有兴趣尝试,请遵循以下说明: