onWillRenameFiles property

Event<FileWillRenameEvent> get onWillRenameFiles

An event that is emitted when files are being renamed.

Note 1: This event is triggered by user gestures, like renaming a file from the explorer, and from the {@linkcode workspace.applyEdit}-api, but 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 renaming a folder with children only one event is fired.

Implementation

_i3.Event<_i3.FileWillRenameEvent> get onWillRenameFiles => _i4.getProperty(
      this,
      'onWillRenameFiles',
    );