redhat-developer / redhat-developer/vscode-java
[regression] Compilation issues for the missing imports are not highlighting for the copy paste java code
Aperta
@testforstephen ci sta già lavorando.
Dal 20/5/2020.
bug
diagnostics
regression
standalone files
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
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
- Copy-paste a simple java program without imports (For Example I copy-pasted the code
Calendar cal = Calendar.getInstance();) - Verify that the compilation issue is not highlighted for the missing import of the class Calendar.
Note:
- 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.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.