Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
WorkspaceEdit
Class WorkspaceEdit
Hierarchy
WorkspaceEdit
Implements
WorkspaceEdit
Index
Constructors
constructor
Properties
_edits
Accessors
size
Methods
_all
Entries
create
File
delete
delete
File
entries
get
has
insert
rename
File
replace
set
toJSON
Constructors
constructor
new
Workspace
Edit
(
)
:
WorkspaceEdit
Returns
WorkspaceEdit
Properties
Private
_edits
_edits
:
(
undefined
|
FileOperation
|
FileTextEdit
)
[]
= ...
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
_all
Entries
_all
Entries
(
)
:
(
[
URI
,
TextEdit
[]
,
WorkspaceEditMetadata
]
|
[
URI
,
URI
,
FileOperationOptions
,
WorkspaceEditMetadata
]
)
[]
Returns
(
[
URI
,
TextEdit
[]
,
WorkspaceEditMetadata
]
|
[
URI
,
URI
,
FileOperationOptions
,
WorkspaceEditMetadata
]
)
[]
create
File
create
File
(
uri
:
Uri
, options
?:
{
ignoreIfExists
?:
boolean
;
overwrite
?:
boolean
}
, metadata
?:
WorkspaceEditMetadata
)
:
void
Parameters
uri:
Uri
Optional
options:
{
ignoreIfExists
?:
boolean
;
overwrite
?:
boolean
}
Optional
ignore
IfExists
?:
boolean
Optional
overwrite
?:
boolean
Optional
metadata:
WorkspaceEditMetadata
Returns
void
delete
delete
(
resource
:
URI
, range
:
Range
, metadata
?:
WorkspaceEditMetadata
)
:
void
Parameters
resource:
URI
range:
Range
Optional
metadata:
WorkspaceEditMetadata
Returns
void
delete
File
delete
File
(
uri
:
Uri
, options
?:
{
ignoreIfNotExists
?:
boolean
;
recursive
?:
boolean
}
, metadata
?:
WorkspaceEditMetadata
)
:
void
Parameters
uri:
Uri
Optional
options:
{
ignoreIfNotExists
?:
boolean
;
recursive
?:
boolean
}
Optional
ignore
IfNot
Exists
?:
boolean
Optional
recursive
?:
boolean
Optional
metadata:
WorkspaceEditMetadata
Returns
void
entries
entries
(
)
:
[
URI
,
TextEdit
[]
]
[]
Returns
[
URI
,
TextEdit
[]
]
[]
get
get
(
uri
:
URI
)
:
TextEdit
[]
Parameters
uri:
URI
Returns
TextEdit
[]
has
has
(
uri
:
URI
)
:
boolean
Parameters
uri:
URI
Returns
boolean
insert
insert
(
resource
:
URI
, position
:
Position
, newText
:
string
, metadata
?:
WorkspaceEditMetadata
)
:
void
Parameters
resource:
URI
position:
Position
newText:
string
Optional
metadata:
WorkspaceEditMetadata
Returns
void
rename
File
rename
File
(
from
:
Uri
, to
:
Uri
, options
?:
{
ignoreIfExists
?:
boolean
;
overwrite
?:
boolean
}
, metadata
?:
WorkspaceEditMetadata
)
:
void
Parameters
from:
Uri
to:
Uri
Optional
options:
{
ignoreIfExists
?:
boolean
;
overwrite
?:
boolean
}
Optional
ignore
IfExists
?:
boolean
Optional
overwrite
?:
boolean
Optional
metadata:
WorkspaceEditMetadata
Returns
void
replace
replace
(
uri
:
URI
, range
:
Range
, newText
:
string
, metadata
?:
WorkspaceEditMetadata
)
:
void
Parameters
uri:
URI
range:
Range
newText:
string
Optional
metadata:
WorkspaceEditMetadata
Returns
void
set
set
(
uri
:
URI
, edits
:
TextEdit
[]
)
:
void
Parameters
uri:
URI
edits:
TextEdit
[]
Returns
void
toJSON
toJSON
(
)
:
any
Returns
any
Exports
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Known
Commands
Notification
Main
Object
Identifier
Objects
Transferrer
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Node
Tree
View
Selection
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
Workspace
Edit
constructor
_edits
size
_all
Entries
create
File
delete
delete
File
entries
get
has
insert
rename
File
replace
set
toJSON