dprint icon indicating copy to clipboard operation
dprint copied to clipboard

Pluggable and configurable code formatting platform written in Rust.

Results 172 dprint issues
Sort by recently updated
recently updated
newest added

The graph debugging tool should show parts of the graph that get traversed more than other parts. This could just be indicated by changing the links to from black to...

domain: core

``` error: linking with `cc` failed: exit code: 1 | = note: "cc" "-arch" "arm64" "-L" "/opt/homebrew/Cellar/rust/1.48.0/lib/rustlib/aarch64-apple-darwin/lib" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.0.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.1.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.10.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.11.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.12.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.13.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.14.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.15.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.2.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.3.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.4.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.5.rcgu.o" "/private/tmp/dprint-20201230-25266-zogg6j/dprint-0.11.0/target/release/deps/dprint.dprint.8xikgci6-cgu.6.rcgu.o"...

The latest release is about 10% slower than the previous. I'm not going to worry about that too much at the moment and will instead optimize it all once everything...

performance

i am willing to help for vue plugin, but i don't know how to start, could you give more detail or give some example?

Would just wrap go fmt for now. * https://golang.org/pkg/go/format/#Source * https://github.com/wasmerio/wasmer/pull/1131

enhancement

Hi. Thanks for nice work, i not tested VSCode extension yet, but currently using Sublime Text 3/4 due of it's speed and low memory overhead, so please can you create...

enhancement

The printer currently always jumps back to save points. For performance reasons, it shouldn't jump back unless it needs to because then it just wastes time reprinting the same thing....

performance
domain: core

Hey, author of [rust-analyzer](https://github.com/rust-analyzer/rust-analyzer) here. Long term, rust-analyzer needs a code formatter, and I like the IR approach you are taking, so I thought I'll dump some of my thoughts...

discussion

Similar to when someone runs `dprint upgrade` for npm or homebrew, it should also display a similar error when using it with `cargo install`. Instead it should recommend running `cargo...

enhancement
domain: cli

As title. This will allow replacing the running process.

bug