redhat-developer / redhat-developer/vscode-java
Exceptions are buried in the log file.
Nessuno ha ancora preso questa issue.
- Lingua principale
- TypeScript
- Stelle
- 2.3k
- Fork
- 546
- Merge medio
- 20h 1m
- PR unite (30g)
- 11
Descrizione
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.
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.
Direzione di ricerca
La issue non indica file sorgente, test o punti di ingresso. Riproduci il problema di configurazione del progetto con gli strumenti Java in VS Code, quindi traccia il percorso dell’errore fino alla finestra Problems; il lavoro è completato quando lì viene mostrata la descrizione dell’eccezione, invece che solo nel Java log.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java, typescript, vscode
- Ambito
- developer-experience, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100