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
:
WorkspaceEditEntry
[]
= ...
Accessors
size
get
size
(
)
:
number
Returns
number
Methods
_all
Entries
_all
Entries
(
)
:
(
[
URI
,
(
TextEdit
|
SnippetTextEdit
)
[]
,
WorkspaceEditEntryMetadata
]
|
[
URI
,
URI
,
FileOperationOptions
,
WorkspaceEditMetadata
]
)
[]
Returns
(
[
URI
,
(
TextEdit
|
SnippetTextEdit
)
[]
,
WorkspaceEditEntryMetadata
]
|
[
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
If
Exists
?:
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
If
Not
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
If
Exists
?:
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
:
readonly
(
TextEdit
|
SnippetTextEdit
)
[]
)
:
void
set
(
uri
:
URI
, edits
:
readonly
[
TextEdit
|
SnippetTextEdit
,
WorkspaceEditEntryMetadata
]
[]
)
:
void
Parameters
uri:
URI
edits:
readonly
(
TextEdit
|
SnippetTextEdit
)
[]
Returns
void
Parameters
uri:
URI
edits:
readonly
[
TextEdit
|
SnippetTextEdit
,
WorkspaceEditEntryMetadata
]
[]
Returns
void
toJSON
toJSON
(
)
:
any
Returns
any
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Data
Transfer
Data
Transfer
Data
Transfer
Item
Data
Transfer
Item
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Inlay
Hint
Kind
Known
Commands
Notification
Main
Object
Identifier
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Identifiers
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Process
Terminate
Message
Process
Terminated
Message
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
Item
Reference
Tree
View
Node
View
Column
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Workspace
Edit
constructor
_edits
size
_all
Entries
create
File
delete
delete
File
entries
get
has
insert
rename
File
replace
set
toJSON