ghcide-2.7.0.0: The core of an IDE

Safe Haskell | None
Language | GHC2021

Development.IDE.LSP.HoverDefinition

Contents

- For haskell-language-server

Description

Display information on hover.

Synopsis

- hover :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) (Hover |? Null)
- gotoDefinition :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) (MessageResult 'Method_TextDocumentDefinition)
- gotoTypeDefinition :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) (MessageResult 'Method_TextDocumentTypeDefinition)
- documentHighlight :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) ([DocumentHighlight] |? Null)
- references :: PluginMethodHandler IdeState 'Method_TextDocumentReferences
- wsSymbols :: PluginMethodHandler IdeState 'Method_WorkspaceSymbol

# For haskell-language-server

hover :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) (Hover |? Null) #

gotoDefinition :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) (MessageResult 'Method_TextDocumentDefinition) #

gotoTypeDefinition :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) (MessageResult 'Method_TextDocumentTypeDefinition) #

documentHighlight :: IdeState -> TextDocumentPositionParams -> ExceptT PluginError (LspM c) ([DocumentHighlight] |? Null) #

references :: PluginMethodHandler IdeState 'Method_TextDocumentReferences #

wsSymbols :: PluginMethodHandler IdeState 'Method_WorkspaceSymbol #