redhat-developer / redhat-developer/lsp4ij
Quick fix missing from MicroProfile and Jakarta diagnostic
Open
@angelozerr is already working on this.
Since Apr 16, 2025.
bug
codeAction
- Dominant language
- Java
- Stars
- 344
- Forks
- 113
- Avg merge
- 5h 22m
- Merged PRs (30d)
- 15
Description
Intermittently quick fixes are missing. This often causes failures in Liberty automated UI testing.
Here is a test case used for the MicroProfile diagnostic.
package io.openliberty.mp.sample.health;
import org.eclipse.microprofile.health.HealthCheck;
import org.eclipse.microprofile.health.HealthCheckResponse;
import org.eclipse.microprofile.health.Liveness;
import javax.enterprise.context.ApplicationScoped;
//@Liveness
@ApplicationScoped
public class ServiceLiveHealthCheck implements HealthCheck {
@Override
public HealthCheckResponse call() {
return HealthCheckResponse.named(ServiceLiveHealthCheck.class.getSimpleName()).withData("live", true).up().build();
}
}
It is important to note that these results were achieved using the April 1 version of this repository. If there were changes to the creation of diagnostics or quick fixes since then we'll need to test them out.
The language server messages and the IntelliJ logs will be appended below.
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.
Assessment
This issue has not been assessed yet.