Skip to content

tern_jump_to_def command doesn't work for es6 classes created locally #181

@sawyna

Description

@sawyna

tern_jump_to_def works fine for me when I click on library components like Route, Redirect. But when I click (tern_jump_to_def key binding) on react components created by me, it doesn't jump to either the component file or the definition created by me.

This is my .tern-project configuration.

{
    "libs": [
        "ecma5",
        "ecma6"
    ],
    "ecmaVersion": 6,
    "plugins": {
        "node": {},
        "requirejs": {
            "baseUrl": "./"
        },
        "es_modules": {}
    }
}

I'm not sure why this happens only with local react components. Can anyone please help me with this?

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