Properties
Protected acceptTextOnly
acceptTextOnly: boolean = true
Protected doSaveContentChanges
doSaveContentChanges: undefined | ((changes: TextDocumentContentChangeEvent[], options?: ResourceSaveOptions) => Promise<void>) = ...
Protected Readonly fileService
Protected limits
limits: undefined | { memory?: number; size?: number }
Readonly onDidChangeContents
onDidChangeContents: Event<void> = ...
Protected Readonly onDidChangeContentsEmitter
onDidChangeContentsEmitter: Emitter<void> = ...
Protected Readonly options
Optional saveContentChanges
saveContentChanges: (changes: TextDocumentContentChangeEvent[], options?: ResourceSaveOptions) => Promise<void>
Type declaration
-
- (changes: TextDocumentContentChangeEvent[], options?: ResourceSaveOptions): Promise<void>
-
Parameters
-
changes: TextDocumentContentChangeEvent[]
-
Optional options: ResourceSaveOptions
Returns Promise<void>
Protected Readonly toDispose
toDispose: DisposableCollection = ...
Readonly uri
uri: default
Applies incremental content changes to this resource.
If a resource supports versioning clients can pass some version to check against it, if it is not provided latest version is used. It updates version to latest.
ResourceError.NotFound
if a resource not found or was not read yetResourceError.OutOfSync
if latest resource version is out of sync with the given