redhat-developer / redhat-developer/quarkus-ls
CodeAction for generate @TemplateData
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 50
- Forks
- 18
- Avg merge
- 22h 11m
- Merged PRs (30d)
- 3
Description
Today completion validation etc provide fields methods from java type by using java reflection.
I wonder if we should have à settings like reflectionValueResolver set to true by default.
When this settings will be set to false completion validation will provide only fields and methods annotated with @TemplateData.
We could provide a quickfix for the methods and fields which are used in the template but not annotated, to insert in the java file the proper TemplateData annotation.
@mkouba what do you think about this idea?
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 completion validation and the reflectionValueResolver setting described in the issue. Define the setting's default and the @TemplateData annotation CodeAction, then verify that fields and methods used in templates receive the intended annotation behavior in the Java file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100