microsoft / microsoft/vscode-java-dependency

vscode-java-dependency doesn't install or setup correctly when listed in devcontainer.json

未关闭
#818 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
199
派生
105
平均合并
1 天 22 小时
30 天内合并 PR
27

描述

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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从链接的复现仓库开始,将其 devcontainer.json 与 dev-container-build-log.txt 进行比较。根据 README.md 中的手动安装详情,检查“Dev Containers: Rebuild Container”期间的扩展安装情况。当扩展通过 customizations.vscode.extensions 安装,并且 Java Project 选项卡出现在 Explorer 中时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
developer-experience, devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。