Conversation

Jarkko Sakkinen

Great: "rust-analyzer language server does not support range formatting"

#rust #rustlang
1
0
0

@jarkko there are workarounds, like linking your formatting setup/plugin directly to rustfmt

1
0
0
@tranzystorek_io does not sounds like zero effort ;-)
1
0
0

@jarkko yeah, depends on your editor etc, but in https://github.com/stevearc/conform.nvim it's a relatively simple config change

1
0
1

@jarkko not a zed user, but a quick skim through their docs pointed me to https://zed.dev/docs/configuring-languages#language-specific-settings (setting formatter for Rust to external, rustfmt)

1
0
1