Intra Intra - 7 months ago 84
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?


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

window > preferences > pydev > editor > tab length