Stream: t-compiler/rust-analyzer

Topic: formatting takes a while

Ivan Molodetskikh (Aug 22 2019 at 20:41, on Zulip):

Hello! I'm using rust-analyzer with LanguageClient-neovim, and I noticed that textDocument/formatting takes a really long while, considerably longer than running cargo fmt in a terminal on the same project. Is this an issue of rust-analyzer that I should report?

matklad (Aug 22 2019 at 20:42, on Zulip):

It makes sense to report it yeah, but I don't have any reasonable hypothesis as to what's might be wrong. We just call rustfmt process for reformatting

Ivan Molodetskikh (Aug 22 2019 at 20:57, on Zulip):

Made an issue here:

Last update: Jul 28 2021 at 04:45UTC