Combine classpath from all projects in workspace
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java, typescript, vscode
调研方向
首先检查 workspace.json 和 launch.json 的 classPaths 是如何处理的,使用附加的 classpath-problem.zip 重现双项目设置。确定调试器当前如何解析 workspace 项目及其依赖项;当启动 demo 可以自动包含 demo2 及其依赖项,而无需手动列出它们时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Suppose you have demo.jar, which dynamically loads class Demo2, which is to be found in demo2.jar. (There are no maven dependencies between demo and demo2.)
In VSCode, it is easy to create a workspace with the code from demo and demo2, but I have not found any good way to get demo and demo2 on the same classpath when launching the application.
In theory, I could use classPaths in workspace.json/launch.json and point to demo2/target/classes + demo2's dependencies. In practice, however, that quickly gets out of hand, since you typically have many dependencies.
I have looked everywhere but haven't found any "good" solution. Is this something that is not supported?
If it isn't, maybe one could introduce another variable like "$Auto," which includes the workspace's combined classpath.
Environment
- Operating System: macosx
- JDK version: Java(TM) SE Runtime Environment (build 19.0.1+10-21)
- Visual Studio Code version: Version: 1.74.2
- Java extension version: 1.13.0
- Java Debugger extension version: v0.47.0
Please see attached zip.
classpath-problem.zip
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-java-debug 的其他 Issue
-
ai-triaged enhancement
难度 3/5 1-2 天 新手友好度 55/100
microsoft/vscode-java-debug#1689 · 2 条评论 ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 条评论 · 已指派 1 人 ·
-
ai-triaged bug
难度 3/5 1-2 天 新手友好度 48/100
microsoft/vscode-java-debug#1658 · 1 条评论 ·
-
ai-triaged enhancement
难度 4/5 3-5 天 新手友好度 45/100
microsoft/vscode-java-debug#1628 · 3 条评论 ·
-
Feature support. 未关闭ai-triaged enhancement
难度 5/5 一周以上 新手友好度 25/100
microsoft/vscode-java-debug#1616 · 1 条评论 ·
查看 microsoft/vscode-java-debug 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 75/100
fil-donadoni/tolaria#4409 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
corsairdev/corsair#1764 ·