microsoft / microsoft/TypeScript
Update Terminal's "--pretty" style.
まだ誰も着手していません。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
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?

コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、--pretty オプションに対応する TSC のターミナル診断のエントリーポイントを特定し、複数のエラーがどのようにフォーマットされるかを確認します。各エラーを視覚的に区別できる状態を保ちながら pretty 出力が縦方向のスペースをより少なく使用するようになれば完了です。複数のエラーを発生させるコマンドで結果を検証してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100