Skip to content

TypeScript: References include definition, which breaks "editor.gotoLocation.multipleReferences": "goto" usage #160637

@talks2much

Description

@talks2much

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: insider
  • OS Version: Windows

Steps to Reproduce:

  1. Set "editor.gotoLocation.multipleReferences": "goto" setting
  2. Create untitled TypeScript file:
const test = () => {}
test()
test()
  1. Ctrl+clicking test on first line or execute Go to References command

Expected: focus on line 2
Actual: stays on the same position

References provide isn't being called on Go to References command, but specifically TypeScript extension still includes definition into references. I hope you take this issue as it is really annoying, there is absolutely no need to do this + I can call definitions manually when I want.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions