-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Format Utility csproj with updated codeformatter #7263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
688de2b to
f91f266
Compare
| string content = StreamToString (stream, encoding); | ||
| string content = StreamToString(stream, encoding); | ||
| if (isDefaultEncoding) do | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This formatting change looks odd to me. Would it be better to wrap the do..while in braces?
if (...)
{
do
{
}
while ()
}There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFormatter keeps previous formatting for if-do but remove extra braces in do-while.
So formally you ask other change - manual vs automatic formatting.
I agree that you request is right and I'll manually do the fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 31 of 31 files at r1.
Reviewable status:complete! all files reviewed
Approval is always assuming you address other's comments
|
@SteveL-MSFT Your comment was addressed. |
TravisEz13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r2.
Reviewable status:complete! all files reviewed
PR Summary
Related #4708.
Format
Microsoft.PowerShell.Commands.Utility.csprojby codeformatter with default options.The codeformatter is used that I compiled with newest Roslyn packages (version 2.8.2).
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.[feature]if the change is significant or affects feature testsThis change is