3 ms·
> For example, modern editors have a neat feature where they'll highlight a variable everywhere if you put your cursor on it. Nice to have, didn't think to look
by sys_64738 5y ago
> For example, modern editors have a neat feature where they'll highlight a variable everywhere if you put your cursor on it. Nice to have, didn't think to look for it, there's a vim plugin that does it.
This sounds like pressing '*' over a keyword in vim.
- bee_rider 5y agoHonestly, I thought the difference was that the plugin was more selective about distinguishing between things like object.field and a variable that just happened to be called field but when double checking I wasn't able to get any clever behavior out of it.
- sys_64738 5y agoInteresting. Not sure * has such semantics. Must check next year.