dprint code formatter

47 posts

dprint code formatter banner
dprint code formatter

dprint code formatter

@dprintfmt

A pluggable and configurable code formatting platform written in Rust.

Katılım Mayıs 2020
0 Takip Edilen88 Takipçiler
dprint code formatter retweetledi
David Sherret
David Sherret@DavidSherret·
Due to terrible GitHub availability, dprint formatting plugins on plugins.dprint.dev are now served directly instead of redirecting to GH assets. Additionally, the plugins are now cached indefinitely by the server, which eliminates the risk of a repo disappearing.
English
1
2
9
882
dprint code formatter retweetledi
dprint code formatter retweetledi
David Sherret
David Sherret@DavidSherret·
The deno and dprint vscode extensions now prompt when a custom executable path is set in the workspace configuration. I believe this should help reduce the chance of malicious config launching an executable in a trusted workspace.
David Sherret tweet media
English
0
1
2
230
dprint code formatter
dprint code formatter@dprintfmt·
dprint now has Oxc (JS/TS) and Mago (PHP) code formatting plugins. Add them to your project by running: dprint config add oxc dprint config add mago These plugins run sandboxed in WebAssembly, like most dprint plugins.
English
1
1
0
151
dprint code formatter retweetledi
David Sherret
David Sherret@DavidSherret·
dprint 0.51 (code formatter) is out. This release adds initial support for formatting with a global config file. github.com/dprint/dprint/…
English
1
1
2
157
dprint code formatter retweetledi
David Sherret
David Sherret@DavidSherret·
You can also use them in dprint via Wasm plugins (ex. dprint config add g-plane/pretty_yaml). See malva, markup_fmt, and pretty_yaml at dprint.dev/plugins/ These support YAML, CSS, SCSS, Sass, Less, HTML, Vue, Svelte, Astro, Angular, Jinja, Twig, Nunjucks, and Vento files.
English
1
1
4
333
dprint code formatter
dprint code formatter@dprintfmt·
dprint 0.47 was released with a new --staged flag to only format git staged files, support for ${configDir} config template variable, and a new Wasm plugin interface (the old version is still supported and current plugins will migrate in a few months) github.com/dprint/dprint/…
English
0
0
5
157
dprint code formatter
dprint code formatter@dprintfmt·
dprint 0.46 was released a couple weeks ago with the ability to configure TLS certs (#tls-certificates" target="_blank" rel="nofollow noopener">dprint.dev/setup/#tls-cer…) and gitignore support.
English
0
0
1
72
dprint code formatter retweetledi
David Sherret
David Sherret@DavidSherret·
Probably 95% of GitHub sponsors for dprint has been from Canva, they maintain the intellij plugin, and they did the initial implementation of the exec dprint plugin. dprint wouldn't be where it is today without the feedback and support from Canva. Thanks for the sponsorship!
Brad Zacher@bradzacher

So glad to be working for a company that sponsors its OSS dependencies. I nominated @geteslint, @tseslint and @dprintfmt and they all got funded this cycle 🎉🎉🎉

English
0
4
12
996
dprint code formatter
dprint code formatter@dprintfmt·
Note that if you install via npm it actually runs the dprint binary via Node, which has an additional startup cost. I'll look at improving that in github.com/dprint/dprint/… but if you have any pointers/suggestions, please let me know.
English
0
0
0
73
dprint code formatter
dprint code formatter@dprintfmt·
dprint 0.45.1 was released which eliminates some startup overhead on Mac and Linux.
dprint code formatter tweet media
English
1
0
3
663
dprint code formatter
dprint code formatter@dprintfmt·
dprint-plugin-toml 0.6.0 now sorts workspace members and dependencies in Cargo.toml files (can be disabled by setting "cargo.applyConventions" to false). For an example of this in action, see this PR in Deno's repository github.com/denoland/deno/…
English
0
0
0
58
dprint code formatter
dprint code formatter@dprintfmt·
dprint 0.45.0 was released with a new experimental `dprint lsp` sub command. This will make it easier to use dprint in non-vscode/intellij editors. You can try it out in vscode by adding "dprint.experimentalLsp": true to your vscode settings. github.com/dprint/dprint/…
English
0
0
1
62
dprint code formatter
dprint code formatter@dprintfmt·
dprint 0.43 was released this weekend. Additionally, there are now Biome (previously Rome—JS/TS/JSON) and Ruff (Python) adapter plugins that enable the use of these formatters in dprint's CLI and JS API. See the release notes for more details. github.com/dprint/dprint/…
English
0
0
5
120