-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Allow blank lines in query syntax #754
Labels
Milestone
Comments
belav
added
type:enhancement
New feature or request
area:formatting
priority:medium
labels
Nov 11, 2022
belav
added a commit
that referenced
this issue
Jan 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in https://github.com/belav/csharpier/discussions/750
Originally posted by TwentyFourMinutes November 2, 2022
Currently when you have a linq syntax query it will produce something like the following:
which seems fine at first, however, these queries can get quite large fairly quickly. We currently manually format it with empty lines e.g.
Anyhow, csharpier would strip out empty lines which can get very unreadable on even larger queries.
Proposal:
Allow single blank lines between two statements, but truncate more than that down to 1.
Do you have had any thoughts on this yet? Or on this rather small proposal?
The text was updated successfully, but these errors were encountered: