When I open a rust project in vscode, or vim, the IDE is extremely slow in marking errors.
Changes take around 5-10 seconds to propagate.
A typescript project (which also uses language-server), is nearly instantaneous, or at least under a second or so.
This wouldn’t be so bad if I was good at rust - make a bunch of changes and let the IDE correct me when I have a moment to think about it.
But as a part-time Rust learner who’s trying to let the compiler teach me, this is almost unbearable… I need the constant feedback and iteration. These 5-10 seconds end up costing me hours in frustration.
I vaguely remember it being bad on linux as well - but maybe not as bad… I see from various google searches that it’s a problem others encounter, but then core team members like @steveklabnik seem to be developing on Windows and I’m sure on very large projects - so something must be off here.
I’ve tried lots of things… updated rls, tinkered with some settings (like turning racer off), etc.
For what it’s worth,
cargo check is very quick… MUCH quicker (on incremental rebuilds) than the IDE/rls!
Any help is appreciated!!