Title: .editorconfig formatting option to start new lines with commas + space rather than ending lines with comma · Issue #171 · microsoft/SqlScriptDOM · GitHub
Open Graph Title: .editorconfig formatting option to start new lines with commas + space rather than ending lines with comma · Issue #171 · microsoft/SqlScriptDOM
X Title: .editorconfig formatting option to start new lines with commas + space rather than ending lines with comma · Issue #171 · microsoft/SqlScriptDOM
Description: I was redirected here to create this issue from: madskristensen/SqlFormatter#24 Original request Is your feature request related to a problem? Please describe. My team standardizes on commas being placed at the beginning of a line rather...
Open Graph Description: I was redirected here to create this issue from: madskristensen/SqlFormatter#24 Original request Is your feature request related to a problem? Please describe. My team standardizes on commas being ...
X Description: I was redirected here to create this issue from: madskristensen/SqlFormatter#24 Original request Is your feature request related to a problem? Please describe. My team standardizes on commas being ...
Opengraph URL: https://github.com/microsoft/SqlScriptDOM/issues/171
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":".editorconfig formatting option to start new lines with commas + space rather than ending lines with comma","articleBody":"I was redirected here to create this issue from: https://github.com/madskristensen/SqlFormatter/issues/24\n\n# Original request\n**Is your feature request related to a problem? Please describe.**\nMy team standardizes on commas being placed at the beginning of a line rather than at the end of the line. This would be for lists specfically, not necessarily function arguments. For example: the `SELECT` clause primarily, but also includes `IN` lists, object definitions (parameter lists, column lists, etc.)) This formatter doesn't appear to support this code standard. I'd love for our team to use a formatter to follow our code standards such as this one.\n\n**Describe the solution you'd like**\nI would like an opt-in option for the .editorconfig to allow for this format:\n```\nSELECT \n u.Id\n , u.Name\n , u.Email\nFROM Users u\n```\n\nI think the formatter also places the first column on the same line as the `SELECT` and uses `AS` for aliasing, but that's a compromise my team can live with.\n\n**Describe alternatives you've considered**\nIt seems like we would have to build our own Visual Studio extension?\n\n**Additional context**\nThis online formatter provides this option. https://www.dpriver.com/pp/sqlformat.htm\n\n\u003cimg width=\"376\" height=\"117\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/4f94a818-a468-4f09-a1b6-baf61ea0ab02\" /\u003e\n","author":{"url":"https://github.com/Will-at-FreedomDev","@type":"Person","name":"Will-at-FreedomDev"},"datePublished":"2025-10-02T12:23:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/171/SqlScriptDOM/issues/171"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fd36b805-6914-bb25-2f89-2785f3f24e15 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8634:169F19:22915:2C426:698EC777 |
| html-safe-nonce | 2e57d99fd6f00421bc8a4d2a59bb1b4fa6dd69ee55efe419e789fefbd49a745c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjM0OjE2OUYxOToyMjkxNToyQzQyNjo2OThFQzc3NyIsInZpc2l0b3JfaWQiOiIxMzAzNTgzMDQ5MjQ2NDkyNTM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3d7ae9a71a9aeb7f73f934844a92738cd61308e03cad383140d9bc58e493bde9 |
| hovercard-subject-tag | issue:3477322584 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/SqlScriptDOM/171/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c75be9d6ad6ec480810484ba648bdbf753bce931da0f35f98c5dd66794da0326/microsoft/SqlScriptDOM/issues/171 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c75be9d6ad6ec480810484ba648bdbf753bce931da0f35f98c5dd66794da0326/microsoft/SqlScriptDOM/issues/171 |
| og:image:alt | I was redirected here to create this issue from: madskristensen/SqlFormatter#24 Original request Is your feature request related to a problem? Please describe. My team standardizes on commas being ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Will-at-FreedomDev |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb2828a801ee6b7be618f3ac76fbf55def35bbc30f053a9c41bf90210b8b72ba |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/SqlScriptDOM git https://github.com/microsoft/SqlScriptDOM.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 543316377 |
| octolytics-dimension-repository_nwo | microsoft/SqlScriptDOM |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 543316377 |
| octolytics-dimension-repository_network_root_nwo | microsoft/SqlScriptDOM |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6b91a7e6e46287d26887e3fb7a4161657bab8f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width