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.

Assessment

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

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.

Description

Docs
🔎 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.

Dominant language
Go
Stars
111k
Forks
14.4k
Avg merge
1d 15h
Merged PRs (30d)
106

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.

More from microsoft/TypeScript

All issues in microsoft/TypeScript

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.