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

Properties are sometimes clickable #90

Open
AsaAyers opened this issue Feb 26, 2018 · 0 comments
Open

Properties are sometimes clickable #90

AsaAyers opened this issue Feb 26, 2018 · 0 comments
Labels

Comments

@AsaAyers
Copy link
Owner

import { foo } from './foo'

function bar() {
    foo.bar()
    //  ^ js-hyperclick sees this `bar` as a link and jumps to the function declaration.
}

I think I'm going to updated it so that the whole foo.bar is clickable, but it will just be a shortcut for clicking foo. Properties are not statically analyzable without guessing, so using the attached variable (foo) as the anchor is the next best thing I can do to supporting properties.

@AsaAyers AsaAyers added the bug label Feb 26, 2018
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

1 participant