Intra Intra - 1 year ago 209
Python Question

Eclipse bad indentation warning

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?

Answer Source

You have to change the tab length that PyDev uses at:

window > preferences > pydev > editor > tab length

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download