Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DecorationManager

Hierarchy

  • DecorationManager

Index

Constructors

constructor

Properties

Private _binaryDir

_binaryDir: string = ""

Private _failingTestDecorationType

_failingTestDecorationType: TextEditorDecorationType = vscode.window.createTextEditorDecorationType({borderColor: 'rgba(255, 0, 0, 0.2)',borderWidth: '1px',borderRadius: '3px',borderStyle: 'solid',cursor: 'pointer',backgroundColor: 'rgba(255, 0, 0, 0.1)',overviewRulerColor: 'red',overviewRulerLane: vscode.OverviewRulerLane.Center,after: {contentText: 'Failed',backgroundColor: 'darkred',margin: '10px',},})

Private _failingTestDecorations

_failingTestDecorations: FailingTestDecoration[] = []

Private _showCoverageData

_showCoverageData: boolean = false

Accessors

binaryDir

  • get binaryDir(): string
  • set binaryDir(v: string): void

failingTestDecorations

showCoverageData

  • get showCoverageData(): boolean
  • set showCoverageData(v: boolean): void

Methods

Private _refreshActiveEditorDecorations

  • _refreshActiveEditorDecorations(): void

Private _refreshAllEditorDecorations

  • _refreshAllEditorDecorations(): void

Private _refreshEditorDecorations

  • _refreshEditorDecorations(editor: vscode.TextEditor): void
  • Parameters

    • editor: vscode.TextEditor

    Returns void

addFailingTestDecoration

clearFailingTestDecorations

  • clearFailingTestDecorations(): void

Generated using TypeDoc