microsoft / microsoft/TypeScript

Using VS Code Go to Declaration support

Open
#28,871 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Domain: LS: Symbol Navigation In Discussion Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

VS Code 1.30 adds support go to declaration. This supplements the existing go to commands we already have for TypeScript:

  • go to definition
  • go to type definition
  • go to implementation

Although this was added mainly to support languages like C++, I wonder if typescript tooling could also use go to declaration. Some ideas:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read VS Code 1.30's go-to-declaration behavior and the linked TypeScript issue 14588 first. Compare it with the existing go-to-definition, go-to-type-definition, and go-to-implementation commands, including the stated .d.ts target idea. Done means TypeScript tooling supports the requested go-to-declaration behavior with agreed navigation semantics.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.