3 ms·
"If you have time" is the operative point here. The idea is to make it efficient to quickly search for occurrences. So then you get back to the LSP question --
by achierius 2y ago
"If you have time" is the operative point here. The idea is to make it efficient to quickly search for occurrences.
So then you get back to the LSP question -- but for larger codebases I can tell you, those don't always work as well as you'd hope. I don't use 'ii' but it's admittedly much easier to just `rg` for variables than hope my editor plugin decides to work today.
- strken 2y agoIn general I agree with you, but in the specific case of loop variables, how much code do you need to search through? How big is your loop if you need to reach for rg to understand it?