microsoft / microsoft/TypeScript

Add TS Server API for mapping TS file to output file

Open
#38,578 1 comment 2 reactions 1 assignee View on GitHub

@sheetalkamat is already working on this.

Since Jun 6, 2020.

Committed Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

Search Terms

  • Debug / debugger
  • compile
  • tsserver

Problem

VS Code would like to make it easy to debug the active TS file just by pressing F5. To implement this, we need a way to map from a TypeScript file to its JavaScript output.

See https://github.com/microsoft/vscode/issues/95544#issuecomment-628577083 for details

Proposal

Add a new TS Server API that takes a typescript file and returns the path to the output JavaScript file for it.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.