Skip to content

Commit

Permalink
plugin: add support for refreshFilesExplorer
Browse files Browse the repository at this point in the history
The commit adds support for the
`workbench.files.action.refreshFilesExplorer` command on the plugin side
which delegates to the `REFRESH_NAVIGATOR` command.

Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
  • Loading branch information
vince-fugnitto committed Jul 16, 2021
1 parent d5c9fb7 commit 83259fb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ export class PluginVscodeCommandsContribution implements CommandContribution {
commands.registerCommand({ id: 'workbench.action.openSettings' }, {
execute: () => commands.executeCommand(CommonCommands.OPEN_PREFERENCES.id)
});
commands.registerCommand({ id: 'workbench.files.action.refreshFilesExplorer' }, {
execute: () => commands.executeCommand(FileNavigatorCommands.REFRESH_NAVIGATOR.id)
});
commands.registerCommand({ id: VscodeCommands.INSTALL_FROM_VSIX.id }, {
execute: async (vsixUriOrExtensionId: TheiaURI | UriComponents | string) => {
if (typeof vsixUriOrExtensionId === 'string') {
Expand Down

0 comments on commit 83259fb

Please sign in to comment.