Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
CodeLensAdapter
Class CodeLensAdapter
Adapts the calls from main to extension thread for providing/resolving the code lenses.
Hierarchy
CodeLensAdapter
Index
Constructors
constructor
Properties
cache
cache
Id
disposables
BAD_
CMD
Methods
provide
Code
Lenses
release
Code
Lenses
resolve
Code
Lens
Constructors
constructor
new
Code
Lens
Adapter
(
provider
:
CodeLensProvider
<
CodeLens
>
, documents
:
DocumentsExtImpl
, commands
:
CommandRegistryImpl
)
:
CodeLensAdapter
Parameters
provider:
CodeLensProvider
<
CodeLens
>
documents:
DocumentsExtImpl
commands:
CommandRegistryImpl
Returns
CodeLensAdapter
Properties
Private
Readonly
cache
cache
:
Map
<
number
,
CodeLens
>
= ...
Private
cache
Id
cache
Id
:
number
= 0
Private
Readonly
disposables
disposables
:
Map
<
number
,
DisposableCollection
>
= ...
Static
Private
Readonly
BAD_
CMD
BAD_
CMD
:
Command
= ...
Methods
provide
Code
Lenses
provide
Code
Lenses
(
resource
:
URI
, token
:
CancellationToken
)
:
Promise
<
undefined
|
CodeLensSymbol
[]
>
Parameters
resource:
URI
token:
CancellationToken
Returns
Promise
<
undefined
|
CodeLensSymbol
[]
>
release
Code
Lenses
release
Code
Lenses
(
ids
:
number
[]
)
:
void
Parameters
ids:
number
[]
Returns
void
resolve
Code
Lens
resolve
Code
Lens
(
resource
:
URI
, symbol
:
CodeLensSymbol
, token
:
CancellationToken
)
:
Promise
<
undefined
|
CodeLensSymbol
>
Parameters
resource:
URI
symbol:
CodeLensSymbol
token:
CancellationToken
Returns
Promise
<
undefined
|
CodeLensSymbol
>
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
Lens
Adapter
constructor
cache
cache
Id
disposables
BAD_
CMD
provide
Code
Lenses
release
Code
Lenses
resolve
Code
Lens
Adapts the calls from main to extension thread for providing/resolving the code lenses.