Unbind shift+enter to stop unintentionally running python code.
This commit is contained in:
parent
b72fa0edff
commit
c96c4d3ddb
@ -282,5 +282,15 @@
|
|||||||
{
|
{
|
||||||
"key": "ctrl+k ctrl+p",
|
"key": "ctrl+k ctrl+p",
|
||||||
"command": "-workbench.action.showAllEditors"
|
"command": "-workbench.action.showAllEditors"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "shift+enter",
|
||||||
|
"command": "-python.execInREPL",
|
||||||
|
"when": "config.python.REPL.sendToNativeREPL && editorTextFocus && !isCompositeNotebook && !jupyter.ownsSelection && !notebookEditorFocused && editorLangId == 'python'"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "shift+enter",
|
||||||
|
"command": "-python.execSelectionInTerminal",
|
||||||
|
"when": "editorTextFocus && !findInputFocussed && !isCompositeNotebook && !jupyter.ownsSelection && !notebookEditorFocused && !replaceInputFocussed && editorLangId == 'python'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user