Skip to main content

Module FeatureMethods

Module FeatureMethods 

Source
Expand description

All LSP feature method implementations.

FunctionsΒ§

invoke_provider πŸ”’
invoke_provider_method πŸ”’
Like invoke_provider but 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 CallHierarchyItem at the given document position. Extensions implement prepareCallHierarchy(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 FileDecorationProvider when the file explorer or source-control tree requests decoration state for a resource URI. Cocoon’s $provideFileDecoration handler (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.rs when 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 πŸ”’