packages feed

lsp-types 2.0.1.1 → 2.0.2.0

raw patch · 378 files changed

+1207/−8 lines, 378 filesdep +indexed-traversabledep +indexed-traversable-instancesdep +lens-aesonPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependencies added: indexed-traversable, indexed-traversable-instances, lens-aeson

API changes (from Hackage documentation)

+ Language.LSP.Protocol.Utils.Misc: ViaJSON :: a -> ViaJSON a
+ Language.LSP.Protocol.Utils.Misc: instance Data.Aeson.Types.ToJSON.ToJSON a => Prettyprinter.Internal.Pretty (Language.LSP.Protocol.Utils.Misc.ViaJSON a)
+ Language.LSP.Protocol.Utils.Misc: newtype ViaJSON a
+ Language.LSP.Protocol.Utils.Misc: prettyJSON :: Value -> Doc ann
- Language.LSP.Protocol.Message: regHelper :: forall m_ab7Jw x_ab7Jx. SMethod m_ab7Jw -> (Show (RegistrationOptions m_ab7Jw) => ToJSON (RegistrationOptions m_ab7Jw) => FromJSON (RegistrationOptions m_ab7Jw) => x_ab7Jx) -> x_ab7Jx
+ Language.LSP.Protocol.Message: regHelper :: forall m_aaHYP x_aaHYQ. SMethod m_aaHYP -> (Show (RegistrationOptions m_aaHYP) => ToJSON (RegistrationOptions m_aaHYP) => FromJSON (RegistrationOptions m_aaHYP) => x_aaHYQ) -> x_aaHYQ

Files

