Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/ai-code-completion
browser/code-completion-variable-contribution
CodeCompletionVariableContribution
Class CodeCompletionVariableContribution
Implements
FrontendVariableContribution
AIVariableResolver
Index
Constructors
constructor
Properties
preferences
Methods
can
Resolve
register
Variables
resolve
resolve
File
resolve
Language
resolve
Prefix
resolve
Suffix
Constructors
constructor
new
CodeCompletionVariableContribution
()
:
CodeCompletionVariableContribution
Returns
CodeCompletionVariableContribution
Properties
Protected
preferences
preferences
:
PreferenceService
Methods
can
Resolve
canResolve
(
_request
:
AIVariableResolutionRequest
,
context
:
AIVariableContext
,
)
:
MaybePromise
<
number
>
Parameters
_request
:
AIVariableResolutionRequest
context
:
AIVariableContext
Returns
MaybePromise
<
number
>
register
Variables
registerVariables
(
service
:
FrontendVariableService
)
:
void
Parameters
service
:
FrontendVariableService
Returns
void
resolve
resolve
(
request
:
AIVariableResolutionRequest
,
context
:
AIVariableContext
,
)
:
Promise
<
undefined
|
ResolvedAIVariable
>
Parameters
request
:
AIVariableResolutionRequest
context
:
AIVariableContext
Returns
Promise
<
undefined
|
ResolvedAIVariable
>
Protected
resolve
File
resolveFile
(
context
:
CodeCompletionVariableContext
,
)
:
undefined
|
ResolvedAIVariable
Parameters
context
:
CodeCompletionVariableContext
Returns
undefined
|
ResolvedAIVariable
Protected
resolve
Language
resolveLanguage
(
context
:
CodeCompletionVariableContext
,
)
:
undefined
|
ResolvedAIVariable
Parameters
context
:
CodeCompletionVariableContext
Returns
undefined
|
ResolvedAIVariable
Protected
resolve
Prefix
resolvePrefix
(
context
:
CodeCompletionVariableContext
,
)
:
undefined
|
ResolvedAIVariable
Parameters
context
:
CodeCompletionVariableContext
Returns
undefined
|
ResolvedAIVariable
Protected
resolve
Suffix
resolveSuffix
(
context
:
CodeCompletionVariableContext
,
)
:
undefined
|
ResolvedAIVariable
Parameters
context
:
CodeCompletionVariableContext
Returns
undefined
|
ResolvedAIVariable
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
preferences
Methods
can
Resolve
register
Variables
resolve
resolve
File
resolve
Language
resolve
Prefix
resolve
Suffix
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...