Hacker News new | ask | show | jobs
by dvt 2494 days ago
In a lot of cases though, you can't change what a tab is (consider looking at code on GitHub).
2 comments

You can on Github but it requires using `?ts=4` in the url or committing an editorconfig file. Perhaps there are extensions that do it automatically.
This is a good point. Maybe at some distant point in the future we will softly decouple formatting from code by delegating it all to finely tuned autoformatters, or totally decouple it by storing code in a slightly more abstract form such that whitespace rendering becomes largely a presentation preference.