在 Spyder(在 Python 中)按 *enter* 是制表符还是 4 个空格?

Is pressing *enter* in Spyder (in Python) a tab or 4 spaces?

我已经阅读了 Python 中关于制表符而不是空格的可怕性质的所有内容。当我在 Spyder 中按 enter 时,IDE 是添加制表符还是 4 个空格?

(此处为 Spyder 维护者) Spyder 默认使用空格。但是,可以通过转到

将其更改为制表符

Preferences > Editor > Advanced settings > Indentation characters