redhat-developer / redhat-developer/vscode-java
A single file ever opened with compilation error will influence the workspace
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
Cannot get rid of a single file ever opened
steps to repro:
- Open
1.helloworldproject in vscode at https://github.com/vscjavaci/java-debug-ci/tree/master/testcase/1.helloworld - Create a Single.java outside the 1.helloworld folder
public class Single {
public static void main(String[] args) throws IOException {
System.out.println("Program Arguments:");
for (String arg : args) {
System.out.println("\t" + arg);
}
String foo = (String) System.getProperties().get("foo");
System.out.println("\tValue:" + foo);
}
}
- Open the
Single.javaand F5 and then CLOSE theSingle.java - Trigger the
force java compilationand choose "full"
expected: you will pass the compilation
actual: you will receive the build error notificaiton

Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere das Problem mit dem im Bericht verknüpften Projekt 1.helloworld: Erstelle und öffne Single.java, führe es mit F5 aus, schließe es und löse dann force java compilation mit „full“ aus. Verfolge, wie die geschlossene Datei im Kompilierungsstatus des Arbeitsbereichs verbleibt; abgeschlossen ist die Aufgabe, wenn die vollständige Kompilierung ohne den Fehler der geschlossenen Datei erfolgreich ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, typescript, vscode
- Bereich
- tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 38/100