Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registry.registerMenuAction(NavigatorContextMenu.MOVE, {
commandId: WorkspaceCommands.FILE_RENAME.id
});
registry.registerMenuAction(NavigatorContextMenu.MOVE, {
commandId: WorkspaceCommands.FILE_DELETE.id
});
registry.registerMenuAction(NavigatorContextMenu.NEW, {
commandId: WorkspaceCommands.NEW_FILE.id
});
registry.registerMenuAction(NavigatorContextMenu.NEW, {
commandId: WorkspaceCommands.NEW_FOLDER.id
});
registry.registerMenuAction(NavigatorContextMenu.DIFF, {
commandId: WorkspaceCommands.FILE_COMPARE.id
});
}
}