Quick fixes remain available to the user even after the related diagnostic has been resolved

Even after applying the quick fix once, the red bulb indicator still appears, offering the quick fix again.
If the user applies it a second time, it begins making destructive changes to the document. A user should notice that the first time they applied the quick fix it resolved the problem so would hopefully not be tempted to apply it again.



This happens with IntelliJ Java support also :

Hi,
Please share your code.

This is not just happening in any particular code. It occurs in my few of the files for example in any java file, server.xml file etc.

For Example in the below code:

package io.openliberty.sample;

@Liveness
@ApplicationScoped
public class SampleLivenessCheck implements HealthCheck {

    private boolean isAlive() {
        return true;
    }

    @Override
    public HealthCheckResponse call() {
        boolean up = isAlive();
        return HealthCheckResponse.named(this.getClass().getSimpleName()).status(up).build();
    }

}

If I remove the; after boolean up = isAlive it shows me a quick fix saying to insert ;. So if I click on that ; gets inserted but the red bulb still shows insert ;. If I click that again another ; gets inserted

I’m confused. Please clarify whether you develop an IntelliJ Platform-based plugin and the problem occurs for your custom quick fixes, or is it a problem you observe as a user in the IDE.

If you develop a plugin, please share the plugin source code.

In the second case, please use Product Support or YouTrack for reporting the issue. Links are available in the About the IntelliJ Platform category topic.

Thanks @karol.lewandowski. Its problem I observe as a user in the IDE.
I will report it in YouTrack