Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
CompletionAdapter
Class CompletionAdapter
Hierarchy
CompletionAdapter
Index
Constructors
constructor
Properties
cache
cache
Id
disposables
Methods
convert
Completion
Item
provide
Completion
Items
release
Completion
Items
resolve
Completion
Item
has
Resolve
Support
Constructors
constructor
new
Completion
Adapter
(
delegate
:
CompletionItemProvider
<
CompletionItem
>
, documents
:
DocumentsExtImpl
, commands
:
CommandRegistryImpl
)
:
CompletionAdapter
Parameters
delegate:
CompletionItemProvider
<
CompletionItem
>
documents:
DocumentsExtImpl
commands:
CommandRegistryImpl
Returns
CompletionAdapter
Properties
Private
Readonly
cache
cache
:
Map
<
number
,
CompletionItem
[]
>
= ...
Private
cache
Id
cache
Id
:
number
= 0
Private
Readonly
disposables
disposables
:
Map
<
number
,
DisposableCollection
>
= ...
Methods
Private
convert
Completion
Item
convert
Completion
Item
(
item
:
CompletionItem
, id
:
number
, parentId
:
number
, defaultInserting
?:
Range
, defaultReplacing
?:
Range
)
:
undefined
|
CompletionDto
Parameters
item:
CompletionItem
id:
number
parentId:
number
Optional
defaultInserting:
Range
Optional
defaultReplacing:
Range
Returns
undefined
|
CompletionDto
provide
Completion
Items
provide
Completion
Items
(
resource
:
URI
, position
:
Position
, context
:
CompletionContext
, token
:
CancellationToken
)
:
Promise
<
undefined
|
CompletionResultDto
>
Parameters
resource:
URI
position:
Position
context:
CompletionContext
token:
CancellationToken
Returns
Promise
<
undefined
|
CompletionResultDto
>
release
Completion
Items
release
Completion
Items
(
id
:
number
)
:
Promise
<
void
>
Parameters
id:
number
Returns
Promise
<
void
>
resolve
Completion
Item
resolve
Completion
Item
(
chainedId
:
ChainedCacheId
, token
:
CancellationToken
)
:
Promise
<
undefined
|
Completion
>
Parameters
chainedId:
ChainedCacheId
token:
CancellationToken
Returns
Promise
<
undefined
|
Completion
>
Static
has
Resolve
Support
has
Resolve
Support
(
provider
:
CompletionItemProvider
<
CompletionItem
>
)
:
boolean
Parameters
provider:
CompletionItemProvider
<
CompletionItem
>
Returns
boolean
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
Completion
Adapter
constructor
cache
cache
Id
disposables
convert
Completion
Item
provide
Completion
Items
release
Completion
Items
resolve
Completion
Item
has
Resolve
Support