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?

Thanks.

-- 
İsmail DÖNMEZ

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to