HoverProvider

Trait HoverProvider 

Source
pub trait HoverProvider {
    // Required method
    fn hover(
        &self,
        _text: &Rope,
        _offset: usize,
        _window: &mut Window,
        _cx: &mut App,
    ) -> Task<Result<Option<Hover>>>;
}
Expand description

Hover provider

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_hover

Required Methods§

Source

fn hover( &self, _text: &Rope, _offset: usize, _window: &mut Window, _cx: &mut App, ) -> Task<Result<Option<Hover>>>

textDocument/hover

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_hover

Implementors§