redhat-developer / redhat-developer/vscode-java
"Starting java language server" processing stops before 100% on workspaces with a non-existing project directory (causing "Classpath is incomplete")
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
The following workspace opens ok and "starting java language server" process finishes at 100%
{
"folders": [
{
"path":"simple-project1"
},
{
"path":"other-existing-dir"
}
]
}
However the one below one stops at 30% because the first project path in the workspace does not exist. This causes also the following error when clicking on the code of Main.java: "Classpath is incomplete: Only syntax errors will be reported":
{
"folders": [
{
"path":"non-existing-dir"
},
{
"path":"simple-project1"
},
{
"path":"other-existing-dir"
}
]
}
Environment
- Operating System:
Ubuntu 18.04.3 LTS - JDK version: 13
- Visual Studio Code version:
1.42.1 - Java extension version:
0.57.0(got from changelog)
Steps To Reproduce
- First open
working-workspace.code-workspaceand see the thumbs-up symbol on down-right side. - Then open
problematic-workspace.code-workspaceand see the thumbs-down symbol on down-right side.
Current Result
Expected Result
Additional Informations
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
Beginne damit, code-missing-project-path-issue.tar.gz zu extrahieren und working-workspace.code-workspace sowie problematic-workspace.code-workspace in VS Code zu öffnen. Reproduziere zuerst den Start des Language Servers mit dem nicht vorhandenen Projektpfad und vergleiche anschließend den Fortschritt und die Diagnosen mit dem funktionierenden Workspace. Fertig bedeutet, dass der Start 100 % erreicht und Main.java keine unvollständige classpath mehr meldet.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, typescript, vscode
- Bereich
- devtools
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100