[IPython-User] Indenting problems qtconsole (maybe TABs vs. SPACEs)
Sat Aug 20 11:31:30 CDT 2011
Currently we don't transform the text you type at all, so if you hit 'tab',
it inserts a tab. Since IPython's indentation uses (4) spaces, hitting
'tab' wil almost always be wrong unless you remove any indentation that
Things we need to do:
1. make indentation of the InputSplitter object configurable
2. bind tab to insert the same text as the auto-indent
On Sat, Aug 20, 2011 at 07:03, Reckoner <firstname.lastname@example.org> wrote:
> Note that I'm using the qtconsole on Windows XP.
> I have noticed that when I am editing a block in the qtconsole,
> especially when moving the cursor around, that there are frequent
> "block indentation" errors, even though everything looks perfectly
> lined up in the window. I'm guessing that there might be a conflict in
> spaces vs. tabs or maybe in the way lines are ended with nonprinting
> characters, but this makes it tricky to re-edit longer blocks with
> frequent indenting from the history.
> Is there a setting, perhaps like in VIM, where all tabs can be
> expanded to spaces, or something that would at least give more
> information as to what is causing the indentation problem (i.e.
> printing the nonprinting characters).
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User