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
Yeah, that sounds good to me. We may want to eventually standardize more with what corefx or roslyn are doing, but that can be an incremental move, if necessary.
One wrinkle I can think of: this repo has a few bits of code forked from other places. For ease of updating, those shouldn't be formatted to our conventions, but left as they were--otherwise the diffs resulting from taking a new upstream are confusing and awful. We should drop empty .editorconfig files in those directories.
@livarcocc Should we think about having a standard for all of our repos and applying that here? If we don't want to push for that, I think the generate-one-from-current-usage approach sounds nice.
Yeah, and we shouldn't be too far off from that--at the dawn of time we used codeformatter on this repo. Just haven't been keeping up with it recently.
Activity
rainersigwald commentedon Jan 23, 2019
We have one (untouched in 4 years), but it'd be quite reasonable to bring it up to date using the steps here.
[-]Add .editorconfig to the MSBuild repo[/-][+]Update .editorconfig[/+]CodeTherapist commentedon Jan 31, 2019
@rainersigwald We could create a .editorconfig by IntelliCode that infers coding conventions from the solution. Would that work?
rainersigwald commentedon Feb 14, 2019
Yeah, that sounds good to me. We may want to eventually standardize more with what corefx or roslyn are doing, but that can be an incremental move, if necessary.
One wrinkle I can think of: this repo has a few bits of code forked from other places. For ease of updating, those shouldn't be formatted to our conventions, but left as they were--otherwise the diffs resulting from taking a new upstream are confusing and awful. We should drop empty
.editorconfigfiles in those directories.Pilchie commentedon Feb 14, 2019
Editorconfig automatically chains, so instead, drop a
.editorconfigwithroot=true.rainersigwald commentedon Feb 19, 2019
@livarcocc Should we think about having a standard for all of our repos and applying that here? If we don't want to push for that, I think the generate-one-from-current-usage approach sounds nice.
Pilchie commentedon Feb 19, 2019
Most of the
dotnetrepos are fairly consistent already. @jaredpar, @Stoub, etc did some work to come up with https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/coding-style.mdrainersigwald commentedon Feb 19, 2019
Yeah, and we shouldn't be too far off from that--at the dawn of time we used codeformatter on this repo. Just haven't been keeping up with it recently.
livarcocc commentedon Feb 21, 2019
@rainersigwald I have been thinking about having one that's common for our whole team for a while. Feel free to drive that.