You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: