lambdaisland / lambdaisland/deep-diff2
Consider tweaking colors to draw eye to differences
まだ誰も着手していません。
- 主要言語
- Clojure
- スター
- 326
- フォーク
- 18
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Thanks so much for the kaocha, I am really enjoying using it!
Some of my integration tests include the comparison of largish data structures. It can take my eyeballs a while to find the diff between expected and actual in these data structures.
I do sometimes use the search feature in my terminal to search for + and - and that can help and I was thinking focusing only on the differences, as #13 suggests, would help.
But I am also thinking perhaps a different choice of colors might help. I like the choice of colors chosen for differences, but I find that the red can take a while to spot because it is already used in non-diff syntax highlighting.
My initial thoughts are:
- change the red to something else in default syntax highlighting, maybe blue.
- take advantage of background colors to really draw the eye to changes. We might even be able to keep the normal syntax highlighting foreground colors with this scheme.
I am happy to give some color schemes a whirl for review, then a PR with changes, if there is interest in this idea.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue にはファイル名もテストも記載されていません。構文ハイライトと diff の色を適用しているコードを特定し、既存の出力と関連するテストを確認してください。変更をより見つけやすくしつつ、通常の構文ハイライトを壊さない、合意された色の扱いになれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- clojure
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100