3 ms·
How about simply setting your editor to convert spaces to tabs and save tabs as spaces? Problem fixed right there. This post is brilliant exactly because it se
by cskau 15y ago
How about simply setting your editor to convert spaces to tabs and save tabs as spaces? Problem fixed right there.
This post is brilliant exactly because it separates holy war from technical issue.
Your problem sounds like a technical issue.
- reuser 15y agoThis excellent solution does assume one is using an editor which supports it, which many people do not (causing endless frustration to them)
- Rust 15y agoThat's just throwing complexity (IDE or SCM has to support that functionality) at a problem that doesn't need to be there in the first place (just use tabs instead of spaces). Even so, I would still need to tell my editor how many spaces to convert to a single tab, and use the same number to convert tabs to spaces when I save or commit. God help us all if someone else forgets to do that too...