microsoft / microsoft/TypeScript
allow wildcards in getSupportedCodeFixes
まだ誰も着手していません。
- 主要言語
- Go
- スター
- 111k
- フォーク
- 14.3k
- 平均マージ
- 2日 4時間
- マージ済み PR(30日)
- 132
説明
I'm developing a LanguageService Plugin for a linter that creates fixable Diagnostics. Unfortunately I don't know the codes and if they are fixable before they actually occur.
AFAICT VSCode handles the case where a Diagnostic's code is supposed to be fixable and getCodeFixes returns no fix.
I'm proposing some kind of wildcard matching or a way to specify that all Diagnostics with a matching Diagnostic.source are considered fixable.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、issue で指定されている language-service API、特に getSupportedCodeFixes と getCodeFixes を追跡し、説明されている VSCode の処理と比較します。ワイルドカードまたは Diagnostic.source のマッチングによって修正可能性をどのように定義すべきかを判断し、選択したルールに一致する診断が、修正が返されない場合でも修正可能として扱われることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript, vscode
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100