[IPython-dev] Re: Code Indentation and Tab Completion

Robert Kern rkern at ucsd.edu
Wed Nov 10 03:29:55 CST 2004


Donny Viszneki wrote:
> I'm using Mac OS X, and in every terminal I use, when I press tab to 
> indent for a block of code, iPython instead tries to tab complete, and 
> consequently asks me if I really want to see every possible tab completion.
> 
> What's the problem here? I have the source code so I was thinking about 
> taking a look. Does iPython use curses?
> 
> Thanks in advance.

In addition to what the others said, also take a look at the autoindent 
feature (toggled via %autoindent or set in your ipythonrc). I never 
indent anymore, just dedent.

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter




More information about the IPython-dev mailing list