Skip to content
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

Fixes #1436: extension prevents 'find all references' pop-up from closing through <esc> if it's empty. #1707

Merged
merged 4 commits into from
May 20, 2017

Conversation

Chillee
Copy link
Member

@Chillee Chillee commented May 17, 2017

So pretty much the issue is that here, because nothing pops up, vscode doesn't think we're in the "find all references" context, and lets vscodevim capture keystrokes again.

Thus, all we need to is call API calls that close stuff when the user presses <Esc> in normal mode. Doesn't seem to have any performance impact, and fixes an annoyance.

@xconverge
Copy link
Member

do we need to await even? up to others, I think this is fine with me

@Chillee
Copy link
Member Author

Chillee commented May 18, 2017

I honestly don't know. In general, the executeCommand is asynchronous, and it just seemed safer to me to just await the results.

@Chillee
Copy link
Member Author

Chillee commented May 20, 2017

Alright I think this is good to go.

@Chillee Chillee merged commit f8ed8be into VSCodeVim:master May 20, 2017
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants