Dec 03, 2014 Tags: Linux, QandA
Updated on Mar 28, 2015: Added a “see also”.
When coding I often have to switch between “Tab” and “Spaces” mode. Sometimes I need a real tab inserted (chr(9), \t), sometimes it’s better to have spaces instead. I find switching between those modes troublesome. I will show you how I’m doing it. Is there a better way?
This is an example spot: Tabs or Spaces?
Here is where I toggle the option:
Settings
Code Style General
Default Indent Options
Additionally I want to make whitespace visible:
Another plague: I usually want to see line numbers.
To turn line numbers on,
I right click in the left margin area of the text pane:
Then I select “Show Line Numbers”:
Updated on Dec 04, 2014: Tips I received: