Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlameDecorator

Hierarchy

  • BlameDecorator

Implements

  • HoverProvider

Index

Constructors

  • new BlameDecorator(blameDecorationsStyleSheet?: CSSStyleSheet): BlameDecorator

Properties

appliedDecorations: Map<string, AppliedBlameDecorations> = ...
blameDecorationsStyleSheet: CSSStyleSheet = ...
editorManager: EditorManager
emptyHover: Hover = ...
now: DateTime = ...

Methods

  • decorate(blame: GitFileBlame, editor: TextEditor, highlightLine: number): Disposable
  • getHeatColor(commitTime: DateTime): string
  • getShaForLine(blame: GitFileBlame, line: number): undefined | string
  • provideHover(model: ITextModel, position: Position, token: CancellationToken): Promise<Hover>
  • registerHoverProvider(uri: string): Disposable