How can I stay tab-free in Geany on Ubuntu?

Josh Morrison picture Josh Morrison · Mar 13, 2011 · Viewed 22.5k times · Source

How can I stay tab free in Geany on Ubuntu?

When I am coding in Python, tabs have always annoyed me. And the TAB is invisible. So strange.

When I open my code by gedit, those TABs are visible.

Answer

dting picture dting · Mar 13, 2011

You are looking for 'soft tabs'

http://www.geany.org/manual/dev/index.html#editor-indentation-preferences

Edit > Preferences > Editor > Indentation > Type > Spaces

After changing the setting, close and reopen the file.

To apply the tab settings to every document in the current session, also click:
Project->Apply Default.