pub fn ProvideHover(
DocumentURI: Url,
PositionDTO: PositionDTO,
) -> ActionEffect<Arc<dyn LanguageFeatureProviderRegistry>, CommonError, Option<HoverResultDTO>>Expand description
Creates an effect that, when executed, will request hover information for a symbol at a given position in a document.
It uses the LanguageFeatureProviderRegistry capability from the
environment to find and invoke the appropriate hover provider.
§Parameters
DocumentURI: TheUrlof the document in which the hover was requested.PositionDTO: The line and columnPositionDTOwhere the hover was requested.
§Returns
An ActionEffect that resolves with an Option<HoverResultDTO>, containing
the hover content if a provider was found and returned a result, or None
otherwise.