Friday, January 21, 2011

Tab to space for indentation: Configure Eclipse and Pydev editors

Configure Eclipse and Pydev editors
  • Go to "Window > Preferences > General > Editors > Text Editors"
  • Set "Displayed tab width" to 4 and make sure "Insert spaces for tabs" is checked
  • Go to "Window > Preferences > Pydev > Editor"
  • Set "Tab length" to 4 and make sure "Replace tabs with spaces..." is checked

No comments:

Post a Comment