You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tabs are poorly handled by just replacing X spaces with a tab.
Note that this even breaks the AlignTrailingComments+UseTab combination.
I use tabs for indentation and spaces for any remaining alignment.
That way everyone can use their preferred tab width setting and everything is still perfectly aligned and displayed consistently.
if (... && // bla
...) // bla
or
callFoo(param1,
param2)
The text was updated successfully, but these errors were encountered:
Note that w agree that "replace 8 spaces with tabs" is insane, but unfortunately it's Linus Torvald's insanity, so we'll need to keep the current behavior, and implement the proposed behavior as an option.
Note that this even breaks the AlignTrailingComments+UseTab combination.
This particular issue should be fixed in r191497.
We're thinking about implementing the rest of your proposal under a separate style option, because the current behavior is also sometimes desired (e.g. it's what Linux Kernel uses).
Extended Description
Currently tabs are poorly handled by just replacing X spaces with a tab.
Note that this even breaks the AlignTrailingComments+UseTab combination.
I use tabs for indentation and spaces for any remaining alignment.
That way everyone can use their preferred tab width setting and everything is still perfectly aligned and displayed consistently.
if (... && // bla
...) // bla
or
callFoo(param1,
param2)
The text was updated successfully, but these errors were encountered: