Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

String is clickable #64

Open
Hativ opened this issue Apr 13, 2017 · 1 comment
Open

String is clickable #64

Hativ opened this issue Apr 13, 2017 · 1 comment
Labels

Comments

@Hativ
Copy link

Hativ commented Apr 13, 2017

A string of the name like a variable is clickable.

Example:

var foo;
 
var obj = {
    "foo": "bar"
};

"foo" in the object obj will be clickable and jump to var foo;

@AsaAyers AsaAyers added the bug label Apr 14, 2017
@AsaAyers
Copy link
Owner

I don't think this is something I want to address with the current design. When you over over "foo" in the object hyperclick provides the string and the physical location. js-hyperclick just looks up the known variables to see if there is a match.

I guess to solve this I would need to locate every place a variable is used and store those locations. I don't think the current behavior causes a problem, so this is a low priority.

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

No branches or pull requests

2 participants