#27 Python Options (tabs-spaces)

open
nobody
None
5
2011-02-11
2011-02-11
the_bob
No

It would be nice to have an option in the Python project options to select whether one prefers tabs or 4 spaces for the source output. Keep up the great work!

Discussion

  • David M. Cook
    David M. Cook
    2011-08-27

    More than nice; the Python standard has been 4 spaces for ages, as per Guido van Rossum's style guide (PEP 8):

    http://www.python.org/dev/peps/pep-0008/

    Since nearly every Python developer uses spaces for indentation, mixing in code with tabs for indentation creates havoc.

     
  • bouke
    bouke
    2012-11-28

    Would like to see this as well!

     
  • Ariën Tolner
    Ariën Tolner
    2012-11-28

    Indeed would be a nice to have this