Skip to content

Generate trailing newlines in SwiftSyntaxBuilderGeneration #587

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

Merged
merged 1 commit into from
Aug 12, 2022

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Aug 12, 2022

This is a small patch that generates trailing newlines in files generated by SwiftSyntaxBuilderGeneration, both to adhere to the Unix convention and to fix an issue with editors that automatically insert trailing newlines and thus cause these files to change when opening them.

@fwcd fwcd requested a review from ahoppen as a code owner August 12, 2022 15:03
@fwcd
Copy link
Member Author

fwcd commented Aug 12, 2022

@swift-ci please test

@fwcd fwcd merged commit 36c3ae0 into swiftlang:main Aug 12, 2022
@fwcd fwcd deleted the syntax-gen-trailing-newlines branch August 12, 2022 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants