redhat-developer / redhat-developer/quarkus-ls
Support for `MicroProfile RestClient` CodeAction for referenced interface
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 50
- Forks
- 18
- Avg merge
- 22h 11m
- Merged PRs (30d)
- 3
Description
Takes a sample:
package org.acme.restclient;
public interface MyService {
}
public class Fields {
@Inject
@RestClient
public MyService service1, service2;
}
In this case service1 and service2 have errors because MyService is not annotated with RegisterRestClient.

It should be nice to have a CodeAction triggered from the service1, service2 field which insert RegisterRestClient in the MyService interface.
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 CodeAction handling for the service1 and service2 fields in the Java language server, then trace how the referenced MyService interface is resolved. The work is complete when invoking the action from either field adds RegisterRestClient to MyService and the resulting diagnostics are cleared.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100