Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
CodeActionAdapter
Class CodeActionAdapter
Hierarchy
CodeActionAdapter
Index
Constructors
constructor
Properties
cache
cache
Id
disposables
Methods
next
Cache
Id
provide
Code
Action
release
Code
Actions
resolve
Code
Action
_is
Command
_is
Selection
Constructors
constructor
new
Code
Action
Adapter
(
provider
:
CodeActionProvider
<
CodeAction
>
, document
:
DocumentsExtImpl
, diagnostics
:
Diagnostics
, pluginId
:
string
, commands
:
CommandRegistryImpl
)
:
CodeActionAdapter
Parameters
provider:
CodeActionProvider
<
CodeAction
>
document:
DocumentsExtImpl
diagnostics:
Diagnostics
pluginId:
string
commands:
CommandRegistryImpl
Returns
CodeActionAdapter
Properties
Private
Readonly
cache
cache
:
Map
<
number
,
Command
|
CodeAction
>
= ...
Private
cache
Id
cache
Id
:
number
= 0
Private
Readonly
disposables
disposables
:
Map
<
number
,
DisposableCollection
>
= ...
Methods
Private
next
Cache
Id
next
Cache
Id
(
)
:
number
Returns
number
provide
Code
Action
provide
Code
Action
(
resource
:
URI
, rangeOrSelection
:
Range
|
Selection
, context
:
CodeActionContext
, token
:
CancellationToken
)
:
Promise
<
undefined
|
CodeAction
[]
>
Parameters
resource:
URI
rangeOrSelection:
Range
|
Selection
context:
CodeActionContext
token:
CancellationToken
Returns
Promise
<
undefined
|
CodeAction
[]
>
release
Code
Actions
release
Code
Actions
(
cacheIds
:
number
[]
)
:
Promise
<
void
>
Parameters
cacheIds:
number
[]
Returns
Promise
<
void
>
resolve
Code
Action
resolve
Code
Action
(
cacheId
:
number
, token
:
CancellationToken
)
:
Promise
<
undefined
|
WorkspaceEditDto
>
Parameters
cacheId:
number
token:
CancellationToken
Returns
Promise
<
undefined
|
WorkspaceEditDto
>
Static
Private
_is
Command
_is
Command
(
arg
:
unknown
)
:
arg
is
Command
Parameters
arg:
unknown
Returns
arg
is
Command
Static
Private
_is
Selection
_is
Selection
(
arg
:
unknown
)
:
arg
is
Selection
Parameters
arg:
unknown
Returns
arg
is
Selection
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Data
Transfer
Data
Transfer
Data
Transfer
Item
Data
Transfer
Item
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Inlay
Hint
Kind
Known
Commands
Notification
Main
Object
Identifier
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Identifiers
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Process
Terminate
Message
Process
Terminated
Message
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Item
Reference
Tree
View
Node
View
Column
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Code
Action
Adapter
constructor
cache
cache
Id
disposables
next
Cache
Id
provide
Code
Action
release
Code
Actions
resolve
Code
Action
_is
Command
_is
Selection