Pycharm 1.1 indenting with mixed tabs and space despite code style set to "use tab character"?

Hello folks,

This has been stumping me for a while and I can't figure out what parameters needs to be changed or if it is a bug (sure does look like one).

As you can see in the screenshot below, I've set the codestyle to use tab character but in some scenario PyCharm is indenting with a mix of tabs and space which of course cause python to complain.

It's driving me insane, I'm spending more time fixing indentation error than actually writing any code so any help will be greatly appreciated.

http://i.imgur.com/bXdpe.png

link to picture: http://i.imgur.com/bXdpe.png

PS: I like tab, don't tell me about switching to space. I'd switch my development environment before I do that. :-)

1 comment
Comment actions Permalink

Those are so called "smart tabs" (which you have enabled in that screenshot). Disable them if you want to use only tabs.

0

Please sign in to leave a comment.