ghcide-2.4.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageHaskell2010

Development.IDE.Main

Documentation

data Arguments #

Constructors

Arguments 

Fields

data Command #

Constructors

Check [FilePath]

Typecheck some paths and print diagnostics. Exit code is the number of failures

Db

Run a command in the hiedb

LSP

Run the LSP server

Custom

User defined

Instances

Instances details
Show Command # 
Instance details

Defined in Development.IDE.Main

Methods

showsPrec :: Int -> Command -> ShowS #

show :: Command -> String #

showList :: [Command] -> ShowS #

newtype IdeCommand state #

Constructors

IdeCommand (state -> IO ()) 

Instances

Instances details
Show (IdeCommand st) 
Instance details

Defined in Ide.Types

Methods

showsPrec :: Int -> IdeCommand st -> ShowS #

show :: IdeCommand st -> String #

showList :: [IdeCommand st] -> ShowS #

isLSP :: Command -> Bool #

data Log #

Instances

Instances details
Show Log # 
Instance details

Defined in Development.IDE.Main

Methods

showsPrec :: Int -> Log -> ShowS #

show :: Log -> String #

showList :: [Log] -> ShowS #

Pretty Log # 
Instance details

Defined in Development.IDE.Main

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #

Orphan instances

Show Command # 
Instance details

Methods

showsPrec :: Int -> Command -> ShowS #

show :: Command -> String #

showList :: [Command] -> ShowS #

Show Options # 
Instance details

Methods

showsPrec :: Int -> Options -> ShowS #

show :: Options -> String #

showList :: [Options] -> ShowS #