microsoft / microsoft/vscode-java-dependency
vscode-java-dependency doesn't install or setup correctly when listed in devcontainer.json
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 199
- Forks
- 105
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 27
Description
When I add vscjava.vscode-java-dependency to devcontainer.json's customizations.vscode.extensions, and after "Dev Containers: Rebuild Container" is executed, the vscode-java-dependency doesn't appear to be installed. I was expecting the Java Project tab to be present in Explorer, but it was not.
The extension can be manually installed from the extension tab, and the Java Project tab is populated correctly.
Logs from building and installing the dev container are here: https://github.com/djshaw/vscode-java-dependency-install-problem/blob/main/dev-container-build-log.txt
Logs for manually installing the extension are at the bottom of: https://github.com/djshaw/vscode-java-dependency-install-problem/blob/main/README.md
A repository to reproduce the issue is here: https://github.com/djshaw/vscode-java-dependency-install-problem/tree/main
If this issue is actually a configuration problem on my part, or if there is a work around, I would greatly appreciate any advice on how the issue can be solved.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked reproduction repository and compare its devcontainer.json with dev-container-build-log.txt. Check the extension installation during “Dev Containers: Rebuild Container” against the manual-installation details in README.md. Done means the extension is installed through customizations.vscode.extensions and the Java Project tab appears in Explorer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100