Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/ai-core
browser/open-editors-variable-contribution
OpenEditorsVariableContribution
Class OpenEditorsVariableContribution
Implements
AIVariableContribution
AIVariableResolver
Index
Constructors
constructor
Properties
editor
Manager
workspace
Service
Methods
can
Resolve
get
All
Open
Files
Relative
get
Workspace
Relative
Path
register
Variables
resolve
Constructors
constructor
new
OpenEditorsVariableContribution
()
:
OpenEditorsVariableContribution
Returns
OpenEditorsVariableContribution
Properties
Protected
Readonly
editor
Manager
editorManager
:
EditorManager
Protected
Readonly
workspace
Service
workspaceService
:
WorkspaceService
Methods
can
Resolve
canResolve
(
request
:
AIVariableResolutionRequest
,
_context
:
AIVariableContext
,
)
:
MaybePromise
<
number
>
Parameters
request
:
AIVariableResolutionRequest
_context
:
AIVariableContext
Returns
MaybePromise
<
number
>
Protected
get
All
Open
Files
Relative
getAllOpenFilesRelative
()
:
string
Returns
string
Protected
get
Workspace
Relative
Path
getWorkspaceRelativePath
(
uri
:
URI
)
:
undefined
|
string
Parameters
uri
:
URI
Returns
undefined
|
string
register
Variables
registerVariables
(
service
:
AIVariableService
)
:
void
Parameters
service
:
AIVariableService
Returns
void
resolve
resolve
(
request
:
AIVariableResolutionRequest
,
_context
:
AIVariableContext
,
)
:
Promise
<
undefined
|
ResolvedAIVariable
>
Parameters
request
:
AIVariableResolutionRequest
_context
:
AIVariableContext
Returns
Promise
<
undefined
|
ResolvedAIVariable
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
editor
Manager
workspace
Service
Methods
can
Resolve
get
All
Open
Files
Relative
get
Workspace
Relative
Path
register
Variables
resolve
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...