microsoft / microsoft/TypeScript
The new `--lsp` flag is not mentioned in `tsc --help`'s output
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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