Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-metrics
LanguagesMainPluginMetrics
Class LanguagesMainPluginMetrics
Hierarchy
LanguagesMainImpl
LanguagesMainPluginMetrics
Index
Constructors
constructor
Properties
handle
To
ExtensionID
plugin
Metrics
Resolver
Methods
$register
Code
Lens
Support
$register
Completion
Support
$register
Declaration
Provider
$register
Definition
Provider
$register
Document
Color
Provider
$register
Document
Formatting
Support
$register
Document
Highlight
Provider
$register
Document
Link
Provider
$register
Folding
Range
Provider
$register
Hover
Provider
$register
Implementation
Provider
$register
On
Type
Formatting
Provider
$register
Outline
Support
$register
Quick
Fix
Provider
$register
Range
Formatting
Support
$register
Reference
Provider
$register
Rename
Provider
$register
Signature
Help
Provider
$register
Type
Definition
Provider
$register
Workspace
Symbol
Provider
$unregister
handle
To
Extension
Name
provide
Code
Actions
provide
Code
Lenses
provide
Color
Presentations
provide
Completion
Items
provide
Definition
provide
Document
Colors
provide
Document
Formatting
Edits
provide
Document
Highlights
provide
Document
Range
Formatting
Edits
provide
Document
Symbols
provide
Folding
Ranges
provide
Hover
provide
Implementation
provide
Links
provide
On
Type
Formatting
Edits
provide
References
provide
Rename
Edits
provide
Signature
Help
provide
Type
Definition
provide
Workspace
Symbols
register
Plugin
With
Feature
Handle
resolve
Code
Lens
resolve
Completion
Item
resolve
Link
resolve
Rename
Location
resolve
Workspace
Symbol
Constructors
constructor
new
Languages
Main
Plugin
Metrics
(
rpc
:
RPCProtocol
)
:
LanguagesMainPluginMetrics
Parameters
rpc:
RPCProtocol
Returns
LanguagesMainPluginMetrics
Properties
Protected
Readonly
handle
To
ExtensionID
handle
To
ExtensionID
:
Map
<
number
,
string
>
= ...
Private
plugin
Metrics
Resolver
plugin
Metrics
Resolver
:
PluginMetricsResolver
Methods
$register
Code
Lens
Support
$register
Code
Lens
Support
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, eventHandle
:
number
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
eventHandle:
number
Returns
void
$register
Completion
Support
$register
Completion
Support
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, triggerCharacters
:
string
[]
, supportsResolveDetails
:
boolean
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
triggerCharacters:
string
[]
supportsResolveDetails:
boolean
Returns
void
$register
Declaration
Provider
$register
Declaration
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Definition
Provider
$register
Definition
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Document
Color
Provider
$register
Document
Color
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Document
Formatting
Support
$register
Document
Formatting
Support
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Document
Highlight
Provider
$register
Document
Highlight
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Document
Link
Provider
$register
Document
Link
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Folding
Range
Provider
$register
Folding
Range
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, eventHandle
:
number
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
eventHandle:
number
Returns
void
$register
Hover
Provider
$register
Hover
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Implementation
Provider
$register
Implementation
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
On
Type
Formatting
Provider
$register
On
Type
Formatting
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, autoFormatTriggerCharacters
:
string
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
autoFormatTriggerCharacters:
string
[]
Returns
void
$register
Outline
Support
$register
Outline
Support
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, displayName
?:
string
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Optional
displayName:
string
Returns
void
$register
Quick
Fix
Provider
$register
Quick
Fix
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, codeActionKinds
?:
string
[]
, documentation
?:
CodeActionProviderDocumentation
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Optional
codeActionKinds:
string
[]
Optional
documentation:
CodeActionProviderDocumentation
Returns
void
$register
Range
Formatting
Support
$register
Range
Formatting
Support
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Reference
Provider
$register
Reference
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Rename
Provider
$register
Rename
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, supportsResolveLocation
:
boolean
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
supportsResolveLocation:
boolean
Returns
void
$register
Signature
Help
Provider
$register
Signature
Help
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
, metadata
:
SignatureHelpProviderMetadata
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
metadata:
SignatureHelpProviderMetadata
Returns
void
$register
Type
Definition
Provider
$register
Type
Definition
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
, selector
:
SerializedDocumentFilter
[]
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
selector:
SerializedDocumentFilter
[]
Returns
void
$register
Workspace
Symbol
Provider
$register
Workspace
Symbol
Provider
(
handle
:
number
, pluginInfo
:
PluginInfo
)
:
void
Parameters
handle:
number
pluginInfo:
PluginInfo
Returns
void
$unregister
$unregister
(
handle
:
number
)
:
void
Parameters
handle:
number
Returns
void
Private
handle
To
Extension
Name
handle
To
Extension
Name
(
handle
:
number
)
:
string
Parameters
handle:
number
Returns
string
Protected
provide
Code
Actions
provide
Code
Actions
(
handle
:
number
, model
:
ITextModel
, rangeOrSelection
:
Range
, context
:
CodeActionContext
, token
:
CancellationToken
)
:
Promise
<
CodeActionList
>
Parameters
handle:
number
model:
ITextModel
rangeOrSelection:
Range
context:
CodeActionContext
token:
CancellationToken
Returns
Promise
<
CodeActionList
>
Protected
provide
Code
Lenses
provide
Code
Lenses
(
handle
:
number
, model
:
ITextModel
, token
:
CancellationToken
)
:
Promise
<
ProviderResult
<
CodeLensList
>
>
Parameters
handle:
number
model:
ITextModel
token:
CancellationToken
Returns
Promise
<
ProviderResult
<
CodeLensList
>
>
Protected
provide
Color
Presentations
provide
Color
Presentations
(
handle
:
number
, model
:
ITextModel
, colorInfo
:
IColorInformation
, token
:
CancellationToken
)
:
ProviderResult
<
IColorPresentation
[]
>
Parameters
handle:
number
model:
ITextModel
colorInfo:
IColorInformation
token:
CancellationToken
Returns
ProviderResult
<
IColorPresentation
[]
>
Protected
provide
Completion
Items
provide
Completion
Items
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, context
:
CompletionContext
, token
:
CancellationToken
)
:
ProviderResult
<
CompletionList
>
Parameters
handle:
number
model:
ITextModel
position:
Position
context:
CompletionContext
token:
CancellationToken
Returns
ProviderResult
<
CompletionList
>
Protected
provide
Definition
provide
Definition
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
)
:
ProviderResult
<
Definition
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
Returns
ProviderResult
<
Definition
>
Protected
provide
Document
Colors
provide
Document
Colors
(
handle
:
number
, model
:
ITextModel
, token
:
CancellationToken
)
:
ProviderResult
<
IColorInformation
[]
>
Parameters
handle:
number
model:
ITextModel
token:
CancellationToken
Returns
ProviderResult
<
IColorInformation
[]
>
Protected
provide
Document
Formatting
Edits
provide
Document
Formatting
Edits
(
handle
:
number
, model
:
ITextModel
, options
:
FormattingOptions
, token
:
CancellationToken
)
:
ProviderResult
<
TextEdit
[]
>
Parameters
handle:
number
model:
ITextModel
options:
FormattingOptions
token:
CancellationToken
Returns
ProviderResult
<
TextEdit
[]
>
Protected
provide
Document
Highlights
provide
Document
Highlights
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
)
:
ProviderResult
<
DocumentHighlight
[]
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
Returns
ProviderResult
<
DocumentHighlight
[]
>
Protected
provide
Document
Range
Formatting
Edits
provide
Document
Range
Formatting
Edits
(
handle
:
number
, model
:
ITextModel
, range
:
Range
, options
:
FormattingOptions
, token
:
CancellationToken
)
:
ProviderResult
<
TextEdit
[]
>
Parameters
handle:
number
model:
ITextModel
range:
Range
options:
FormattingOptions
token:
CancellationToken
Returns
ProviderResult
<
TextEdit
[]
>
Protected
provide
Document
Symbols
provide
Document
Symbols
(
handle
:
number
, model
:
ITextModel
, token
:
CancellationToken
)
:
ProviderResult
<
DocumentSymbol
[]
>
Parameters
handle:
number
model:
ITextModel
token:
CancellationToken
Returns
ProviderResult
<
DocumentSymbol
[]
>
Protected
provide
Folding
Ranges
provide
Folding
Ranges
(
handle
:
number
, model
:
ITextModel
, context
:
FoldingContext
, token
:
CancellationToken
)
:
ProviderResult
<
FoldingRange
[]
>
Parameters
handle:
number
model:
ITextModel
context:
FoldingContext
token:
CancellationToken
Returns
ProviderResult
<
FoldingRange
[]
>
Protected
provide
Hover
provide
Hover
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
)
:
ProviderResult
<
Hover
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
Returns
ProviderResult
<
Hover
>
Protected
provide
Implementation
provide
Implementation
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
)
:
ProviderResult
<
Definition
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
Returns
ProviderResult
<
Definition
>
Protected
provide
Links
provide
Links
(
handle
:
number
, model
:
ITextModel
, token
:
CancellationToken
)
:
Promise
<
ProviderResult
<
ILinksList
>
>
Parameters
handle:
number
model:
ITextModel
token:
CancellationToken
Returns
Promise
<
ProviderResult
<
ILinksList
>
>
Protected
provide
On
Type
Formatting
Edits
provide
On
Type
Formatting
Edits
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, ch
:
string
, options
:
FormattingOptions
, token
:
CancellationToken
)
:
ProviderResult
<
TextEdit
[]
>
Parameters
handle:
number
model:
ITextModel
position:
Position
ch:
string
options:
FormattingOptions
token:
CancellationToken
Returns
ProviderResult
<
TextEdit
[]
>
Protected
provide
References
provide
References
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, context
:
ReferenceContext
, token
:
CancellationToken
)
:
ProviderResult
<
Location
[]
>
Parameters
handle:
number
model:
ITextModel
position:
Position
context:
ReferenceContext
token:
CancellationToken
Returns
ProviderResult
<
Location
[]
>
Protected
provide
Rename
Edits
provide
Rename
Edits
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, newName
:
string
, token
:
CancellationToken
)
:
ProviderResult
<
WorkspaceEdit
&
Rejection
>
Parameters
handle:
number
model:
ITextModel
position:
Position
newName:
string
token:
CancellationToken
Returns
ProviderResult
<
WorkspaceEdit
&
Rejection
>
Protected
provide
Signature
Help
provide
Signature
Help
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
, context
:
SignatureHelpContext
)
:
Promise
<
ProviderResult
<
SignatureHelpResult
>
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
context:
SignatureHelpContext
Returns
Promise
<
ProviderResult
<
SignatureHelpResult
>
>
Protected
provide
Type
Definition
provide
Type
Definition
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
)
:
ProviderResult
<
Definition
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
Returns
ProviderResult
<
Definition
>
Protected
provide
Workspace
Symbols
provide
Workspace
Symbols
(
handle
:
number
, params
:
WorkspaceSymbolParams
, token
:
CancellationToken
)
:
Thenable
<
SymbolInformation
[]
>
Parameters
handle:
number
params:
WorkspaceSymbolParams
token:
CancellationToken
Returns
Thenable
<
SymbolInformation
[]
>
Private
register
Plugin
With
Feature
Handle
register
Plugin
With
Feature
Handle
(
handle
:
number
, pluginID
:
string
)
:
void
Parameters
handle:
number
pluginID:
string
Returns
void
Protected
resolve
Code
Lens
resolve
Code
Lens
(
handle
:
number
, model
:
ITextModel
, codeLens
:
CodeLens
, token
:
CancellationToken
)
:
ProviderResult
<
CodeLens
>
Parameters
handle:
number
model:
ITextModel
codeLens:
CodeLens
token:
CancellationToken
Returns
ProviderResult
<
CodeLens
>
Protected
resolve
Completion
Item
resolve
Completion
Item
(
handle
:
number
, item
:
CompletionItem
, token
:
CancellationToken
)
:
ProviderResult
<
CompletionItem
>
Parameters
handle:
number
item:
CompletionItem
token:
CancellationToken
Returns
ProviderResult
<
CompletionItem
>
Protected
resolve
Link
resolve
Link
(
handle
:
number
, link
:
ILink
, token
:
CancellationToken
)
:
Promise
<
ProviderResult
<
ILink
>
>
Parameters
handle:
number
link:
ILink
token:
CancellationToken
Returns
Promise
<
ProviderResult
<
ILink
>
>
Protected
resolve
Rename
Location
resolve
Rename
Location
(
handle
:
number
, model
:
ITextModel
, position
:
Position
, token
:
CancellationToken
)
:
ProviderResult
<
RenameLocation
>
Parameters
handle:
number
model:
ITextModel
position:
Position
token:
CancellationToken
Returns
ProviderResult
<
RenameLocation
>
Protected
resolve
Workspace
Symbol
resolve
Workspace
Symbol
(
handle
:
number
, symbol
:
SymbolInformation
, token
:
CancellationToken
)
:
Thenable
<
SymbolInformation
>
Parameters
handle:
number
symbol:
SymbolInformation
token:
CancellationToken
Returns
Thenable
<
SymbolInformation
>
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
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
Languages
Main
Plugin
Metrics
constructor
handle
To
ExtensionID
plugin
Metrics
Resolver
$register
Code
Lens
Support
$register
Completion
Support
$register
Declaration
Provider
$register
Definition
Provider
$register
Document
Color
Provider
$register
Document
Formatting
Support
$register
Document
Highlight
Provider
$register
Document
Link
Provider
$register
Folding
Range
Provider
$register
Hover
Provider
$register
Implementation
Provider
$register
On
Type
Formatting
Provider
$register
Outline
Support
$register
Quick
Fix
Provider
$register
Range
Formatting
Support
$register
Reference
Provider
$register
Rename
Provider
$register
Signature
Help
Provider
$register
Type
Definition
Provider
$register
Workspace
Symbol
Provider
$unregister
handle
To
Extension
Name
provide
Code
Actions
provide
Code
Lenses
provide
Color
Presentations
provide
Completion
Items
provide
Definition
provide
Document
Colors
provide
Document
Formatting
Edits
provide
Document
Highlights
provide
Document
Range
Formatting
Edits
provide
Document
Symbols
provide
Folding
Ranges
provide
Hover
provide
Implementation
provide
Links
provide
On
Type
Formatting
Edits
provide
References
provide
Rename
Edits
provide
Signature
Help
provide
Type
Definition
provide
Workspace
Symbols
register
Plugin
With
Feature
Handle
resolve
Code
Lens
resolve
Completion
Item
resolve
Link
resolve
Rename
Location
resolve
Workspace
Symbol