| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:15524655-1340-7901-284e-8f5313a0bb53 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B7FC:E685E:C100B3:102DC57:698F87D0 |
| html-safe-nonce | e207aef844e5578d176e01dd20210b7e7ba1dfe6989f990b1d399b5f513de589 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0ZDOkU2ODVFOkMxMDBCMzoxMDJEQzU3OjY5OEY4N0QwIiwidmlzaXRvcl9pZCI6IjQ3NDQ4NDg5NjQzNjAwNDY1NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3fe5fa9823d33d904dfc513879bbcd84bd75a08cec11531702d6557e9e49253b |
| hovercard-subject-tag | pull_request:2882051901 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/SqlScriptDOM/172/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/30a0810c3a7857d41f2f94242a3f2044de3aee2ae93b5b5019bb152a4d8d9334/microsoft/SqlScriptDOM/pull/172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/30a0810c3a7857d41f2f94242a3f2044de3aee2ae93b5b5019bb152a4d8d9334/microsoft/SqlScriptDOM/pull/172 |
| og:image:alt | Description
resolves #20
enables the code formatter to preserve T-SQL comments, including
-- comments leading any T-SQL
/* comments
that span
multiple lines */
-- single line comments anywhere in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dzsquared |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4763146d672e989a41c6c0bd715790c0c59341d9f855508c8a3196e1e480b8f7 |
| turbo-cache-control | no-cache |
| 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 | 38243223a284e53debe5a0f476578cf4a0521de7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/microsoft/SqlScriptDOM/pull/172#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FSqlScriptDOM%2Fpull%2F172 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FSqlScriptDOM%2Fpull%2F172 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FSqlScriptDOM |
| Reload | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| Reload | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| Reload | https://github.com/microsoft/SqlScriptDOM/pull/172 |
|
microsoft
| https://github.com/microsoft |
| SqlScriptDOM | https://github.com/microsoft/SqlScriptDOM |
|
Notifications
| https://github.com/login?return_to=%2Fmicrosoft%2FSqlScriptDOM |
|
Fork
37
| https://github.com/login?return_to=%2Fmicrosoft%2FSqlScriptDOM |
|
Star
233
| https://github.com/login?return_to=%2Fmicrosoft%2FSqlScriptDOM |
|
Code
| https://github.com/microsoft/SqlScriptDOM |
|
Issues
54
| https://github.com/microsoft/SqlScriptDOM/issues |
|
Pull requests
2
| https://github.com/microsoft/SqlScriptDOM/pulls |
|
Actions
| https://github.com/microsoft/SqlScriptDOM/actions |
|
Projects
0
| https://github.com/microsoft/SqlScriptDOM/projects |
|
Models
| https://github.com/microsoft/SqlScriptDOM/models |
|
Security
0
| https://github.com/microsoft/SqlScriptDOM/security |
|
Insights
| https://github.com/microsoft/SqlScriptDOM/pulse |
|
Code
| https://github.com/microsoft/SqlScriptDOM |
|
Issues
| https://github.com/microsoft/SqlScriptDOM/issues |
|
Pull requests
| https://github.com/microsoft/SqlScriptDOM/pulls |
|
Actions
| https://github.com/microsoft/SqlScriptDOM/actions |
|
Projects
| https://github.com/microsoft/SqlScriptDOM/projects |
|
Models
| https://github.com/microsoft/SqlScriptDOM/models |
|
Security
| https://github.com/microsoft/SqlScriptDOM/security |
|
Insights
| https://github.com/microsoft/SqlScriptDOM/pulse |
| dzsquared | https://github.com/dzsquared |
| main | https://github.com/microsoft/SqlScriptDOM/tree/main |
| dev/drskwier-preservecomments | https://github.com/microsoft/SqlScriptDOM/tree/dev/drskwier-preservecomments |
| Conversation | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| Commits7 (7) | https://github.com/microsoft/SqlScriptDOM/pull/172/commits |
| Checks | https://github.com/microsoft/SqlScriptDOM/pull/172/checks |
| Files changed | https://github.com/microsoft/SqlScriptDOM/pull/172/files |
| adds formatter option for preserving comments | https://github.com/microsoft/SqlScriptDOM/pull/172#top |
| dzsquared | https://github.com/dzsquared |
| main | https://github.com/microsoft/SqlScriptDOM/tree/main |
| dev/drskwier-preservecomments | https://github.com/microsoft/SqlScriptDOM/tree/dev/drskwier-preservecomments |
|
| https://github.com/dzsquared |
| dzsquared | https://github.com/dzsquared |
| Oct 2, 2025 | https://github.com/microsoft/SqlScriptDOM/pull/172#issue-3477814934 |
| #20 | https://github.com/microsoft/SqlScriptDOM/issues/20 |
| Unit tests | https://github.com/microsoft/SqlScriptDOM/tree/main/Test |
| tests are passing | https://github.com/microsoft/SqlScriptDOM/blob/main/CONTRIBUTING.md#running-the-tests |
| here | https://github.com/microsoft/SqlScriptDOM/blob/main/CONTRIBUTING.md#helpful-notes-for-sqldom-extensions |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| dzsquared | https://github.com/dzsquared |
| September 26, 2025 13:48 | https://github.com/microsoft/SqlScriptDOM/pull/172#commits-pushed-6ba004c |
|
| https://github.com/dzsquared |
| adds formatter option to preserve comments | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/6ba004c996eb2c0a562a5d6604c74cc8a5014a17 |
| 6ba004c | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/6ba004c996eb2c0a562a5d6604c74cc8a5014a17 |
|
| https://github.com/dzsquared |
| Merge branch 'main' of github.com:microsoft/SqlScriptDOM into dev/drs… | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/2922df1760a7ac2500a8e49cb70220e13010a780 |
| 2922df1 | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/2922df1760a7ac2500a8e49cb70220e13010a780 |
|
| https://github.com/dzsquared |
| Merge branch 'main' of github.com:microsoft/SqlScriptDOM into dev/drs… | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/39ddaaf0008ed407c401fbcb84f2ca06613d7d99 |
| 39ddaaf | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/39ddaaf0008ed407c401fbcb84f2ca06613d7d99 |
|
| https://github.com/dzsquared |
| cleanup temporary dev changes | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/bce5b4caca17b95f76d8566224b8aa10e63f1efe |
| bce5b4c | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/bce5b4caca17b95f76d8566224b8aa10e63f1efe |
|
| https://github.com/dzsquared |
| remove unused helper function | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/231b2b387b6f92e057fe37941baabce6f260daf7 |
| 231b2b3 | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/231b2b387b6f92e057fe37941baabce6f260daf7 |
| https://github.com/dzsquared |
| dzsquared | https://github.com/dzsquared |
| chlafreniere | https://github.com/chlafreniere |
| kburtram | https://github.com/kburtram |
| llali | https://github.com/llali |
| ssreerama | https://github.com/ssreerama |
| code owners | https://github.com/microsoft/SqlScriptDOM/blob/9addf2029cb72f7654707e69fd14acb9ab92fc11/.github/CODEOWNERS#L1 |
| October 2, 2025 14:47 | https://github.com/microsoft/SqlScriptDOM/pull/172#event-20061700266 |
| https://github.com/ErikEJ |
| ErikEJ | https://github.com/ErikEJ |
|
Oct 2, 2025
| https://github.com/microsoft/SqlScriptDOM/pull/172#ref-issue-2908154599 |
|
Comments are being stripped
madskristensen/SqlFormatter#10
| https://github.com/madskristensen/SqlFormatter/issues/10 |
| https://github.com/madskristensen |
| madskristensen | https://github.com/madskristensen |
| Oct 2, 2025 | https://github.com/microsoft/SqlScriptDOM/pull/172#issuecomment-3362130587 |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| dzsquared | https://github.com/dzsquared |
| October 2, 2025 11:47 | https://github.com/microsoft/SqlScriptDOM/pull/172#commits-pushed-48d09e0 |
|
| https://github.com/dzsquared |
| fix test and related from clause generation change | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/48d09e075185ed5015ca13fbf3cfa60a4a62ed0a |
| 48d09e0 | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/48d09e075185ed5015ca13fbf3cfa60a4a62ed0a |
|
| https://github.com/dzsquared |
| add space back | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/9e14a3b3304ac3e2a6d1c045c480074437f0c64a |
| 9e14a3b | https://github.com/microsoft/SqlScriptDOM/pull/172/commits/9e14a3b3304ac3e2a6d1c045c480074437f0c64a |
| https://github.com/madskristensen |
| madskristensen | https://github.com/madskristensen |
| Oct 13, 2025 | https://github.com/microsoft/SqlScriptDOM/pull/172#issuecomment-3399149596 |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| https://github.com/dzsquared |
| dzsquared | https://github.com/dzsquared |
| Oct 13, 2025 | https://github.com/microsoft/SqlScriptDOM/pull/172#issuecomment-3399214780 |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| https://github.com/scottkuhl |
| scottkuhl | https://github.com/scottkuhl |
| Jan 22, 2026 | https://github.com/microsoft/SqlScriptDOM/pull/172#issuecomment-3786650383 |
| https://private-user-images.githubusercontent.com/4465616/539419117-b4710670-0375-4053-bb12-be0daa7fa5d3.jpeg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzEwMTQzOTYsIm5iZiI6MTc3MTAxNDA5NiwicGF0aCI6Ii80NDY1NjE2LzUzOTQxOTExNy1iNDcxMDY3MC0wMzc1LTQwNTMtYmIxMi1iZTBkYWE3ZmE1ZDMuanBlZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMjEzVDIwMjEzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkxMmFkZmYyNzk1ZDQ0MTI5Y2Y5NmJiZTM4OWNlMThkMWNjMGI2ZTdhOGEzNzE3OThlMTNiNjM1NmY0NGM4MDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZJPRV5am0htl5kDPNKfLCFM3PAjT3J7T9lTPZBLwYMk |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| https://github.com/simonsabin |
| simonsabin | https://github.com/simonsabin |
| Jan 27, 2026 | https://github.com/microsoft/SqlScriptDOM/pull/172#issuecomment-3806531006 |
| @dzsquared | https://github.com/dzsquared |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| https://github.com/dzsquared |
| dzsquared | https://github.com/dzsquared |
| Jan 29, 2026 | https://github.com/microsoft/SqlScriptDOM/pull/172#issuecomment-3820709932 |
| #187 | https://github.com/microsoft/SqlScriptDOM/pull/187 |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
| https://github.com/dzsquared |
| dzsquared | https://github.com/dzsquared |
| Jan 29, 2026 | https://github.com/microsoft/SqlScriptDOM/pull/172#event-22389720834 |
| https://github.co/hiddenchars |
| https://github.com/microsoft/SqlScriptDOM/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FSqlScriptDOM%2Fpull%2F172 |
|
| https://github.com/chlafreniere |
|
chlafreniere
| https://github.com/chlafreniere |
|
| https://github.com/llali |
|
llali
| https://github.com/llali |
|
| https://github.com/ssreerama |
|
ssreerama
| https://github.com/ssreerama |
|
| https://github.com/kburtram |
|
kburtram
| https://github.com/kburtram |
|
Provide an option in the SqlNNNScriptGenerator classes to preserve comments
| https://github.com/microsoft/SqlScriptDOM/issues/20 |
| Please reload this page | https://github.com/microsoft/SqlScriptDOM/pull/172 |
|
| https://github.com/dzsquared |
|
| https://github.com/madskristensen |
|
| https://github.com/scottkuhl |
|
| https://github.com/simonsabin |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |