On Thu, Mar 12, 2009 at 8:49 AM, İsmail Dönmez <ism...@namtrac.org> wrote:
> Hi;
>
> I am trying to mimic emacs' tab indentation behaviour. Consider the
> following snippet:
>
> def foo():
>    bar = 0
>    baz = 0
>
> now if I place the cursor before baz and press tab key it adds another
> tab which results in;
>
> def foo():
>    bar = 0
>        baz = 0
>
> which doesn't look correct. What I expected would be no change in
> spacing. Eclipse call this behaviour "Fix indentation" (CTRL-I by
> default). It only indents when necessary it doesn't blindly add tabs.
>
> Is there a way to get this behaviour in pydev?

Not currently (aside from using Ctrl+I), please report that as a
feature request (should not be difficult to do).

Cheers,

Fabio

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
pydev-code mailing list
pydev-code@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to