redhat-developer / redhat-developer/quarkus-ls
Support for @withDefault("some value")
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 50
- Forks
- 18
- Avg merge
- 22h 11m
- Merged PRs (30d)
- 3
Description
SmallRye provides @withDefault("some value") annotation to define default value which is working like @ConfigProperty/defaultValue
It would be nice to provide the same support than @ConfigProperty/defaultValue:
- validate value of @withDefault
- show as inlay hint (or codelens) the default value from properties file.
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 by locating the existing support for @ConfigProperty/defaultValue in the language server and trace how its values are validated and displayed. Then inspect how @withDefault("some value") is represented, with done defined as matching that support for validation and showing the default from the properties file as an inlay hint or code lens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100