Safe Haskell | None |
---|---|
Language | GHC2021 |
Ide.Plugin.ExplicitImports
Synopsis
- descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState
- descriptorForModules :: Recorder (WithPriority Log) -> (ModuleName -> Bool) -> PluginId -> PluginDescriptor IdeState
- abbreviateImportTitle :: Text -> Text
- abbreviateImportTitleWithoutModule :: Text -> Text
- data Log
- = LogShake Log
- | LogWAEResponseError (TResponseError 'Method_WorkspaceApplyEdit)
- | Pretty a => LogResolve a
Documentation
descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState Source #
The "main" function of a plugin
Arguments
:: Recorder (WithPriority Log) | |
-> (ModuleName -> Bool) | Predicate to select modules that will be annotated |
-> PluginId | |
-> PluginDescriptor IdeState |
abbreviateImportTitle :: Text -> Text Source #