Skip to content

How to cancel autocomplete prompt? #11474

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: 1 comment 1 reply

Comment options

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

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