pycharm auto indentation settings -


i'm using pycharm 2016.2.1 , when try enter new line, doesn't insert tab in it.

for example this.

for x in range(5): print('hello') 

how can change pycharm indent? i've tried 'smart tabs', 'use tab characters' , on can't fix it.

the 'use tab character' here can use tab character (\t) instead of sequence of spaces indentation.

in file > settings > editor > code style > python > tabs , indents, check indent size value not zero. if so, change 4 (recommended pep8) or length want indent be.

hope helps.


Comments

Popular posts from this blog

How to use SUM() in MySQL for calculated values -

loops - Spock: How to use test data with @Stepwise -