microsoft / microsoft/TypeScript

The new `--lsp` flag is not mentioned in `tsc --help`'s output

Open Beginner friendly
#63,959 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

### 🔎 Search Terms

LSP server option flag command

### 🕗 Version & Regression Information

Testing on TypeScript version 7.0.2. This is the first version of TypeScript 7 that I've tried.

### 🙁 Actual behavior

It's surprisingly hard to find out what the command to run the new built-in LSP server is.

It's not mentioned in `tsc --help` or `tsc --help --all`.

How was I meant to find out, using official material, that the command is `tsc --lsp --stdio`?

### 🙂 Expected behavior

`--lsp` should be mentioned in `tsc --help` or `tsc --help --all`'s output.

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

Start by running `tsc --help` and `tsc --help --all`, then trace the entry point that assembles the CLI help output. Ensure the new `--lsp` option is mentioned, including its `tsc --lsp --stdio` usage, and verify both help commands show the expected information.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
76/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.