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

**URL:** <https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478>\
**Category:** IntelliJ Platform\
**Created:** [February 13, 2025, 8:18am UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478 "2025-02-13T08:18:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anusree\_Lakshmi](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Anusree\_Lakshmi](https://platform.jetbrains.com/u/Anusree_Lakshmi)\
**Post date:** [February 13, 2025, 8:18am UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478/1 "2025-02-13T08:18:31Z")

</div>

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.

 ![](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/1X/719e3bb2bb96af4142acaa04b50acbeb6910687f.png)  
 ![](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/1X/319e25374122a6475aaa258eea757cedbd70afc0.png)  
This happens with IntelliJ Java support also :  
 ![image](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/1X/af524317f6be830135bfb519710d49b5ceaea7c8.png)

---

<div class="post-metadata">

**Author:** ![karol.lewandowski](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/karol.lewandowski/32/66_2.png) [@karol.lewandowski](https://platform.jetbrains.com/u/karol.lewandowski)\
**Post date:** [February 13, 2025, 9:42am UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478/3 "2025-02-13T09:42:45Z")

</div>

Hi,  
Please share your code.

---

<div class="post-metadata">

**Author:** ![Anusree\_Lakshmi](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Anusree\_Lakshmi](https://platform.jetbrains.com/u/Anusree_Lakshmi)\
**Post date:** [February 13, 2025, 11:13am UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478/4 "2025-02-13T11:13:42Z")

</div>

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:

```auto
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

 ![image](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/1X/c55871bae477956de26659452d9036b111aca58c.png)

---

<div class="post-metadata">

**Author:** ![karol.lewandowski](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/karol.lewandowski/32/66_2.png) [@karol.lewandowski](https://platform.jetbrains.com/u/karol.lewandowski)\
**Post date:** [February 13, 2025, 11:42am UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478/5 "2025-02-13T11:42:54Z")

</div>

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](https://platform.jetbrains.com/t/about-the-intellij-platform-category/38) topic.

---

<div class="post-metadata">

**Author:** ![Anusree\_Lakshmi](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Anusree\_Lakshmi](https://platform.jetbrains.com/u/Anusree_Lakshmi)\
**Post date:** [February 13, 2025, 11:56am UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478/6 "2025-02-13T11:56:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karol.lewandowski](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/karol.lewandowski/32/66_2.png) [@karol.lewandowski](https://platform.jetbrains.com/u/karol.lewandowski)\
**Post date:** [February 13, 2025, 12:01pm UTC](https://platform.jetbrains.com/t/quick-fixes-remain-available-to-the-user-even-after-the-related-diagnostic-has-been-resolved/478/7 "2025-02-13T12:01:56Z")

</div>


