redhat-developer / redhat-developer/vscode-java

source action->override/implement methods does not get correct name of arguments.

Open
#967 3 comments 3 reactions 0 assignees View on GitHub

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
  1. source action->override/implement Methods
  2. pick one method from list
Current Result

image

Expected Result

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

Additional Informations

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.