September 22
On Sunday, 20 September 2020 at 02:31:53 UTC, matheus wrote:
> On Sunday, 20 September 2020 at 01:00:43 UTC, wjoe wrote:
>> ...
>> I think the only right rule is to use a code formatting tool and provide the configuration so everyone can use their preferred style and format the code before committing it.
> May I ask how this works when comparing differences between files from server with local?
> Matheus.

Shouldn't be too hard to come up with a script that can conveniently handle that scenario.
Like a diff wrapper that either formats the server version to your favorite style or your local file to the server style.
That's how I'd do it anyways.

But since this is about newlines, i.e. whitespace, a lot of diff tools can be configure to ignore whitespace.
Next ›   Last »
1 2 3 4 5 6 7 8