treefmt
treefmt copied to clipboard
one CLI to format your repo [maintainers=@zimbatm,@brianmcgee]
**Feature Request: Support for `--staged-only` Flag** **Is your feature request related to a problem? Please describe.** Yes. When running `treefmt` natively on a project with partially staged changes, the formatter...
I see we have a brief section on IDE integration in [the README](https://github.com/numtide/treefmt/blob/ea46bf49582f605386d65470c483edb7847bbd3e/README.md#ide-integration), but it only mentions [isbecker/treefmt-vscode](https://github.com/isbecker/treefmt-vscode). I know there are other solutions (such as these two neovim solutions:...
**Describe the bug** The "git" walker will walk - and thus include and scan/format - files NOT known to git, e.g. untracked files. This seems quite counterintuitive to me, I...
**Describe the solution you'd like** To have a downloadable windows executable **Describe alternatives you've considered** looking for a way to configure python and c++ code formatting with one tool that...
**Describe the bug** So the default behavior of treefmt, is to to not pass the file path to the downstream formatter if formatting via stdin. But that subtly breaks fourmolu,...
**Is your feature request related to a problem? Please describe.** With frequent Git (or similar) operations, treefmt often needs to reformat all files, even though almost none changed, since the...
I stumbled across https://treefmt.com/index-formatters/ via google. What is this page? Is it linked to anywhere on our website? All I'm able to find by clicking around is this page: https://treefmt.com/main/reference/formatter-spec/
The following resolves symlinks in the tree root path to avoid false-positives where paths (with symlinks) specified inside the tree root are marked outside.
**Is your feature request related to a problem? Please describe.** I would like a way to see what files are passed to each formatter, without invoking the formatters. **Describe the...