Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GitContribution

Hierarchy

  • GitContribution

Implements

  • CommandContribution
  • MenuContribution
  • TabBarToolbarContribution
  • ColorContribution

Index

Constructors

Properties

commands: CommandRegistry
decorationsService: DecorationsService
editorManager: EditorManager
git: Git
gitDecorationProvider: GitDecorationProvider
gitErrorHandler: GitErrorHandler
gitPreferences: GitPreferences
progressService: ProgressService
quickOpenService: GitQuickOpenService
repositoryProvider: GitRepositoryProvider
repositoryTracker: GitRepositoryTracker
syncService: GitSyncService
toDispose: DisposableCollection = ...
workspaceService: WorkspaceService
GIT_CHECKOUT: string = 'git.checkout'
GIT_SYNC_STATUS: string = 'git-sync-status'

Methods

  • addSignOff(): Promise<void>
  • amend(): Promise<void>
  • asSubMenuItemOf(submenu: { group: string; label: string; menuGroups: string[] }, groupIdx?: number): string
  • getCheckoutStatusBarCommand(): undefined | ScmCommand
  • getSyncStatusBarCommand(): undefined | ScmCommand
  • onStart(): void
  • openChanges(widget?: Widget): Promise<undefined | EditorWidget>
  • openFile(widget?: Widget): Promise<undefined | EditorWidget>
  • registerColors(colors: ColorRegistry): void
  • registerCommands(registry: CommandRegistry): void
  • registerMenus(menus: MenuModelRegistry): void
  • registerToolbarItems(registry: TabBarToolbarRegistry): void
  • updateStatusBar(): void
  • withProgress<T>(task: (() => Promise<T>)): Promise<T>