Skip to content

How to cancel autocomplete prompt? #11474

Closed Answered by baldwindavid
thelibrarian asked this question in Q&A
Discussion options

You must be logged in to vote

A concrete example: when I fully type the end keyword in Ruby, the first autocomplete option is Encoding, and the end autocomplete is option 5 or 6, even though I've already typed the full word.

Cases like this where I want to press enter were very problematic. This happens because of these keymap defaults...

  {
    "context": "Editor && showing_completions",
    "bindings": {
      "enter": "editor::ConfirmCompletion",
      "tab": "editor::ConfirmCompletion"
    }
  },

To each their own in terms of confirming completion, but I definitely don't want both enter and tab doing so and added a keybinding to override for enter.

  {
    "context": "Editor && showing_completions",
    "bindings"

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@thelibrarian
Comment options

@willdhorn
Comment options

Answer selected by thelibrarian
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@numist
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants