redhat-developer / redhat-developer/lsp4ij

Quick fix missing from MicroProfile and Jakarta diagnostic

Open
#294 44 comments 0 reactions 1 assignee View on GitHub

@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.
image
image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.