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

limit highlight to current scope #19

Open
xcambar opened this issue Dec 28, 2011 · 1 comment
Open

limit highlight to current scope #19

xcambar opened this issue Dec 28, 2011 · 1 comment

Comments

@xcambar
Copy link

xcambar commented Dec 28, 2011

Hi,
The highlight operateson the whole file. I wish it could only highlight occurences in the current scope (ie, if highlighting a var in a method, only highlight within that method).

Thanks for the plugin, it really helps!

@Saevon
Copy link
Contributor

Saevon commented May 24, 2013

Even though its been a while since this issue has seen action, I thought I'd mention:

What happens if you have a class or global variable? figuring out how much scope to show would be a near impossible task. Though an option might be fine.

Also remember that there are many languages, so you would need to ensure each of them had a logical 'local scope'

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