Skip to content
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

Feature Request - fmt to read from stdin and write to stdout without touching file on disk #1586

Open
peterhoeg opened this issue Apr 20, 2023 · 5 comments

Comments

@peterhoeg
Copy link

Many of the various editors formatting plugins expect data to flow via stdin/stdout rather than touching the file directly. It would be great if just --fmt could do that too.

@neunenak
Copy link
Contributor

just --dump will output the formatted version of the current justfile to stdout. This could probably be documented better though.

@peterhoeg
Copy link
Author

peterhoeg commented May 19, 2023 via email

@FelixZY
Copy link

FelixZY commented Jul 13, 2024

+1 for this! I wanted to set up the custom local formatters vscode plugin but was unable to do so because there is no way to read from stdin.

@laniakea64
Copy link
Contributor

Would this be covered by #1933 ?

@FelixZY
Copy link

FelixZY commented Jul 14, 2024

@laniakea64 yes, looks like it 👍

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

No branches or pull requests

4 participants