Forum Archive

Tab width / indent size being ignored

dongo

Hi there, folks. I feel like I'm probably missing something super obvious, but this is driving my crazy.

Changing "Tab Width" in the settings doesn't do anything. Like, at all. The automatic indentation is always two spaces (at most -- it's so small it makes reading my code hard), no matter what settings I change, across all of my scripts.

Is there a way I can fix this? I'd really like for it to be four spaces, but selecting that in the settings doesn't change a thing.

omz

Sorry about this, it's an iOS 7-related bug, will be fixed in the next update.

halloleo235

Hi omz, I have the same problem. Additionally Pythonista complains sometimes about wrong indentation, when the indentation looks correct to me... A fix would be fantastic!

ccc

UPDATE: The tabs issue was fixed quite elegantly with the soft tabs feature of Pythonista v1.4.