redhat-developer / redhat-developer/vscode-java
Add settings to customize getter generation
Open
Nobody has claimed this yet.
code action
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
For generating getters, I'd like to have:
Image image() {
return image;
}
instead of:
public Image getImage() {
return image;
}
This would require:
- a setting to choose the visibility modifier, if any
- a setting to choose the method name (this could simply be a boolean setting, as I guess there are only 2 reasonable naming conventions as of today)
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
The issue names no files, tests, or entry points, so start by locating the getter-generation implementation and the existing settings definitions in vscode-java. Done means users can configure the visibility modifier and getter naming style, with generated methods matching the selected options in both illustrated cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- developer-experience, devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100