Auto-aligned Indenting


#1

In other IDE’s, tab indentations pad to the next perfect tab point if inserted in places other than a perfect multiple of the tab length.

For example I would expect that a tab after doSomething(in this example would look like this:

class MyClass():
	def go(self):
		a = 1; b = 2; c = 3
		result = self.doSomething(	a,
						b,
        					c)
        		return result

But instead it looks like this:

class MyClass():
	def go(self):
		a = 1; b = 2; c = 3
		result = self.doSomething(	  a,
						b,
        					c)
        		return result

The whole tab length is added when tab is hit, rather than what is needed to pad to the next tab point.

Is there a preference somewhere that I’m missing that allows me to change this behaviour?

Sam