Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Scope based highlighting for identifier #290

Open
patelatharva opened this issue Sep 11, 2013 · 0 comments
Open

Scope based highlighting for identifier #290

patelatharva opened this issue Sep 11, 2013 · 0 comments

Comments

@patelatharva
Copy link

When writing Node.js programs, we usually have lots of variables named callback throughout the file being viewed. When I put cursor on a particular variable, the current implementation highlights all the identifiers with the same spelling in this file. The expected behavior is that only those identifiers/variables should be highlighted which refers to the same variable. Two variables in single file should not be highlighted simultaneously if they are not referring to the same variable and possibly with different scope. I think the resolution of this issue will also work as the first stepping stone for smart code refactoring in single file.

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

No branches or pull requests

1 participant