# Tab-completion should automatically add a space after a username

**URL:** <https://meta.discourse.org/t/tab-completion-should-automatically-add-a-space-after-a-username/45155>\
**Category:** UX\
**Tags:** pr-welcome\
**Created:** [2016 年6 月 2 日 19:01 UTC](https://meta.discourse.org/t/tab-completion-should-automatically-add-a-space-after-a-username/45155 "2016-06-02T19:01:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

作者： ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
发布日期： [2017 年5 月 1 日 09:23 UTC](https://meta.discourse.org/t/tab-completion-should-automatically-add-a-space-after-a-username/45155/10 "2017-05-01T09:23:52Z")

</div>

There is a compromise between adding a space and not adding a space which I have not seen in @jancborchardt’s awesome list above: Add a space and place the cursor behind it, but watch what the user types next: If it is punctuation, silently remove the space. If the user types a single space, simply ignore it, assuming the user did not notice that the space was already there.

This is the behavior that is implemented by iOS when a word from the predictive typing suggestions is selected.

---

_[View the full topic](https://meta.discourse.org/t/tab-completion-should-automatically-add-a-space-after-a-username/45155)._
