microsoft / microsoft/TypeScript

Update Terminal's "--pretty" style.

Open
#28,500 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

In Discussion Suggestion
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?
image
It would be nice if the extra spaces were removed, something like this (also saves half of the terminal space):
image
If the terminal does not allow having an underline effect in the same text line, maybe a highlight effect like this is possible?
image

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.