4

When you start replying to a comment, an autocompletion list appears. You can use tab to accept the autocompletion. But this was totally non-obvious to me. I only learned I could use tab because I found this question. The last time I've used tab to autocomplete was in an Unix terminal, years ago.

There's a standard in graphical (as opposed to terminal) UIs on how to do this. It's followed with minor differences in:

  • MS Visual Studio
  • the Google Chrome omnibar (address bar)
  • the Gmail to-address field
  • In, I think, any autocompletion context I've ever used except for a Unix terminal

For example in Visual Studio the procedure is as follows:

  • Type a function name in the code editor
  • The autocompletion list appears, and none of its items are selected.
  • Pressing the or keyboard keys selects the first item. You can then use these two keys to navigate the list.
  • If and only if an item is selected, the Enter key confirms (executes) the autocompletion.

It'd be great if Stack Exchange supported this way of interaction.

5
  • 1
    I edited to make it more clear that this isn't a dupe. Jun 12, 2016 at 16:11
  • Oops, I should've posted this to meta.SE, not meta.SO. Someone migrate it please? Jun 12, 2016 at 19:26
  • 1
    Tab is also pretty standard for autocomplete: It works in IntelliJ, Firefox address bar, Gmail to-address, and pretty much any other autocompletion context i've used, including a Unix terminal.. Jun 12, 2016 at 20:24
  • 1
    What JonasCz said, the tab key comes from bash (or possibly an earlier shell, i'm not that old, sorry). Changing it might get some heavy resistance from U&L, superuser and serverfault. I admit that tab was the obvious key for me the first time i needed the autocomplete.
    – grochmal
    Jun 12, 2016 at 21:38
  • @JonasCz: So let's support both ways, so everyone is happy :) Jun 13, 2016 at 13:28

0

You must log in to answer this question.

Browse other questions tagged .