haskell-lsp-types-0.18.0.0: Haskell library for the Microsoft Language Server Protocol, data types

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.LSP.Types

Synopsis

Documentation

data InitializeParams Source #

Constructors

InitializeParams 

Fields

Instances
Eq InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCapabilities InitializeParams ClientCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTrace InitializeParams (Maybe Trace) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRootUri InitializeParams (Maybe Uri) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRootPath InitializeParams (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasProcessId InitializeParams (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInitializationOptions InitializeParams (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InitializeError Source #

Constructors

InitializeError 

Fields

Instances
Eq InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeError Source #

Note: Omitting this parameter from the capabilities is effectively a fourth state, where DidSave events are generated without sending document contents.

Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasRetry InitializeError Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentSyncKind Source #

Instances
Eq TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionOptions Source #

Constructors

CompletionOptions 

Fields

Instances
Eq CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CompletionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTriggerCharacters CompletionOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasResolveProvider CompletionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAllCommitCharacters CompletionOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCompletionProvider InitializeResponseCapabilitiesInner (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureHelpOptions Source #

Constructors

SignatureHelpOptions 

Fields

  • _triggerCharacters :: Maybe [String]

    The characters that trigger signature help automatically.

  • _retriggerCharacters :: Maybe [String]

    List of characters that re-trigger signature help. These trigger characters are only active when signature help is already showing. All trigger characters are also counted as re-trigger characters.

    Since LSP 3.15.0 @since 0.18.0.0

Instances
Eq SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureHelpOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTriggerCharacters SignatureHelpOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRetriggerCharacters SignatureHelpOptions (Maybe [String]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatureHelpProvider InitializeResponseCapabilitiesInner (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeLensOptions Source #

Constructors

CodeLensOptions 
Instances
Eq CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLensOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasResolveProvider CodeLensOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCodeLensProvider InitializeResponseCapabilitiesInner (Maybe CodeLensOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeActionOptions Source #

Instances
Eq CodeActionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeActionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeActionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeActionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeActionOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCodeActionProvider InitializeResponseCapabilitiesInner (Maybe CodeActionOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentOnTypeFormattingOptions Source #

Instances
Eq DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasFirstTriggerCharacter DocumentOnTypeFormattingOptions Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMoreTriggerCharacter DocumentOnTypeFormattingOptions (Maybe [Text]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentOnTypeFormattingProvider InitializeResponseCapabilitiesInner (Maybe DocumentOnTypeFormattingOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentLinkOptions Source #

Constructors

DocumentLinkOptions 

Fields

Instances
Eq DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentLinkOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasResolveProvider DocumentLinkOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentLinkProvider InitializeResponseCapabilitiesInner (Maybe DocumentLinkOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data RenameOptions Source #

Constructors

RenameOptionsStatic Bool 
RenameOptions 

Fields

data ExecuteCommandOptions Source #

Constructors

ExecuteCommandOptions 

Fields

Instances
Eq ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ExecuteCommandOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasExecuteCommandProvider InitializeResponseCapabilitiesInner (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SaveOptions Source #

Constructors

SaveOptions 

Fields

data TextDocumentSyncOptions Source #

Constructors

TextDocumentSyncOptions 

Fields

Instances
Eq TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentSyncOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasWillSaveWaitUntil TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWillSave TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSave TextDocumentSyncOptions (Maybe SaveOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOpenClose TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data GotoOptions Source #

Constructors

GotoOptionsStatic Bool 
GotoOptionsDynamic 

Fields

  • _documentSelector :: Maybe DocumentSelector

    A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • _id :: Maybe Text

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

Instances
Eq GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON GotoOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTypeDefinitionProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasImplementationProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorOptions Source #

Constructors

ColorOptionsStatic Bool 
ColorOptionsDynamic 
ColorOptionsDynamicDocument 

Fields

  • _documentSelector :: Maybe DocumentSelector

    A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • _id :: Maybe Text

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

data FoldingRangeOptions Source #

Constructors

FoldingRangeOptionsStatic Bool 
FoldingRangeOptionsDynamic 
FoldingRangeOptionsDynamicDocument 

Fields

  • _documentSelector :: Maybe DocumentSelector

    A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

  • _id :: Maybe Text

    The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

Instances
Eq FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON FoldingRangeOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasFoldingRangeProvider InitializeResponseCapabilitiesInner (Maybe FoldingRangeOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFolderChangeNotifications Source #

Instances
Eq WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceFolderChangeNotifications Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasChangeNotifications WorkspaceFolderOptions (Maybe WorkspaceFolderChangeNotifications) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFolderOptions Source #

Constructors

WorkspaceFolderOptions 

Fields

  • _supported :: Maybe Bool

    The server has support for workspace folders

  • _changeNotifications :: Maybe WorkspaceFolderChangeNotifications

    Whether the server wants to receive workspace folder change notifications. If a strings is provided the string is treated as a ID under which the notification is registered on the client side. The ID can be used to unregister for these events using the `client/unregisterCapability` request.

Instances
Eq WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceFolderOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasWorkspaceFolders WorkspaceOptions (Maybe WorkspaceFolderOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSupported WorkspaceFolderOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChangeNotifications WorkspaceFolderOptions (Maybe WorkspaceFolderChangeNotifications) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceOptions Source #

Constructors

WorkspaceOptions 

Fields

Instances
Eq WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasWorkspaceFolders WorkspaceOptions (Maybe WorkspaceFolderOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspace InitializeResponseCapabilitiesInner (Maybe WorkspaceOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InitializeResponseCapabilitiesInner Source #

Constructors

InitializeResponseCapabilitiesInner 

Fields

Instances
Eq InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCapabilities InitializeResponseCapabilities InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColorProvider InitializeResponseCapabilitiesInner (Maybe ColorOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspace InitializeResponseCapabilitiesInner (Maybe WorkspaceOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasExperimental InitializeResponseCapabilitiesInner (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceSymbolProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTypeDefinitionProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocumentSync InitializeResponseCapabilitiesInner (Maybe TDS) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatureHelpProvider InitializeResponseCapabilitiesInner (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRenameProvider InitializeResponseCapabilitiesInner (Maybe RenameOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasReferencesProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasImplementationProvider InitializeResponseCapabilitiesInner (Maybe GotoOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasHoverProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasFoldingRangeProvider InitializeResponseCapabilitiesInner (Maybe FoldingRangeOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasExecuteCommandProvider InitializeResponseCapabilitiesInner (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSymbolProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentRangeFormattingProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentOnTypeFormattingProvider InitializeResponseCapabilitiesInner (Maybe DocumentOnTypeFormattingOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentLinkProvider InitializeResponseCapabilitiesInner (Maybe DocumentLinkOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentHighlightProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentFormattingProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDefinitionProvider InitializeResponseCapabilitiesInner (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCompletionProvider InitializeResponseCapabilitiesInner (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCodeLensProvider InitializeResponseCapabilitiesInner (Maybe CodeLensOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCodeActionProvider InitializeResponseCapabilitiesInner (Maybe CodeActionOptions) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InitializeResponseCapabilities Source #

Information about the capabilities of a language server

Instances
Eq InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON InitializeResponseCapabilities Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCapabilities InitializeResponseCapabilities InitializeResponseCapabilitiesInner Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Registration Source #

Constructors

Registration 

Fields

Instances
Eq Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON Registration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasMethod Registration ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasId Registration Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRegisterOptions Registration (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRegistrations RegistrationParams (List Registration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data RegistrationParams Source #

data TextDocumentRegistrationOptions Source #

Instances
Eq TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Unregistration Source #

Constructors

Unregistration 

Fields

  • _id :: Text

    The id used to unregister the request or notification. Usually an id provided during the register request.

  • _method :: Text

    The method / capability to unregister for.

Instances
Eq Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON Unregistration Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasMethod Unregistration Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasId Unregistration Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUnregistrations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data UnregistrationParams Source #

Instances
Eq UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON UnregistrationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasUnregistrations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeConfigurationParams Source #

Instances
Eq DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidChangeConfigurationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSettings DidChangeConfigurationParams Value Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ConfigurationItem Source #

Constructors

ConfigurationItem 

Fields

Instances
Eq ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ConfigurationItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSection ConfigurationItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasScopeUri ConfigurationItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems ConfigurationParams (List ConfigurationItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ConfigurationParams Source #

data DidOpenTextDocumentParams Source #

Instances
Eq DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentContentChangeEvent Source #

Instances
Eq TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasText TextDocumentContentChangeEvent Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRangeLength TextDocumentContentChangeEvent (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeTextDocumentParams Source #

Instances
Eq DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentChangeRegistrationOptions Source #

Instances
Eq TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentSaveReason Source #

Constructors

SaveManual

Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.

SaveAfterDelay

Automatic after a delay

SaveFocusOut

When the editor lost focus

Instances
Eq TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasReason WillSaveTextDocumentParams TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WillSaveTextDocumentParams Source #

Instances
Eq WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasReason WillSaveTextDocumentParams TextDocumentSaveReason Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidSaveTextDocumentParams Source #

Instances
Eq DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidCloseTextDocumentParams Source #

Instances
Eq DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data FileEvent Source #

Constructors

FileEvent 

Fields

Instances
Eq FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON FileEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasXtype FileEvent FileChangeType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri FileEvent Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeWatchedFilesParams Source #

Instances
Eq DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data PublishDiagnosticsParams Source #

Instances
Eq PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON PublishDiagnosticsParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasUri PublishDiagnosticsParams Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data LanguageString Source #

Constructors

LanguageString 

Fields

data MarkedString Source #

Deprecated: Use MarkupContent instead, since 3.3.0 (11242017)

Constructors

PlainString Text

Deprecated: Use MarkupContent instead, since 3.3.0 (11242017)

CodeString LanguageString

Deprecated: Use MarkupContent instead, since 3.3.0 (11242017)

data HoverContents Source #

Instances
Eq HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Semigroup HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Monoid HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasContents Hover HoverContents Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ParameterInformation Source #

Instances
Eq ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ParameterInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasLabel ParameterInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentation ParameterInformation (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasParameters SignatureInformation (Maybe [ParameterInformation]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureInformation Source #

Instances
Eq SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasLabel SignatureInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentation SignatureInformation (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasParameters SignatureInformation (Maybe [ParameterInformation]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureHelp Source #

Constructors

SignatureHelp 

Fields

Instances
Eq SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureHelp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActiveSignature SignatureHelp (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActiveParameter SignatureHelp (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SignatureHelpRegistrationOptions Source #

Instances
Eq SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ReferenceContext Source #

Constructors

ReferenceContext 
Instances
Eq ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasIncludeDeclaration ReferenceContext Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ReferenceParams Source #

Constructors

ReferenceParams 

Fields

Instances
Eq ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ReferenceParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument ReferenceParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition ReferenceParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken ReferenceParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentHighlightKind Source #

Constructors

HkText 
HkRead 
HkWrite 
Instances
Eq DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentHighlightKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasKind DocumentHighlight (Maybe DocumentHighlightKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentHighlight Source #

Instances
Eq DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentHighlight Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasRange DocumentHighlight Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind DocumentHighlight (Maybe DocumentHighlightKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceSymbolParams Source #

Constructors

WorkspaceSymbolParams 

Fields

  • _query :: Text

    A query string to filter symbols by. Clients may send an empty string here to request all symbols.

  • _workDoneToken :: Maybe ProgressToken

    An optional token that a server can use to report work done progress.

Instances
Eq WorkspaceSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read WorkspaceSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show WorkspaceSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON WorkspaceSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON WorkspaceSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasQuery WorkspaceSymbolParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken WorkspaceSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeLensParams Source #

Constructors

CodeLensParams 

Fields

Instances
Eq CodeLensParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLensParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLensParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLensParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLensParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument CodeLensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken CodeLensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeLens Source #

Constructors

CodeLens 
Instances
Eq CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLens Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasRange CodeLens Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXdata CodeLens (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeLens (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeLensRegistrationOptions Source #

Instances
Eq CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasResolveProvider CodeLensRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentLinkParams Source #

Constructors

DocumentLinkParams 

Fields

Instances
Eq DocumentLinkParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentLinkParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentLinkParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentLinkParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentLinkParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentLinkParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentLinkParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentLink Source #

Constructors

DocumentLink 

Fields

data FormattingOptions Source #

Constructors

FormattingOptions 

Fields

Instances
Eq FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTabSize FormattingOptions Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInsertSpaces FormattingOptions Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentRangeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentOnTypeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentFormattingParams Source #

Constructors

DocumentFormattingParams 

Fields

Instances
Eq DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentRangeFormattingParams Source #

Constructors

DocumentRangeFormattingParams 

Fields

Instances
Eq DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentRangeFormattingParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentRangeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentRangeFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentOnTypeFormattingParams Source #

Instances
Eq DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasOptions DocumentOnTypeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCh DocumentOnTypeFormattingParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentOnTypeFormattingRegistrationOptions Source #

Instances
Eq DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

data RenameParams Source #

Constructors

RenameParams 

Fields

Instances
Eq RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON RenameParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasTextDocument RenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition RenameParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasNewName RenameParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken RenameParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ExecuteCommandParams Source #

Constructors

ExecuteCommandParams 

Fields

Instances
Eq ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ExecuteCommandParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCommand ExecuteCommandParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken ExecuteCommandParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments ExecuteCommandParams (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ExecuteCommandRegistrationOptions Source #

Instances
Eq ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasCommands ExecuteCommandRegistrationOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ApplyWorkspaceEditParams Source #

Instances
Eq ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ApplyWorkspaceEditResponseBody Source #

Instances
Eq ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Read ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

Show ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

ToJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

FromJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DataTypesJSON

HasApplied ApplyWorkspaceEditResponseBody Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TraceParams Source #

Constructors

TraceParams 

Fields

data TraceNotification Source #

Constructors

TraceNotification 

Fields

data CodeActionKind Source #

Instances
Eq CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeActionKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CodeAction (Maybe CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeActionContext Source #

Instances
Eq CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasContext CodeActionParams CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeActionParams Source #

Constructors

CodeActionParams 

Fields

Instances
Eq CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeActionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasTextDocument CodeActionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange CodeActionParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext CodeActionParams CodeActionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken CodeActionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CodeAction Source #

Constructors

CodeAction

A code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code.

A CodeAction must set either $sel:_edit:CodeAction and/or a CodeAction. If both are supplied, the $sel:_edit:CodeAction is applied first, then the CodeAction is executed.

Fields

Instances
Eq CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Read CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

Show CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

ToJSON CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

FromJSON CodeAction Source # 
Instance details

Defined in Language.Haskell.LSP.Types.CodeAction

HasTitle CodeAction Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeAction (Maybe (List Diagnostic)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CodeAction (Maybe CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Color Source #

Represents a color in RGBA space.

Constructors

Color 

Fields

  • _red :: Int

    The red component of this color in the range [0-1].

  • _green :: Int

    The green component of this color in the range [0-1].

  • _blue :: Int

    The blue component of this color in the range [0-1].

  • _alpha :: Int

    The alpha component of this color in the range [0-1].

Instances
Eq Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Methods

(==) :: Color -> Color -> Bool #

(/=) :: Color -> Color -> Bool #

Read Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

ToJSON Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasRed Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasGreen Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasBlue Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAlpha Color Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColor ColorInformation Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColor ColorPresentationParams Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorInformation Source #

Constructors

ColorInformation 

Fields

  • _range :: Range

    The range in the document where this color appears.

  • _color :: Color

    The actual color value for this color range.

data DocumentColorParams Source #

Constructors

DocumentColorParams 

Fields

Instances
Eq DocumentColorParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Read DocumentColorParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show DocumentColorParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

ToJSON DocumentColorParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON DocumentColorParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasTextDocument DocumentColorParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentColorParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorPresentationParams Source #

Constructors

ColorPresentationParams 

Fields

Instances
Eq ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Read ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

ToJSON ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON ColorPresentationParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasTextDocument ColorPresentationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange ColorPresentationParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasColor ColorPresentationParams Color Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken ColorPresentationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ColorPresentation Source #

Constructors

ColorPresentation 

Fields

Instances
Eq ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Read ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

Show ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

ToJSON ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

FromJSON ColorPresentation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Color

HasLabel ColorPresentation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit ColorPresentation (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits ColorPresentation (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data Command Source #

Constructors

Command 
Instances
Eq Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Read Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

Show Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

ToJSON Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

FromJSON Command Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Command

HasCommand Command Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTitle Command Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CodeLens (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments Command (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionItemKind Source #

Instances
Eq CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Ord CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionItemKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasValueSet CompletionItemKindClientCapabilities (Maybe (List CompletionItemKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data InsertTextFormat Source #

Constructors

PlainText

The primary text to be inserted is treated as a plain string.

Snippet

The primary text to be inserted is treated as a snippet.

A snippet can define tab stops and placeholders with `$1`, `$2` and `${3:foo}`. `$0` defines the final tab stop, it defaults to the end of the snippet. Placeholders with equal identifiers are linked, that is typing in one will update others too.

See also: https://github.com/Microsoft/vscode/blob/master/src/vs/editor/contrib/snippet/common/snippet.md

data CompletionItem Source #

Constructors

CompletionItem 

Fields

  • _label :: Text

    The label of this completion item. By default also the text that is inserted when selecting this completion.

  • _kind :: Maybe CompletionItemKind
     
  • _detail :: Maybe Text

    A human-readable string with additional information about this item, like type or symbol information.

  • _documentation :: Maybe CompletionDoc

    A human-readable string that represents a doc-comment.

  • _deprecated :: Maybe Bool

    Indicates if this item is deprecated.

  • _preselect :: Maybe Bool

    Select this item when showing. *Note* that only one completion item can be selected and that the tool / client decides which item that is. The rule is that the *first* item of those that match best is selected.

  • _sortText :: Maybe Text

    A string that should be used when filtering a set of completion items. When falsy the label is used.

  • _filterText :: Maybe Text

    A string that should be used when filtering a set of completion items. When falsy the label is used.

  • _insertText :: Maybe Text

    A string that should be inserted a document when selecting this completion. When falsy the label is used.

  • _insertTextFormat :: Maybe InsertTextFormat

    The format of the insert text. The format applies to both the insertText property and the newText property of a provided textEdit.

  • _textEdit :: Maybe TextEdit

    An edit which is applied to a document when selecting this completion. When an edit is provided the value of insertText is ignored.

    • Note:* The range of the edit must be a single line range and it must contain the position at which completion has been requested.
  • _additionalTextEdits :: Maybe (List TextEdit)

    An optional array of additional text edits that are applied when selecting this completion. Edits must not overlap with the main edit nor with themselves.

  • _commitCharacters :: Maybe (List Text)

    An optional set of characters that when pressed while this completion is active will accept it first and then type that character. *Note* that all commit characters should have `length=1` and that superfluous characters will be ignored.

  • _command :: Maybe Command

    An optional command that is executed *after* inserting this completion. *Note* that additional modifications to the current document should be described with the additionalTextEdits-property.

  • _xdata :: Maybe Value

    An data entry field that is preserved on a completion item between a completion and a completion resolve request.

Instances
Eq CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasLabel CompletionItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems CompletionListType (List CompletionItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentation CompletionItem (Maybe CompletionDoc) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXdata CompletionItem (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit CompletionItem (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSortText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPreselect CompletionItem (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInsertTextFormat CompletionItem (Maybe InsertTextFormat) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasInsertText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasFilterText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDetail CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDeprecated CompletionItem (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommitCharacters CompletionItem (Maybe (List Text)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits CompletionItem (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionListType Source #

Instances
Eq CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionListType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasIsIncomplete CompletionListType Bool Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems CompletionListType (List CompletionItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionResponseResult Source #

data CompletionTriggerKind Source #

How a completion was triggered

Constructors

CtInvoked

Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API.

CtTriggerCharacter

Completion was triggered by a trigger character specified by the triggerCharacters properties of the CompletionRegistrationOptions.

CtTriggerForIncompleteCompletions

Completion was re-triggered as the current completion list is incomplete.

CtUnknown Scientific

An unknown CompletionTriggerKind not yet supported in haskell-lsp.

Instances
Eq CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTriggerKind CompletionContext CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionContext Source #

Constructors

CompletionContext 

Fields

Instances
Eq CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionContext Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTriggerKind CompletionContext CompletionTriggerKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTriggerCharacter CompletionContext (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionParams Source #

Constructors

CompletionParams 

Fields

Instances
Eq CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTextDocument CompletionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken CompletionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data CompletionRegistrationOptions Source #

Instances
Eq CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Read CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

Show CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

ToJSON CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

FromJSON CompletionRegistrationOptions Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Completion

HasTriggerCharacters CompletionRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasResolveProvider CompletionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DiagnosticSeverity Source #

Constructors

DsError

Error = 1,

DsWarning

Warning = 2,

DsInfo

Info = 3,

DsHint

Hint = 4

Instances
Eq DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Generic DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Associated Types

type Rep DiagnosticSeverity :: Type -> Type #

ToJSON DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

NFData DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Methods

rnf :: DiagnosticSeverity -> () #

HasSeverity Diagnostic (Maybe DiagnosticSeverity) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep DiagnosticSeverity Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

type Rep DiagnosticSeverity = D1 (MetaData "DiagnosticSeverity" "Language.Haskell.LSP.Types.Diagnostic" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" False) ((C1 (MetaCons "DsError" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DsWarning" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DsInfo" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DsHint" PrefixI False) (U1 :: Type -> Type)))

data DiagnosticRelatedInformation Source #

Instances
Eq DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Generic DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Associated Types

type Rep DiagnosticRelatedInformation :: Type -> Type #

ToJSON DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

NFData DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

HasMessage DiagnosticRelatedInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation DiagnosticRelatedInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

type Rep DiagnosticRelatedInformation = D1 (MetaData "DiagnosticRelatedInformation" "Language.Haskell.LSP.Types.Diagnostic" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" False) (C1 (MetaCons "DiagnosticRelatedInformation" PrefixI True) (S1 (MetaSel (Just "_location") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Location) :*: S1 (MetaSel (Just "_message") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data NumberOrString Source #

Instances
Eq NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Generic NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Associated Types

type Rep NumberOrString :: Type -> Type #

ToJSON NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

NFData NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Methods

rnf :: NumberOrString -> () #

HasCode Diagnostic (Maybe NumberOrString) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep NumberOrString Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

type Rep NumberOrString = D1 (MetaData "NumberOrString" "Language.Haskell.LSP.Types.Diagnostic" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" False) (C1 (MetaCons "NumberValue" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Scientific)) :+: C1 (MetaCons "StringValue" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data Diagnostic Source #

Instances
Eq Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Ord Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Read Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Show Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Generic Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Associated Types

type Rep Diagnostic :: Type -> Type #

ToJSON Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

FromJSON Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

NFData Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

Methods

rnf :: Diagnostic -> () #

HasRange Diagnostic Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage Diagnostic Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeAction (Maybe (List Diagnostic)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCode Diagnostic (Maybe NumberOrString) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSource Diagnostic (Maybe DiagnosticSource) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSeverity Diagnostic (Maybe DiagnosticSeverity) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep Diagnostic Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Diagnostic

data DocumentFilter Source #

Instances
Eq DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

Read DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

Show DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

ToJSON DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

FromJSON DocumentFilter Source # 
Instance details

Defined in Language.Haskell.LSP.Types.DocumentFilter

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLanguage DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasScheme DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPattern DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data FoldingRangeParams Source #

Constructors

FoldingRangeParams 

Fields

Instances
Eq FoldingRangeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

Read FoldingRangeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

Show FoldingRangeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

ToJSON FoldingRangeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

FromJSON FoldingRangeParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

HasTextDocument FoldingRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken FoldingRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data FoldingRangeKind Source #

Enum of known range kinds

Constructors

FoldingRangeComment

Folding range for a comment

FoldingRangeImports

Folding range for a imports or includes

FoldingRangeRegion

Folding range for a region (e.g. #region)

FoldingRangeUnknown Text

Folding range that haskell-lsp-types does not yet support

data FoldingRange Source #

Represents a folding range.

Constructors

FoldingRange 

Fields

  • _startLine :: Int

    The zero-based line number from where the folded range starts.

  • _startCharacter :: Maybe Int

    The zero-based character offset from where the folded range starts. If not defined, defaults to the length of the start line.

  • _endLine :: Int

    The zero-based line number where the folded range ends.

  • _endCharacter :: Maybe Int

    The zero-based character offset before the folded range ends. If not defined, defaults to the length of the end line.

  • _kind :: Maybe FoldingRangeKind

    Describes the kind of the folding range such as comment or region. The kind is used to categorize folding ranges and used by commands like 'Fold all comments'. See FoldingRangeKind for an enumeration of standardized kinds.

Instances
Eq FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

Read FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

Show FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

ToJSON FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

FromJSON FoldingRange Source # 
Instance details

Defined in Language.Haskell.LSP.Types.FoldingRange

HasStartLine FoldingRange Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEndLine FoldingRange Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind FoldingRange (Maybe FoldingRangeKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasStartCharacter FoldingRange (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEndCharacter FoldingRange (Maybe Int) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

newtype List a Source #

This data type is used to host a FromJSON instance for the encoding used by elisp, where an empty list shows up as "null"

Constructors

List [a] 
Instances
Functor List Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

fmap :: (a -> b) -> List a -> List b #

(<$) :: a -> List b -> List a #

Foldable List Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

fold :: Monoid m => List m -> m #

foldMap :: Monoid m => (a -> m) -> List a -> m #

foldr :: (a -> b -> b) -> b -> List a -> b #

foldr' :: (a -> b -> b) -> b -> List a -> b #

foldl :: (b -> a -> b) -> b -> List a -> b #

foldl' :: (b -> a -> b) -> b -> List a -> b #

foldr1 :: (a -> a -> a) -> List a -> a #

foldl1 :: (a -> a -> a) -> List a -> a #

toList :: List a -> [a] #

null :: List a -> Bool #

length :: List a -> Int #

elem :: Eq a => a -> List a -> Bool #

maximum :: Ord a => List a -> a #

minimum :: Ord a => List a -> a #

sum :: Num a => List a -> a #

product :: Num a => List a -> a #

Traversable List Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

traverse :: Applicative f => (a -> f b) -> List a -> f (List b) #

sequenceA :: Applicative f => List (f a) -> f (List a) #

mapM :: Monad m => (a -> m b) -> List a -> m (List b) #

sequence :: Monad m => List (m a) -> m (List a) #

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet SymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet CompletionItemKindClientCapabilities (Maybe (List CompletionItemKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet DocumentSymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentationFormat CompletionItemClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentFormat HoverClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTriggerCharacters CompletionRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe (List String)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommands ExecuteCommandRegistrationOptions (List Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRegistrations RegistrationParams (List Registration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUnregistrations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems CompletionListType (List CompletionItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasItems ConfigurationParams (List ConfigurationItem) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics CodeAction (Maybe (List Diagnostic)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments Command (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasArguments ExecuteCommandParams (Maybe (List Value)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCommitCharacters CompletionItem (Maybe (List Text)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits CompletionItem (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits ColorPresentation (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChildren DocumentSymbol (Maybe (List DocumentSymbol)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Eq a => Eq (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

(==) :: List a -> List a -> Bool #

(/=) :: List a -> List a -> Bool #

Ord a => Ord (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

compare :: List a -> List a -> Ordering #

(<) :: List a -> List a -> Bool #

(<=) :: List a -> List a -> Bool #

(>) :: List a -> List a -> Bool #

(>=) :: List a -> List a -> Bool #

max :: List a -> List a -> List a #

min :: List a -> List a -> List a #

Read a => Read (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Show a => Show (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

showsPrec :: Int -> List a -> ShowS #

show :: List a -> String #

showList :: [List a] -> ShowS #

Generic (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Associated Types

type Rep (List a) :: Type -> Type #

Methods

from :: List a -> Rep (List a) x #

to :: Rep (List a) x -> List a #

Semigroup (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

(<>) :: List a -> List a -> List a #

sconcat :: NonEmpty (List a) -> List a #

stimes :: Integral b => b -> List a -> List a #

Monoid (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

mempty :: List a #

mappend :: List a -> List a -> List a #

mconcat :: [List a] -> List a #

ToJSON a => ToJSON (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

FromJSON a => FromJSON (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

NFData a => NFData (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

Methods

rnf :: List a -> () #

type Rep (List a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.List

type Rep (List a) = D1 (MetaData "List" "Language.Haskell.LSP.Types.List" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" True) (C1 (MetaCons "List" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [a])))

data Position Source #

Constructors

Position 

Fields

Instances
Eq Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Ord Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Read Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Show Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Generic Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Associated Types

type Rep Position :: Type -> Type #

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

ToJSON Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

FromJSON Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

NFData Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

rnf :: Position -> () #

HasPosition TextDocumentPositionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition ReferenceParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition RenameParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLine Position Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCharacter Position Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasStart Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEnd Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

type Rep Position = D1 (MetaData "Position" "Language.Haskell.LSP.Types.Location" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" False) (C1 (MetaCons "Position" PrefixI True) (S1 (MetaSel (Just "_line") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "_character") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

data Range Source #

Constructors

Range 

Fields

Instances
Eq Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

(==) :: Range -> Range -> Bool #

(/=) :: Range -> Range -> Bool #

Ord Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

compare :: Range -> Range -> Ordering #

(<) :: Range -> Range -> Bool #

(<=) :: Range -> Range -> Bool #

(>) :: Range -> Range -> Bool #

(>=) :: Range -> Range -> Bool #

max :: Range -> Range -> Range #

min :: Range -> Range -> Range #

Read Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Show Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

Generic Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

ToJSON Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

FromJSON Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

NFData Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

rnf :: Range -> () #

HasRange Location Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange Diagnostic Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange TextEdit Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange ColorInformation Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange ColorPresentationParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange CodeActionParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentHighlight Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange CodeLens Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentLink Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange DocumentRangeFormattingParams Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasStart Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEnd Range Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRange Hover (Maybe Range) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

type Rep Range = D1 (MetaData "Range" "Language.Haskell.LSP.Types.Location" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" False) (C1 (MetaCons "Range" PrefixI True) (S1 (MetaSel (Just "_start") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Position) :*: S1 (MetaSel (Just "_end") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Position)))

data Location Source #

Constructors

Location 

Fields

Instances
Eq Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Ord Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Read Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Show Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Generic Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

ToJSON Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

FromJSON Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

NFData Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

Methods

rnf :: Location -> () #

HasRange Location Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri Location Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation SymbolInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation DiagnosticRelatedInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Location

type Rep Location = D1 (MetaData "Location" "Language.Haskell.LSP.Types.Location" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" False) (C1 (MetaCons "Location" PrefixI True) (S1 (MetaSel (Just "_uri") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Uri) :*: S1 (MetaSel (Just "_range") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Range)))

data MarkupKind Source #

Describes the content type that a client supports in various result literals like Hover, ParameterInfo or CompletionItem.

Constructors

MkPlainText

Plain text is supported as a content format

MkMarkdown

Markdown is supported as a content format

Instances
Eq MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Read MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Show MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

ToJSON MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

FromJSON MarkupKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

HasDocumentationFormat CompletionItemClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContentFormat HoverClientCapabilities (Maybe (List MarkupKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data MarkupContent Source #

A MarkupContent literal represents a string value which content is interpreted base on its | kind flag. Currently the protocol supports plaintext and markdown as markup kinds. | | If the kind is markdown then the value can contain fenced code blocks like in GitHub issues. | See https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting | | Here is an example how such a string can be constructed using JavaScript / TypeScript: | ```ts | let markdown: MarkdownContent = { | kind: MarkupKind.Markdown, | value: [ | '# Header', | 'Some text', | '``typescript, | 'someCode();', | '```' | ].join('\n') | }; | ``` | | *Please Note* that clients might sanitize the return markdown. A client could decide to | remove HTML from the markdown to avoid script execution.

Constructors

MarkupContent 

Fields

Instances
Eq MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Read MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Show MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Semigroup MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

Monoid MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

ToJSON MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

FromJSON MarkupContent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.MarkupContent

markedUpContent :: Text -> Text -> MarkupContent Source #

Create a MarkupContent containing a quoted language string only.

unmarkedUpContent :: Text -> MarkupContent Source #

Create a MarkupContent containing unquoted text

sectionSeparator :: Text Source #

Markdown for a section separator in Markdown, being a horizontal line

data LspId Source #

Id used for a request, Can be either a String or an Int

Constructors

IdInt Int 
IdString Text 
Instances
Eq LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

(==) :: LspId -> LspId -> Bool #

(/=) :: LspId -> LspId -> Bool #

Ord LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

compare :: LspId -> LspId -> Ordering #

(<) :: LspId -> LspId -> Bool #

(<=) :: LspId -> LspId -> Bool #

(>) :: LspId -> LspId -> Bool #

(>=) :: LspId -> LspId -> Bool #

max :: LspId -> LspId -> LspId #

min :: LspId -> LspId -> LspId #

Read LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

showsPrec :: Int -> LspId -> ShowS #

show :: LspId -> String #

showList :: [LspId] -> ShowS #

Hashable LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

hashWithSalt :: Int -> LspId -> Int #

hash :: LspId -> Int #

ToJSON LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasId CancelParams LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasId (RequestMessage m req resp) LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

id :: Lens' (RequestMessage m req resp) LspId Source #

data LspIdRsp Source #

Id used for a response, Can be either a String or an Int, or Null. If a request doesn't provide a result value the receiver of a request still needs to return a response message to conform to the JSON RPC specification. The result property of the ResponseMessage should be set to null in this case to signal a successful request.

responseId :: LspId -> LspIdRsp Source #

Converts an LspId to its LspIdRsp counterpart.

requestId :: LspIdRsp -> LspId Source #

Converts an LspIdRsp to its LspId counterpart.

data ClientMethod Source #

Instances
Eq ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Ord ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasMethod Registration ClientMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ServerMethod Source #

Instances
Eq ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Ord ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON ServerMethod Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

data RequestMessage m req resp Source #

Constructors

RequestMessage 

Fields

Instances
(Eq m, Eq req) => Eq (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

(==) :: RequestMessage m req resp -> RequestMessage m req resp -> Bool #

(/=) :: RequestMessage m req resp -> RequestMessage m req resp -> Bool #

(Read m, Read req) => Read (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

readsPrec :: Int -> ReadS (RequestMessage m req resp) #

readList :: ReadS [RequestMessage m req resp] #

readPrec :: ReadPrec (RequestMessage m req resp) #

readListPrec :: ReadPrec [RequestMessage m req resp] #

(Show m, Show req) => Show (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

showsPrec :: Int -> RequestMessage m req resp -> ShowS #

show :: RequestMessage m req resp -> String #

showList :: [RequestMessage m req resp] -> ShowS #

(ToJSON m, ToJSON req, ToJSON resp) => ToJSON (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

toJSON :: RequestMessage m req resp -> Value #

toEncoding :: RequestMessage m req resp -> Encoding #

toJSONList :: [RequestMessage m req resp] -> Value #

toEncodingList :: [RequestMessage m req resp] -> Encoding #

(FromJSON m, FromJSON req, FromJSON resp) => FromJSON (RequestMessage m req resp) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Methods

parseJSON :: Value -> Parser (RequestMessage m req resp) #

parseJSONList :: Value -> Parser [RequestMessage m req resp] #

HasMethod (RequestMessage m req resp) m Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

method :: Lens' (RequestMessage m req resp) m Source #

HasId (RequestMessage m req resp) LspId Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

id :: Lens' (RequestMessage m req resp) LspId Source #

HasParams (RequestMessage m req resp) req Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

params :: Lens' (RequestMessage m req resp) req Source #

HasJsonrpc (RequestMessage m req resp) Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

Methods

jsonrpc :: Lens' (RequestMessage m req resp) Text Source #

data ResponseError Source #

Constructors

ResponseError 
Instances
Eq ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON ResponseError Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasMessage ResponseError Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCode ResponseError ErrorCode Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXdata ResponseError (Maybe Value) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasError (ResponseMessage a) (Maybe ResponseError) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ResponseMessage a Source #

Either result or error must be Just.

Instances
Eq a => Eq (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Read a => Read (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

Show a => Show (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

ToJSON a => ToJSON (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

FromJSON a => FromJSON (ResponseMessage a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasId (ResponseMessage a) LspIdRsp Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasJsonrpc (ResponseMessage a) Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasResult (ResponseMessage a) (Maybe a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasError (ResponseMessage a) (Maybe ResponseError) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data NotificationMessage m a Source #

Constructors

NotificationMessage 

Fields

Instances
(Eq m, Eq a) => Eq (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(Read m, Read a) => Read (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(Show m, Show a) => Show (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(ToJSON m, ToJSON a) => ToJSON (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

(FromJSON m, FromJSON a) => FromJSON (NotificationMessage m a) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Message

HasMethod (NotificationMessage m a) m Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasParams (NotificationMessage m a) a Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasJsonrpc (NotificationMessage m a) Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ProgressToken Source #

A token used to report progress back or return partial results for a specific request. @since 0.17.0.0

Instances
Eq ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Progress

Ord ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Progress

Read ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Progress

Show ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Progress

ToJSON ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Progress

FromJSON ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Progress

HasToken WorkDoneProgressCancelParams ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasToken WorkDoneProgressCreateParams ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken TextDocumentPositionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken FoldingRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken CompletionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentColorParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken ColorPresentationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken CodeActionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken ReferenceParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken WorkspaceSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken CodeLensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentLinkParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentRangeFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken RenameParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken ExecuteCommandParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasToken (ProgressParams t) ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentSymbolParams Source #

Constructors

DocumentSymbolParams 

Fields

Instances
Eq DocumentSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read DocumentSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show DocumentSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON DocumentSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON DocumentSymbolParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasTextDocument DocumentSymbolParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken DocumentSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SymbolKind Source #

Instances
Eq SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasKind DocumentSymbol SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind SymbolInformation SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet SymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasValueSet DocumentSymbolKindClientCapabilities (Maybe (List SymbolKind)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DocumentSymbol Source #

Represents programming constructs like variables, classes, interfaces etc. that appear in a document. Document symbols can be hierarchical and they have two ranges: one that encloses its definition and one that points to its most interesting range, e.g. the range of an identifier.

Constructors

DocumentSymbol 

Fields

  • _name :: Text

    The name of this symbol. | More detail for this symbol, e.g the signature of a function. If not provided the name is used.

  • _detail :: Maybe Text
     
  • _kind :: SymbolKind

    The kind of this symbol.

  • _deprecated :: Maybe Bool

    Indicates if this symbol is deprecated. | The range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the the clients cursor is inside the symbol to reveal in the symbol in the UI.

  • _range :: Range
     
  • _selectionRange :: Range

    The range that should be selected and revealed when this symbol is being picked, e.g the name of a function. Must be contained by the the DocumentSymbol.

  • _children :: Maybe (List DocumentSymbol)

    Children of this symbol, e.g. properties of a class.

Instances
Eq DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON DocumentSymbol Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasKind DocumentSymbol SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasName DocumentSymbol Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDetail DocumentSymbol (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDeprecated DocumentSymbol (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChildren DocumentSymbol (Maybe (List DocumentSymbol)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data SymbolInformation Source #

Represents information about programming constructs like variables, classes, interfaces etc.

Constructors

SymbolInformation 

Fields

  • _name :: Text

    The name of this symbol.

  • _kind :: SymbolKind

    The kind of this symbol.

  • _deprecated :: Maybe Bool

    Indicates if this symbol is deprecated. | The location of this symbol. The location's range is used by a tool to reveal the location in the editor. If the symbol is selected in the tool the range's start information is used to position the cursor. So the range usually spans more then the actual symbol's name and does normally include things like visibility modifiers.

    The range doesn't have to denote a node range in the sense of a abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.

  • _location :: Location
     
  • _containerName :: Maybe Text

    The name of the symbol containing this symbol. This information is for user interface purposes (e.g. to render a qualifier in the user interface if necessary). It can't be used to re-infer a hierarchy for the document symbols.

Instances
Eq SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Read SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

Show SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

ToJSON SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

FromJSON SymbolInformation Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Symbol

HasKind SymbolInformation SymbolKind Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasName SymbolInformation Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLocation SymbolInformation Location Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDeprecated SymbolInformation (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasContainerName SymbolInformation (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentIdentifier Source #

Constructors

TextDocumentIdentifier 

Fields

Instances
Eq TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Read TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Show TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

ToJSON TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

FromJSON TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

HasTextDocument TextDocumentPositionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument FoldingRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentSymbolParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument CompletionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentColorParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument ColorPresentationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument CodeActionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument ReferenceParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument CodeLensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentLinkParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument RenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentItem Source #

Constructors

TextDocumentItem 

Fields

Instances
Eq TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Read TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Show TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

ToJSON TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

FromJSON TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasText TextDocumentItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentItem Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasVersion TextDocumentItem Int Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasLanguageId TextDocumentItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentPositionParams Source #

Constructors

TextDocumentPositionParams 

Fields

Instances
Eq TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Read TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

Show TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

ToJSON TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

FromJSON TextDocumentPositionParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.TextDocument

HasTextDocument TextDocumentPositionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPosition TextDocumentPositionParams Position Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkDoneToken TextDocumentPositionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

newtype Uri Source #

Constructors

Uri 

Fields

Instances
Eq Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

(==) :: Uri -> Uri -> Bool #

(/=) :: Uri -> Uri -> Bool #

Ord Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

compare :: Uri -> Uri -> Ordering #

(<) :: Uri -> Uri -> Bool #

(<=) :: Uri -> Uri -> Bool #

(>) :: Uri -> Uri -> Bool #

(>=) :: Uri -> Uri -> Bool #

max :: Uri -> Uri -> Uri #

min :: Uri -> Uri -> Uri #

Read Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Show Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

showsPrec :: Int -> Uri -> ShowS #

show :: Uri -> String #

showList :: [Uri] -> ShowS #

Generic Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Associated Types

type Rep Uri :: Type -> Type #

Methods

from :: Uri -> Rep Uri x #

to :: Rep Uri x -> Uri #

Hashable Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

hashWithSalt :: Int -> Uri -> Int #

hash :: Uri -> Int #

ToJSON Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

ToJSONKey Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

FromJSON Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

FromJSONKey Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

NFData Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Methods

rnf :: Uri -> () #

HasUri Location Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri TextDocumentItem Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri VersionedTextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri FileEvent Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri PublishDiagnosticsParams Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRootUri InitializeParams (Maybe Uri) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type Rep Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

type Rep Uri = D1 (MetaData "Uri" "Language.Haskell.LSP.Types.Uri" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" True) (C1 (MetaCons "Uri" PrefixI True) (S1 (MetaSel (Just "getUri") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

newtype NormalizedUri Source #

When URIs are supposed to be used as keys, it is important to normalize the percent encoding in the URI since URIs that only differ when it comes to the percent-encoding should be treated as equivalent.

Constructors

NormalizedUri Text 
Instances
Eq NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Ord NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Read NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Show NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Generic NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

Associated Types

type Rep NormalizedUri :: Type -> Type #

Hashable NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

type Rep NormalizedUri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Uri

type Rep NormalizedUri = D1 (MetaData "NormalizedUri" "Language.Haskell.LSP.Types.Uri" "haskell-lsp-types-0.18.0.0-BFV30xQmmiA7agSuAwZhVT" True) (C1 (MetaCons "NormalizedUri" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

platformAdjustFromUriPath Source #

Arguments

:: SystemOS 
-> Maybe String

authority

-> String

path

-> FilePath 

We pull in the authority because in relative file paths the Uri likes to put everything before the slash into the authority field

data MessageType Source #

Constructors

MtError

Error = 1,

MtWarning

Warning = 2,

MtInfo

Info = 3,

MtLog

Log = 4

Instances
Enum MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Eq MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Ord MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasXtype ShowMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXtype ShowMessageRequestParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasXtype LogMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ShowMessageParams Source #

Constructors

ShowMessageParams 
Instances
Eq ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON ShowMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasXtype ShowMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage ShowMessageParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data MessageActionItem Source #

Constructors

MessageActionItem 

Fields

Instances
Eq MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON MessageActionItem Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasTitle MessageActionItem Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActions ShowMessageRequestParams (Maybe [MessageActionItem]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ShowMessageRequestParams Source #

Instances
Eq ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON ShowMessageRequestParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasXtype ShowMessageRequestParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage ShowMessageRequestParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasActions ShowMessageRequestParams (Maybe [MessageActionItem]) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data LogMessageParams Source #

Constructors

LogMessageParams 
Instances
Eq LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON LogMessageParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasXtype LogMessageParams MessageType Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage LogMessageParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data ProgressParams t Source #

Parameters for a $/progress notification.

Constructors

ProgressParams 

Fields

Instances
Eq t => Eq (ProgressParams t) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read t => Read (ProgressParams t) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show t => Show (ProgressParams t) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON t => ToJSON (ProgressParams t) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON t => FromJSON (ProgressParams t) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasValue (ProgressParams t) t Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasToken (ProgressParams t) ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkDoneProgressBeginParams Source #

Parameters for WorkDoneProgressBeginNotification.

Since: 0.10.0.0

Constructors

WorkDoneProgressBeginParams 

Fields

  • _title :: Text

    Mandatory title of the progress operation. Used to briefly inform about the kind of operation being performed. Examples: Indexing or "Linking dependencies".

  • _cancellable :: Maybe Bool

    Controls if a cancel button should show to allow the user to cancel the long running operation. Clients that don't support cancellation are allowed to ignore the setting.

  • _message :: Maybe Text

    Optional, more detailed associated progress message. Contains complementary information to the WorkDoneProgressBeginParams. Examples: "3/25 files", "projectsrcmodule2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.

  • _percentage :: Maybe Double

    Optional progress percentage to display (value 100 is considered 100%). If not provided infinite progress is assumed and clients are allowed to ignore the WorkDoneProgressBeginParams value in subsequent in report notifications.

    The value should be steadily rising. Clients are free to ignore values that are not following this rule.

Instances
Eq WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasTitle WorkDoneProgressBeginParams Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasMessage WorkDoneProgressBeginParams (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPercentage WorkDoneProgressBeginParams (Maybe Double) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCancellable WorkDoneProgressBeginParams (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type WorkDoneProgressBeginNotification = NotificationMessage ServerMethod (ProgressParams WorkDoneProgressBeginParams) Source #

The $/progress begin notification is sent from the server to the client to ask the client to start progress.

Since: 0.10.0.0

data WorkDoneProgressReportParams Source #

Parameters for WorkDoneProgressReportNotification

Since: 0.10.0.0

Constructors

WorkDoneProgressReportParams 

Fields

  • _cancellable :: Maybe Bool
     
  • _message :: Maybe Text

    Optional, more detailed associated progress message. Contains complementary information to the WorkDoneProgressBeginParams. Examples: "3/25 files", "projectsrcmodule2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.

  • _percentage :: Maybe Double

    Optional progress percentage to display (value 100 is considered 100%). If infinite progress was indicated in the start notification client are allowed to ignore the value. In addition the value should be steadily rising. Clients are free to ignore values that are not following this rule.

Instances
Eq WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasMessage WorkDoneProgressReportParams (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasPercentage WorkDoneProgressReportParams (Maybe Double) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasCancellable WorkDoneProgressReportParams (Maybe Bool) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type WorkDoneProgressReportNotification = NotificationMessage ServerMethod (ProgressParams WorkDoneProgressReportParams) Source #

The workdone $/progress report notification is sent from the server to the client to report progress for a previously started progress.

Since: 0.10.0.0

data WorkDoneProgressEndParams Source #

Parameters for WorkDoneProgressEndNotification.

Since: 0.10.0.0

Instances
Eq WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasMessage WorkDoneProgressEndParams (Maybe Text) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type WorkDoneProgressEndNotification = NotificationMessage ServerMethod (ProgressParams WorkDoneProgressEndParams) Source #

The $/progress end notification is sent from the server to the client to stop a previously started progress.

Since: 0.10.0.0

data WorkDoneProgressCancelParams Source #

Parameters for WorkDoneProgressCancelNotification.

Since: 0.10.0.0

Constructors

WorkDoneProgressCancelParams 

Fields

  • _token :: ProgressToken

    A unique identifier to associate multiple progress notifications with the same progress.

Instances
Eq WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasToken WorkDoneProgressCancelParams ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

type WorkDoneProgressCancelNotification = NotificationMessage ClientMethod WorkDoneProgressCancelParams Source #

The windowworkDoneProgresscancel notification is sent from the client to the server to inform the server that the user has pressed the cancel button on the progress UX. A server receiving a cancel request must still close a progress using the done notification.

Since: 0.10.0.0

data WorkDoneProgressCreateParams Source #

Instances
Eq WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Read WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

Show WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

ToJSON WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

FromJSON WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Window

HasToken WorkDoneProgressCreateParams ProgressToken Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextEdit Source #

Constructors

TextEdit 

Fields

Instances
Eq TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON TextEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasRange TextEdit Range Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasNewText TextEdit Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit CompletionItem (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextEdit ColorPresentation (Maybe TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits CompletionItem (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdditionalTextEdits ColorPresentation (Maybe (List TextEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data VersionedTextDocumentIdentifier Source #

Instances
Eq VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasUri VersionedTextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasVersion VersionedTextDocumentIdentifier TextDocumentVersion Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data TextDocumentEdit Source #

Instances
Eq TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON TextDocumentEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceEdit Source #

Instances
Eq WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Read WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Show WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Semigroup WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

Monoid WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceEdit

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

applyTextEdit :: TextEdit -> Text -> Text Source #

Applies a TextEdit to some Text. >>> applyTextEdit (TextEdit (Range (Position 0 1) (Position 0 2)) "i") "foo" "fio"

editTextEdit :: TextEdit -> TextEdit -> TextEdit Source #

editTextEdit outer inner applies inner to the text inside outer.

data WorkspaceFolder Source #

Constructors

WorkspaceFolder 

Fields

  • _uri :: Text

    The name of the workspace folder. Defaults to the uri's basename.

  • _name :: Text

    The name of the workspace folder. Defaults to the uri's basename.

Instances
Eq WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Read WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Show WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

ToJSON WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

FromJSON WorkspaceFolder Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

HasUri WorkspaceFolder Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasName WorkspaceFolder Text Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data WorkspaceFoldersChangeEvent Source #

The workspace folder change event.

Constructors

WorkspaceFoldersChangeEvent 

Fields

Instances
Eq WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Read WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Show WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

ToJSON WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

FromJSON WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens

data DidChangeWorkspaceFoldersParams Source #

Constructors

DidChangeWorkspaceFoldersParams 

Fields

Instances
Eq DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Read DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

Show DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

ToJSON DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

FromJSON DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.Haskell.LSP.Types.WorkspaceFolders

HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.Haskell.LSP.Types.Lens