Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
The whole point of editorconfig is to prevent everyone from using what they prefer and standardize
-
Maer17825yDo what your team defined as standard, not whatever you prefer. This is how you end up with an endless stream of auto-formatted commits, where everyone needs to swim through a river of bullshit in order to recognize whether a changed line is actually a change or just auto-formatted tab-space-nonsense.
-
xnor15625yEverybody can use what they want and VS Code detects what was used in the file and automatically adjusts to it.
Until it sees a file with both spaces and tabs, and.. Here we go again.. -
Agreed. Every decent editor of the last few decades or so automatically treats tabs and spaces the same and stays consistent with existing files. I don't even know what my vim setup uses and I don't care because it works the same either way.
-
@s0LA Yea Thats why you can configure editorconfig to automatically convert tabs into spaces
-
@netikras That's what I meant. The JetBrains IDEs have editorconfig running in the background.
Related Rants
-
AlgoRythm25Dude chaining in JavaScript is so fucking ugly but so trendy. thing.doStuff().doThing().then().doMoreStuff()....
-
netikras14No, listen to me. I cannot approve this PR because your code does not comply with our code style. All the impo...
-
Coffe2Code7Let's comment out this block of code so later we know we have this feature and bring it back if we need it. L...
Tabs vs Spaces.
Not because one of them is definitely better than the other, but because it's 2020, we have editorconfig and everybody should just use what he personally prefers.
rant
wk190