Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: pretty print poc #480

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
psteinroe wants to merge 53 commits into main
base: main
Choose a base branch
Loading
from pretty-print
Draft

chore: pretty print poc #480

psteinroe wants to merge 53 commits into main from pretty-print

Conversation

Copy link
Collaborator

@psteinroe psteinroe commented Aug 21, 2025
edited
Loading

I cannot hold myself back anymore... lets see how far we can get :D

notes:

  • when integrating it, we should parse the output of the formatter and compare its AST to the input for safety. if they do not match, show warning that asks the user to open an issue.

todos:

  • improve renderer and test it on large and complex statements
  • run xtask to create test cases from the postgres regression test suite
  • ask claude to implement remaining nodes
  • dont loose comments
  • add json formatter
  • add support for named parameters
  • integrate into workspace, cli and language server

DanielFGray reacted with eyes emoji
psteinroe added 30 commits August 21, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /