For a while now the key for confirming a suggestion hasn’t been working in my Atom editor. No matter whether I set it to or or both in the settings of the autocomplete-plus package, when there are suggestions these keys simply do what they’d usually do, which is inserting a tab and inserting a new line.
What could be the reason for this behavior and how can I fix it?
It might be another package, but how do I provide a list of all installed packages?
EDIT
- My Atom version is: 1.2.4
- My OS is Xubuntu 14.04
- Emmet is not installed.
- When running
atom --safe
the issue is not present - I guess it’s packages then?
EDIT
The debugging page helped me find the issue. It seems the markdown-writer binds the key (enter for example) to insert-newline, which somehow takes precedence over confirming an autocompletion suggestion. Since I am writing a markdown document, I tried it in a normal document with no language specified and guess what, everything worked correctly.
So the solution would be to somehow lower the precedence of the markdown-writer package keybinding. How could that be achieved?
EDIT
(adding images to visualize the issue)
When typing text, which triggers an autocompletion suggestion:
http://postimg.org/image/4otutwsnr/
After pressing enter:
(new users can only add one image per post, sorry for that)
EDIT
The author of the package responded quite quickly and already told me how to circumvent the issue:
- disable markdown-writers keybindings
- Insert the following into your keymap.json:
“atom-workspace atom-text-editor:not([mini]):not(.autocomplete-active)[data-grammar~=‘gfm’]”:
“enter”: “markdown-writer:insert-new-line”
“tab” : “markdown-writer:indent-list-line”