Skip to content

Config rust-analyzer to use the new formatting style #5069

Description

@rami3l

OTOH to facilitate use in IDEs so that we can never worry about reorganizing imports, I'm discovering the feasibility of adding a recommended rust-analyzer config that looks like so:

rustfmt = { extraArgs = { "+nightly", "--config-path=.rustfmt.unstable.toml" } },

Interesting, I cannot use that yet because rust-analyzer is calling rustfmt at the source file's basedir so .rustfmt.unstable-toml will be "not found":

Originally posted by @rami3l in #5065

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions