4 ms·
> Someone shouldn’t have to use source inspection assistive coding tools to parse the code you write
by evoke4908 2y ago
> Someone shouldn’t have to use source inspection assistive coding tools to parse the code you write
- ruszki 2y agoThis is nonsense. You can parse every code with simple Notepad, if you have time. You don’t need to use even search, if you wish. Or you can make your life easier, and use tools which helps you. Once again, regardless of codebase.
- 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?