Class GitContribution

Implements

  • CommandContribution
  • MenuContribution
  • TabBarToolbarContribution
  • ColorContribution

Constructors

Properties

commands: CommandRegistry
decorationsService: DecorationsService
editorManager: EditorManager
git: Git
gitDecorationProvider: GitDecorationProvider
gitErrorHandler: GitErrorHandler
gitPreferences: GitPreferences
gitWatcher: GitWatcher
messageService: MessageService
openerService: OpenerService
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

  • Parameters

    • submenu: {
          group: string;
          label: string;
          menuGroups: string[];
      }
      • group: string
      • label: string
      • menuGroups: string[]
    • groupIdx: number = 0

    Returns string