-
Bug
-
Resolution: Unresolved
-
None
-
1.19.2, 22w42a, 22w43a, 22w44a, 22w45a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Release Candidate 3, 1.19.3, 23w03a, 23w07a, 1.19.4 Pre-release 2, 1.19.4, 23w13a, 1.20 Pre-release 5, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.2, 1.20.4, 24w03b
-
None
-
Confirmed
-
Commands
-
Normal
-
Platform
When using commands that provide TAB completion options, pressing ESC should display expected arguments that provide hints at what the command accepts. However, this behavior is seemingly inconsistent.
Steps to reproduce:
- Start typing "/tp" and press space. It will show tab suggestions for the command
- Press ESC to back out of the suggestions list
- Observe how command suggestions are shown
- Now, try the same with /teleport. Type "/teleport", press space and press ESC when you see the tab completions
- Observe how, despite /tp and /teleport providing the same completions and expecting the same arguments, the hints don't appear, and instead an error does
This behavior seems inconsistent and confusing to me. I'd expect both commands would produce the same result, given they take the same arguments. Moreover, whether or not a syntax error or the hints are shown seems to vary between commands.
For instance, typing "/give", pressing space, then pressing ESC to back out of username completions will show the expected arguments for that command, but then proceeding to the next argument (/give William278), pressing space, then pressing ESC at the list of items will present a syntax error.
Edit as of Minecraft 1.20-Pre2
This seems to have been partially resolved as part of the fix for MC-165562. However, this is only a partial fix.
To demonstrate this, typing /tp and backing out of the TAB suggestions now correctly displays the argument suggestions. However, typing /tp William278 and pressing space will display the error, despite there being valid additional arguments a user could pass to the command. In that case, typing a single character will then display the argument suggestions list.
At the very least, the "inconsistent between commands" part of this issue has been fixed as of Pre-2, as this behavior is consistent between /tp and /teleport; it was not before. It remains inconsistent between arguments.