-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Excluding a crate from analysis? #8275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
+1 for this. It would be better if this feature alleviates heavy memory usage by rust-analyzer. |
Would #7449 suffice for your purposes? |
In my case I've got an access to the crate that's causing troubles, so it's not impossible to add a |
I guess we would probably put this in the Basically, we'd probably make it look something like the |
Sounds great! |
The site is temporarily down |
Is there a way to exclude a single crate from analysis?
I've got a dependency in my project that takes too much time to analyze (about 5-10 minutes on ryzen 7 2700) due to a really large amount of proc-macro generated code in it, and since there's no persistent cache in rust-analyzer, every time I reopen the project I have to wait for quite some time for the whole thing to be processed. On the other hand, it's not like I can definitely live without types/completion from that crate..
Thanks!
The text was updated successfully, but these errors were encountered: