PyDev:为制表符插入空格不起作用

PyDev: Insert spaces for tabs not working

为什么 Window > Prefences > PyDev > Editor > Tabs > "Replace tabs with spaces when typing?" = Yes 不工作

我也设置了 .. > General > Text Editors > "Insert spaces for tabs" = Yes 但我仍然得到制表符而不是空格,这导致代码异常。

重新启动 Eclipse。

Eclipse 设置更改可能不会在已打开的编辑器选项卡上更新。