haskell-language-server-2.7.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Ide.Plugin.ModuleName

Description

Keep the module name in sync with its file path.

Provide CodeLenses to: * Add a module header ("module moduleName where") to empty Haskell files * Fix the module name if incorrect

Synopsis

Documentation

descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState Source #

Plugin descriptor

data Log Source #

Instances

Instances details
Show Log Source # 
Instance details

Defined in Ide.Plugin.ModuleName

Methods

showsPrec :: Int -> Log -> ShowS #

show :: Log -> String #

showList :: [Log] -> ShowS #

Pretty Log Source # 
Instance details

Defined in Ide.Plugin.ModuleName

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #