pub fn ApplyWorkSpaceEdit(
EditDTO: WorkSpaceEditDTO,
) -> ActionEffect<Arc<dyn WorkSpaceEditApplier>, CommonError, bool>Expand description
Creates an effect that, when executed, will apply a WorkSpaceEdit to the
workspace.
A WorkSpaceEdit is a batch of operations that can include text edits to
multiple files and filesystem operations like creating, deleting, or
renaming files. This effect uses the dedicated WorkSpaceEditApplier
capability.
§Parameters
EditDTO: TheWorkSpaceEditDTOrepresenting the batch of edits to apply.
§Returns
An ActionEffect that resolves with a bool indicating whether the entire
edit was applied successfully.