In some code that I work on, there is often a mix of leading whitespace within the same file. Some sections use spaces, while others use tabs. Some popular text editors insert whitespace matching the previous line, whenever a new line is added. Beyond Compare indents to the correct level, but only using the whitespace method configured for the file format.
So, for instance, if I have a section that looks like:
<tab><tab>asdf
...and I hit <Enter> after the "asdf", these editors will insert two tabs.
Where I have leading spaces, they will insert spaces, instead.
And if I have <tab><space><space>, they will insert the same before the new line.
Can you consider a new whitespace option that would automatically match context?
So, for instance, if I have a section that looks like:
<tab><tab>asdf
...and I hit <Enter> after the "asdf", these editors will insert two tabs.
Where I have leading spaces, they will insert spaces, instead.
And if I have <tab><space><space>, they will insert the same before the new line.
Can you consider a new whitespace option that would automatically match context?
Comment