Code: consider activating the extension lazily #7737
Labels
A-vscode
vscode plugin issues
C-enhancement
Category: enhancement
S-actionable
Someone could pick this issue up and work on it right now
We currently set
workspaceContains:**/Cargo.toml
to have the extension activate if Rust code is present in the workspace, but Code will time out after 5 seconds and activate it anyway.We could try starting only when editing a Rust file, like
vscode-rust
did in rust-lang/vscode-rust@61838af.Thanks to @kankri for the awesome investigation in #2533 (comment), which I've unfortunately missed and to @ishowta who dug it up.
Related #2533
Related #7268
The text was updated successfully, but these errors were encountered: