// for a very basic process <=> process communication over methods.
//
exporttypeAddContextToFunctions<Target,Context>={
// For every property: IF property is a FUNCTION ADD context as first parameter and original parameters afterwards with same return type, otherwise preserve as is
registry.registerWorkbenchAction(newSyncActionDescriptor(AddRootFolderAction,AddRootFolderAction.ID,AddRootFolderAction.LABEL),'Workspaces: Add Folder to Workspace...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(GlobalRemoveRootFolderAction,GlobalRemoveRootFolderAction.ID,GlobalRemoveRootFolderAction.LABEL),'Workspaces: Remove Folder from Workspace...',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(CloseWorkspaceAction,CloseWorkspaceAction.ID,CloseWorkspaceAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyCode.KEY_F)}),'File: Close Workspace',workspacesCategory,SupportsWorkspacesContext);
registry.registerWorkbenchAction(newSyncActionDescriptor(CloseWorkspaceAction,CloseWorkspaceAction.ID,CloseWorkspaceAction.LABEL,{primary:KeyChord(KeyMod.CtrlCmd|KeyCode.KEY_K,KeyCode.KEY_F)}),'File: Close Workspace',fileCategory,SupportsWorkspacesContext);