[Qt-creator] Tabs vs Spaces?

Konstantin Tokarev annulen at yandex.ru
Fri Mar 6 18:05:54 CET 2020



06.03.2020, 19:39, "Jason H" <jhihn at gmx.com>:
> I am a tabs guy. I change the Qt style to use tabs. I tab all the things!!
>
> Anyway, I now have other contributors to my project that are spaces people. How can we live in harmony? One side effect is that it seems git considers whitespace changes so his code is indented with spaces, mine are tabs and it's making a mess in git.
>
> Or should this be handled by git? (And if so, how?)

https://stackoverflow.com/a/2318063/12485958

Note that this advices assumes GNU implementations of expand and unexpand,
BSD/macOS implementations don't support same arguments so adjustment may be needed

-- 
Regards,
Konstantin




More information about the Qt-creator mailing list