ghcide-0.7.0.0: The core of an IDE
Safe HaskellNone
LanguageHaskell2010

Development.IDE.Plugin

Synopsis

Documentation

data Plugin c Source #

Constructors

Plugin 

Instances

Instances details
Semigroup (Plugin c) Source # 
Instance details

Defined in Development.IDE.Plugin

Methods

(<>) :: Plugin c -> Plugin c -> Plugin c #

sconcat :: NonEmpty (Plugin c) -> Plugin c #

stimes :: Integral b => b -> Plugin c -> Plugin c #

Monoid (Plugin c) Source # 
Instance details

Defined in Development.IDE.Plugin

Methods

mempty :: Plugin c #

mappend :: Plugin c -> Plugin c -> Plugin c #

mconcat :: [Plugin c] -> Plugin c #

Default (Plugin c) Source # 
Instance details

Defined in Development.IDE.Plugin

Methods

def :: Plugin c #

makeLspCommandId :: Text -> IO Text Source #

Prefix to uniquely identify commands sent to the client. This has two parts

  • A representation of the process id to make sure that a client has unique commands if it is running multiple servers, since some clients have a global command table and get confused otherwise.
  • A string to identify ghcide, to ease integration into haskell-language-server, which routes commands to plugins based on that.