command/keybinding to only select the next occurence
Opened this issue ยท 1 comments
derhuerst commented
Hey! I just tried out Sublime + tern and it works fine so far. ๐
I wondered if it would be possible to add a command to only select the next occurrence of an identifier/variable, similar (but smarter) to what cmd+D does right now. I can see that the current "select all refs" command just loops all results coming from the tern server.
Afaict the code would have to loop the results until it reaches one after the current (last) selection, select this and abort a loop. I'd be willing to make a PR, although I'm a Python newbie.
marijnh commented
That does sound like it'd conform nicely with other ST functionality. So sure, a PR would be great.