microsoft / microsoft/vscode-pull-request-github
[feature] mark/deprioritize generated files by default in Tree View
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.6k
- フォーク
- 795
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 46
説明
When reviewing pull requests in GitHub web UI, it does a great job of collapsing/hiding generated content by default:
Users can do so by adding linguist-generated to these files .gitattributes as shown here: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github
However, this experience does not translate well into VS Code, either from the desktop editor, or the www.github.dev UI.
I suggest graying out these entries as well in:
- The "Source Control" container (local changes tree view)
- The "Github Pull Request" container (active PR tree view)
- The active text editor file name (title).
- Possibly collapse these files/folder trees by default.
This seems to be possible via the new FileDecorationProvider VS Code API: https://code.visualstudio.com/api/references/vscode-api#FileDecorationProvider
This is especially important in projects that rely on code generation, where pull requests can contain a single file (source change), and many (tens) of other affected/generated files.
Any thoughts/suggestions welcomed.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
FileDecorationProvider API から始め、Source Control と GitHub Pull Request のツリービュー、およびアクティブなエディターのタイトルの挙動を調査します。完了の条件は、linguist-generated とマークされたファイルが、要求されたサーフェスで視覚的に優先度を下げて表示されることです。ツリーをデフォルトで折りたたむことが実現可能かどうかは、別途判断してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github, typescript, vscode
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100