redhat-developer / redhat-developer/vscode-java
The editor can't switch to the new created method
Open
Nobody has claimed this yet.
enhancement
navigation
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Environment
- Operating System:Windows/Mac/Linux
- JDK version: jdk11.01
- Visual Studio Code version: 1.30.2
- Java extension version:0.37.0(build 4)
Steps To Reproduce
- Open .\resources\eclipse\simple-app.
- Select Foo.java file, invoke class code snippet to generate code as below
package app;
/**
* Foo
*/
public class Foo {
}
- Select the code action of Create method 'call()' in type 'Foo' to fix the error.
Current Result
The editor can't switch to the new created method, as below

Expected Result
It will jump to the new created method automatically
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with resources/eclipse/simple-app and Foo.java using the class code snippet and the Create method 'call()' code action. Trace the editor's navigation after the method is generated, then verify that the editor automatically jumps to the new method on Windows, macOS, or Linux.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100