Preparing search index...
The search index is not available
Monaco Editor API
Monaco Editor API
languages
RenameProvider
Interface RenameProvider
interface
RenameProvider
{
provideRenameEdits
(
model
,
position
,
newName
,
token
)
:
ProviderResult
<
WorkspaceEdit
&
Rejection
>
;
resolveRenameLocation
?
(
model
,
position
,
token
)
:
ProviderResult
<
RenameLocation
&
Rejection
>
;
}
Index
Methods
provide
Rename
Edits
resolve
Rename
Location?
Methods
provide
Rename
Edits
provide
Rename
Edits
(
model
,
position
,
newName
,
token
)
:
ProviderResult
<
WorkspaceEdit
&
Rejection
>
Parameters
model
:
ITextModel
position
:
Position
newName
:
string
token
:
CancellationToken
Returns
ProviderResult
<
WorkspaceEdit
&
Rejection
>
Optional
resolve
Rename
Location
resolve
Rename
Location
(
model
,
position
,
token
)
:
ProviderResult
<
RenameLocation
&
Rejection
>
Parameters
model
:
ITextModel
position
:
Position
token
:
CancellationToken
Returns
ProviderResult
<
RenameLocation
&
Rejection
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
provide
Rename
Edits
resolve
Rename
Location
Monaco Editor API
Loading...