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")
Personne n'a encore pris cette issue.
- Langage dominant
- TypeScript
- Étoiles
- 2.3k
- Forks
- 546
- Merge moyen
- 20 h 1 min
- PR mergées (30 j)
- 11
Description
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
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par extraire code-missing-project-path-issue.tar.gz et ouvrir working-workspace.code-workspace et problematic-workspace.code-workspace dans VS Code. Reproduisez d’abord le démarrage du language server avec le chemin de projet inexistant, puis comparez la progression et les diagnostics avec le workspace fonctionnel. C’est terminé lorsque le démarrage atteint 100 % et que Main.java ne signale plus de classpath incomplet.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, typescript, vscode
- Domaine
- devtools
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100