Changing indentation settings in the Spyder editor for Python

泄露秘密 提交于 2019-11-29 17:47:51

问题


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



来源:https://stackoverflow.com/questions/36187784/changing-indentation-settings-in-the-spyder-editor-for-python

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!