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

Properties are sometimes clickable #90

@AsaAyers

Description

@AsaAyers
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions