Skip to content

Commit

Permalink
Register 'workbench.action.files.openFileFolder' VS Code command
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Nikitenko <[email protected]>
  • Loading branch information
RomanNikitenko committed Mar 17, 2021
1 parent 9f13354 commit 51caf1e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ export class PluginVscodeCommandsContribution implements CommandContribution {
commands.registerCommand({ id: 'workbench.action.files.newUntitledFile' }, {
execute: () => open(this.openerService, createUntitledURI())
});
commands.registerCommand({ id: 'workbench.action.files.openFileFolder' }, {
execute: () => commands.executeCommand(WorkspaceCommands.OPEN.id)
});
commands.registerCommand({ id: 'workbench.action.files.openFile' }, {
execute: () => commands.executeCommand(WorkspaceCommands.OPEN_FILE.id)
});
Expand Down

0 comments on commit 51caf1e

Please sign in to comment.