redhat-developer / redhat-developer/vscode-java
source action->override/implement methods does not get correct name of arguments.
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Environment
- Operating System:windows 10
- JDK version:1.8.0_101
- Visual Studio Code version:1.35.1
- Java extension version:0.46.0
Steps To Reproduce
- source action->override/implement Methods
- pick one method from list
Current Result

Expected Result
Name of arguments are correct,not arg0,arg1,arg2,arg3.
Base class method declare like below:

Additional Informations
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
Start with the Java extension's Source Action > Override/Implement Methods flow and reproduce the issue on Windows using JDK 1.8.0_101 and VS Code 1.35.1. Compare the generated method parameters with the declarations shown in the base class; done means the generated arguments use the declared names instead of arg0, arg1, arg2, and arg3.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100