Kate - show all whitespace
- Click Settings > Configure Kate... to bring up the Configure dialog.
- Click Editor Component > Appearance.
- In the Whitespace Highlighting section, check Highlight tabulators and Highlight trailing spaces.
- In the Advanced section, check Show indentation lines.
- Click OK.
It seems one cannot highlight leading spaces.