redhat-developer / redhat-developer/vscode-java

Automatically create keyboard shortcuts for each refactoring

Open
#3,447 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement refactoring
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing how Java refactorings are exposed to the VS Code extension and how existing commands are registered. Done means “Inline Local Variable” and the other refactorings appear in the Keyboard Shortcuts view and can be assigned and invoked through shortcuts.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.