Open eode opened 3 years ago
Hi @eode,
Thanks for reporting this, it is an interesting enhancement. Right now all the Spyder team is working in Spyder 5 release, so we are unable to work in this for the moment. If you are interested in helping us add this behavior to Spyder please let us know so we can give you guidance to contribute :)
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)Problem Description
When using "Go to new line" keyboard shortcut (
ctrl+shift+return
by default), indentation is ignored. It would be nice if it used indentation as normal (as if one had hitend
and thenreturn
).What steps reproduce the problem?
def foo():
ctrl+shift+enter
anywhere on the lineWhat is the expected output? What do you see instead?
I expect it to behave contextually to the scope it is in, as when one hits 'enter'. Instead, the cursor is at the beginning of the line in every case.
Potentially, there could be an editor configuration option to turn on/off this behavior.
Paste Traceback/Error Below (if applicable)
n/a
Versions
Dependencies