microsoft / microsoft/TypeScript
Update Terminal's "--pretty" style.
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
I find the Pretty mode in TSC useful. But when there are multiple errors, it has so many spaces between each line that it becomes a pain for me to identify each error, even with the terminal in full size. Maybe I'm missing some setting?

It would be nice if the extra spaces were removed, something like this (also saves half of the terminal space):

If the terminal does not allow having an underline effect in the same text line, maybe a highlight effect like this is possible?

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 locating the TSC terminal diagnostics entry point for the --pretty option and inspect how multiple errors are formatted. Done means pretty output uses less vertical space while keeping each error visually distinct; verify the result with a multi-error command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100