Topic: Auto-correct 'non-conforming tab characters'
The editor settings already include options to
- Use spaces for tabs, and
- Remove excess whitespace on Save.
Unless I am mistaken, this appears not to substitute spaces for tab characters, because, although I have noth of the above selected, I am finding that all my code is riddled with compiler warnings about illegal tab characters, especially at character position 1. I have tried to understand why this might be, and I can only assume that it must be that, selecting the "Use spaces for tabs" option must causes the editor to enter spaces when the user enters tab characters, but does NOT mean that it makes the editor substitute spaces for tab characters already in a source file.
If I am correct then could a further option be added, to make these the three Edit options:
- Use spaces when new tabs are entered.
- Substitute spaces for existing tabs on Save.
- Remove excess whitespace on Save
---
John