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

Scope based highlighting for identifier #290

@patelatharva

Description

@patelatharva

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions