Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Eval Plugin entry point.
Synopsis
- descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState
- data Log
- = LogShake Log
- | LogCodeLensFp FilePath
- | LogCodeLensComments Comments
- | LogExecutionTime Text Seconds
- | LogTests !Int !Int !Int !Int
- | LogRunTestResults [Text]
- | LogRunTestEdits TextEdit
- | LogEvalFlags [String]
- | LogEvalPreSetDynFlags DynFlags
- | LogEvalParsedFlags (Either GhcException (DynFlags, [Located String], DynFlagsParsingWarnings))
- | LogEvalPostSetDynFlags DynFlags
- | LogEvalStmtStart String
- | LogEvalStmtResult (Maybe [Text])
- | LogEvalImport String
- | LogEvalDeclaration String
Documentation
descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState Source #
Plugin descriptor