WorkspaceEdit$Typings extension
Properties
-
set
→ ({void Function(Uri uri, ReadonlyArray<
Object> edits) $1, void Function(Uri uri, ReadonlyArray<(Object, WorkspaceEditEntryMetadata)> edits) $2, void Function(Uri uri, List<NotebookEdit> edits) $3, void Function(Uri uri, ReadonlyArray<(NotebookEdit, WorkspaceEditEntryMetadata)> edits) $4}) -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Overload accessor: $1, $2, $3, $4no setter - size → num
-
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
The number of affected resources of textual or resource changes.no setter
Methods
-
createFile(
Uri uri, [IInline20? options, WorkspaceEditEntryMetadata? metadata]) → void -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Create a regular file. -
delete(
Uri uri, Range range, [WorkspaceEditEntryMetadata? metadata]) → void -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Delete the text at the given range. -
deleteFile(
Uri uri, [IInline21? options, WorkspaceEditEntryMetadata? metadata]) → void -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Delete a file or folder. -
entries(
) → List< (Uri, List< TextEdit> )> -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Get all text edits grouped by resource. -
get(
Uri uri) → List< TextEdit> -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Get the text edits for a resource. -
has(
Uri uri) → bool -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Check if a text edit for a resource exists. -
insert(
Uri uri, Position position, String newText, [WorkspaceEditEntryMetadata? metadata]) → void -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Insert the given text at the given position. -
renameFile(
Uri oldUri, Uri newUri, [IInline22? options, WorkspaceEditEntryMetadata? metadata]) → void -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Rename a file or folder. -
replace(
Uri uri, Range range, String newText, [WorkspaceEditEntryMetadata? metadata]) → void -
Available on WorkspaceEdit, provided by the WorkspaceEdit$Typings extension
Replace the given range with given text for the given resource.