ChangeLog.md view
@@ -1,5 +1,11 @@ # Revision history for lsp-types +## 2.0.2.0++- Add `Language.LSP.Protocol.Utils.Misc.prettyJSON :: Value -> Doc ann` for prettyprinting JSON, +  and `ViaJSON` as a deriving-via newtype wrapper for it.+- Generate `Pretty` instances for all LSP types using `ViaJSON`.+ ## 2.0.1.1  * Fix parsing of notifications with missing params
generated/Language/LSP/Protocol/Internal/Types/AnnotatedTextEdit.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON AnnotatedTextEdit)  instance Aeson.ToJSON AnnotatedTextEdit where   toJSON (AnnotatedTextEdit arg0 arg1 arg2) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ApplyWorkspaceEditParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ApplyWorkspaceEditParams)  instance Aeson.ToJSON ApplyWorkspaceEditParams where   toJSON (ApplyWorkspaceEditParams arg0 arg1) = Aeson.object $ concat $  ["label" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/ApplyWorkspaceEditResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ApplyWorkspaceEditResult)  instance Aeson.ToJSON ApplyWorkspaceEditResult where   toJSON (ApplyWorkspaceEditResult arg0 arg1 arg2) = Aeson.object $ concat $  [["applied" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/BaseSymbolInformation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -44,6 +46,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON BaseSymbolInformation)  instance Aeson.ToJSON BaseSymbolInformation where   toJSON (BaseSymbolInformation arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["name" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyClientCapabilities)  instance Aeson.ToJSON CallHierarchyClientCapabilities where   toJSON (CallHierarchyClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyIncomingCall.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyIncomingCall)  instance Aeson.ToJSON CallHierarchyIncomingCall where   toJSON (CallHierarchyIncomingCall arg0 arg1) = Aeson.object $ concat $  [["from" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyIncomingCallsParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyIncomingCallsParams)  instance Aeson.ToJSON CallHierarchyIncomingCallsParams where   toJSON (CallHierarchyIncomingCallsParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyItem.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -63,6 +65,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyItem)  instance Aeson.ToJSON CallHierarchyItem where   toJSON (CallHierarchyItem arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7) = Aeson.object $ concat $  [["name" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyOptions)  instance Aeson.ToJSON CallHierarchyOptions where   toJSON (CallHierarchyOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyOutgoingCall.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -34,6 +36,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyOutgoingCall)  instance Aeson.ToJSON CallHierarchyOutgoingCall where   toJSON (CallHierarchyOutgoingCall arg0 arg1) = Aeson.object $ concat $  [["to" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyOutgoingCallsParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyOutgoingCallsParams)  instance Aeson.ToJSON CallHierarchyOutgoingCallsParams where   toJSON (CallHierarchyOutgoingCallsParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyPrepareParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyPrepareParams)  instance Aeson.ToJSON CallHierarchyPrepareParams where   toJSON (CallHierarchyPrepareParams arg0 arg1 arg2) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CallHierarchyRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CallHierarchyRegistrationOptions)  instance Aeson.ToJSON CallHierarchyRegistrationOptions where   toJSON (CallHierarchyRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CancelParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CancelParams)  instance Aeson.ToJSON CancelParams where   toJSON (CancelParams arg0) = Aeson.object $ concat $  [["id" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/ChangeAnnotation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ChangeAnnotation)  instance Aeson.ToJSON ChangeAnnotation where   toJSON (ChangeAnnotation arg0 arg1 arg2) = Aeson.object $ concat $  [["label" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ChangeAnnotationIdentifier.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -23,3 +25,4 @@   , Aeson.FromJSONKey )   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ChangeAnnotationIdentifier)
generated/Language/LSP/Protocol/Internal/Types/ClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -54,6 +56,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ClientCapabilities)  instance Aeson.ToJSON ClientCapabilities where   toJSON (ClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  ["workspace" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CodeAction.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -89,6 +91,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeAction)  instance Aeson.ToJSON CodeAction where   toJSON (CodeAction arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7) = Aeson.object $ concat $  [["title" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CodeActionClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -72,6 +74,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeActionClientCapabilities)  instance Aeson.ToJSON CodeActionClientCapabilities where   toJSON (CodeActionClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5 arg6) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CodeActionContext.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeActionContext)  instance Aeson.ToJSON CodeActionContext where   toJSON (CodeActionContext arg0 arg1 arg2) = Aeson.object $ concat $  [["diagnostics" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CodeActionKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -93,6 +95,7 @@   deriving ( Aeson.ToJSON   , Aeson.FromJSON   , Data.String.IsString ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum CodeActionKind Data.Text.Text)+  deriving Pretty via (ViaJSON CodeActionKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum CodeActionKind where   knownValues = Data.Set.fromList [CodeActionKind_Empty
generated/Language/LSP/Protocol/Internal/Types/CodeActionOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeActionOptions)  instance Aeson.ToJSON CodeActionOptions where   toJSON (CodeActionOptions arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CodeActionParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeActionParams)  instance Aeson.ToJSON CodeActionParams where   toJSON (CodeActionParams arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CodeActionRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeActionRegistrationOptions)  instance Aeson.ToJSON CodeActionRegistrationOptions where   toJSON (CodeActionRegistrationOptions arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CodeActionTriggerKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum CodeActionTriggerKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON CodeActionTriggerKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum CodeActionTriggerKind where   knownValues = Data.Set.fromList [CodeActionTriggerKind_Invoked
generated/Language/LSP/Protocol/Internal/Types/CodeDescription.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeDescription)  instance Aeson.ToJSON CodeDescription where   toJSON (CodeDescription arg0) = Aeson.object $ concat $  [["href" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/CodeLens.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeLens)  instance Aeson.ToJSON CodeLens where   toJSON (CodeLens arg0 arg1 arg2) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CodeLensClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeLensClientCapabilities)  instance Aeson.ToJSON CodeLensClientCapabilities where   toJSON (CodeLensClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/CodeLensOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeLensOptions)  instance Aeson.ToJSON CodeLensOptions where   toJSON (CodeLensOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CodeLensParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeLensParams)  instance Aeson.ToJSON CodeLensParams where   toJSON (CodeLensParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CodeLensRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -34,6 +36,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeLensRegistrationOptions)  instance Aeson.ToJSON CodeLensRegistrationOptions where   toJSON (CodeLensRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CodeLensWorkspaceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CodeLensWorkspaceClientCapabilities)  instance Aeson.ToJSON CodeLensWorkspaceClientCapabilities where   toJSON (CodeLensWorkspaceClientCapabilities arg0) = Aeson.object $ concat $  ["refreshSupport" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/Color.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Color)  instance Aeson.ToJSON Color where   toJSON (Color arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["red" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ColorInformation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ColorInformation)  instance Aeson.ToJSON ColorInformation where   toJSON (ColorInformation arg0 arg1) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ColorPresentation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ColorPresentation)  instance Aeson.ToJSON ColorPresentation where   toJSON (ColorPresentation arg0 arg1 arg2) = Aeson.object $ concat $  [["label" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ColorPresentationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ColorPresentationParams)  instance Aeson.ToJSON ColorPresentationParams where   toJSON (ColorPresentationParams arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/Command.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Command)  instance Aeson.ToJSON Command where   toJSON (Command arg0 arg1 arg2) = Aeson.object $ concat $  [["title" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CompletionClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -59,6 +61,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionClientCapabilities)  instance Aeson.ToJSON CompletionClientCapabilities where   toJSON (CompletionClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CompletionContext.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionContext)  instance Aeson.ToJSON CompletionContext where   toJSON (CompletionContext arg0 arg1) = Aeson.object $ concat $  [["triggerKind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CompletionItem.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -187,6 +189,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionItem)  instance Aeson.ToJSON CompletionItem where   toJSON (CompletionItem arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 arg9 arg10 arg11 arg12 arg13 arg14 arg15 arg16 arg17 arg18) = Aeson.object $ concat $  [["label" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CompletionItemKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -124,6 +126,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum CompletionItemKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON CompletionItemKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum CompletionItemKind where   knownValues = Data.Set.fromList [CompletionItemKind_Text
generated/Language/LSP/Protocol/Internal/Types/CompletionItemLabelDetails.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionItemLabelDetails)  instance Aeson.ToJSON CompletionItemLabelDetails where   toJSON (CompletionItemLabelDetails arg0 arg1) = Aeson.object $ concat $  ["detail" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CompletionItemTag.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum CompletionItemTag Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON CompletionItemTag)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum CompletionItemTag where   knownValues = Data.Set.fromList [CompletionItemTag_Deprecated]
generated/Language/LSP/Protocol/Internal/Types/CompletionList.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -55,6 +57,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionList)  instance Aeson.ToJSON CompletionList where   toJSON (CompletionList arg0 arg1 arg2) = Aeson.object $ concat $  [["isIncomplete" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CompletionOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -60,6 +62,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionOptions)  instance Aeson.ToJSON CompletionOptions where   toJSON (CompletionOptions arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CompletionParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionParams)  instance Aeson.ToJSON CompletionParams where   toJSON (CompletionParams arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CompletionRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -66,6 +68,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CompletionRegistrationOptions)  instance Aeson.ToJSON CompletionRegistrationOptions where   toJSON (CompletionRegistrationOptions arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/CompletionTriggerKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum CompletionTriggerKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON CompletionTriggerKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum CompletionTriggerKind where   knownValues = Data.Set.fromList [CompletionTriggerKind_Invoked
generated/Language/LSP/Protocol/Internal/Types/ConfigurationItem.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ConfigurationItem)  instance Aeson.ToJSON ConfigurationItem where   toJSON (ConfigurationItem arg0 arg1) = Aeson.object $ concat $  ["scopeUri" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/ConfigurationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ConfigurationParams)  instance Aeson.ToJSON ConfigurationParams where   toJSON (ConfigurationParams arg0) = Aeson.object $ concat $  [["items" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/CreateFile.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -42,6 +44,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CreateFile)  instance Aeson.ToJSON CreateFile where   toJSON (CreateFile arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["annotationId" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CreateFileOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CreateFileOptions)  instance Aeson.ToJSON CreateFileOptions where   toJSON (CreateFileOptions arg0 arg1) = Aeson.object $ concat $  ["overwrite" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/CreateFilesParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON CreateFilesParams)  instance Aeson.ToJSON CreateFilesParams where   toJSON (CreateFilesParams arg0) = Aeson.object $ concat $  [["files" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/Declaration.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -21,3 +23,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Declaration)
generated/Language/LSP/Protocol/Internal/Types/DeclarationClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeclarationClientCapabilities)  instance Aeson.ToJSON DeclarationClientCapabilities where   toJSON (DeclarationClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DeclarationLink.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,3 +28,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeclarationLink)
generated/Language/LSP/Protocol/Internal/Types/DeclarationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeclarationOptions)  instance Aeson.ToJSON DeclarationOptions where   toJSON (DeclarationOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DeclarationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeclarationParams)  instance Aeson.ToJSON DeclarationParams where   toJSON (DeclarationParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DeclarationRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeclarationRegistrationOptions)  instance Aeson.ToJSON DeclarationRegistrationOptions where   toJSON (DeclarationRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/Definition.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,3 +28,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Definition)
generated/Language/LSP/Protocol/Internal/Types/DefinitionClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DefinitionClientCapabilities)  instance Aeson.ToJSON DefinitionClientCapabilities where   toJSON (DefinitionClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DefinitionLink.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -23,3 +25,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DefinitionLink)
generated/Language/LSP/Protocol/Internal/Types/DefinitionOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DefinitionOptions)  instance Aeson.ToJSON DefinitionOptions where   toJSON (DefinitionOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DefinitionParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DefinitionParams)  instance Aeson.ToJSON DefinitionParams where   toJSON (DefinitionParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DefinitionRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DefinitionRegistrationOptions)  instance Aeson.ToJSON DefinitionRegistrationOptions where   toJSON (DefinitionRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DeleteFile.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -42,6 +44,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeleteFile)  instance Aeson.ToJSON DeleteFile where   toJSON (DeleteFile arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["annotationId" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DeleteFileOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeleteFileOptions)  instance Aeson.ToJSON DeleteFileOptions where   toJSON (DeleteFileOptions arg0 arg1) = Aeson.object $ concat $  ["recursive" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DeleteFilesParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DeleteFilesParams)  instance Aeson.ToJSON DeleteFilesParams where   toJSON (DeleteFilesParams arg0) = Aeson.object $ concat $  [["files" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/Diagnostic.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -76,6 +78,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Diagnostic)  instance Aeson.ToJSON Diagnostic where   toJSON (Diagnostic arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DiagnosticClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DiagnosticClientCapabilities)  instance Aeson.ToJSON DiagnosticClientCapabilities where   toJSON (DiagnosticClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DiagnosticOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -43,6 +45,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DiagnosticOptions)  instance Aeson.ToJSON DiagnosticOptions where   toJSON (DiagnosticOptions arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DiagnosticRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -54,6 +56,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DiagnosticRegistrationOptions)  instance Aeson.ToJSON DiagnosticRegistrationOptions where   toJSON (DiagnosticRegistrationOptions arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DiagnosticRelatedInformation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DiagnosticRelatedInformation)  instance Aeson.ToJSON DiagnosticRelatedInformation where   toJSON (DiagnosticRelatedInformation arg0 arg1) = Aeson.object $ concat $  [["location" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DiagnosticServerCancellationData.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DiagnosticServerCancellationData)  instance Aeson.ToJSON DiagnosticServerCancellationData where   toJSON (DiagnosticServerCancellationData arg0) = Aeson.object $ concat $  [["retriggerRequest" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DiagnosticSeverity.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum DiagnosticSeverity Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON DiagnosticSeverity)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum DiagnosticSeverity where   knownValues = Data.Set.fromList [DiagnosticSeverity_Error
generated/Language/LSP/Protocol/Internal/Types/DiagnosticTag.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum DiagnosticTag Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON DiagnosticTag)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum DiagnosticTag where   knownValues = Data.Set.fromList [DiagnosticTag_Unnecessary
generated/Language/LSP/Protocol/Internal/Types/DiagnosticWorkspaceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DiagnosticWorkspaceClientCapabilities)  instance Aeson.ToJSON DiagnosticWorkspaceClientCapabilities where   toJSON (DiagnosticWorkspaceClientCapabilities arg0) = Aeson.object $ concat $  ["refreshSupport" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DidChangeConfigurationClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeConfigurationClientCapabilities)  instance Aeson.ToJSON DidChangeConfigurationClientCapabilities where   toJSON (DidChangeConfigurationClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DidChangeConfigurationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeConfigurationParams)  instance Aeson.ToJSON DidChangeConfigurationParams where   toJSON (DidChangeConfigurationParams arg0) = Aeson.object $ concat $  [["settings" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidChangeConfigurationRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeConfigurationRegistrationOptions)  instance Aeson.ToJSON DidChangeConfigurationRegistrationOptions where   toJSON (DidChangeConfigurationRegistrationOptions arg0) = Aeson.object $ concat $  ["section" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DidChangeNotebookDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -47,6 +49,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeNotebookDocumentParams)  instance Aeson.ToJSON DidChangeNotebookDocumentParams where   toJSON (DidChangeNotebookDocumentParams arg0 arg1) = Aeson.object $ concat $  [["notebookDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DidChangeTextDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -42,6 +44,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeTextDocumentParams)  instance Aeson.ToJSON DidChangeTextDocumentParams where   toJSON (DidChangeTextDocumentParams arg0 arg1) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DidChangeWatchedFilesClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeWatchedFilesClientCapabilities)  instance Aeson.ToJSON DidChangeWatchedFilesClientCapabilities where   toJSON (DidChangeWatchedFilesClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DidChangeWatchedFilesParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeWatchedFilesParams)  instance Aeson.ToJSON DidChangeWatchedFilesParams where   toJSON (DidChangeWatchedFilesParams arg0) = Aeson.object $ concat $  [["changes" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidChangeWatchedFilesRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeWatchedFilesRegistrationOptions)  instance Aeson.ToJSON DidChangeWatchedFilesRegistrationOptions where   toJSON (DidChangeWatchedFilesRegistrationOptions arg0) = Aeson.object $ concat $  [["watchers" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidChangeWorkspaceFoldersParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidChangeWorkspaceFoldersParams)  instance Aeson.ToJSON DidChangeWorkspaceFoldersParams where   toJSON (DidChangeWorkspaceFoldersParams arg0) = Aeson.object $ concat $  [["event" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidCloseNotebookDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidCloseNotebookDocumentParams)  instance Aeson.ToJSON DidCloseNotebookDocumentParams where   toJSON (DidCloseNotebookDocumentParams arg0 arg1) = Aeson.object $ concat $  [["notebookDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DidCloseTextDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidCloseTextDocumentParams)  instance Aeson.ToJSON DidCloseTextDocumentParams where   toJSON (DidCloseTextDocumentParams arg0) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidOpenNotebookDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidOpenNotebookDocumentParams)  instance Aeson.ToJSON DidOpenNotebookDocumentParams where   toJSON (DidOpenNotebookDocumentParams arg0 arg1) = Aeson.object $ concat $  [["notebookDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DidOpenTextDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidOpenTextDocumentParams)  instance Aeson.ToJSON DidOpenTextDocumentParams where   toJSON (DidOpenTextDocumentParams arg0) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidSaveNotebookDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidSaveNotebookDocumentParams)  instance Aeson.ToJSON DidSaveNotebookDocumentParams where   toJSON (DidSaveNotebookDocumentParams arg0) = Aeson.object $ concat $  [["notebookDocument" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DidSaveTextDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DidSaveTextDocumentParams)  instance Aeson.ToJSON DidSaveTextDocumentParams where   toJSON (DidSaveTextDocumentParams arg0 arg1) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentColorClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentColorClientCapabilities)  instance Aeson.ToJSON DocumentColorClientCapabilities where   toJSON (DocumentColorClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentColorOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentColorOptions)  instance Aeson.ToJSON DocumentColorOptions where   toJSON (DocumentColorOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentColorParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentColorParams)  instance Aeson.ToJSON DocumentColorParams where   toJSON (DocumentColorParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentColorRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentColorRegistrationOptions)  instance Aeson.ToJSON DocumentColorRegistrationOptions where   toJSON (DocumentColorRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentDiagnosticParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentDiagnosticParams)  instance Aeson.ToJSON DocumentDiagnosticParams where   toJSON (DocumentDiagnosticParams arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,3 +30,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentDiagnosticReport)
generated/Language/LSP/Protocol/Internal/Types/DocumentDiagnosticReportKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum DocumentDiagnosticReportKind Data.Text.Text)+  deriving Pretty via (ViaJSON DocumentDiagnosticReportKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum DocumentDiagnosticReportKind where   knownValues = Data.Set.fromList [DocumentDiagnosticReportKind_Full
generated/Language/LSP/Protocol/Internal/Types/DocumentDiagnosticReportPartialResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Map import qualified Data.Row.Aeson as Aeson@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentDiagnosticReportPartialResult)  instance Aeson.ToJSON DocumentDiagnosticReportPartialResult where   toJSON (DocumentDiagnosticReportPartialResult arg0) = Aeson.object $ concat $  [["relatedDocuments" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/DocumentFilter.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,3 +27,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentFilter)
generated/Language/LSP/Protocol/Internal/Types/DocumentFormattingClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentFormattingClientCapabilities)  instance Aeson.ToJSON DocumentFormattingClientCapabilities where   toJSON (DocumentFormattingClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentFormattingOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentFormattingOptions)  instance Aeson.ToJSON DocumentFormattingOptions where   toJSON (DocumentFormattingOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentFormattingParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentFormattingParams)  instance Aeson.ToJSON DocumentFormattingParams where   toJSON (DocumentFormattingParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentFormattingRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentFormattingRegistrationOptions)  instance Aeson.ToJSON DocumentFormattingRegistrationOptions where   toJSON (DocumentFormattingRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentHighlight.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentHighlight)  instance Aeson.ToJSON DocumentHighlight where   toJSON (DocumentHighlight arg0 arg1) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentHighlightClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentHighlightClientCapabilities)  instance Aeson.ToJSON DocumentHighlightClientCapabilities where   toJSON (DocumentHighlightClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentHighlightKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum DocumentHighlightKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON DocumentHighlightKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum DocumentHighlightKind where   knownValues = Data.Set.fromList [DocumentHighlightKind_Text
generated/Language/LSP/Protocol/Internal/Types/DocumentHighlightOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentHighlightOptions)  instance Aeson.ToJSON DocumentHighlightOptions where   toJSON (DocumentHighlightOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentHighlightParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentHighlightParams)  instance Aeson.ToJSON DocumentHighlightParams where   toJSON (DocumentHighlightParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentHighlightRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentHighlightRegistrationOptions)  instance Aeson.ToJSON DocumentHighlightRegistrationOptions where   toJSON (DocumentHighlightRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentLink.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -47,6 +49,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentLink)  instance Aeson.ToJSON DocumentLink where   toJSON (DocumentLink arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentLinkClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentLinkClientCapabilities)  instance Aeson.ToJSON DocumentLinkClientCapabilities where   toJSON (DocumentLinkClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentLinkOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentLinkOptions)  instance Aeson.ToJSON DocumentLinkOptions where   toJSON (DocumentLinkOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentLinkParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentLinkParams)  instance Aeson.ToJSON DocumentLinkParams where   toJSON (DocumentLinkParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentLinkRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -34,6 +36,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentLinkRegistrationOptions)  instance Aeson.ToJSON DocumentLinkRegistrationOptions where   toJSON (DocumentLinkRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentOnTypeFormattingClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentOnTypeFormattingClientCapabilities)  instance Aeson.ToJSON DocumentOnTypeFormattingClientCapabilities where   toJSON (DocumentOnTypeFormattingClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentOnTypeFormattingOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentOnTypeFormattingOptions)  instance Aeson.ToJSON DocumentOnTypeFormattingOptions where   toJSON (DocumentOnTypeFormattingOptions arg0 arg1) = Aeson.object $ concat $  [["firstTriggerCharacter" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentOnTypeFormattingParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentOnTypeFormattingParams)  instance Aeson.ToJSON DocumentOnTypeFormattingParams where   toJSON (DocumentOnTypeFormattingParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentOnTypeFormattingRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentOnTypeFormattingRegistrationOptions)  instance Aeson.ToJSON DocumentOnTypeFormattingRegistrationOptions where   toJSON (DocumentOnTypeFormattingRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentRangeFormattingClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentRangeFormattingClientCapabilities)  instance Aeson.ToJSON DocumentRangeFormattingClientCapabilities where   toJSON (DocumentRangeFormattingClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentRangeFormattingOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentRangeFormattingOptions)  instance Aeson.ToJSON DocumentRangeFormattingOptions where   toJSON (DocumentRangeFormattingOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentRangeFormattingParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentRangeFormattingParams)  instance Aeson.ToJSON DocumentRangeFormattingParams where   toJSON (DocumentRangeFormattingParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentRangeFormattingRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentRangeFormattingRegistrationOptions)  instance Aeson.ToJSON DocumentRangeFormattingRegistrationOptions where   toJSON (DocumentRangeFormattingRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentSelector.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,3 +26,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentSelector)
generated/Language/LSP/Protocol/Internal/Types/DocumentSymbol.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -67,6 +69,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentSymbol)  instance Aeson.ToJSON DocumentSymbol where   toJSON (DocumentSymbol arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7) = Aeson.object $ concat $  [["name" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/DocumentSymbolClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -51,6 +53,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentSymbolClientCapabilities)  instance Aeson.ToJSON DocumentSymbolClientCapabilities where   toJSON (DocumentSymbolClientCapabilities arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentSymbolOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentSymbolOptions)  instance Aeson.ToJSON DocumentSymbolOptions where   toJSON (DocumentSymbolOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentSymbolParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentSymbolParams)  instance Aeson.ToJSON DocumentSymbolParams where   toJSON (DocumentSymbolParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/DocumentSymbolRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON DocumentSymbolRegistrationOptions)  instance Aeson.ToJSON DocumentSymbolRegistrationOptions where   toJSON (DocumentSymbolRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ErrorCodes.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -54,6 +56,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum ErrorCodes Language.LSP.Protocol.Types.Common.Int32)+  deriving Pretty via (ViaJSON ErrorCodes)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum ErrorCodes where   knownValues = Data.Set.fromList [ErrorCodes_ParseError
generated/Language/LSP/Protocol/Internal/Types/ExecuteCommandClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ExecuteCommandClientCapabilities)  instance Aeson.ToJSON ExecuteCommandClientCapabilities where   toJSON (ExecuteCommandClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/ExecuteCommandOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ExecuteCommandOptions)  instance Aeson.ToJSON ExecuteCommandOptions where   toJSON (ExecuteCommandOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/ExecuteCommandParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ExecuteCommandParams)  instance Aeson.ToJSON ExecuteCommandParams where   toJSON (ExecuteCommandParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/ExecuteCommandRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ExecuteCommandRegistrationOptions)  instance Aeson.ToJSON ExecuteCommandRegistrationOptions where   toJSON (ExecuteCommandRegistrationOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/ExecutionSummary.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ExecutionSummary)  instance Aeson.ToJSON ExecutionSummary where   toJSON (ExecutionSummary arg0 arg1) = Aeson.object $ concat $  [["executionOrder" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FailureHandlingKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum FailureHandlingKind Data.Text.Text)+  deriving Pretty via (ViaJSON FailureHandlingKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum FailureHandlingKind where   knownValues = Data.Set.fromList [FailureHandlingKind_Abort
generated/Language/LSP/Protocol/Internal/Types/FileChangeType.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum FileChangeType Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON FileChangeType)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum FileChangeType where   knownValues = Data.Set.fromList [FileChangeType_Created
generated/Language/LSP/Protocol/Internal/Types/FileCreate.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileCreate)  instance Aeson.ToJSON FileCreate where   toJSON (FileCreate arg0) = Aeson.object $ concat $  [["uri" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/FileDelete.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileDelete)  instance Aeson.ToJSON FileDelete where   toJSON (FileDelete arg0) = Aeson.object $ concat $  [["uri" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/FileEvent.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileEvent)  instance Aeson.ToJSON FileEvent where   toJSON (FileEvent arg0 arg1) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FileOperationClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -53,6 +55,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileOperationClientCapabilities)  instance Aeson.ToJSON FileOperationClientCapabilities where   toJSON (FileOperationClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5 arg6) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/FileOperationFilter.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileOperationFilter)  instance Aeson.ToJSON FileOperationFilter where   toJSON (FileOperationFilter arg0 arg1) = Aeson.object $ concat $  ["scheme" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/FileOperationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -47,6 +49,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileOperationOptions)  instance Aeson.ToJSON FileOperationOptions where   toJSON (FileOperationOptions arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  ["didCreate" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/FileOperationPattern.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileOperationPattern)  instance Aeson.ToJSON FileOperationPattern where   toJSON (FileOperationPattern arg0 arg1 arg2) = Aeson.object $ concat $  [["glob" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FileOperationPatternKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum FileOperationPatternKind Data.Text.Text)+  deriving Pretty via (ViaJSON FileOperationPatternKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum FileOperationPatternKind where   knownValues = Data.Set.fromList [FileOperationPatternKind_File
generated/Language/LSP/Protocol/Internal/Types/FileOperationPatternOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileOperationPatternOptions)  instance Aeson.ToJSON FileOperationPatternOptions where   toJSON (FileOperationPatternOptions arg0) = Aeson.object $ concat $  ["ignoreCase" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/FileOperationRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileOperationRegistrationOptions)  instance Aeson.ToJSON FileOperationRegistrationOptions where   toJSON (FileOperationRegistrationOptions arg0) = Aeson.object $ concat $  [["filters" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/FileRename.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileRename)  instance Aeson.ToJSON FileRename where   toJSON (FileRename arg0 arg1) = Aeson.object $ concat $  [["oldUri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FileSystemWatcher.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -34,6 +36,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FileSystemWatcher)  instance Aeson.ToJSON FileSystemWatcher where   toJSON (FileSystemWatcher arg0 arg1) = Aeson.object $ concat $  [["globPattern" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FoldingRange.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -55,6 +57,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FoldingRange)  instance Aeson.ToJSON FoldingRange where   toJSON (FoldingRange arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  [["startLine" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FoldingRangeClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -53,6 +55,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FoldingRangeClientCapabilities)  instance Aeson.ToJSON FoldingRangeClientCapabilities where   toJSON (FoldingRangeClientCapabilities arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/FoldingRangeKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   deriving ( Aeson.ToJSON   , Aeson.FromJSON   , Data.String.IsString ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum FoldingRangeKind Data.Text.Text)+  deriving Pretty via (ViaJSON FoldingRangeKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum FoldingRangeKind where   knownValues = Data.Set.fromList [FoldingRangeKind_Comment
generated/Language/LSP/Protocol/Internal/Types/FoldingRangeOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FoldingRangeOptions)  instance Aeson.ToJSON FoldingRangeOptions where   toJSON (FoldingRangeOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/FoldingRangeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FoldingRangeParams)  instance Aeson.ToJSON FoldingRangeParams where   toJSON (FoldingRangeParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/FoldingRangeRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FoldingRangeRegistrationOptions)  instance Aeson.ToJSON FoldingRangeRegistrationOptions where   toJSON (FoldingRangeRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FormattingOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FormattingOptions)  instance Aeson.ToJSON FormattingOptions where   toJSON (FormattingOptions arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  [["tabSize" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/FullDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON FullDocumentDiagnosticReport)  instance Aeson.ToJSON FullDocumentDiagnosticReport where   toJSON (FullDocumentDiagnosticReport arg0 arg1 arg2) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/GeneralClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -69,6 +71,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON GeneralClientCapabilities)  instance Aeson.ToJSON GeneralClientCapabilities where   toJSON (GeneralClientCapabilities arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["staleRequestSupport" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/GlobPattern.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,3 +26,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON GlobPattern)
generated/Language/LSP/Protocol/Internal/Types/Hover.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Hover)  instance Aeson.ToJSON Hover where   toJSON (Hover arg0 arg1) = Aeson.object $ concat $  [["contents" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/HoverClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON HoverClientCapabilities)  instance Aeson.ToJSON HoverClientCapabilities where   toJSON (HoverClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/HoverOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON HoverOptions)  instance Aeson.ToJSON HoverOptions where   toJSON (HoverOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/HoverParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON HoverParams)  instance Aeson.ToJSON HoverParams where   toJSON (HoverParams arg0 arg1 arg2) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/HoverRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON HoverRegistrationOptions)  instance Aeson.ToJSON HoverRegistrationOptions where   toJSON (HoverRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ImplementationClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ImplementationClientCapabilities)  instance Aeson.ToJSON ImplementationClientCapabilities where   toJSON (ImplementationClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/ImplementationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ImplementationOptions)  instance Aeson.ToJSON ImplementationOptions where   toJSON (ImplementationOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/ImplementationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ImplementationParams)  instance Aeson.ToJSON ImplementationParams where   toJSON (ImplementationParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ImplementationRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ImplementationRegistrationOptions)  instance Aeson.ToJSON ImplementationRegistrationOptions where   toJSON (ImplementationRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InitializeError.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InitializeError)  instance Aeson.ToJSON InitializeError where   toJSON (InitializeError arg0) = Aeson.object $ concat $  [["retry" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/InitializeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -94,6 +96,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InitializeParams)  instance Aeson.ToJSON InitializeParams where   toJSON (InitializeParams arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 arg9) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InitializeResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InitializeResult)  instance Aeson.ToJSON InitializeResult where   toJSON (InitializeResult arg0 arg1) = Aeson.object $ concat $  [["capabilities" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InitializedParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -21,6 +23,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InitializedParams)  instance Aeson.ToJSON InitializedParams where   toJSON (InitializedParams ) = Aeson.object $ concat $  []
generated/Language/LSP/Protocol/Internal/Types/InlayHint.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -78,6 +80,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHint)  instance Aeson.ToJSON InlayHint where   toJSON (InlayHint arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7) = Aeson.object $ concat $  [["position" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InlayHintClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHintClientCapabilities)  instance Aeson.ToJSON InlayHintClientCapabilities where   toJSON (InlayHintClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InlayHintKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -34,6 +36,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum InlayHintKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON InlayHintKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum InlayHintKind where   knownValues = Data.Set.fromList [InlayHintKind_Type,InlayHintKind_Parameter]
generated/Language/LSP/Protocol/Internal/Types/InlayHintLabelPart.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -58,6 +60,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHintLabelPart)  instance Aeson.ToJSON InlayHintLabelPart where   toJSON (InlayHintLabelPart arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["value" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InlayHintOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHintOptions)  instance Aeson.ToJSON InlayHintOptions where   toJSON (InlayHintOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InlayHintParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHintParams)  instance Aeson.ToJSON InlayHintParams where   toJSON (InlayHintParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InlayHintRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -43,6 +45,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHintRegistrationOptions)  instance Aeson.ToJSON InlayHintRegistrationOptions where   toJSON (InlayHintRegistrationOptions arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InlayHintWorkspaceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlayHintWorkspaceClientCapabilities)  instance Aeson.ToJSON InlayHintWorkspaceClientCapabilities where   toJSON (InlayHintWorkspaceClientCapabilities arg0) = Aeson.object $ concat $  ["refreshSupport" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValue.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,3 +31,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValue)
generated/Language/LSP/Protocol/Internal/Types/InlineValueClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueClientCapabilities)  instance Aeson.ToJSON InlineValueClientCapabilities where   toJSON (InlineValueClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValueContext.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueContext)  instance Aeson.ToJSON InlineValueContext where   toJSON (InlineValueContext arg0 arg1) = Aeson.object $ concat $  [["frameId" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValueEvaluatableExpression.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueEvaluatableExpression)  instance Aeson.ToJSON InlineValueEvaluatableExpression where   toJSON (InlineValueEvaluatableExpression arg0 arg1) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValueOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueOptions)  instance Aeson.ToJSON InlineValueOptions where   toJSON (InlineValueOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValueParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -43,6 +45,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueParams)  instance Aeson.ToJSON InlineValueParams where   toJSON (InlineValueParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InlineValueRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueRegistrationOptions)  instance Aeson.ToJSON InlineValueRegistrationOptions where   toJSON (InlineValueRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/InlineValueText.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueText)  instance Aeson.ToJSON InlineValueText where   toJSON (InlineValueText arg0 arg1) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValueVariableLookup.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueVariableLookup)  instance Aeson.ToJSON InlineValueVariableLookup where   toJSON (InlineValueVariableLookup arg0 arg1 arg2) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InlineValueWorkspaceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InlineValueWorkspaceClientCapabilities)  instance Aeson.ToJSON InlineValueWorkspaceClientCapabilities where   toJSON (InlineValueWorkspaceClientCapabilities arg0) = Aeson.object $ concat $  ["refreshSupport" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/InsertReplaceEdit.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON InsertReplaceEdit)  instance Aeson.ToJSON InsertReplaceEdit where   toJSON (InsertReplaceEdit arg0 arg1 arg2) = Aeson.object $ concat $  [["newText" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/InsertTextFormat.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum InsertTextFormat Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON InsertTextFormat)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum InsertTextFormat where   knownValues = Data.Set.fromList [InsertTextFormat_PlainText
generated/Language/LSP/Protocol/Internal/Types/InsertTextMode.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum InsertTextMode Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON InsertTextMode)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum InsertTextMode where   knownValues = Data.Set.fromList [InsertTextMode_AsIs
generated/Language/LSP/Protocol/Internal/Types/LSPErrorCodes.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -58,6 +60,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum LSPErrorCodes Language.LSP.Protocol.Types.Common.Int32)+  deriving Pretty via (ViaJSON LSPErrorCodes)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum LSPErrorCodes where   knownValues = Data.Set.fromList [LSPErrorCodes_RequestFailed
generated/Language/LSP/Protocol/Internal/Types/LinkedEditingRangeClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LinkedEditingRangeClientCapabilities)  instance Aeson.ToJSON LinkedEditingRangeClientCapabilities where   toJSON (LinkedEditingRangeClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/LinkedEditingRangeOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LinkedEditingRangeOptions)  instance Aeson.ToJSON LinkedEditingRangeOptions where   toJSON (LinkedEditingRangeOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/LinkedEditingRangeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LinkedEditingRangeParams)  instance Aeson.ToJSON LinkedEditingRangeParams where   toJSON (LinkedEditingRangeParams arg0 arg1 arg2) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/LinkedEditingRangeRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LinkedEditingRangeRegistrationOptions)  instance Aeson.ToJSON LinkedEditingRangeRegistrationOptions where   toJSON (LinkedEditingRangeRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/LinkedEditingRanges.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LinkedEditingRanges)  instance Aeson.ToJSON LinkedEditingRanges where   toJSON (LinkedEditingRanges arg0 arg1) = Aeson.object $ concat $  [["ranges" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/Location.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Location)  instance Aeson.ToJSON Location where   toJSON (Location arg0 arg1) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/LocationLink.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LocationLink)  instance Aeson.ToJSON LocationLink where   toJSON (LocationLink arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["originSelectionRange" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/LogMessageParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LogMessageParams)  instance Aeson.ToJSON LogMessageParams where   toJSON (LogMessageParams arg0 arg1) = Aeson.object $ concat $  [["type" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/LogTraceParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON LogTraceParams)  instance Aeson.ToJSON LogTraceParams where   toJSON (LogTraceParams arg0 arg1) = Aeson.object $ concat $  [["message" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/MarkdownClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MarkdownClientCapabilities)  instance Aeson.ToJSON MarkdownClientCapabilities where   toJSON (MarkdownClientCapabilities arg0 arg1 arg2) = Aeson.object $ concat $  [["parser" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/MarkedString.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -34,3 +36,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MarkedString)
generated/Language/LSP/Protocol/Internal/Types/MarkupContent.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -51,6 +53,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MarkupContent)  instance Aeson.ToJSON MarkupContent where   toJSON (MarkupContent arg0 arg1) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/MarkupKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum MarkupKind Data.Text.Text)+  deriving Pretty via (ViaJSON MarkupKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum MarkupKind where   knownValues = Data.Set.fromList [MarkupKind_PlainText,MarkupKind_Markdown]
generated/Language/LSP/Protocol/Internal/Types/MessageActionItem.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MessageActionItem)  instance Aeson.ToJSON MessageActionItem where   toJSON (MessageActionItem arg0) = Aeson.object $ concat $  [["title" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/MessageType.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum MessageType Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON MessageType)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum MessageType where   knownValues = Data.Set.fromList [MessageType_Error
generated/Language/LSP/Protocol/Internal/Types/Moniker.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -42,6 +44,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Moniker)  instance Aeson.ToJSON Moniker where   toJSON (Moniker arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["scheme" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/MonikerClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MonikerClientCapabilities)  instance Aeson.ToJSON MonikerClientCapabilities where   toJSON (MonikerClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/MonikerKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum MonikerKind Data.Text.Text)+  deriving Pretty via (ViaJSON MonikerKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum MonikerKind where   knownValues = Data.Set.fromList [MonikerKind_Import
generated/Language/LSP/Protocol/Internal/Types/MonikerOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MonikerOptions)  instance Aeson.ToJSON MonikerOptions where   toJSON (MonikerOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/MonikerParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MonikerParams)  instance Aeson.ToJSON MonikerParams where   toJSON (MonikerParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/MonikerRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON MonikerRegistrationOptions)  instance Aeson.ToJSON MonikerRegistrationOptions where   toJSON (MonikerRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/NotebookCell.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -50,6 +52,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookCell)  instance Aeson.ToJSON NotebookCell where   toJSON (NotebookCell arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/NotebookCellArrayChange.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookCellArrayChange)  instance Aeson.ToJSON NotebookCellArrayChange where   toJSON (NotebookCellArrayChange arg0 arg1 arg2) = Aeson.object $ concat $  [["start" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/NotebookCellKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -34,6 +36,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum NotebookCellKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON NotebookCellKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum NotebookCellKind where   knownValues = Data.Set.fromList [NotebookCellKind_Markup
generated/Language/LSP/Protocol/Internal/Types/NotebookCellTextDocumentFilter.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookCellTextDocumentFilter)  instance Aeson.ToJSON NotebookCellTextDocumentFilter where   toJSON (NotebookCellTextDocumentFilter arg0 arg1) = Aeson.object $ concat $  [["notebook" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/NotebookDocument.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -50,6 +52,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocument)  instance Aeson.ToJSON NotebookDocument where   toJSON (NotebookDocument arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentChangeEvent.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentChangeEvent)  instance Aeson.ToJSON NotebookDocumentChangeEvent where   toJSON (NotebookDocumentChangeEvent arg0 arg1) = Aeson.object $ concat $  ["metadata" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentClientCapabilities)  instance Aeson.ToJSON NotebookDocumentClientCapabilities where   toJSON (NotebookDocumentClientCapabilities arg0) = Aeson.object $ concat $  [["synchronization" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentFilter.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -26,3 +28,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentFilter)
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentIdentifier.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentIdentifier)  instance Aeson.ToJSON NotebookDocumentIdentifier where   toJSON (NotebookDocumentIdentifier arg0) = Aeson.object $ concat $  [["uri" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentSyncClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentSyncClientCapabilities)  instance Aeson.ToJSON NotebookDocumentSyncClientCapabilities where   toJSON (NotebookDocumentSyncClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentSyncOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -44,6 +46,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentSyncOptions)  instance Aeson.ToJSON NotebookDocumentSyncOptions where   toJSON (NotebookDocumentSyncOptions arg0 arg1) = Aeson.object $ concat $  [["notebookSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/NotebookDocumentSyncRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON NotebookDocumentSyncRegistrationOptions)  instance Aeson.ToJSON NotebookDocumentSyncRegistrationOptions where   toJSON (NotebookDocumentSyncRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["notebookSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/OptionalVersionedTextDocumentIdentifier.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON OptionalVersionedTextDocumentIdentifier)  instance Aeson.ToJSON OptionalVersionedTextDocumentIdentifier where   toJSON (OptionalVersionedTextDocumentIdentifier arg0 arg1) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ParameterInformation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ParameterInformation)  instance Aeson.ToJSON ParameterInformation where   toJSON (ParameterInformation arg0 arg1) = Aeson.object $ concat $  [["label" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/PartialResultParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON PartialResultParams)  instance Aeson.ToJSON PartialResultParams where   toJSON (PartialResultParams arg0) = Aeson.object $ concat $  ["partialResultToken" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/Pattern.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,3 +33,4 @@   , Aeson.FromJSONKey )   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Pattern)
generated/Language/LSP/Protocol/Internal/Types/Position.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -63,6 +65,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Position)  instance Aeson.ToJSON Position where   toJSON (Position arg0 arg1) = Aeson.object $ concat $  [["line" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/PositionEncodingKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -47,6 +49,7 @@   deriving ( Aeson.ToJSON   , Aeson.FromJSON   , Data.String.IsString ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum PositionEncodingKind Data.Text.Text)+  deriving Pretty via (ViaJSON PositionEncodingKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum PositionEncodingKind where   knownValues = Data.Set.fromList [PositionEncodingKind_UTF8
generated/Language/LSP/Protocol/Internal/Types/PrepareRenameParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON PrepareRenameParams)  instance Aeson.ToJSON PrepareRenameParams where   toJSON (PrepareRenameParams arg0 arg1 arg2) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/PrepareRenameResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -23,3 +25,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON PrepareRenameResult)
generated/Language/LSP/Protocol/Internal/Types/PrepareSupportDefaultBehavior.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum PrepareSupportDefaultBehavior Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON PrepareSupportDefaultBehavior)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum PrepareSupportDefaultBehavior where   knownValues = Data.Set.fromList [PrepareSupportDefaultBehavior_Identifier]
generated/Language/LSP/Protocol/Internal/Types/PreviousResultId.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -33,6 +35,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON PreviousResultId)  instance Aeson.ToJSON PreviousResultId where   toJSON (PreviousResultId arg0 arg1) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ProgressParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ProgressParams)  instance Aeson.ToJSON ProgressParams where   toJSON (ProgressParams arg0 arg1) = Aeson.object $ concat $  [["token" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ProgressToken.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -21,3 +23,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ProgressToken)
generated/Language/LSP/Protocol/Internal/Types/PublishDiagnosticsClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -54,6 +56,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON PublishDiagnosticsClientCapabilities)  instance Aeson.ToJSON PublishDiagnosticsClientCapabilities where   toJSON (PublishDiagnosticsClientCapabilities arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["relatedInformation" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/PublishDiagnosticsParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON PublishDiagnosticsParams)  instance Aeson.ToJSON PublishDiagnosticsParams where   toJSON (PublishDiagnosticsParams arg0 arg1 arg2) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/Range.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Range)  instance Aeson.ToJSON Range where   toJSON (Range arg0 arg1) = Aeson.object $ concat $  [["start" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ReferenceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ReferenceClientCapabilities)  instance Aeson.ToJSON ReferenceClientCapabilities where   toJSON (ReferenceClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/ReferenceContext.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ReferenceContext)  instance Aeson.ToJSON ReferenceContext where   toJSON (ReferenceContext arg0) = Aeson.object $ concat $  [["includeDeclaration" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/ReferenceOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ReferenceOptions)  instance Aeson.ToJSON ReferenceOptions where   toJSON (ReferenceOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/ReferenceParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -45,6 +47,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ReferenceParams)  instance Aeson.ToJSON ReferenceParams where   toJSON (ReferenceParams arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ReferenceRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ReferenceRegistrationOptions)  instance Aeson.ToJSON ReferenceRegistrationOptions where   toJSON (ReferenceRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/Registration.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Registration)  instance Aeson.ToJSON Registration where   toJSON (Registration arg0 arg1 arg2) = Aeson.object $ concat $  [["id" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/RegistrationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RegistrationParams)  instance Aeson.ToJSON RegistrationParams where   toJSON (RegistrationParams arg0) = Aeson.object $ concat $  [["registrations" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/RegularExpressionsClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RegularExpressionsClientCapabilities)  instance Aeson.ToJSON RegularExpressionsClientCapabilities where   toJSON (RegularExpressionsClientCapabilities arg0 arg1) = Aeson.object $ concat $  [["engine" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/RelatedFullDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Map import qualified Data.Row.Aeson as Aeson@@ -53,6 +55,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RelatedFullDocumentDiagnosticReport)  instance Aeson.ToJSON RelatedFullDocumentDiagnosticReport where   toJSON (RelatedFullDocumentDiagnosticReport arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/RelatedUnchangedDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Map import qualified Data.Row.Aeson as Aeson@@ -50,6 +52,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RelatedUnchangedDocumentDiagnosticReport)  instance Aeson.ToJSON RelatedUnchangedDocumentDiagnosticReport where   toJSON (RelatedUnchangedDocumentDiagnosticReport arg0 arg1 arg2) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/RelativePattern.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RelativePattern)  instance Aeson.ToJSON RelativePattern where   toJSON (RelativePattern arg0 arg1) = Aeson.object $ concat $  [["baseUri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/RenameClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -51,6 +53,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameClientCapabilities)  instance Aeson.ToJSON RenameClientCapabilities where   toJSON (RenameClientCapabilities arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/RenameFile.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameFile)  instance Aeson.ToJSON RenameFile where   toJSON (RenameFile arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["annotationId" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/RenameFileOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameFileOptions)  instance Aeson.ToJSON RenameFileOptions where   toJSON (RenameFileOptions arg0 arg1) = Aeson.object $ concat $  ["overwrite" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/RenameFilesParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameFilesParams)  instance Aeson.ToJSON RenameFilesParams where   toJSON (RenameFilesParams arg0) = Aeson.object $ concat $  [["files" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/RenameOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameOptions)  instance Aeson.ToJSON RenameOptions where   toJSON (RenameOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/RenameParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -42,6 +44,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameParams)  instance Aeson.ToJSON RenameParams where   toJSON (RenameParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/RenameRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON RenameRegistrationOptions)  instance Aeson.ToJSON RenameRegistrationOptions where   toJSON (RenameRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ResourceOperation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ResourceOperation)  instance Aeson.ToJSON ResourceOperation where   toJSON (ResourceOperation arg0 arg1) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ResourceOperationKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum ResourceOperationKind Data.Text.Text)+  deriving Pretty via (ViaJSON ResourceOperationKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum ResourceOperationKind where   knownValues = Data.Set.fromList [ResourceOperationKind_Create
generated/Language/LSP/Protocol/Internal/Types/SaveOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SaveOptions)  instance Aeson.ToJSON SaveOptions where   toJSON (SaveOptions arg0) = Aeson.object $ concat $  ["includeText" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/SelectionRange.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SelectionRange)  instance Aeson.ToJSON SelectionRange where   toJSON (SelectionRange arg0 arg1) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SelectionRangeClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SelectionRangeClientCapabilities)  instance Aeson.ToJSON SelectionRangeClientCapabilities where   toJSON (SelectionRangeClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/SelectionRangeOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SelectionRangeOptions)  instance Aeson.ToJSON SelectionRangeOptions where   toJSON (SelectionRangeOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/SelectionRangeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SelectionRangeParams)  instance Aeson.ToJSON SelectionRangeParams where   toJSON (SelectionRangeParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SelectionRangeRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SelectionRangeRegistrationOptions)  instance Aeson.ToJSON SelectionRangeRegistrationOptions where   toJSON (SelectionRangeRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokenModifiers.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -70,6 +72,7 @@   deriving ( Aeson.ToJSON   , Aeson.FromJSON   , Data.String.IsString ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum SemanticTokenModifiers Data.Text.Text)+  deriving Pretty via (ViaJSON SemanticTokenModifiers)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum SemanticTokenModifiers where   knownValues = Data.Set.fromList [SemanticTokenModifiers_Declaration
generated/Language/LSP/Protocol/Internal/Types/SemanticTokenTypes.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -123,6 +125,7 @@   deriving ( Aeson.ToJSON   , Aeson.FromJSON   , Data.String.IsString ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum SemanticTokenTypes Data.Text.Text)+  deriving Pretty via (ViaJSON SemanticTokenTypes)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum SemanticTokenTypes where   knownValues = Data.Set.fromList [SemanticTokenTypes_Namespace
generated/Language/LSP/Protocol/Internal/Types/SemanticTokens.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokens)  instance Aeson.ToJSON SemanticTokens where   toJSON (SemanticTokens arg0 arg1) = Aeson.object $ concat $  ["resultId" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -82,6 +84,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensClientCapabilities)  instance Aeson.ToJSON SemanticTokensClientCapabilities where   toJSON (SemanticTokensClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensDelta.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensDelta)  instance Aeson.ToJSON SemanticTokensDelta where   toJSON (SemanticTokensDelta arg0 arg1) = Aeson.object $ concat $  ["resultId" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensDeltaParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -41,6 +43,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensDeltaParams)  instance Aeson.ToJSON SemanticTokensDeltaParams where   toJSON (SemanticTokensDeltaParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensDeltaPartialResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensDeltaPartialResult)  instance Aeson.ToJSON SemanticTokensDeltaPartialResult where   toJSON (SemanticTokensDeltaPartialResult arg0) = Aeson.object $ concat $  [["edits" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensEdit.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensEdit)  instance Aeson.ToJSON SemanticTokensEdit where   toJSON (SemanticTokensEdit arg0 arg1 arg2) = Aeson.object $ concat $  [["start" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensLegend.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensLegend)  instance Aeson.ToJSON SemanticTokensLegend where   toJSON (SemanticTokensLegend arg0 arg1) = Aeson.object $ concat $  [["tokenTypes" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -39,6 +41,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensOptions)  instance Aeson.ToJSON SemanticTokensOptions where   toJSON (SemanticTokensOptions arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensParams)  instance Aeson.ToJSON SemanticTokensParams where   toJSON (SemanticTokensParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensPartialResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensPartialResult)  instance Aeson.ToJSON SemanticTokensPartialResult where   toJSON (SemanticTokensPartialResult arg0) = Aeson.object $ concat $  [["data" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensRangeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensRangeParams)  instance Aeson.ToJSON SemanticTokensRangeParams where   toJSON (SemanticTokensRangeParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -51,6 +53,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensRegistrationOptions)  instance Aeson.ToJSON SemanticTokensRegistrationOptions where   toJSON (SemanticTokensRegistrationOptions arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SemanticTokensWorkspaceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SemanticTokensWorkspaceClientCapabilities)  instance Aeson.ToJSON SemanticTokensWorkspaceClientCapabilities where   toJSON (SemanticTokensWorkspaceClientCapabilities arg0) = Aeson.object $ concat $  ["refreshSupport" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/ServerCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -246,6 +248,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ServerCapabilities)  instance Aeson.ToJSON ServerCapabilities where   toJSON (ServerCapabilities arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 arg9 arg10 arg11 arg12 arg13 arg14 arg15 arg16 arg17 arg18 arg19 arg20 arg21 arg22 arg23 arg24 arg25 arg26 arg27 arg28 arg29 arg30 arg31 arg32 arg33 arg34) = Aeson.object $ concat $  ["positionEncoding" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SetTraceParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SetTraceParams)  instance Aeson.ToJSON SetTraceParams where   toJSON (SetTraceParams arg0) = Aeson.object $ concat $  [["value" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/ShowDocumentClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ShowDocumentClientCapabilities)  instance Aeson.ToJSON ShowDocumentClientCapabilities where   toJSON (ShowDocumentClientCapabilities arg0) = Aeson.object $ concat $  [["support" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/ShowDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -48,6 +50,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ShowDocumentParams)  instance Aeson.ToJSON ShowDocumentParams where   toJSON (ShowDocumentParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ShowDocumentResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ShowDocumentResult)  instance Aeson.ToJSON ShowDocumentResult where   toJSON (ShowDocumentResult arg0) = Aeson.object $ concat $  [["success" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/ShowMessageParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ShowMessageParams)  instance Aeson.ToJSON ShowMessageParams where   toJSON (ShowMessageParams arg0 arg1) = Aeson.object $ concat $  [["type" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/ShowMessageRequestClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ShowMessageRequestClientCapabilities)  instance Aeson.ToJSON ShowMessageRequestClientCapabilities where   toJSON (ShowMessageRequestClientCapabilities arg0) = Aeson.object $ concat $  ["messageActionItem" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/ShowMessageRequestParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON ShowMessageRequestParams)  instance Aeson.ToJSON ShowMessageRequestParams where   toJSON (ShowMessageRequestParams arg0 arg1 arg2) = Aeson.object $ concat $  [["type" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SignatureHelp.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -49,6 +51,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureHelp)  instance Aeson.ToJSON SignatureHelp where   toJSON (SignatureHelp arg0 arg1 arg2) = Aeson.object $ concat $  [["signatures" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SignatureHelpClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureHelpClientCapabilities)  instance Aeson.ToJSON SignatureHelpClientCapabilities where   toJSON (SignatureHelpClientCapabilities arg0 arg1 arg2) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SignatureHelpContext.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -49,6 +51,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureHelpContext)  instance Aeson.ToJSON SignatureHelpContext where   toJSON (SignatureHelpContext arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["triggerKind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SignatureHelpOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureHelpOptions)  instance Aeson.ToJSON SignatureHelpOptions where   toJSON (SignatureHelpOptions arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/SignatureHelpParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -43,6 +45,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureHelpParams)  instance Aeson.ToJSON SignatureHelpParams where   toJSON (SignatureHelpParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SignatureHelpRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -44,6 +46,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureHelpRegistrationOptions)  instance Aeson.ToJSON SignatureHelpRegistrationOptions where   toJSON (SignatureHelpRegistrationOptions arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SignatureHelpTriggerKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum SignatureHelpTriggerKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON SignatureHelpTriggerKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum SignatureHelpTriggerKind where   knownValues = Data.Set.fromList [SignatureHelpTriggerKind_Invoked
generated/Language/LSP/Protocol/Internal/Types/SignatureInformation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -47,6 +49,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SignatureInformation)  instance Aeson.ToJSON SignatureInformation where   toJSON (SignatureInformation arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["label" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/StaticRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON StaticRegistrationOptions)  instance Aeson.ToJSON StaticRegistrationOptions where   toJSON (StaticRegistrationOptions arg0) = Aeson.object $ concat $  ["id" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/SymbolInformation.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -64,6 +66,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON SymbolInformation)  instance Aeson.ToJSON SymbolInformation where   toJSON (SymbolInformation arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  [["name" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/SymbolKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -128,6 +130,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum SymbolKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON SymbolKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum SymbolKind where   knownValues = Data.Set.fromList [SymbolKind_File
generated/Language/LSP/Protocol/Internal/Types/SymbolTag.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum SymbolTag Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON SymbolTag)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum SymbolTag where   knownValues = Data.Set.fromList [SymbolTag_Deprecated]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentChangeRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentChangeRegistrationOptions)  instance Aeson.ToJSON TextDocumentChangeRegistrationOptions where   toJSON (TextDocumentChangeRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -199,6 +201,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentClientCapabilities)  instance Aeson.ToJSON TextDocumentClientCapabilities where   toJSON (TextDocumentClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 arg9 arg10 arg11 arg12 arg13 arg14 arg15 arg16 arg17 arg18 arg19 arg20 arg21 arg22 arg23 arg24 arg25 arg26 arg27 arg28 arg29) = Aeson.object $ concat $  ["synchronization" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/TextDocumentContentChangeEvent.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -24,3 +26,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentContentChangeEvent)
generated/Language/LSP/Protocol/Internal/Types/TextDocumentEdit.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentEdit)  instance Aeson.ToJSON TextDocumentEdit where   toJSON (TextDocumentEdit arg0 arg1) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentFilter.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -37,3 +39,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentFilter)
generated/Language/LSP/Protocol/Internal/Types/TextDocumentIdentifier.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentIdentifier)  instance Aeson.ToJSON TextDocumentIdentifier where   toJSON (TextDocumentIdentifier arg0) = Aeson.object $ concat $  [["uri" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentItem.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentItem)  instance Aeson.ToJSON TextDocumentItem where   toJSON (TextDocumentItem arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentPositionParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentPositionParams)  instance Aeson.ToJSON TextDocumentPositionParams where   toJSON (TextDocumentPositionParams arg0 arg1) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentRegistrationOptions)  instance Aeson.ToJSON TextDocumentRegistrationOptions where   toJSON (TextDocumentRegistrationOptions arg0) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentSaveReason.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum TextDocumentSaveReason Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON TextDocumentSaveReason)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum TextDocumentSaveReason where   knownValues = Data.Set.fromList [TextDocumentSaveReason_Manual
generated/Language/LSP/Protocol/Internal/Types/TextDocumentSaveRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentSaveRegistrationOptions)  instance Aeson.ToJSON TextDocumentSaveRegistrationOptions where   toJSON (TextDocumentSaveRegistrationOptions arg0 arg1) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TextDocumentSyncClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentSyncClientCapabilities)  instance Aeson.ToJSON TextDocumentSyncClientCapabilities where   toJSON (TextDocumentSyncClientCapabilities arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/TextDocumentSyncKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum TextDocumentSyncKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON TextDocumentSyncKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum TextDocumentSyncKind where   knownValues = Data.Set.fromList [TextDocumentSyncKind_None
generated/Language/LSP/Protocol/Internal/Types/TextDocumentSyncOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -47,6 +49,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextDocumentSyncOptions)  instance Aeson.ToJSON TextDocumentSyncOptions where   toJSON (TextDocumentSyncOptions arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["openClose" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/TextEdit.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TextEdit)  instance Aeson.ToJSON TextEdit where   toJSON (TextEdit arg0 arg1) = Aeson.object $ concat $  [["range" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TokenFormat.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -28,6 +30,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum TokenFormat Data.Text.Text)+  deriving Pretty via (ViaJSON TokenFormat)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum TokenFormat where   knownValues = Data.Set.fromList [TokenFormat_Relative]
generated/Language/LSP/Protocol/Internal/Types/TraceValues.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum TraceValues Data.Text.Text)+  deriving Pretty via (ViaJSON TraceValues)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum TraceValues where   knownValues = Data.Set.fromList [TraceValues_Off
generated/Language/LSP/Protocol/Internal/Types/TypeDefinitionClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -32,6 +34,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeDefinitionClientCapabilities)  instance Aeson.ToJSON TypeDefinitionClientCapabilities where   toJSON (TypeDefinitionClientCapabilities arg0 arg1) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/TypeDefinitionOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeDefinitionOptions)  instance Aeson.ToJSON TypeDefinitionOptions where   toJSON (TypeDefinitionOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeDefinitionParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -40,6 +42,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeDefinitionParams)  instance Aeson.ToJSON TypeDefinitionParams where   toJSON (TypeDefinitionParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeDefinitionRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeDefinitionRegistrationOptions)  instance Aeson.ToJSON TypeDefinitionRegistrationOptions where   toJSON (TypeDefinitionRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchyClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchyClientCapabilities)  instance Aeson.ToJSON TypeHierarchyClientCapabilities where   toJSON (TypeHierarchyClientCapabilities arg0) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchyItem.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson@@ -64,6 +66,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchyItem)  instance Aeson.ToJSON TypeHierarchyItem where   toJSON (TypeHierarchyItem arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7) = Aeson.object $ concat $  [["name" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchyOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -26,6 +28,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchyOptions)  instance Aeson.ToJSON TypeHierarchyOptions where   toJSON (TypeHierarchyOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchyPrepareParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchyPrepareParams)  instance Aeson.ToJSON TypeHierarchyPrepareParams where   toJSON (TypeHierarchyPrepareParams arg0 arg1 arg2) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchyRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -38,6 +40,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchyRegistrationOptions)  instance Aeson.ToJSON TypeHierarchyRegistrationOptions where   toJSON (TypeHierarchyRegistrationOptions arg0 arg1 arg2) = Aeson.object $ concat $  [["documentSelector" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchySubtypesParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchySubtypesParams)  instance Aeson.ToJSON TypeHierarchySubtypesParams where   toJSON (TypeHierarchySubtypesParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/TypeHierarchySupertypesParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON TypeHierarchySupertypesParams)  instance Aeson.ToJSON TypeHierarchySupertypesParams where   toJSON (TypeHierarchySupertypesParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/UInitializeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -83,6 +85,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON UInitializeParams)  instance Aeson.ToJSON UInitializeParams where   toJSON (UInitializeParams arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/UnchangedDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON UnchangedDocumentDiagnosticReport)  instance Aeson.ToJSON UnchangedDocumentDiagnosticReport where   toJSON (UnchangedDocumentDiagnosticReport arg0 arg1) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/UniquenessLevel.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum UniquenessLevel Data.Text.Text)+  deriving Pretty via (ViaJSON UniquenessLevel)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum UniquenessLevel where   knownValues = Data.Set.fromList [UniquenessLevel_Document
generated/Language/LSP/Protocol/Internal/Types/Unregistration.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Unregistration)  instance Aeson.ToJSON Unregistration where   toJSON (Unregistration arg0 arg1) = Aeson.object $ concat $  [["id" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/UnregistrationParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON UnregistrationParams)  instance Aeson.ToJSON UnregistrationParams where   toJSON (UnregistrationParams arg0) = Aeson.object $ concat $  [["unregisterations" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/VersionedNotebookDocumentIdentifier.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON VersionedNotebookDocumentIdentifier)  instance Aeson.ToJSON VersionedNotebookDocumentIdentifier where   toJSON (VersionedNotebookDocumentIdentifier arg0 arg1) = Aeson.object $ concat $  [["version" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/VersionedTextDocumentIdentifier.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON VersionedTextDocumentIdentifier)  instance Aeson.ToJSON VersionedTextDocumentIdentifier where   toJSON (VersionedTextDocumentIdentifier arg0 arg1) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WatchKind.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -37,6 +39,7 @@   deriving anyclass (NFData, Hashable)   deriving ( Aeson.ToJSON   , Aeson.FromJSON ) via (Language.LSP.Protocol.Types.LspEnum.AsLspEnum WatchKind Language.LSP.Protocol.Types.Common.UInt)+  deriving Pretty via (ViaJSON WatchKind)  instance Language.LSP.Protocol.Types.LspEnum.LspEnum WatchKind where   knownValues = Data.Set.fromList [WatchKind_Create
generated/Language/LSP/Protocol/Internal/Types/WillSaveTextDocumentParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -30,6 +32,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WillSaveTextDocumentParams)  instance Aeson.ToJSON WillSaveTextDocumentParams where   toJSON (WillSaveTextDocumentParams arg0 arg1) = Aeson.object $ concat $  [["textDocument" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WindowClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WindowClientCapabilities)  instance Aeson.ToJSON WindowClientCapabilities where   toJSON (WindowClientCapabilities arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressBegin.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -56,6 +58,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressBegin)  instance Aeson.ToJSON WorkDoneProgressBegin where   toJSON (WorkDoneProgressBegin arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressCancelParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressCancelParams)  instance Aeson.ToJSON WorkDoneProgressCancelParams where   toJSON (WorkDoneProgressCancelParams arg0) = Aeson.object $ concat $  [["token" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressCreateParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressCreateParams)  instance Aeson.ToJSON WorkDoneProgressCreateParams where   toJSON (WorkDoneProgressCreateParams arg0) = Aeson.object $ concat $  [["token" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressEnd.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressEnd)  instance Aeson.ToJSON WorkDoneProgressEnd where   toJSON (WorkDoneProgressEnd arg0 arg1) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,6 +26,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressOptions)  instance Aeson.ToJSON WorkDoneProgressOptions where   toJSON (WorkDoneProgressOptions arg0) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -25,6 +27,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressParams)  instance Aeson.ToJSON WorkDoneProgressParams where   toJSON (WorkDoneProgressParams arg0) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkDoneProgressReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -50,6 +52,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkDoneProgressReport)  instance Aeson.ToJSON WorkDoneProgressReport where   toJSON (WorkDoneProgressReport arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -110,6 +112,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceClientCapabilities)  instance Aeson.ToJSON WorkspaceClientCapabilities where   toJSON (WorkspaceClientCapabilities arg0 arg1 arg2 arg3 arg4 arg5 arg6 arg7 arg8 arg9 arg10 arg11 arg12 arg13) = Aeson.object $ concat $  ["applyEdit" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceDiagnosticParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -43,6 +45,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceDiagnosticParams)  instance Aeson.ToJSON WorkspaceDiagnosticParams where   toJSON (WorkspaceDiagnosticParams arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceDiagnosticReport)  instance Aeson.ToJSON WorkspaceDiagnosticReport where   toJSON (WorkspaceDiagnosticReport arg0) = Aeson.object $ concat $  [["items" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceDiagnosticReportPartialResult.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -27,6 +29,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceDiagnosticReportPartialResult)  instance Aeson.ToJSON WorkspaceDiagnosticReportPartialResult where   toJSON (WorkspaceDiagnosticReportPartialResult arg0) = Aeson.object $ concat $  [["items" Aeson..= arg0]]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -24,3 +26,4 @@   deriving newtype (Aeson.ToJSON, Aeson.FromJSON)   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceDocumentDiagnosticReport)
generated/Language/LSP/Protocol/Internal/Types/WorkspaceEdit.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Map import qualified Data.Row.Aeson as Aeson@@ -66,6 +68,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceEdit)  instance Aeson.ToJSON WorkspaceEdit where   toJSON (WorkspaceEdit arg0 arg1 arg2) = Aeson.object $ concat $  ["changes" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceEditClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -58,6 +60,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceEditClientCapabilities)  instance Aeson.ToJSON WorkspaceEditClientCapabilities where   toJSON (WorkspaceEditClientCapabilities arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  ["documentChanges" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceFolder.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceFolder)  instance Aeson.ToJSON WorkspaceFolder where   toJSON (WorkspaceFolder arg0 arg1) = Aeson.object $ concat $  [["uri" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceFoldersChangeEvent.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -29,6 +31,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceFoldersChangeEvent)  instance Aeson.ToJSON WorkspaceFoldersChangeEvent where   toJSON (WorkspaceFoldersChangeEvent arg0 arg1) = Aeson.object $ concat $  [["added" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceFoldersInitializeParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceFoldersInitializeParams)  instance Aeson.ToJSON WorkspaceFoldersInitializeParams where   toJSON (WorkspaceFoldersInitializeParams arg0) = Aeson.object $ concat $  ["workspaceFolders" Language.LSP.Protocol.Types.Common..=? arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceFoldersServerCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -35,6 +37,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceFoldersServerCapabilities)  instance Aeson.ToJSON WorkspaceFoldersServerCapabilities where   toJSON (WorkspaceFoldersServerCapabilities arg0 arg1) = Aeson.object $ concat $  ["supported" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceFullDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -49,6 +51,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceFullDocumentDiagnosticReport)  instance Aeson.ToJSON WorkspaceFullDocumentDiagnosticReport where   toJSON (WorkspaceFullDocumentDiagnosticReport arg0 arg1 arg2 arg3 arg4) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceSymbol.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson import qualified Data.Aeson as Aeson import qualified Data.Row as Row@@ -65,6 +67,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceSymbol)  instance Aeson.ToJSON WorkspaceSymbol where   toJSON (WorkspaceSymbol arg0 arg1 arg2 arg3 arg4 arg5) = Aeson.object $ concat $  [["name" Aeson..= arg0]
generated/Language/LSP/Protocol/Internal/Types/WorkspaceSymbolClientCapabilities.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row as Row import qualified Data.Row.Aeson as Aeson@@ -47,6 +49,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceSymbolClientCapabilities)  instance Aeson.ToJSON WorkspaceSymbolClientCapabilities where   toJSON (WorkspaceSymbolClientCapabilities arg0 arg1 arg2 arg3) = Aeson.object $ concat $  ["dynamicRegistration" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceSymbolOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceSymbolOptions)  instance Aeson.ToJSON WorkspaceSymbolOptions where   toJSON (WorkspaceSymbolOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceSymbolParams.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -36,6 +38,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceSymbolParams)  instance Aeson.ToJSON WorkspaceSymbolParams where   toJSON (WorkspaceSymbolParams arg0 arg1 arg2) = Aeson.object $ concat $  ["workDoneToken" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceSymbolRegistrationOptions.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -31,6 +33,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceSymbolRegistrationOptions)  instance Aeson.ToJSON WorkspaceSymbolRegistrationOptions where   toJSON (WorkspaceSymbolRegistrationOptions arg0 arg1) = Aeson.object $ concat $  ["workDoneProgress" Language.LSP.Protocol.Types.Common..=? arg0
generated/Language/LSP/Protocol/Internal/Types/WorkspaceUnchangedDocumentDiagnosticReport.hs view
@@ -8,6 +8,8 @@ import Control.DeepSeq import Data.Hashable import GHC.Generics+import Language.LSP.Protocol.Utils.Misc+import Prettyprinter import qualified Data.Aeson as Aeson import qualified Data.Row.Aeson as Aeson import qualified Data.Row.Hashable as Hashable@@ -46,6 +48,7 @@   }   deriving stock (Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON WorkspaceUnchangedDocumentDiagnosticReport)  instance Aeson.ToJSON WorkspaceUnchangedDocumentDiagnosticReport where   toJSON (WorkspaceUnchangedDocumentDiagnosticReport arg0 arg1 arg2 arg3) = Aeson.object $ concat $  [["kind" Aeson..= arg0]
generator/CodeGen.hs view
@@ -305,10 +305,13 @@   ensureImport "GHC.Generics" Unqual   ensureImport "Control.DeepSeq" Unqual   ensureImport "Data.Hashable" Unqual+  ensureImport "Prettyprinter" Unqual+  ensureImport "Language.LSP.Protocol.Utils.Misc" Unqual   let derivDoc =         let stockDeriv = "deriving stock" <+> tupled (fmap pretty toStockDerive)             anyclassDeriv = "deriving anyclass" <+> tupled (fmap pretty toAnyclassDerive)-        in indent indentSize $ hardvcat [stockDeriv, anyclassDeriv]+            viaDeriv = "deriving" <+> "Pretty" <+> "via" <+> parens ("ViaJSON" <+> pretty tn)+        in indent indentSize $ hardvcat [stockDeriv, anyclassDeriv, viaDeriv]   dataDoc <- multilineHaddock . pretty <$> mkDocumentation documentation since proposed   let dataDecl = "data" <+> pretty tn <+> "=" <+> pretty tn <+> nest indentSize (encloseSep (line <> "{ ") (line <> "}") ", " args)       datad = hardvcat (deprecations ++ [dataDoc, dataDecl, derivDoc])@@ -446,14 +449,17 @@   ensureImport "GHC.Generics" Unqual   ensureImport "Control.DeepSeq" Unqual   ensureImport "Data.Hashable" Unqual+  ensureImport "Prettyprinter" Unqual+  ensureImport "Language.LSP.Protocol.Utils.Misc" Unqual   dataDoc <- multilineHaddock . pretty <$> mkDocumentation documentation since proposed   let derivDoc =         let           toDeriveViaLspEnum = ["Aeson.ToJSON", "Aeson.FromJSON"] ++ if custom && isString then [isStringN] else []           stockDeriv = "deriving stock" <+> tupled (fmap pretty toStockDerive)           anyclassDeriv = "deriving anyclass" <+> tupled (fmap pretty toAnyclassDerive)-          viaDeriv = "deriving" <+> tupled toDeriveViaLspEnum <+> "via" <+> parens (asLspEnumN <+> pretty tn <+> ty)-        in indent indentSize $ hardvcat [stockDeriv, anyclassDeriv, viaDeriv]+          viaDeriv1 = "deriving" <+> tupled toDeriveViaLspEnum <+> "via" <+> parens (asLspEnumN <+> pretty tn <+> ty)+          viaDeriv2 = "deriving" <+> "Pretty" <+> "via" <+> parens ("ViaJSON" <+> pretty tn)+        in indent indentSize $ hardvcat [stockDeriv, anyclassDeriv, viaDeriv1, viaDeriv2]   let dataDecl = "data" <+> pretty tn <+> "=" <+> nest indentSize (encloseSep (line <> "  ") mempty "| " cons)       dataD = hardvcat (deprecations ++ [dataDoc, dataDecl, derivDoc]) @@ -525,6 +531,8 @@   ensureImport "Data.Aeson" (QualAs "Aeson")   ensureImport "Data.Row.Aeson" (QualAs "Aeson")   ensureImport "Data.Row.Hashable" (QualAs "Hashable")+  ensureImport "Prettyprinter" Unqual+  ensureImport "Language.LSP.Protocol.Utils.Misc" Unqual   -- In practice, it seems that only base types and aliases to base types get used as map keys, so deriving   -- To/FromJSONKey for them seems to be enough   let derivDoc =@@ -532,7 +540,8 @@             newtypeDeriv = "deriving newtype" <+> tupled aesonDeriving             stockDeriv = "deriving stock" <+> tupled (fmap pretty toStockDerive)             anyclassDeriv = "deriving anyclass" <+> tupled (fmap pretty toAnyclassDerive)-        in indent indentSize $ hardvcat [newtypeDeriv, stockDeriv, anyclassDeriv]+            viaDeriv = "deriving" <+> "Pretty" <+> "via" <+> parens ("ViaJSON" <+> pretty hsName)+        in indent indentSize $ hardvcat [newtypeDeriv, stockDeriv, anyclassDeriv, viaDeriv]   dataDoc <- multilineHaddock . pretty <$> mkDocumentation documentation since proposed   let dataDecl = "newtype" <+> pretty hsName <+> "=" <+> pretty hsName <+> rhs       datad = hardvcat (optDeprecated hsName deprecated ++ [dataDoc, dataDecl, derivDoc])
lsp-types.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               lsp-types-version:            2.0.1.1+version:            2.0.2.0 synopsis:   Haskell library for the Microsoft Language Server Protocol, data types @@ -78,9 +78,13 @@     , dlist     , exceptions     , hashable          >=1.3.4.0+    , indexed-traversable+    , indexed-traversable-instances     , lens              >=4.15.2+    , lens-aeson     , mod     , mtl               <2.4+    , prettyprinter          , network-uri       >=2.6     , row-types     , safe
src/Language/LSP/Protocol/Message/LspId.hs view
@@ -6,10 +6,12 @@ import           Data.IxMap import           Data.Text                          (Text) import           GHC.Generics+import           Prettyprinter  import           Language.LSP.Protocol.Types.Common import           Language.LSP.Protocol.Internal.Method import           Language.LSP.Protocol.Message.Meta+import           Language.LSP.Protocol.Utils.Misc  -- | Id used for a request, Can be either a String or an Int data LspId (m :: Method f Request) = IdInt !Int32 | IdString !Text@@ -23,6 +25,8 @@   parseJSON v@(A.Number _) = IdInt <$> A.parseJSON v   parseJSON  (A.String  s) = return (IdString s)   parseJSON _              = fail "LspId"++deriving via ViaJSON (LspId m) instance Pretty (LspId m)  instance IxOrd LspId where   type Base LspId = SomeLspId
src/Language/LSP/Protocol/Message/Method.hs view
@@ -24,6 +24,7 @@ import           Language.LSP.Protocol.Internal.Method import           Language.LSP.Protocol.Message.Meta import           Language.LSP.Protocol.Utils.Misc+import           Prettyprinter import           Unsafe.Coerce  ---------------@@ -49,6 +50,8 @@     s <- parseJSON v     pure $ methodStringToSomeMethod s +deriving via ViaJSON SomeMethod instance Pretty SomeMethod+ --------------- -- SMethod ---------------@@ -104,6 +107,8 @@ -- instance FromJSON (SMethod Method_X) makeSingletonFromJSON 'SomeMethod ''SMethod ['SMethod_CustomMethod] +deriving via ViaJSON (SMethod m) instance Pretty (SMethod m)+ --------------- -- Extras ---------------@@ -142,6 +147,8 @@ instance ToJSON SomeClientMethod where   toJSON (SomeClientMethod sm) = toJSON $ someMethodToMethodString $ SomeMethod sm +deriving via ViaJSON SomeClientMethod instance Pretty SomeClientMethod+ instance FromJSON SomeServerMethod where   parseJSON v = do     (SomeMethod sm) <- parseJSON v@@ -151,6 +158,8 @@  instance ToJSON SomeServerMethod where   toJSON (SomeServerMethod sm) = toJSON $ someMethodToMethodString $ SomeMethod sm++deriving via ViaJSON SomeServerMethod instance Pretty SomeServerMethod  {- Note [Parsing methods that go both ways] 
src/Language/LSP/Protocol/Message/Registration.hs view
@@ -20,6 +20,7 @@ import           Data.Text                         (Text) import qualified Data.Text                         as T import           GHC.Generics+import           Prettyprinter  -- | Typed registration type, with correct options. data TRegistration (m :: Method ClientToServer t) =@@ -51,6 +52,8 @@ instance ToJSON (TRegistration m) where   toJSON x@(TRegistration _ m _) = regHelper m (genericToJSON lspOptions x) +deriving via ViaJSON (TRegistration m) instance Pretty (TRegistration m)+ data SomeRegistration = forall t (m :: Method ClientToServer t). SomeRegistration (TRegistration m)  instance ToJSON SomeRegistration where@@ -65,6 +68,8 @@ instance Show SomeRegistration where   show (SomeRegistration r@(TRegistration _ m _)) = regHelper m (show r) +deriving via ViaJSON SomeRegistration instance Pretty SomeRegistration+ toUntypedRegistration :: TRegistration m -> Registration toUntypedRegistration (TRegistration i meth opts) = Registration i (T.pack $ someMethodToMethodString $ SomeMethod meth) (Just $ regHelper meth (toJSON opts)) @@ -93,6 +98,8 @@ instance ToJSON (TUnregistration m) where   toJSON x@(TUnregistration _ m) = regHelper m (genericToJSON lspOptions x) +deriving via ViaJSON (TUnregistration m) instance Pretty (TUnregistration m)+ data SomeUnregistration = forall t (m :: Method ClientToServer t). SomeUnregistration (TUnregistration m)  instance ToJSON SomeUnregistration where@@ -103,6 +110,8 @@     SomeClientMethod m <- o .: "method"     r <- TUnregistration <$> o .: "id" <*> pure m     pure (SomeUnregistration r)++deriving via ViaJSON SomeUnregistration instance Pretty SomeUnregistration  toUntypedUnregistration :: TUnregistration m -> Unregistration toUntypedUnregistration (TUnregistration i meth) = Unregistration i (T.pack $ someMethodToMethodString $ SomeMethod meth)
src/Language/LSP/Protocol/Message/Types.hs view
@@ -23,6 +23,7 @@ import           Data.Text                          (Text) import           GHC.Generics import           GHC.TypeLits                       (KnownSymbol)+import           Prettyprinter  -- 'RequestMessage', 'ResponseMessage', 'ResponseError', and 'NotificationMessage' -- aren't present in the metamodel, although they should be.@@ -37,6 +38,7 @@     } deriving stock (Show, Eq, Generic)  deriveJSON lspOptions ''NotificationMessage+deriving via ViaJSON NotificationMessage instance Pretty NotificationMessage  -- This isn't present in the metamodel. -- | Request message type as defined in the spec.@@ -48,6 +50,7 @@     } deriving stock (Show, Eq, Generic)  deriveJSON lspOptions ''RequestMessage+deriving via ViaJSON RequestMessage instance Pretty RequestMessage  -- | Response error type as defined in the spec. data ResponseError =@@ -85,6 +88,8 @@               x{_code = InR (fromOpenEnumBaseType n)}             go x = x +deriving via ViaJSON ResponseError instance Pretty ResponseError+ -- | Response message type as defined in the spec. data ResponseMessage =   ResponseMessage@@ -96,6 +101,8 @@  deriveJSON lspOptions ''ResponseMessage +deriving via ViaJSON ResponseMessage instance Pretty ResponseMessage+ ----- -- | Typed notification message, containing the correct parameter payload. data TNotificationMessage (m :: Method f Notification) =@@ -125,6 +132,8 @@   toJSON     = genericToJSON lspOptions   toEncoding = genericToEncoding lspOptions +deriving via ViaJSON (TNotificationMessage m) instance (ToJSON (MessageParams m)) => Pretty (TNotificationMessage m)+ -- | Typed request message, containing the correct parameter payload. data TRequestMessage (m :: Method f Request) = TRequestMessage     { _jsonrpc :: Text@@ -143,6 +152,8 @@   toJSON     = genericToJSON lspOptions   toEncoding = genericToEncoding lspOptions +deriving via ViaJSON (TRequestMessage m) instance (ToJSON (MessageParams m)) => Pretty (TRequestMessage m)+ data TResponseError (m :: Method f Request) =   TResponseError     { _code    :: LSPErrorCodes |? ErrorCodes@@ -168,6 +179,8 @@   toJSON     = genericToJSON lspOptions   toEncoding = genericToEncoding lspOptions +deriving via ViaJSON (TResponseError m) instance (ToJSON (ErrorData m)) => Pretty (TResponseError m)+ -- TODO: similar functions for the others? toUntypedResponseError :: (ToJSON (ErrorData m)) => TResponseError m -> ResponseError toUntypedResponseError (TResponseError c m d) = ResponseError c m (fmap toJSON d)@@ -208,6 +221,8 @@       (Nothing, Nothing) -> fail "both error and result cannot be Nothing"     return $ TResponseMessage _jsonrpc _id result +deriving via ViaJSON (TResponseMessage m) instance (ToJSON (MessageResult m), ToJSON (ErrorData m)) => Pretty (TResponseMessage m)+ -- | A typed custom message. A special data type is needed to distinguish between -- notifications and requests, since a CustomMethod can be both! data TCustomMessage s f t where@@ -225,6 +240,7 @@ instance KnownSymbol s => FromJSON (TCustomMessage s f Notification) where   parseJSON v = NotMess <$> parseJSON v +deriving via ViaJSON (TCustomMessage s f t) instance (KnownSymbol s) => Pretty (TCustomMessage s f t)  -- --------------------------------------------------------------------- -- Helper Type Families
src/Language/LSP/Protocol/Types/Common.hs view
@@ -37,9 +37,11 @@ import           Data.String         (fromString) import           Data.Int            (Int32) import           Data.Mod.Word+import           Language.LSP.Protocol.Utils.Misc import           GHC.Generics        hiding (UInt) import           GHC.TypeNats        hiding (Mod) import           Text.Read           (Read (readPrec))+import           Prettyprinter  -- | The "uinteger" type in the LSP spec. --@@ -57,6 +59,9 @@ instance Read UInt where   readPrec = fromInteger <$> readPrec +instance Pretty UInt where+  pretty = viaShow+ instance Real UInt where   toRational (UInt u) = toRational $ unMod u @@ -78,6 +83,7 @@             | InR b   deriving stock (Read, Show, Eq, Ord, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON (a |? b)) infixr |?  -- | Prism for the left-hand side of an '(|?)'.@@ -139,6 +145,7 @@ data Null = Null   deriving stock (Eq, Ord, Show, Generic)   deriving anyclass (NFData, Hashable)+  deriving Pretty via (ViaJSON Null)  instance ToJSON Null where   toJSON Null = J.Null
src/Language/LSP/Protocol/Types/Singletons.hs view
@@ -7,6 +7,7 @@ import           Control.DeepSeq import           GHC.TypeLits (KnownNat, KnownSymbol, Nat, Symbol, natVal,                                symbolVal)+import           Prettyprinter  -- | A type whose only inhabitant is a single, statically-known string. --@@ -17,6 +18,8 @@  instance Show (AString s) where   show AString = symbolVal (Proxy @s)+instance Pretty (AString s) where+  pretty = viaShow instance Eq (AString s) where   _ == _ = True instance Ord (AString s) where@@ -45,6 +48,8 @@  instance Show (AnInteger n) where   show AnInteger = show $ natVal (Proxy @n)+instance Pretty (AnInteger n) where+  pretty = viaShow instance Eq (AnInteger n) where   _ == _ = True instance Ord (AnInteger n) where
src/Language/LSP/Protocol/Types/Uri.hs view
@@ -40,11 +40,12 @@ import qualified System.FilePath.Posix   as FPP import qualified System.FilePath.Windows as FPW import qualified System.Info+import           Prettyprinter  -- | The @Uri@ type in the LSP specification. newtype Uri = Uri { getUri :: Text }   deriving stock (Eq,Ord,Read,Show,Generic)-  deriving newtype (A.FromJSON,A.ToJSON,Hashable,A.ToJSONKey,A.FromJSONKey)+  deriving newtype (A.FromJSON,A.ToJSON,Hashable,A.ToJSONKey,A.FromJSONKey, Pretty)  instance NFData Uri @@ -66,6 +67,9 @@ instance Hashable NormalizedUri where   hash (NormalizedUri h _) = h   hashWithSalt salt (NormalizedUri h _) = hashWithSalt salt h++instance Pretty NormalizedUri where+  pretty (NormalizedUri _ t) = pretty t  instance NFData NormalizedUri 
src/Language/LSP/Protocol/Utils/Misc.hs view
@@ -7,13 +7,20 @@   , makeRegHelper   , lspOptions   , lspOptionsUntagged+  , prettyJSON+  , ViaJSON (..)   ) where  import           Control.Monad-import           Data.Aeson-import           Data.List+import           Data.Aeson    +import           Data.Aeson.Text     as Aeson+import qualified Data.Foldable       as F+import qualified Data.Foldable.WithIndex as F+import qualified Data.Functor.WithIndex.Instances ()+import           Data.List           hiding (group) import           Data.Maybe          (mapMaybe) import           Language.Haskell.TH+import           Prettyprinter  -- --------------------------------------------------------------------- @@ -98,3 +105,21 @@ -- | Standard options for use when generating JSON instances for an untagged union lspOptionsUntagged :: Options lspOptionsUntagged = lspOptions { sumEncoding = UntaggedValue }++prettyJSON :: Value -> Doc ann+prettyJSON = \case+  Array vec ->+    let docs = fmap prettyJSON (F.toList vec)+        separator = ","+    in group $ nest 2 ("[" <> line <> vsep (punctuate separator docs)) <> line <> "]"+  Object km ->+    let docs = fmap (\(k, v) -> pretty (show k) <> ":" <+> prettyJSON v) (F.itoList km)+        separator = ","+    in group $ nest 2 ("{" <> line <> vsep (punctuate separator docs)) <> line <> "}"+  -- for atomic objects, piggyback off aeson's encoding+  v -> pretty $ Aeson.encodeToLazyText v++newtype ViaJSON a = ViaJSON a++instance ToJSON a => Pretty (ViaJSON a) where+  pretty (ViaJSON a) = prettyJSON $ toJSON a