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

前端 未结 6 1000
眼角桃花
眼角桃花 2021-02-06 21:32

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

6条回答
  •  生来不讨喜
    2021-02-06 21:43

    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.

提交回复
热议问题