You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Fix formatting requests hanging when r-a is still starting
The reason for that was that we were calculating the crate defmaps of the file we are saving by accident causing us to get stuck waiting on their expensive computation, while we only need the relevant crate id.
Closes#4054Closes#11654
Using Visual Studio Code, saving a file runs
handle_code_action
first, then formats.rust-analyzer version: 2022-03-07 dev (built from master)
Also occurs on stable
rustc version: rustc 1.61.0-nightly (68369a041 2022-02-22)
relevant settings: (eg. client settings, or environment variables like
CARGO
,RUSTUP_HOME
orCARGO_HOME
)The text was updated successfully, but these errors were encountered: