Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add options to generator to move stored proc params to separate lines

Open
#21 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
sql
Domain
databases

Research direction

Start by locating Sql150ScriptGenerator and the stored-procedure parameter formatting path. Review how it serializes a TSqlFragment, then determine how an option could select same-line versus separate-line parameters. Done means the generator exposes the requested formatting choice while preserving the existing behavior when no option is supplied.

Written by the indexing model from the issue text.

Description

enhancement formatting

Is your feature request related to a problem? Please describe.
Sql150ScriptGenerator to re-generate the SQL text when provided with an input TSqlFragment, leads to putting all stored procedure parameters on same line.

Describe the solution you'd like
This looks poor, ideally should leave all parameters on separate lines or give user an option to pick what they want here.

Describe alternatives you've considered
Other than using tokens to rewrite the script (in which case generator is not necessary and we lose the gains we get using it as well) there are no other known alternatives.

Additional context
Add any other context or screenshots about the feature request here.

Dominant language
GAP
Stars
277
Forks
43
Avg merge
6d 17h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/SqlScriptDOM

All issues in microsoft/SqlScriptDOM

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.