[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Friendly reminder to use EditorConfig in your projects. htt

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 14
Thread images: 2

File: logo[1].png (2KB, 105x90px) Image search: [Google]
logo[1].png
2KB, 105x90px
Friendly reminder to use EditorConfig in your projects.

http://editorconfig.org

Just put a .editorconfig in the root of your source files and never again deal with issues regarding line endings, tab types, or character encodings, regardless of your teammates' OS, IDEs or even text editors of choice. Everything is automatically formatted to your .editorconfig specifications while typing, no special commands they can forget to run or anything.

Strange how little known this thing is, yet it's used in even big projects like nasa's apollo 11 code, ms' vs code, and all spring projects, to name just 3. Check the repo of any random professional project you can think of and see for yourself, 50% chance they have a .editoconfig file. More people need to know and use it.
>>
>>60979218
https://github.com/Microsoft/vscode/blob/master/.editorconfig
https://github.com/chrislgarry/Apollo-11/blob/master/.editorconfig
https://github.com/spring-projects/spring-boot/blob/master/.editorconfig
https://github.com/LibreOffice/core/blob/master/.editorconfig
https://sourceforge.net/p/zsh/code/ci/master/tree/.editorconfig
https://core.trac.wordpress.org/browser/trunk/.editorconfig
http://cgit.drupalcode.org/drupal/tree/.editorconfig
https://github.com/bower/bower/blob/master/.editorconfig
https://github.com/mozilla/kuma/blob/master/.editorconfig
etc...

https://github.com/editorconfig/editorconfig/wiki/Projects-Using-EditorConfig
>>
Thanks. This is only 2nd time hearing about this and it seems like very useful thing with already good adoption but low awareness.
>>
everyone should just use 2 spaces like I do desu
>>
>>60979707
my thoughts exactly

I actually suggested it to my team at work, on a fresh project, with people on mixed OSes and IDE. They know full well what a mess you get if you dont take care of uniforming your tab types and such, we've had the issues before and they want a solution (exporting and importing intellij settings is not a popular solution), yet when I told them about this they acted like I'd brought up some no-name niche useless junk.

The level of ignorance and disinterest in some programmers these days is sickening. Fucking office drones...
>>
How about start paying attention to what you're doing?
>>
>>60979791
look at this autist
>>
>>60979791
what?
>>
Logo is fucking retarded so it's ruined, just like Golang and plan 9
>>
>>60980339
Also http static website when you can just put it on github
>>
>>60979218
why would you use other editors when Vi(m) is avaliable every machine that servers a purpose?
just wget your .vimrc if you dont use standard configs
>>
File: miss-the-point[1].png (4KB, 400x400px) Image search: [Google]
miss-the-point[1].png
4KB, 400x400px
>>60980585
>I"m a neet who has never had a job and has never worked in teams before
>>
>>60980555
If it was a github site, you'd complain it was locked-in and not staying independent by running on its own static http site.
>>
>>60979218
>http://editorconfig.org
How much of a deal is that if you can reformat the file automatically when doing a commit?
Thread posts: 14
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.