redhat-developer / redhat-developer/vscode-java

Automatically create keyboard shortcuts for each refactoring

未关闭
#3,447 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement refactoring
主要语言
TypeScript
星标
2.3k
派生
546
平均合并
20 小时 1 分钟
30 天内合并 PR
11

描述

Please make the refactorings contribute VSCode Commands so that users can configure shortcuts for them and preserve our state of flow, instead of having to use the context menu.

I spent an hour trying to find these commands because I couldn't believe they didn't exist.

Environment
  • Operating System: Ubuntu
  • JDK version: 21
  • Visual Studio Code version: 1.85.1
  • Java extension version: 1.25.1
Steps To Reproduce
  1. Open the Keyboard Shortcuts View
  2. Search for "Inline Local Variable" (or any other refactoring)
Current Result

No Java refactoring action appears.

Expected Result

A Java refactoring action should appear, so that we can configure a shortcut for it.

贡献指南

打开贡献指南

从这里开始

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

调研方向

Issue 中没有指定文件或测试。首先追踪 Java 重构是如何向 VS Code 扩展公开的,以及现有命令是如何注册的。完成的标准是“Inline Local Variable”和其他重构出现在 Keyboard Shortcuts 视图中,并且可以通过快捷键进行分配和调用。

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

评估

技术栈
java, typescript, vscode
领域
developer-experience, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

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