-
Notifications
You must be signed in to change notification settings - Fork 187
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
[AC] AC should hide once the whole word is typed and that word is the only suggested #934
Comments
This looks like the complete opposite of #935 :) |
Not really IMO as here you expect the popup to disappear because you've typed full and exact suggestion. The other issue is about popup being hidden when match is only partial. |
I would only add "... disappear because you've typed full and exact suggestion and there are no other completion items available." |
I think that sublime should handle this case. |
I believe ST cannot hide the AC widget, because it’s a command completion. And selecting a command completion has the potential to replace “False” with “True”. |
We could optimize for cases when:
If these two conditions are true, then instead of a command completion we can use a snippet completion. |
As it turns out we can always use a snippet_completion for pyls. |
#992 also fixed this. See the gif: Because snippet completions are sufficient for pyls. |
Noticed a bug with latest changes:
When, in Python, I'm typing
False
and getting an (only) suggestion with it, the suggestion popup doesn't disappear once I've typed whole word. It did before those changes.Originally posted by @rchl in #866 (comment)
The text was updated successfully, but these errors were encountered: