vscode#FileChangeEvent TypeScript Examples

The following examples show how to use vscode#FileChangeEvent. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: driveFileSystemProvider.ts    From google-drive-vscode with MIT License 5 votes vote down vote up
private _emitter = new EventEmitter<FileChangeEvent[]>();
Example #2
Source File: driveFileSystemProvider.ts    From google-drive-vscode with MIT License 5 votes vote down vote up
readonly onDidChangeFile: Event<FileChangeEvent[]> = this._emitter.event;
Example #3
Source File: utopia-fs.ts    From utopia with MIT License 5 votes vote down vote up
private queueFileChangeEvent(event: FileChangeEvent): void {
    this.clearCachedFiles()
    this.queueEvent(event, this.fileChangeEventQueue)
  }
Example #4
Source File: utopia-fs.ts    From utopia with MIT License 5 votes vote down vote up
private fileChangeEventQueue = newEventQueue<FileChangeEvent>()
Example #5
Source File: utopia-fs.ts    From utopia with MIT License 5 votes vote down vote up
// FileSystemProvider
  readonly onDidChangeFile: Event<FileChangeEvent[]> = this.fileChangeEventQueue.emitter.event
Example #6
Source File: VirtualFileSystemProvider.ts    From vscode-drawio with GNU General Public License v3.0 5 votes vote down vote up
private fileChangedEmitter = new EventEmitter<FileChangeEvent[]>();