Oddbean new post about | logout
 Hey Rust nerds. How do I setup VSCode so clippy doesn't check every single dependency every time I save a file!? 
 I have zero idea of what you’re talking about, so I guess this one’s best left to super nerds! :) 
 #asknostr #dev
nostr:nevent1qqsd478jzaq0rsrjl26m4dx48lfl5axl39q4vvwf55s26dzh6tgp4vqpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsygqh88vn0hyvp3ehp238tpvn3sgeufwyrakygxjaxnrd8pgruvfkaupsgqqqqqqs73gdle 
 Probably in the settings somewhere for rust-analyzer.  
 That's what I thought... haven't been able to find it...  
 You could pause the LSP server. Iirc, this mainly affects edits to Cargo files.  
 
Vs codium 
 #asknostr 
 try checking "rust-analyzer.checkOnSave"
https://rust-analyzer.github.io/manual.html#configuration
 
 "rust-analyzer.checkOnSave.allTargets": false

this might help, but there are many options to fine tune, what and when the rust-analyser checks.  
 Not an answer to your question, but if you’re annoyed by how slow clippy is, it sounds like there’s work being done to speed it up significantly: https://rust-lang.github.io/rust-project-goals/2024h2/optimize-clippy.html 
 I don't use VSCode but it looks like something is invalidating your entire build cache. An env variable changes every time or something. 
 Memorize all the clippy rules ofc! 
 I use RustRover though  
 Hey nostr:nprofile1qqsx8lnrrrw9skpulctgzruxm5y7rzlaw64tcf9qpqww9pt0xvzsfmgpg3mhxw309aekk7n6dcmxx6tdvej8vdt9xfcxs6nrx3uhydtkxa5kkcncw3hr2e3hv34hwm34vvmhvdphw3j827nvvfhhxutdw9jzummwd9hkutcprfmhxue69uhhq7tjv9kkjepwve5kzar2v9nzucm0d5hsz9thwden5te0wfjkccte9ejxzmt4wvhxjme0mjurz8, pls give me a free zap.stream NIP-05. I'm poor 😭 
 Didnt i already give you a snort one? 
 That doxxes my real name 😭😭

I want to use "mavenleo" 
 Pweeese, mavenleo@zap.stream 
 Same