redhat-developer / redhat-developer/vscode-java

[regression] Compilation issues for the missing imports are not highlighting for the copy paste java code

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

@testforstephen がすでに取り組んでいます。

2020年5月20日 から。

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

説明

The compilation issues for the missing imports are not highlighting for the copy-paste java code.

Environment
  • Operating System: Windows 10
  • JDK version: Java 1.8.0_231
  • Visual Studio Code version: 1.45.1
  • Java extension version: 0.91
Steps To Reproduce
  1. Copy-paste a simple java program without imports (For Example I copy-pasted the code Calendar cal = Calendar.getInstance();)
  2. Verify that the compilation issue is not highlighted for the missing import of the class Calendar.

Note:

  1. We can easily correct it for small programs but it will be difficult for the big programs since we can identify the import missing issue only when we run the program.

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

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

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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