File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Fix shift enter to send selection when cells are defined.
Original file line number Diff line number Diff line change 110110 {
111111 "command" : " python.datascience.execSelectionInteractive" ,
112112 "key" : " shift+enter" ,
113- "when" : " editorFocus && editorLangId == python && !findInputFocussed && !replaceInputFocussed && python.datascience.ownsSelection && python.datascience.featureenabled"
113+ "when" : " editorFocus && editorHasSelection && editorLangId == python && !findInputFocussed && !replaceInputFocussed && python.datascience.ownsSelection && python.datascience.featureenabled"
114114 },
115115 {
116116 "command" : " python.datascience.runcurrentcelladvance" ,
117117 "key" : " shift+enter" ,
118- "when" : " editorFocus && python.datascience.hascodecells && python.datascience.featureenabled"
118+ "when" : " editorFocus && !editorHasSelection && python.datascience.hascodecells && python.datascience.featureenabled"
119119 }
120120 ],
121121 "commands" : [
You can’t perform that action at this time.
0 commit comments