redhat-developer / redhat-developer/vscode-java

Focus on Newly Created Method/Class in "Create Method" Quick Fix

Open
#3,844 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description:
The "Create Method/Class" quick fix in VSCode Java is a highly useful feature—thank you for including it! I wanted to suggest an improvement to enhance its usability further.

Request:
When a user selects the "Create Method" or "Create Class"quick fix, it would be helpful if the newly generated method automatically became the focused view. This would allow users to immediately start editing the new method, without needing to scroll to find it manually.

Benefit:
By setting focus on the newly created method/class, developers can seamlessly continue their workflow, especially when working in larger files where locating a new method/class can take additional effort.

Thank you for considering this feature enhancement!

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

Start by tracing the VSCode Java "Create Method/Class" quick fix and how it reveals newly generated code. Determine how the editor can focus the created method or class immediately, then verify that both quick-fix variants place focus on the generated declaration without requiring manual scrolling.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.