Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sawyna opened this issue Jun 30, 2018 · 0 comments
Open

Comments

@sawyna
Copy link

sawyna commented Jun 30, 2018

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?

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

No branches or pull requests

1 participant