Add options to generator to move stored proc params to separate lines
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
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
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/SqlScriptDOM
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/SqlScriptDOM#228 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
microsoft/SqlScriptDOM#183 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
microsoft/SqlScriptDOM#226 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/SqlScriptDOM#225 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
microsoft/SqlScriptDOM#224 ·
All issues in microsoft/SqlScriptDOM
Similar issues
-
channels:add check:passed
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
confluentinc/dbt-confluent#160 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
AstrBotDevs/AstrBot#10205 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100