Safe Haskell | None |
---|---|
Language | GHC2021 |
Ide.Plugin.Cabal
Synopsis
- descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState
- haskellInteractionDescriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState
- data Log
Documentation
descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState Source #
haskellInteractionDescriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState Source #
Some actions with cabal files originate from haskell files. This descriptor allows to hook into the diagnostics of haskell source files, and allows us to provide code actions and commands that interact with `.cabal` files.