Skip to content

feat: add support for formatting code from stdin #390

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

calebdw
Copy link

@calebdw calebdw commented Aug 8, 2025

Hello!

Resolves #262, resolves #162

There's tools and editors (e.g., zed, https://jj-vcs.github.io/jj/latest/cli-reference/#jj-fix) that can integrate with formatters if the formatter accepts input on stdin and outputs the changes on stdout. This PR adds that functionality to pint

CC: @TheBlckbird, @bilogic, @serbanrobu, @gabrielbidula

Thanks!

@calebdw calebdw force-pushed the calebdw/push-uuoslosvrquu branch 4 times, most recently from d829949 to 36b8285 Compare August 8, 2025 07:05
@calebdw calebdw marked this pull request as draft August 8, 2025 07:08
@calebdw calebdw force-pushed the calebdw/push-uuoslosvrquu branch 14 times, most recently from 19300d7 to e3070f6 Compare August 8, 2025 16:10
@calebdw calebdw marked this pull request as ready for review August 8, 2025 16:10
@calebdw calebdw force-pushed the calebdw/push-uuoslosvrquu branch from e3070f6 to 94d74e9 Compare August 8, 2025 16:19
@calebdw calebdw force-pushed the calebdw/push-uuoslosvrquu branch from 94d74e9 to 9a6f156 Compare August 8, 2025 16:23
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.

Format the files using stdio Support for formatter mode
1 participant