Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data RejectionReason Source #
Reasons why a plugin could reject a specific request.
NotResolveOwner Text | The resolve request is not meant for this plugin or handler. The text field should contain the identifier for the plugin who owns this resolve request. |
DisabledGlobally | The plugin is disabled globally in the users config. |
FeatureDisabled | The feature in the plugin that responds to this request is disabled in the users config |
NotFormattingProvider Text | This plugin is not the formatting provider selected in the users config. The text should be the formatting provider in your config. |
DoesNotSupportFileType Text | This plugin does not support the file type. The text field here should contain the filetype of the rejected request. |
Instances
Eq RejectionReason Source # | |
Defined in Ide.Plugin.HandleRequestTypes (==) :: RejectionReason -> RejectionReason -> Bool # (/=) :: RejectionReason -> RejectionReason -> Bool # | |
Pretty RejectionReason Source # | |
Defined in Ide.Plugin.HandleRequestTypes pretty :: RejectionReason -> Doc ann # prettyList :: [RejectionReason] -> Doc ann # |
data HandleRequestResult Source #
Whether a plugin will handle a request or not.
Instances
Semigroup HandleRequestResult Source # | |
Defined in Ide.Plugin.HandleRequestTypes (<>) :: HandleRequestResult -> HandleRequestResult -> HandleRequestResult # sconcat :: NonEmpty HandleRequestResult -> HandleRequestResult # stimes :: Integral b => b -> HandleRequestResult -> HandleRequestResult # | |
Eq HandleRequestResult Source # | |
Defined in Ide.Plugin.HandleRequestTypes (==) :: HandleRequestResult -> HandleRequestResult -> Bool # (/=) :: HandleRequestResult -> HandleRequestResult -> Bool # | |
Pretty HandleRequestResult Source # | |
Defined in Ide.Plugin.HandleRequestTypes pretty :: HandleRequestResult -> Doc ann # prettyList :: [HandleRequestResult] -> Doc ann # |