Changing indentation settings in the Spyder editor for Python

前端 未结 3 1475
忘了有多久
忘了有多久 2021-01-01 16:22

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?

3条回答
  •  被撕碎了的回忆
    2021-01-01 16:48

    Spyder v. 4.0 or higher:

    Tools >>> Preferences >>> Editor >>> Source code >>> Indentation characters

    Other versions:

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

提交回复
热议问题