Repository navigation
Code cleanup: Add space after closing brace where needed - #8530
Merged
Ilya (iSazonov) merged 81 commits intoDec 24, 2018
Merged
Conversation
Steve Lee (SteveL-MSFT)
requested review from
Dongbo Wang (daxian-dbw) and
Ilya (iSazonov)
December 23, 2018 00:29
Steve Lee (SteveL-MSFT)
requested review from
Bruce Payette (BrucePay),
Francisco Gamino (Francisco-Gamino),
James Truher (JamesWTruher),
Paul Higinbotham (PaulHigin),
Travis Plunk (TravisEz13),
Aditya Patwardhan (adityapatwardhan),
Andrew (anmenaga) and
Mike Richmond (mirichmo)
as code owners
December 23, 2018 00:29
6 of 11 tasks
Steve Lee (SteveL-MSFT)
force-pushed
the
space-after-brace
branch
from
December 23, 2018 00:42
264254e to
81e6e8b
Compare
Collaborator
|
Steve Lee (@SteveL-MSFT) Please resolve the merge conflict. |
Steve Lee (SteveL-MSFT)
force-pushed
the
space-after-brace
branch
from
December 23, 2018 06:53
81e6e8b to
7e7a9cc
Compare
Member
Author
|
Let's try to get this reviewed and merge before merging other PRs otherwise it's going to be a merge conflict target |
Collaborator
|
Steve Lee (@SteveL-MSFT) I think we need fix only my last comments about "while". Rest is minor. |
Member
Author
|
Ilya (@iSazonov) thanks for taking the time to review this in detail. I'll update the rules in my script and will rerun. |
Steve Lee (SteveL-MSFT)
force-pushed
the
space-after-brace
branch
from
December 23, 2018 17:20
7e7a9cc to
3e0cb12
Compare
Ilya (iSazonov)
approved these changes
Dec 23, 2018
7 of 11 tasks
Steve Lee (SteveL-MSFT)
force-pushed
the
space-after-brace
branch
from
December 23, 2018 17:46
3e0cb12 to
c8d7f98
Compare
Collaborator
|
It was not easy, but I believe that it will facilitate our work in the future. |
Collaborator
|
Steve Lee (@SteveL-MSFT) I'd merge if Dongbo Wang (@daxian-dbw) is absent. |
Thatgfsj (Thatgfsj)
pushed a commit
to Thatgfsj-contribs/PowerShell
that referenced
this pull request
Aug 6, 2026
…8530) * Update TestService * Update WebListener * Update Controllers * Update ExpTest * Update MyApp * Update Logic * Update Logic * Update MyApp * Update Microsoft.Management.Infrastructure.CimCmdlets * Update Microsoft.PowerShell.Commands.Diagnostics * Update Microsoft.PowerShell.ScheduledJob * Update Microsoft.WSMan.Management * Update Microsoft.WSMan.Runtime * Update ResGen * Update TypeCatalogGen * Update commands * Update Eventing * Update Reader * Update utility * Update ShowCommand * Update trace * Update WebCmdlet * Update Common * Update CoreCLR * Update common * Update format-object * Update format-wide * Update out-file * Update out-printer * Update out-string * Update OutGridView * Update LocalAccounts * Update Commands * Update security * Update CoreCLR * Update DscSupport * Update engine * Update help * Update logging * Update namespaces * Update security * Update utils * Update config * Update perfCounters * Update tracing * Update cmdletization * Update other * Update cim * Update xml * Update CoreCLR * Update common * Update DefaultFormatters * Update out-console * Update out-textInterface * Update DisplayDatabase * Update Utilities * Update COM * Update ComInterop * Update CommandCompletion * Update debugger * Update ExperimentalFeature * Update hostifaces * Update interpreter * Update lang * Update Modules * Update parser * Update runtime * Update client * Update commands * Update common * Update fanin * Update server * Update WireDataFormat * Update Binding * Update Operations * Update interface * Update cmdletization * Update cim * Update management * Update WindowsTaskbarJumpList * Update msh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
Using this script each folder is a separate commit making it easier to review.
The regular expression looks for any closing brace not followed by:
| catch, else, finally, another closing brace, newline, space, hash, slash (comment), * (comment)
In addition, because .NET RegEx doesn't support look behind, I skip any closing braces that are part of: { get; set; }
Some of the Copyright notices show changed because git resaved the file without BOM.
Manually reviewed all the changes.
Related #8500
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 tests