-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
A-documentationdocs for rust-analyzer usage/inner workingdocs for rust-analyzer usage/inner workingC-enhancementCategory: enhancementCategory: enhancement
Description
The current documentation on this setting is not very clear:
Advanced option, fully override the command rust-analyzer uses for formatting.
From #10826 I gathered that I should be able to set it to an array containing an absolute path to a rustfmt executable, but this just caused rust-analyzer to not format files at all anymore (I set it to my nightly toolchain's rustfmt binary).
Could it be documented how this option is meant to be used? Alternatively, it would be great if I could just tell rust-analyzer to use rustfmt from a different toolchain than what's used for everything else.
joshka
Metadata
Metadata
Assignees
Labels
A-documentationdocs for rust-analyzer usage/inner workingdocs for rust-analyzer usage/inner workingC-enhancementCategory: enhancementCategory: enhancement