redhat-developer / redhat-developer/vscode-java

Offer code improvement suggestions

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

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

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

説明

I'm trying to migrate from IntelliJ and one of the best features it has is the code improvement suggestions. For example, if I'm using JDK7+ and my code is not using the "diamond operator", it offers me to convert the code to this cleaner version. And it does this for:

  1. Convert to try-with-resources on JDK7+
  2. Convert to lambda on JDK8+

And a lot more.

I know this issue is very broad and probably each of theses code refactoring should have its own issue linked to this one. But first I want to check what the core developers think of this.

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

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

はじめの一歩

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

調査の方向性

この issue ではファイル、テスト、エントリーポイントが指定されておらず、Java のリファクタリングを幅広く提案しています。まず、プロジェクトに既存するコード改善機能と、要求された各変換の範囲を確認してください。done は、明確な JDK バージョンごとの動作とテストを備えた、個別にスコープを定めた 1 つ以上の提案として定義する必要があります。

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

評価

技術スタック
java, typescript, vscode
領域
developer-experience, tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

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

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