ghcide-2.11.0.0: The core of an IDE
Safe HaskellNone
LanguageGHC2021

Development.IDE.Plugin.HLS

Synopsis

Documentation

asGhcIdePlugin :: Recorder (WithPriority Log) -> IdePlugins IdeState -> Plugin Config Source #

Map a set of plugins to the underlying ghcide engine.

toResponseError :: forall {f :: MessageDirection} (m :: Method f 'Request). (PluginId, PluginError) -> TResponseError m Source #

data Log Source #

Constructors

LogPluginError PluginId PluginError 
ToJSON (ErrorData m) => LogResponseError PluginId (TResponseError m) 
LogNoPluginForMethod (Some (SMethod :: Method f t -> Type)) 
LogInvalidCommandIdentifier 
ExceptionInPlugin PluginId (Some (SMethod :: Method f t -> Type)) SomeException 
LogResolveDefaultHandler (Some (SMethod :: Method f t -> Type)) 

Instances

Instances details
Show Log Source # 
Instance details

Defined in Development.IDE.Plugin.HLS

Methods

showsPrec :: Int -> Log -> ShowS #

show :: Log -> String #

showList :: [Log] -> ShowS #

Pretty Log Source # 
Instance details

Defined in Development.IDE.Plugin.HLS

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #