Skip to content
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

Fix formatting of attributes at end of file #59706

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

sharwell
Copy link
Member

Fixes #59637

@sharwell sharwell requested a review from a team as a code owner February 23, 2022 19:02

await AssertFormatAsync(expected, code, spans: null);
await AssertFormatAsync(expected, expected, spans: null);
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need a test that "file must have final newline" is respected?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file must have final newline

This is not respected. dotnet-format and the editor implement support for this option separately from our formatter.

@sharwell sharwell merged commit c5713c6 into dotnet:main Feb 24, 2022
@ghost ghost added this to the Next milestone Feb 24, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IDE0055 (Fix formatting) errors after upgrading to SDK 6.0.200 (VS 17.1.0)
4 participants