Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 867
Intra Avatar asked Apr 10 '12 17:04

Intra


1 Answers

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

window > preferences > pydev > editor > tab length

like image 70
Fabio Zadrozny Avatar answered Oct 02 '22 12:10

Fabio Zadrozny