pub trait LanguageFeatureProviderRegistry:
Environment
+ Send
+ Sync {
Show 31 methods
// Required methods
fn RegisterProvider<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
ProviderType: ProviderType,
SelectorDTO: Value,
ExtensionIdentifierDTO: Value,
OptionsDTO: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn UnregisterProvider<'life0, 'async_trait>(
&'life0 self,
Handle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideCodeActions<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeOrSelectionDTO: Value,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideCodeLenses<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideCompletions<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: CompletionContextDTO,
CancellationTokenValue: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Option<CompletionListDTO>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideDefinition<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<LocationDTO>>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideDocumentFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideDocumentHighlights<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideDocumentLinks<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideDocumentRangeFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeDTO: Value,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideHover<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<HoverResultDTO>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideReferences<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<LocationDTO>>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn PrepareRename<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideRenameEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
NewName: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideDocumentSymbols<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideWorkspaceSymbols<'life0, 'async_trait>(
&'life0 self,
Query: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideSignatureHelp<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideFoldingRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideSelectionRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
Positions: Vec<PositionDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideSemanticTokensFull<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideInlayHints<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideTypeHierarchySupertypes<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn PrepareCallHierarchy<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn PrepareTypeHierarchy<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideTypeHierarchySubtypes<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideCallHierarchyIncomingCalls<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideCallHierarchyOutgoingCalls<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideLinkedEditingRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideFileDecoration<'life0, 'async_trait>(
&'life0 self,
ResourceURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideInlineCompletionItems<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO_: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn ProvideOnTypeFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
Character: String,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
An abstract service contract for an environment component that can register, unregister, and invoke all types of language feature providers (e.g., for completions, hovers, definitions).
By consolidating all features into a single registry, we avoid the need for dozens of separate provider traits, simplifying the overall architecture.
Required Methods§
Sourcefn RegisterProvider<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
ProviderType: ProviderType,
SelectorDTO: Value,
ExtensionIdentifierDTO: Value,
OptionsDTO: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn RegisterProvider<'life0, 'async_trait>(
&'life0 self,
SideCarIdentifier: String,
ProviderType: ProviderType,
SelectorDTO: Value,
ExtensionIdentifierDTO: Value,
OptionsDTO: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<u32, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Registers a new language feature provider.
§Parameters
SideCarIdentifier: The ID of the sidecar hosting the provider.ProviderType: The type of feature this provider implements.SelectorDTO: The document selector that determines which documents this provider applies to.ExtensionIdentifierDTO: The ID of the extension contributing the provider.OptionsDTO: Optional, feature-specific options.
§Returns
A Result containing a unique handle (u32) for the new registration.
Sourcefn UnregisterProvider<'life0, 'async_trait>(
&'life0 self,
Handle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn UnregisterProvider<'life0, 'async_trait>(
&'life0 self,
Handle: u32,
) -> Pin<Box<dyn Future<Output = Result<(), CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unregisters a previously registered provider.
§Parameters
Handle: The unique handle of the provider registration to remove.
fn ProvideCodeActions<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeOrSelectionDTO: Value,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCodeLenses<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCompletions<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: CompletionContextDTO,
CancellationTokenValue: Option<Value>,
) -> Pin<Box<dyn Future<Output = Result<Option<CompletionListDTO>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDefinition<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<LocationDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentHighlights<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentLinks<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentRangeFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeDTO: Value,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideHover<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<HoverResultDTO>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideReferences<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<LocationDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn PrepareRename<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sourcefn ProvideRenameEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
NewName: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideRenameEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
NewName: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides rename edits for a symbol at the given position.
Sourcefn ProvideDocumentSymbols<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideDocumentSymbols<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides document symbols (outline) for the given document.
Sourcefn ProvideWorkspaceSymbols<'life0, 'async_trait>(
&'life0 self,
Query: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideWorkspaceSymbols<'life0, 'async_trait>(
&'life0 self,
Query: String,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides workspace symbols matching the given query.
Sourcefn ProvideSignatureHelp<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideSignatureHelp<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides signature help at the given position.
Sourcefn ProvideFoldingRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideFoldingRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides folding ranges for the given document.
Sourcefn ProvideSelectionRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
Positions: Vec<PositionDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideSelectionRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
Positions: Vec<PositionDTO>,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides selection ranges at the given positions.
Sourcefn ProvideSemanticTokensFull<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideSemanticTokensFull<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides semantic tokens for the full document.
Sourcefn ProvideInlayHints<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideInlayHints<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
RangeDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides inlay hints within the given range.
Sourcefn ProvideTypeHierarchySupertypes<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideTypeHierarchySupertypes<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides type hierarchy supertypes for the given item.
Sourcefn PrepareCallHierarchy<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn PrepareCallHierarchy<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Prepares a call hierarchy session at the given position.
Returns the root CallHierarchyItem or None if the provider
has no hierarchy at that location. This is the entry point call;
Mountain must issue this before requesting incoming/outgoing calls.
Sourcefn PrepareTypeHierarchy<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn PrepareTypeHierarchy<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Prepares a type hierarchy session at the given position.
Returns the root TypeHierarchyItem or None.
Sourcefn ProvideTypeHierarchySubtypes<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideTypeHierarchySubtypes<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides type hierarchy subtypes for the given item.
Sourcefn ProvideCallHierarchyIncomingCalls<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCallHierarchyIncomingCalls<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides call hierarchy incoming calls for the given item.
Sourcefn ProvideCallHierarchyOutgoingCalls<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideCallHierarchyOutgoingCalls<'life0, 'async_trait>(
&'life0 self,
ItemDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides call hierarchy outgoing calls for the given item.
Sourcefn ProvideLinkedEditingRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideLinkedEditingRanges<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides linked editing ranges at the given position.
Sourcefn ProvideFileDecoration<'life0, 'async_trait>(
&'life0 self,
ResourceURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideFileDecoration<'life0, 'async_trait>(
&'life0 self,
ResourceURI: Url,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides file decoration (badge, tooltip, colour) for a resource URI. Called by the file explorer / SCM tree when rendering resource state.
Sourcefn ProvideInlineCompletionItems<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO_: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideInlineCompletionItems<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO_: PositionDTO,
ContextDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Value>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides inline completion items (ghost text) consumed by extensions such as GitHub Copilot, Roo Code, and Continue.
Sourcefn ProvideOnTypeFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
Character: String,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ProvideOnTypeFormattingEdits<'life0, 'async_trait>(
&'life0 self,
DocumentURI: Url,
PositionDTO: PositionDTO,
Character: String,
OptionsDTO: Value,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<TextEditDTO>>, CommonError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Provides on-type formatting edits.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".