Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command/keybinding to only select the next occurence #166

Open
derhuerst opened this issue Jul 11, 2017 · 1 comment
Open

command/keybinding to only select the next occurence #166

derhuerst opened this issue Jul 11, 2017 · 1 comment

Comments

@derhuerst
Copy link

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
Copy link
Member

marijnh commented Jul 11, 2017

That does sound like it'd conform nicely with other ST functionality. So sure, a PR would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants