-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Completion dropdown constantly reappears after selecting an option #1041
Comments
Hey! Someone else actually tried the completion support I added. I hadn't hit that bug myself, but I can repeat it. The problem occurs if you don't select anything for completion, and hit Return. If you select an item with Tab and then press Return, then the menu goes away. |
Yes! And very happy to have found something faster than tsuquyomi (in fact, your comment here led me to Ale). Thanks for your work on this! |
This should be fixed now. Now ALE doesn't ask for completions shortly after |
I have updated the fix for this. Before it would wait 100ms before requesting completions again. Now it doesn't ask for completions again if the cursor hasn't moved. This makes it so you can type |
With
ale_completion_enabled
and no other settings changed, the completion dropdown automatically appears as I'm typing, and selects the first option every time I pressEnter
. However, the completion dropdown appears again almost immediately afterwards, so it's impossible to actually insert a newline unless you press Enter twice in very rapid succession.This makes it really hard to write code given that the autocomplete results appear automatically and I'm not necessarily anticipating them every time I need to insert a new line.
Here's a video - whenever you see the menu flash, I'm pressing enter: https://cloudup.com/c8TXp9UnAIm+
If this is intentional behavior, I'd love to know either (a) how to disable it or (b) how to only show autocomplete results when I press Tab.
ALEInfo
The text was updated successfully, but these errors were encountered: