ReadonlyactiveThe editor focused at the moment this property is read, or undefined when
none is. Read again after an await if the current focus matters.
Applies replacements across any number of files as one transaction. The
files need not be open, which is what separates this from
ActiveEditor.edit.
Resolves false when the workspace edit is refused and rejects on an
adapter failure.
Optionaloptions: WorkspaceEditOptions
Reading and editing text.
Example