Skip to content

In Emacs, tern-find-definition merely returns in "Mark set" #948

@brandon-arnold

Description

@brandon-arnold

Really not sure what else to do on this. When I put the cursor on a variable in my Javascript file and hit M-. (or M-x, tern-find-definition), the output console merely says "Mark set" without any navigation to the definition in question. The .js file is beneath the web/ folder, with a .tern-project file in the root of the project, as such:

.tern-project:

{
    "plugins": {
      "es_modules": {},
      "node": {},
      "angular": {},
      "commonjs": {},
      "webpack": {}
    },
    "loadEagerly": [
      "web/**/*.js"
    ],
    "dontLoad": [
      "node_modules/**"
    ],
    "libs": [
        "ecmascript",
        "browser",
        "chai"
    ],
    "ecmaVersion": 6
}

Also, the variable in question is imported via a statement such as import foo from 'bar'.

Emacs version: GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian
Tern version: Latest on tern master in this repo
Emacs tern-mode version: Current beneath emacs/ folder in this repo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions