anacierdem / vscode-requirejs

Provides goto definition functionality for require js modules.
MIT License
21 stars 14 forks source link

Conflicts with code navigation inside file #69

Open xmedeko opened 4 years ago

xmedeko commented 4 years ago

Disclaimer: I know the project is not actively maintained. Just filling the issue if anybody would continue with it.

When I has enabled this extension, and DoJo AMD with a class and I cannot navigate among class methods and properties (Go to ... Peek ...):

define(["module1", "module2"], function(module1, module2) {
  class SomeClass {
    doSomething() { this._doSomethingInner(false); }

    _doSomethingInner(param) { ... }
  }
}

E.g. Go To Definition (F12) does not work on this._doSomethingInner(false) call and Go To Implementation (Ctrl+F12) does not work on _doSomethingInner() definition. Etc.