microsoft / microsoft/vscode-java-debug

Disabling or editing the Run Java/Debug Java options

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

还没有人认领这个 Issue。

ai-triaged question ux
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 9 小时
30 天内合并 PR
19

描述

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

贡献指南

打开贡献指南

从这里开始

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

调研方向

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

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

评估

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

把新 issue 发到你的邮箱

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