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

Highlight and navigate through symbol occurrences on emacs module #723

Closed
aiguofer opened this issue Feb 26, 2016 · 1 comment · May be fixed by #890
Closed

Highlight and navigate through symbol occurrences on emacs module #723

aiguofer opened this issue Feb 26, 2016 · 1 comment · May be fixed by #890

Comments

@aiguofer
Copy link

I recently found http://mihai.bazon.net/projects/editing-javascript-with-emacs-js2-mode/js2-highlight-vars-mode, which allows me to easily see all instances of the variable at point and also allows me to navigate between them. This is quite convenient, and it seems like something tern could do.

My current problem with the above implementation is that it interferes with company-mode completions. Suggestions only give me about a second to tab complete before they dissappear (i'm guessing due to the 'polling' mechanism used by that plugin). I can't seem to find where I could contact that developer, so I figured I'd go ahead and make a feature request here first since I'd rather just use one tool.

@marijnh
Copy link
Member

marijnh commented Apr 11, 2016

It is probably not too hard to implement that feature on top of Tern, but I'm not taking feature requests for the emacs mode (programming emacs is too painful), so if you want this, you'll have to work on it yourself (a pull request would be welcome).

@marijnh marijnh closed this as completed Apr 11, 2016
aiguofer pushed a commit to aiguofer/tern that referenced this issue Feb 19, 2017
Inspired by js2-highlight-vars-mode, navigate through ref
occurrences. Fixes ternjs#723
aiguofer pushed a commit to aiguofer/tern that referenced this issue Feb 19, 2017
Inspired by js2-highlight-vars-mode, navigate through ref
occurrences. Fixes ternjs#723
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

Successfully merging a pull request may close this issue.

2 participants