rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.23k stars 1.6k forks source link

Disable autostart in VSCode #17872

Open thewh1teagle opened 2 months ago

thewh1teagle commented 2 months ago

Since rust analyzer do heavy stuff when I start it in the project (usually indexing) I would like to disable it in VSCode per workspace / globally by default and start it manually when needed.

https://github.com/rust-lang/rust-analyzer/issues/17834

lnicola commented 2 months ago

You can disable the indexing step by setting rust-analyzer.cachePriming.enable to false. Persistence is not implemented (#4712).