microsoft / microsoft/java-debug
Use client agnostic command names
未关闭
还没有人认领这个 Issue。
ai-triaged
enhancement
- 主要语言
- Java
- 星标
- 409
- 派生
- 204
- 平均合并
- 1 天 13 小时
- 30 天内合并 PR
- 4
描述
From https://github.com/eclipse/eclipse.jdt.ls/pull/424#issuecomment-344130840, I noticed the debugger exposes vscode* commands on the server side.
[Trace - 21:52:28] Received request 'client/registerCapability - (5)'.
Params: {
"registrations": [
{
"id": "18163e21-97e7-4ae8-b51c-5cdb20e639b1",
"method": "workspace/executeCommand",
"registerOptions": {
"commands": [
"java.edit.organizeImports",
"vscode.java.fetchUsageData",
"vscode.java.resolveClasspath",
"vscode.java.resolveMainClass",
"vscode.java.updateDebugSettings",
"vscode.java.buildWorkspace",
"vscode.java.startDebugSession"
]
}
}
]
It'd be better if the names were client agnostic.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先定位列出的 workspace/executeCommand 名称在哪里注册和使用,包括 issue 中显示的 vscode.java.* 命令。确定项目的客户端无关命名约定,以一致的方式更新注册项和引用,并验证命令注册对 Java 调试服务器仍然有效。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- devtools
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100