Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
ai-ide
ReplaceContentInFileFunctionHelper
Class ReplaceContentInFileFunctionHelper
Index
Constructors
constructor
Properties
file
Change
Factory
file
Change
Set
Title
Provider
file
Service
replacer
workspace
Function
Scope
Methods
clear
File
Changes
create
Changeset
From
Tool
Call
find
Existing
Change
Element
get
Proposed
File
State
get
Tool
Metadata
process
Replacements
Common
write
Changeset
From
Tool
Call
Constructors
constructor
new
Replace
Content
In
File
Function
Helper
(
)
:
ReplaceContentInFileFunctionHelper
Returns
ReplaceContentInFileFunctionHelper
Properties
Protected
Readonly
file
Change
Factory
file
Change
Factory
:
ChangeSetFileElementFactory
Protected
Readonly
file
Change
Set
Title
Provider
file
Change
Set
Title
Provider
:
FileChangeSetTitleProvider
file
Service
file
Service
:
FileService
Private
replacer
replacer
:
ContentReplacer
Protected
Readonly
workspace
Function
Scope
workspace
Function
Scope
:
WorkspaceFunctionScope
Methods
clear
File
Changes
clear
File
Changes
(
path
,
ctx
)
:
Promise
<
string
>
Parameters
path
:
string
ctx
:
MutableChatRequestModel
Returns
Promise
<
string
>
create
Changeset
From
Tool
Call
create
Changeset
From
Tool
Call
(
toolCallString
,
ctx
)
:
Promise
<
string
>
Parameters
toolCallString
:
string
ctx
:
MutableChatRequestModel
Returns
Promise
<
string
>
Private
find
Existing
Change
Element
find
Existing
Change
Element
(
changeSet
,
fileUri
)
:
undefined
|
ChangeSetFileElement
Parameters
changeSet
:
ChangeSet
fileUri
:
URI
Returns
undefined
|
ChangeSetFileElement
get
Proposed
File
State
get
Proposed
File
State
(
path
,
ctx
)
:
Promise
<
string
>
Parameters
path
:
string
ctx
:
MutableChatRequestModel
Returns
Promise
<
string
>
get
Tool
Metadata
get
Tool
Metadata
(
supportMultipleReplace
?
,
immediateApplication
?
)
:
{
description
:
string
;
parameters
:
ToolRequestParameters
;
}
Parameters
supportMultipleReplace
:
boolean
= false
immediateApplication
:
boolean
= false
Returns
{
description
:
string
;
parameters
:
ToolRequestParameters
;
}
description
:
string
parameters
:
ToolRequestParameters
Private
process
Replacements
Common
process
Replacements
Common
(
toolCallString
,
ctx
,
changeSetTitle
)
:
Promise
<
{
errors
:
string
[]
;
fileElement
:
undefined
|
ChangeSetFileElement
;
path
:
string
;
reset
:
boolean
;
}
>
Parameters
toolCallString
:
string
ctx
:
MutableChatRequestModel
changeSetTitle
:
string
Returns
Promise
<
{
errors
:
string
[]
;
fileElement
:
undefined
|
ChangeSetFileElement
;
path
:
string
;
reset
:
boolean
;
}
>
write
Changeset
From
Tool
Call
write
Changeset
From
Tool
Call
(
toolCallString
,
ctx
)
:
Promise
<
string
>
Parameters
toolCallString
:
string
ctx
:
MutableChatRequestModel
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
constructor
file
Change
Factory
file
Change
Set
Title
Provider
file
Service
replacer
workspace
Function
Scope
clear
File
Changes
create
Changeset
From
Tool
Call
find
Existing
Change
Element
get
Proposed
File
State
get
Tool
Metadata
process
Replacements
Common
write
Changeset
From
Tool
Call
Theia TypeDoc
Loading...