hls-cabal-fmt-plugin-0.1.0.0: Integration with the cabal-fmt code formatter
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ide.Plugin.CabalFmt

Synopsis

Documentation

data Log Source #

Instances

Instances details
Show Log Source # 
Instance details

Defined in Ide.Plugin.CabalFmt

Methods

showsPrec :: Int -> Log -> ShowS #

show :: Log -> String #

showList :: [Log] -> ShowS #

Pretty Log Source # 
Instance details

Defined in Ide.Plugin.CabalFmt

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #

provider :: Recorder (WithPriority Log) -> FormattingHandler IdeState Source #

Formatter provider of cabal fmt. Formats the given source in either a given Range or the whole Document. If the provider fails an error is returned that can be displayed to the user.