Stream: t-compiler/wg-rls-2.0

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: https://github.com/rust-analyzer/rust-analyzer/issues/1726

Last update: Nov 12 2019 at 17:00UTC