You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spyder Version: 2.1.12
Python Version: 2.7.3
Qt Version: 4.8.4, PyQt4 (API v2) 4.9.6 on Windows
What steps will reproduce the problem?
Start a new file and type this:
def somenewfunc(arg1,
arg2=0,
_
The editor helpfully autoindents leaving the cursor where the underscore is shown until you try something like a list or dict:
def somenewfunc(arg1,
arg2=0,
arg3=[1],
_
OR
def somenewfunc(arg1,
arg2=0,
arg3={1:'a'},
_
Then it does not autoindent. There may be other objects which interfere with the autoindentation but I don't know what they are. It took a little while to observe the behavior was object-dependent rather than sporadic.
From patrick....@gmail.com on 2013-04-30T13:17:22Z
Spyder Version: 2.1.12
Python Version: 2.7.3
Qt Version: 4.8.4, PyQt4 (API v2) 4.9.6 on Windows
What steps will reproduce the problem?
def somenewfunc(arg1,
arg2=0,
_
The editor helpfully autoindents leaving the cursor where the underscore is shown until you try something like a list or dict:
def somenewfunc(arg1,
arg2=0,
arg3=[1],
_
OR
def somenewfunc(arg1,
arg2=0,
arg3={1:'a'},
_
Then it does not autoindent. There may be other objects which interfere with the autoindentation but I don't know what they are. It took a little while to observe the behavior was object-dependent rather than sporadic.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1373
The text was updated successfully, but these errors were encountered: