3 ms·
Ctrl+D to select the next instance of the current selection.
by Cyykratahk 14y ago
Ctrl+D to select the next instance of the current selection.
- shurcooL 14y agoThanks, this is the best I've found. But it doesn't select all the instances within local scope (which happen to be highlighted, so it's not stretch to imagine being able to select them all), you end up having to do it manually by starting with the first entry and then carefully select all others that still fall within the local scope. Isn't it a pretty common thing to rename local variables? I'm not sure why it's not a readily available feature.
- Shorel 14y agoIn sublime text the shortcut is Alt-F3. You get one cursor for each instance, so you can select and then edit all at the same time. I'm sure it is a readily available feature. In fact, I use it every day several times since I first installed ST.