ghcide-2.9.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageGHC2021

Development.IDE.LSP.HoverDefinition

Description

Display information on hover.

Synopsis

Documentation

data Log Source #

Instances

Instances details
Show Log Source # 
Instance details

Defined in Development.IDE.LSP.HoverDefinition

Methods

showsPrec :: Int -> Log -> ShowS #

show :: Log -> String #

showList :: [Log] -> ShowS #

Pretty Log Source # 
Instance details

Defined in Development.IDE.LSP.HoverDefinition

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #

For haskell-language-server

hover :: Recorder (WithPriority Log) -> IdeState -> TextDocumentPositionParams -> ExceptT PluginError (HandlerM c) (Hover |? Null) Source #

gotoDefinition :: Recorder (WithPriority Log) -> IdeState -> TextDocumentPositionParams -> ExceptT PluginError (HandlerM c) (MessageResult Method_TextDocumentDefinition) Source #

gotoTypeDefinition :: Recorder (WithPriority Log) -> IdeState -> TextDocumentPositionParams -> ExceptT PluginError (HandlerM c) (MessageResult Method_TextDocumentTypeDefinition) Source #

documentHighlight :: Recorder (WithPriority Log) -> IdeState -> TextDocumentPositionParams -> ExceptT PluginError (HandlerM c) ([DocumentHighlight] |? Null) Source #

references :: Recorder (WithPriority Log) -> PluginMethodHandler IdeState Method_TextDocumentReferences Source #