Skip to content

Go to Definition is not working for simple js object #6839

@egamma

Description

@egamma

From @yboukhata on February 2, 2016 13:16

Hi,

The Go to Definition seems not working for object methods.

In this example, clicking on Go to Definition in obj.method does anything.

var obj = {};

obj.method = function() {
    return true;
};

obj.method();

I think that it is a bug in Go to Definition.

Copied from original issue: microsoft/vscode#2641

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions