onWillCreateFiles property

Event<FileWillCreateEvent> get onWillCreateFiles

An event that is emitted when files are being created.

Note 1: This event is triggered by user gestures, like creating a file from the explorer, or from the {@linkcode workspace.applyEdit}-api. This event is not fired when files change on disk, e.g triggered by another application, or when using the {@linkcode FileSystemworkspace.fs}-api.

Note 2: When this event is fired, edits to files that are are being created cannot be applied.

Implementation

_i3.Event<_i3.FileWillCreateEvent> get onWillCreateFiles => _i4.getProperty(
      this,
      'onWillCreateFiles',
    );