Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Combine classpath from all projects in workspace

未關閉
#1,279 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
java, typescript, vscode

研究方向

首先檢查 workspace.json 和 launch.json 的 classPaths 是如何處理的,使用附加的 classpath-problem.zip 重現雙專案設定。確定偵錯器目前如何解析 workspace 專案及其相依性;當啟動 demo 可以自動包含 demo2 及其相依性,而無需手動列出它們時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

ai-triaged classpath enhancement

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 天 1 小時
30 天內合併 PR
20

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoft/vscode-java-debug 的其他 Issue

查看 microsoft/vscode-java-debug 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。