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

added showOpenDialog when typing emtpy e #2067

Merged
merged 2 commits into from
Oct 25, 2017

Conversation

DanEEStar
Copy link
Contributor

Fixes #1877

I could test this commit on my local machine and it works.
But the gulp watch task always complains:

src/cmd_line/commands/file.ts(75,44): error TS2339: Property 'showOpenDialog' does not exist on type 'typeof window'.

Do I have to update the typings somehow?
How could I do that?

@xconverge
Copy link
Member

when you do npm install does anything happen

@xconverge
Copy link
Member

Ah yes you can update the typings in package.json

I think here

https://github.com/VSCodeVim/Vim/blob/master/package.json#L27

}
const fileList = await vscode.window.showOpenDialog({});
await vscode.commands.executeCommand(
'vscode.open',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DanEEStar
Copy link
Contributor Author

update after @jpoon comment

@Chillee
Copy link
Member

Chillee commented Oct 22, 2017

@DanEEStar Looks like it's good to go?

@xconverge xconverge merged commit dd06a7d into VSCodeVim:master Oct 25, 2017
@xconverge
Copy link
Member

Thanks again @DanEEStar !

@jpoon jpoon mentioned this pull request Nov 15, 2017
westim added a commit to westim/Vim that referenced this pull request Nov 18, 2017
Fix the vertical split commands, which were broken when the logic for
the showOpenDialog command was added by PR VSCodeVim#2067.
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.

4 participants