dotnet / dotnet/format

Support format via NormalizeWhitespace

Open
#1,502 1 comment 0 reactions 0 assignees View on GitHub
Feature Request
Dominant language
No language data
Stars
1.9k
Forks
173
Avg merge
10d 13h
Merged PRs (30d)
1

Description

I'm interested in calling `NormalizeWhitespace` on all C# and VB source files in a folder as a processing tool between `git difftool` and opening up two source trees in Beyond Compare. One scenario that would benefit from this is reviewing semantic changes in this view: https://github.com/icsharpcode/ILSpy/compare/4b865c27...3c6961a9. By calling `NormalizeWhitespace` on the left and right trees of the comparison, all insignificant whitespace differences (including those that span multiple lines) would be ignored by the diff tool.

I propose adding the option `--normalize` for this feature.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.