Changing indentation settings in the Spyder editor

2019-02-09 07:37发布

问题:

I am using the Spyder editor for Python. I need to change the indentation setting (e.g., let "tab" mean "4 spaces").

How do I accomplish this?

回答1:

Tools >>> Preferences >>> Editor >>> Advanced settings >>> Indentation characters



回答2:

go to >>>Tools in the menu bar

Preferences >>> Editor >>> Advanced settings >>> Indentation characters

set indentation characters: to "4 spaces"

hurray! Mission accomplished