Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextContentResource

Hierarchy

  • TextContentResource

Implements

Index

Constructors

constructor

Properties

cache

cache: string | undefined

Protected disposable

disposable: Disposable

Readonly onDidChangeContents

onDidChangeContents: Event<void> = this.onDidChangeContentsEmitter.event

Private onDidChangeContentsEmitter

onDidChangeContentsEmitter: Emitter<void> = new Emitter<void>()

Private proxy

uri

uri: URI

Methods

dispose

  • dispose(): void

readContents

  • readContents(options?: undefined | { encoding?: undefined | string }): Promise<string>

setContent

  • setContent(content: string): void