Expand description
All LSP feature method implementations.
FunctionsΒ§
- invoke_
provider π - invoke_
provider_ πmethod - Like
invoke_providerbut uses an explicit method name instead of the$provide{ProviderType}convention. Used for prepare steps ($prepareCallHierarchyItems,$prepareTypeHierarchyItems) where the method prefix differs from the provider type string. - prepare_
call_ πhierarchy - Prepare call hierarchy - establish the root
CallHierarchyItemat the given document position. Extensions implementprepareCallHierarchy(doc, pos, token). Without this step the incoming/outgoing calls views are always empty. - prepare_
rename π - prepare_
type_ πhierarchy - Prepare type hierarchy - establish the root
TypeHierarchyItem. - provide_
call_ πhierarchy_ incoming_ calls - provide_
call_ πhierarchy_ outgoing_ calls - provide_
code_ πactions - provide_
code_ πlenses - provide_
completions π - provide_
definition π - provide_
document_ πformatting_ edits - provide_
document_ πhighlights - provide_
document_ πlinks - provide_
document_ πrange_ formatting_ edits - provide_
document_ πsymbols - provide_
file_ πdecoration - Provide a file decoration (badge, tooltip, colour) for the given URI.
Called by Mountainβs
FileDecorationProviderwhen the file explorer or source-control tree requests decoration state for a resource URI. Cocoonβs$provideFileDecorationhandler (added in session Trench) asks the registered extension provider and returns the result. - provide_
folding_ πranges - provide_
hover π - provide_
inlay_ πhints - provide_
inline_ πcompletion_ items - Provide inline completion items for the given document position.
Called from
ProvideInlineCompletionItems.rswhen Monaco requests ghost-text completions (GitHub Copilot, Roo Code, Continue, etc.). - provide_
linked_ πediting_ ranges - provide_
on_ πtype_ formatting_ edits - provide_
references π - provide_
rename_ πedits - provide_
selection_ πranges - provide_
semantic_ πtokens_ full - provide_
signature_ πhelp - provide_
type_ πhierarchy_ subtypes - provide_
type_ πhierarchy_ supertypes - provide_
workspace_ πsymbols