Re: [Pydev-code] Problem with indentation
Brought to you by:
fabioz
From: Fabio Z. <fa...@es...> - 2009-03-16 02:11:49
|
On Thu, Mar 12, 2009 at 8:49 AM, İsmail Dönmez <is...@na...> 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 |