Eclipse坏缩进警告 [英] Eclipse bad indentation warning
本文介绍了Eclipse坏缩进警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何设置缩进,我想要这个警告消失?
解决方案
您必须更改PyDev使用的标签长度:
窗口>首选项> pydev> editor> tab length
I am using PyDev perspective. I get a "bad indentation" warning in python files. I am using two spaces for indent and eclipse seems to want me to use 4.
How to set the indentation I want so this warning goes away?
解决方案
You have to change the tab length that PyDev uses at:
window > preferences > pydev > editor > tab length
这篇关于Eclipse坏缩进警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文