Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-165562

Command suggestion report "incorrect argument" when cursor is at the start of a node without suggestions

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 19w46a, 19w46b, 1.15 Pre-release 1, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2, 20w06a, 20w07a, 20w12a, 20w13b, 20w14a, 20w15a, 20w16a, 20w17a, 20w18a, 20w20b, 1.16 Pre-release 7, 1.16.3, 21w03a, 21w13a, 1.17.1, 1.18.1, 1.18.2, 22w16b, 1.19
    • None
    • Confirmed
    • Commands
    • Normal

    Description

      When typing arguments for a node that has no suggestions, now the command suggestion will just report and error instead of showing the string representation of the command node that the user is completing.

       

      Before: (tested in 19w36a) when typing /help and a space, [<command>] text floats in the suggestion area

      Now: (19w46a) when typing /help and a space, an error is displayed instead.

       

      Same thing can be replicated to other argument nodes without proper suggestions, like the path or scale for /data get or /function etc.

      This "incorrect argument" report IMO is partially intended as 19w46b aims to show this error in command blocks (trailing spaces do break commands in command blocks); imo a best solution is to have the error and the suggestion both presented on client, and only present the error for command function parsing.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              liach liach
              Votes:
              36 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                CHK: