Skip to content

Remove formatting for scripting service#534

Merged
mmcfarland merged 4 commits intomainfrom
user/mjm/scripting-svc-formats
Mar 31, 2025
Merged

Remove formatting for scripting service#534
mmcfarland merged 4 commits intomainfrom
user/mjm/scripting-svc-formats

Conversation

@mmcfarland
Copy link
Copy Markdown
Member

@mmcfarland mmcfarland commented Mar 31, 2025

The scripting service recently was changed to include sqlparse formatting prior to returning the generated sql. However, this formatting doesn't produce well formatted results in many cases. Instead, the formatter calls were removed, and the sql templates that were producing the original poorly formatted results were changed to be formatted nicely, as all other scripting templates are.

The formatting is still an issue in generally, and that is being tracked here https://github.com/microsoft/pgtoolsservice/issues/533

The scripting service recently was changed to include sqlparse
formatting prior to returning the generated sql. However, this
formatting doesn't produce well formatted results in many cases.
Instead, the sql templates that were producing the original poorly
formatted results were changed to be formatted nicely, as all other
scripting output is.

The formatting is still an issue in generally, and that is being tracked.
@mmcfarland mmcfarland requested review from a team as code owners March 31, 2025 18:31
@mmcfarland mmcfarland force-pushed the user/mjm/scripting-svc-formats branch from cfe3eaf to 2879a36 Compare March 31, 2025 18:41
@mmcfarland mmcfarland force-pushed the user/mjm/scripting-svc-formats branch from 9be3b62 to 9a58e20 Compare March 31, 2025 19:08
@mmcfarland mmcfarland merged commit 537c888 into main Mar 31, 2025
2 checks passed
@mmcfarland mmcfarland deleted the user/mjm/scripting-svc-formats branch March 31, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants