Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Provides code actions to add missing pragmas (whenever GHC suggests to)
Synopsis
- suggestPragmaDescriptor :: PluginId -> PluginDescriptor IdeState
- completionDescriptor :: PluginId -> PluginDescriptor IdeState
- suggestDisableWarningDescriptor :: PluginId -> PluginDescriptor IdeState
- validPragmas :: [(Text, Text, Text, AppearWhere)]
- data AppearWhere
Documentation
suggestPragmaDescriptor :: PluginId -> PluginDescriptor IdeState Source #
completionDescriptor :: PluginId -> PluginDescriptor IdeState Source #
suggestDisableWarningDescriptor :: PluginId -> PluginDescriptor IdeState Source #
validPragmas :: [(Text, Text, Text, AppearWhere)] Source #
data AppearWhere Source #
Pragma where exist
Instances
Show AppearWhere Source # | |
Defined in Ide.Plugin.Pragmas showsPrec :: Int -> AppearWhere -> ShowS # show :: AppearWhere -> String # showList :: [AppearWhere] -> ShowS # | |
Eq AppearWhere Source # | |
Defined in Ide.Plugin.Pragmas (==) :: AppearWhere -> AppearWhere -> Bool # (/=) :: AppearWhere -> AppearWhere -> Bool # |