Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Disabling or editing the Run Java/Debug Java options

未关闭
#1,264 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
java, typescript, vscode

调研方向

从 Java Debugger extension 的“Run Java”和“Debug Java”按钮开始,然后检查 launch.json 和 Gradle extension 如何提供可用的替代方案。确定是否可以在不禁用调试器依赖项的情况下隐藏或覆盖这些按钮;当对于所报告的设置,受支持的行为明确后即视为完成。

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

描述

ai-triaged question ux

Hi. Is it possible to remove or override the "Run Java", "Debug Java" buttons that (I believe) the Java Debugger extension is adding to VSCode?
I'm running a Gradle project and the Gradle extension can successfully run and debug the project but I don't think it's possible to edit the launch.json file to use the same calls that the Gradle extension uses.

It's not a big deal but it's just confusing to have very visible Run/Debug buttons that do not work but have a set of Run/Debug buttons inside the Gradle extension that do work (but depend on the Java Debugger extension also so I can't totally disable it).

Thanks.

Environment
  • Operating System: Mac
  • JDK version: 17
  • Visual Studio Code version: 1.7.3.1
  • Java extension version: 0.25.6
  • Java Debugger extension version: 0.46.0
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 3 小时
30 天内合并 PR
19

贡献指南

打开贡献指南

从这里开始

  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 摘要。