Roadmap 1.0.0
This is the full list of features the project is missing before a full release. Open to suggestions.
Contributions are most welcome. 馃
-
Extension
I wish this project didn't need an extension, but the official Prettier extension only supports loading plugins from npm modules. Installing and updating npm modules requires manually running shell commands, and my proposal to automate that process has been denied.
Prettier core through its plugin system was designed to be universal. In practice however, its CLI and Editor integration are primarily focused on the javascript ecosystem. Publishing a "Prettier Rust" extension is the only ergonomic way to accomodate for the Rust ecosystem.
Roadmap 1.0.0
This is the full list of features the project is missing before a full release. Open to suggestions.
Contributions are most welcome. 馃
Formatting
jinx-rust)![expr; type]matches!if_chain!cfg_if!Crate
The
prettiercrate should provide acargo fmtequivalent and a rudimentary API to use prettier in Rust.cargo prettier? see prettier plugin ruby for reference)prettier::format(&str, prettier::Config { .. }))Cargo.toml(e.g. temppackage.jsonin dev build directory?)Cargo.toml(under[package.metadata.prettier])Extension
I wish this project didn't need an extension, but the official Prettier extension only supports loading plugins from npm modules. Installing and updating npm modules requires manually running shell commands, and my proposal to automate that process has been denied.
Prettier core through its plugin system was designed to be universal. In practice however, its CLI and Editor integration are primarily focused on the javascript ecosystem. Publishing a "Prettier Rust" extension is the only ergonomic way to accomodate for the Rust ecosystem.
.prettierignore+ alert when formatting fails because of itMiscellaneous