Skip to content

Parameter hints when defocusing the tab suggestion box no longer appear without typing a character #29

@WiIIiam278

Description

@WiIIiam278

The "hints" that appear indicating expected command arguments when you press escape to exit the box with tab suggestions no longer seem to appear as of 1.19 / new commodore versions. This affects LuckPerms, too.

Reproduce (using LP as an example, though you can use this library in another project and experience the same results).

  1. Fire up a server with the latest Luckperms running Paper (supporting commodore 2.1+)
  2. Type /luckperms user player permission set
  3. You will be presented with a list of tab suggestions. Press ESC to exit the window
  4. You should see the remaining parameters to enter on the command. Instead, you see an (incorrect) syntax error.

Example of this occurring with my plugin. Here, I've pressed ESC and expect the field name I am on "name" to appear as a hint; [<name>]
image

Expected result, with LuckPerms:
image

Actual result (Commodore 2.2 / Paper 69950d5 / Minecraft 1.19.1):
image

However, parameter hints will appear if you type a character into the field work.
image

This does not mirror Vanilla behavior, where hints are able to display even before typing a character.
image

Thank you for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions