The number of affected resources of textual or resource changes.
Replace the given range with given text for the given resource.
A resource identifier.
A range.
A string.
Optional metadata for the entry.
Insert the given text at the given position.
A resource identifier.
A position.
A string.
Optional metadata for the entry.
Delete the text at the given range.
A resource identifier.
A range.
Optional metadata for the entry.
Check if a text edit for a resource exists.
A resource identifier.
true
if the given resource will be touched by this edit.
Set (and replace) text edits or snippet edits for a resource.
A resource identifier.
An array of edits.
Set (and replace) text edits or snippet edits with metadata for a resource.
A resource identifier.
An array of edits.
Set (and replace) notebook edits for a resource.
A resource identifier.
An array of edits.
Set (and replace) notebook edits with metadata for a resource.
A resource identifier.
An array of edits.
Create a regular file.
Uri of the new file.
Defines if an existing file should be overwritten or be
ignored. When overwrite
and ignoreIfExists
are both set overwrite
wins.
When both are unset and when the file already exists then the edit cannot
be applied successfully. The content
-property allows to set the initial contents
the file is being created with.
Overwrite existing file. Overwrite wins over ignoreIfExists
Do nothing if a file with uri
exists already.
The initial contents of the new file.
If creating a file from a drop operation, you can pass in a DataTransferFile to improve performance by avoiding extra data copying.
Optional metadata for the entry.
Delete a file or folder.
The uri of the file that is to be deleted.
Delete the content recursively if a folder is denoted.
Do nothing if a file with uri
exists already.
Optional metadata for the entry.
Rename a file or folder.
The existing file.
The new location.
Defines if existing files should be overwritten or be ignored. When overwrite and ignoreIfExists are both set overwrite wins.
Overwrite existing file. Overwrite wins over ignoreIfExists
Do nothing if a file with uri
exists already.
Optional metadata for the entry.
A workspace edit is a collection of textual and files changes for multiple resources and documents.
Use the applyEdit-function to apply a workspace edit.