Skip to content

Some light bulb drop down suggestions come in a random, different order between hits of Alt-Enter #9658

Closed

Description

@dca00

Apache NetBeans version

Apache NetBeans 31

What happened

This one is very annoying as it leads to wrong code changes that have to be undone and re-done. It exists since at least 7.2 which was the first version I ever used.
When there is a code suggestion in the margin, and Alt-Enter is hit on it, the drop-down items come in a random order every time. This is especially prevalent for some types of suggestions but not others. "Use anonymous inner class" and "Replace explicit type with var" or its exact opposite come to mind as some of them.

Language / Project Type / NetBeans Component

Java

How to reproduce

Write some code. Act on some light bulb suggestions.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Any

JDK

Any

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bug
    needs:triage
    on Oct 4, 2026
  2. added
    Java
    and removed
    needs:triage
    on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Javahintskind:bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions