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

Tab-completion doesn't rewrite highlighted text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.5, 21w17a, 1.17.1, 21w41a, 21w43a, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18 Release Candidate 1, 1.18, 1.18.1, 22w05a, 1.18.2 Pre-release 1, 1.18.2, 22w11a, 22w14a, 22w17a, 1.19 Pre-release 1, 1.19 Release Candidate 2, 1.19, 1.19.1 Pre-release 3, 1.19.1 Pre-release 6, 1.19.1, 22w42a, 22w46a, 1.19.3 Pre-release 2, 23w03a, 23w05a, 23w06a, 1.19.4 Pre-release 3, 1.19.4 Release Candidate 2, 1.19.4, 23w13a, 1.20 Pre-release 1, 1.20 Pre-release 5, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w32a, 23w41a, 23w46a, 1.20.4 Release Candidate 1, 1.20.4, 24w05b, 24w12a, 1.20.5 Release Candidate 2, 1.20.5, 1.20.6 Release Candidate 1, 1.21 Pre-Release 2, 1.21.1, 24w34a, 24w36a, 24w38a, 24w39a, 1.21.2 Pre-Release 1, 1.21.2 Pre-Release 5, 1.21.2 Release Candidate 1, 24w44a, 1.21.3, 24w45a, 24w46a
    • Confirmed
    • Creative
    • (Unassigned)

      The bug

      When you highlight command argument, the tab-completion doesn't work, how it should and does not overwrite the highlighted argument with the selected argument by using tab.

      How to reproduce

      1. Type or copy the following:
        /give @a
        
      2. Highlight the @a using ⇧ Shift + Ctrl + ← (Left Arrow) simultaneously
      3. Press ↹ (TAB)
      4. →  It inserts an another @a, so it creates
        /give @a@a
        

            Unassigned Unassigned
            DelimanCZ DelimanCZ
            Votes:
            8 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: