redhat-developer / redhat-developer/vscode-java
Organize Imports should automatically add required modules in module-info
オープン
@snjeza がすでに取り組んでいます。
2020年4月13日 から。
code action
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
When I do Organize Imports, I'd like for the module-info.java file to be updated automatically as well.
Environment
- Operating System: Windows 10
- JDK version: 14
- Visual Studio Code version: 1.44.0
- Java extension version: 0.59.1
Steps To Reproduce
- create a file
App.javaas below inside a modular project - do
Organize Imports
class App {
void run() {
HttpClient client;
}
}
Current Result
After importing java.net.http.HttpClient, the module-info.java file is unchanged.
Expected Result
The module-info.java file is automatically updated with:
requires java.net.http;
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。