Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
common/plugin-api-rpc-model
CodeActionProvider
Interface CodeActionProvider
interface
CodeActionProvider
{
providedCodeActionKinds
?:
string
[]
;
provideCodeActions
(
model
:
ITextModel
,
range
:
Range
|
Selection
,
context
:
CodeActionContext
,
token
:
CancellationToken
,
)
:
CodeAction
[]
|
PromiseLike
<
CodeAction
[]
>
;
}
Index
Properties
provided
Code
Action
Kinds?
Methods
provide
Code
Actions
Properties
Optional
provided
Code
Action
Kinds
providedCodeActionKinds
?:
string
[]
Methods
provide
Code
Actions
provideCodeActions
(
model
:
ITextModel
,
range
:
Range
|
Selection
,
context
:
CodeActionContext
,
token
:
CancellationToken
,
)
:
CodeAction
[]
|
PromiseLike
<
CodeAction
[]
>
Parameters
model
:
ITextModel
range
:
Range
|
Selection
context
:
CodeActionContext
token
:
CancellationToken
Returns
CodeAction
[]
|
PromiseLike
<
CodeAction
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
provided
Code
Action
Kinds
Methods
provide
Code
Actions
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...