redhat-developer / redhat-developer/vscode-java

rewrite extension.ts with async/await instead of then/catch

オープン
#2,509 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

debt
主要言語
TypeScript
スター
2.3k
フォーク
546
平均マージ
20時間 1分
マージ済み PR(30日)
11

説明

Now we have a more complicated extension.ts than before. I find there're lots of nested then/catch blocks with various callbacks, making the execution order a little bit hard to follow. Maybe we can use async/await style for better readability and clearer flow. What do you think?

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず extension.ts を読み、ネストされた then/catch チェーンとそのコールバックをたどって、現在の実行順序を理解します。同じフローで async/await を使用し、拡張機能の観測可能な動作を変更しない形になれば作業は完了です。この issue では、テストや、より限定されたエントリーポイントは特定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
devtools
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。