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
When working in slow or no internet situations, RA seems to lock the registry/workspace trying to do internet things. It can be tricky to cancel these operations.
My suggestion is to add a new offline mode that can be toggled via the menu. This can either set the environment variable (CARGO_NET_OFFLINE=true) or pass --offline to each cargo command (I'd prefer this so it's easy to tell the mode is being used). This would be two new menu options:
"rust-analyzer: Enable offline mode": cancel any running operations, set the flag, and relaunch anything in progress
"rust-analyzer: Disable offline mode": allow running operations to complete, remove --offline flag
The text was updated successfully, but these errors were encountered:
When working in slow or no internet situations, RA seems to lock the registry/workspace trying to do internet things. It can be tricky to cancel these operations.
My suggestion is to add a new offline mode that can be toggled via the menu. This can either set the environment variable (
CARGO_NET_OFFLINE=true
) or pass--offline
to each cargo command (I'd prefer this so it's easy to tell the mode is being used). This would be two new menu options:The text was updated successfully, but these errors were encountered: