解决办法:Preferences->Settings中添加以下代码:

,

"draw_white_space": "all"

注意:如果你的设置里面还有其他东西,你就需要添加逗号让两个不同的设置分割开来

sublime text 会显示横线和点出来,此时再进行缩进对齐就好。

sublime text下 Python 问题:TabError: inconsistent use of tabs and spaces in indentation

 

参考文章https://blog.csdn.net/btujack/article/details/82454073

相关文章:

  • 2021-11-22
  • 2021-07-12
  • 2021-10-02
  • 2021-06-13
  • 2021-07-15
  • 2021-12-25
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2022-01-13
  • 2021-06-04
  • 2021-09-25
  • 2021-09-06
  • 2021-09-12
相关资源
相似解决方案