redhat-developer / redhat-developer/vscode-java

Enhance Hints and Suggestions

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

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

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

説明

I was using the extension for VSCode, and while it provides some helpful hints, I noticed that it lacks several features available in IntelliJ IDEA and other IDEs. One such feature is the suggestion to refactor traditional switch statements into enhanced switch expressions:

        switch (expression) {
            case 1:
                System.out.println("case 1");
                break;
            case 2:
                System.out.println("case 2");
                break;
            default:
                System.out.println("case 3");
                break;
        }

The extension doesn't suggest refactoring it into the enhanced switch expression, which is a useful feature in many modern IDEs. There are other suggestions that even adding SolarQube it doesn't gets so good as some other IDEs suggestions.

I believe adding support for this kinds of features would significantly improve the developer experience in VSCode when using this extension.

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

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

はじめの一歩

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

調査の方向性

まず、VSCode 拡張機能に既に存在するヒントとリファクタリング提案の実装を見つけます。この issue にある従来の Java switch の例を使って、期待される enhanced-switch の提案を判断します。完了とは、その提案が確実に機能し、関連する既存の動作とともにカバレッジが追加されていることを意味します。

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

評価

技術スタック
java, typescript
領域
developer-experience, tooling
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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