redhat-developer / redhat-developer/vscode-java
Exceptions are buried in the log file.
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
I turned on the java tooling in vscode for a flutter project and received the following error:
Failed to configure project sounds
When I googled the error I found a github issue that suggested I should open the java log file where I found:
java.lang.Exception: Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.
I shouldn't have to dig into a log file to find the actual error. vscode-java should be showing the exception description in the vscode problems window.
Version: 1.54.1
Commit: f30a9b73e8ffc278e71575118b6bf568f04587c8
Date: 2021-03-04T22:38:50.094Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Linux x64 5.8.0-44-generic snap
Language Support for java by redhat: v0.76.0
java --version
openjdk 11.0.10 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.10)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.10, mixed mode, sharing)
Ubuntu 20.04
Could not set the project description for 'sounds' because the project description file (.project) is out of sync with the file system.
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
L’issue ne nomme aucun fichier source, test ou point d’entrée. Reproduisez l’échec de configuration du projet avec les outils Java dans VS Code, puis suivez le chemin de cette erreur jusqu’à la fenêtre Problems ; c’est terminé lorsque la description de l’exception y est affichée, au lieu d’apparaître uniquement dans le Java log.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, typescript, vscode
- Domaine
- developer-experience, tooling
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100