mojira.dev
MC-224651

Tab-completion doesn't rewrite highlighted text

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

Linked issues

Comments 6

Yeah this is pretty annoying, I think worse is that command blocks have the same problem so if you have a long command and want to replace part of it and forget to press backspace first, it's harder to get back to where the error is because you can't see the whole command at once.

Thank you for your report!
We're tracking this issue in MC-134878, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Reopened because I do not think this is the same issue as MC-134878. This issue talks about replacing selected text, while MC-134878 talks about replacing to the end of an argument and is most likely WAI.

Can confirm in 1.19.1.

I tried replicating the bug, and noticed that you don't need to hold Ctrl at all

DelimanCZ

(Unassigned)

Confirmed

(Unassigned)

command, tab-completion, text

1.16.5, 21w17a, 1.17.1, 21w41a, 21w43a, ..., 1.21.4 Release Candidate 3, 1.21.4, 25w06a, 1.21.8, 25w35a

Retrieved