lsp-types-1.4.0.0: Haskell library for the Microsoft Language Server Protocol, data types
Safe HaskellNone
LanguageHaskell2010

Language.LSP.Types.Capabilities

Synopsis

Documentation

data WorkspaceClientCapabilities Source #

Constructors

WorkspaceClientCapabilities 

Fields

Instances

Instances details
Eq WorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read WorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show WorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON WorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON WorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Default WorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasWorkspaceFolders WorkspaceClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspaceEdit WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSymbol WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSemanticTokens WorkspaceClientCapabilities (Maybe SemanticTokensWorkspaceClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExecuteCommand WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDidChangeWatchedFiles WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDidChangeConfiguration WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasConfiguration WorkspaceClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasApplyEdit WorkspaceClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspace ClientCapabilities (Maybe WorkspaceClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentClientCapabilities Source #

Constructors

TextDocumentClientCapabilities 

Fields

Instances

Instances details
Eq TextDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read TextDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show TextDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON TextDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON TextDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Default TextDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasSemanticTokens TextDocumentClientCapabilities (Maybe SemanticTokensClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument ClientCapabilities (Maybe TextDocumentClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasColorProvider TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRange TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTypeDefinition TextDocumentClientCapabilities (Maybe TypeDefinitionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSynchronization TextDocumentClientCapabilities (Maybe TextDocumentSyncClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureHelp TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRename TextDocumentClientCapabilities (Maybe RenameClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasReferences TextDocumentClientCapabilities (Maybe ReferencesClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeFormatting TextDocumentClientCapabilities (Maybe DocumentRangeFormattingClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPublishDiagnostics TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOnTypeFormatting TextDocumentClientCapabilities (Maybe DocumentOnTypeFormattingClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasImplementation TextDocumentClientCapabilities (Maybe ImplementationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasHover TextDocumentClientCapabilities (Maybe HoverClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFormatting TextDocumentClientCapabilities (Maybe DocumentFormattingClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFoldingRange TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSymbol TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentLink TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentHighlight TextDocumentClientCapabilities (Maybe DocumentHighlightClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDefinition TextDocumentClientCapabilities (Maybe DefinitionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeclaration TextDocumentClientCapabilities (Maybe DeclarationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletion TextDocumentClientCapabilities (Maybe CompletionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeLens TextDocumentClientCapabilities (Maybe CodeLensClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeAction TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCallHierarchy TextDocumentClientCapabilities (Maybe CallHierarchyClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data MessageActionItemClientCapabilities Source #

Capabilities specific to the MessageActionItem type.

Constructors

MessageActionItemClientCapabilities 

Fields

Instances

Instances details
Eq MessageActionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read MessageActionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show MessageActionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON MessageActionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON MessageActionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasAdditionalPropertiesSupport MessageActionItemClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMessageActionItem ShowMessageRequestClientCapabilities (Maybe MessageActionItemClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ShowMessageRequestClientCapabilities Source #

Show message request client capabilities

Constructors

ShowMessageRequestClientCapabilities 

Fields

Instances

Instances details
Eq ShowMessageRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read ShowMessageRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show ShowMessageRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON ShowMessageRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON ShowMessageRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasMessageActionItem ShowMessageRequestClientCapabilities (Maybe MessageActionItemClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasShowMessage WindowClientCapabilities (Maybe ShowMessageRequestClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ShowDocumentClientCapabilities Source #

Client capabilities for the show document request.

Since: 3.16.0

Constructors

ShowDocumentClientCapabilities 

Fields

  • _support :: Bool

    The client has support for the show document request

Instances

Instances details
Eq ShowDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read ShowDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show ShowDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON ShowDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON ShowDocumentClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasSupport ShowDocumentClientCapabilities Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasShowDocument WindowClientCapabilities (Maybe ShowDocumentClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WindowClientCapabilities Source #

Window specific client capabilities.

Constructors

WindowClientCapabilities 

Fields

Instances

Instances details
Eq WindowClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read WindowClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show WindowClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON WindowClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON WindowClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Default WindowClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasWorkDoneProgress WindowClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasShowMessage WindowClientCapabilities (Maybe ShowMessageRequestClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasShowDocument WindowClientCapabilities (Maybe ShowDocumentClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWindow ClientCapabilities (Maybe WindowClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data StaleRequestClientCapabilities Source #

Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated). @since 3.17.0

Instances

Instances details
Eq StaleRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read StaleRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show StaleRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON StaleRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON StaleRequestClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasCancel StaleRequestClientCapabilities Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRetryOnContentModified StaleRequestClientCapabilities (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasStaleRequestSupport GeneralClientCapabilities (Maybe StaleRequestClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data RegularExpressionsClientCapabilities Source #

Client capabilities specific to the used markdown parser. @since 3.16.0

Instances

Instances details
Eq RegularExpressionsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read RegularExpressionsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show RegularExpressionsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON RegularExpressionsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON RegularExpressionsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasEngine RegularExpressionsClientCapabilities Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion RegularExpressionsClientCapabilities (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRegularExpressions GeneralClientCapabilities (Maybe RegularExpressionsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data GeneralClientCapabilities Source #

General client capabilities. @since 3.16.0

Constructors

GeneralClientCapabilities 

Fields

Instances

Instances details
Eq GeneralClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read GeneralClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show GeneralClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON GeneralClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON GeneralClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Default GeneralClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasStaleRequestSupport GeneralClientCapabilities (Maybe StaleRequestClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRegularExpressions GeneralClientCapabilities (Maybe RegularExpressionsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMarkdown GeneralClientCapabilities (Maybe MarkdownClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasGeneral ClientCapabilities (Maybe GeneralClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ClientCapabilities Source #

Constructors

ClientCapabilities 

Fields

Instances

Instances details
Eq ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Read ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Show ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

ToJSON ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

FromJSON ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

Default ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ClientCapabilities

HasCapabilities InitializeParams ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspace ClientCapabilities (Maybe WorkspaceClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWindow ClientCapabilities (Maybe WindowClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument ClientCapabilities (Maybe TextDocumentClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasGeneral ClientCapabilities (Maybe GeneralClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExperimental ClientCapabilities (Maybe Object) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceFoldersServerCapabilities Source #

Constructors

WorkspaceFoldersServerCapabilities 

Fields

  • _supported :: Maybe Bool

    The server has support for workspace folders

  • _changeNotifications :: Maybe (Text |? Bool)

    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

Instances details
Eq WorkspaceFoldersServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

Read WorkspaceFoldersServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

Show WorkspaceFoldersServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

ToJSON WorkspaceFoldersServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

FromJSON WorkspaceFoldersServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

HasWorkspaceFolders WorkspaceServerCapabilities (Maybe WorkspaceFoldersServerCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSupported WorkspaceFoldersServerCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChangeNotifications WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceServerCapabilities Source #

Constructors

WorkspaceServerCapabilities 

Fields

Instances

Instances details
Eq WorkspaceServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

Read WorkspaceServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

Show WorkspaceServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

ToJSON WorkspaceServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

FromJSON WorkspaceServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

HasWorkspaceFolders WorkspaceServerCapabilities (Maybe WorkspaceFoldersServerCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspace ServerCapabilities (Maybe WorkspaceServerCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ServerCapabilities Source #

Constructors

ServerCapabilities 

Fields

Instances

Instances details
Eq ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

Read ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

Show ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

ToJSON ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

FromJSON ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.ServerCapabilities

HasCapabilities InitializeResult ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspace ServerCapabilities (Maybe WorkspaceServerCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExperimental ServerCapabilities (Maybe Value) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspaceSymbolProvider ServerCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTypeDefinitionProvider ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocumentSync ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureHelpProvider ServerCapabilities (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSemanticTokensProvider ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRangeProvider ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRenameProvider ServerCapabilities (Maybe (Bool |? RenameOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasReferencesProvider ServerCapabilities (Maybe (Bool |? ReferenceOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasImplementationProvider ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasHoverProvider ServerCapabilities (Maybe (Bool |? HoverOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFoldingRangeProvider ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExecuteCommandProvider ServerCapabilities (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSymbolProvider ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentRangeFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentOnTypeFormattingProvider ServerCapabilities (Maybe DocumentOnTypeFormattingOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentLinkProvider ServerCapabilities (Maybe DocumentLinkOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentHighlightProvider ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDefinitionProvider ServerCapabilities (Maybe (Bool |? DefinitionOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeclarationProvider ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletionProvider ServerCapabilities (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeLensProvider ServerCapabilities (Maybe CodeLensOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionProvider ServerCapabilities (Maybe (Bool |? CodeActionOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCallHierarchyProvider ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextEdit Source #

Constructors

TextEdit 

Fields

Instances

Instances details
Eq TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasRange TextEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewText TextEdit Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextEdit ColorPresentation (Maybe TextEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasEdits TextDocumentEdit (List (TextEdit |? AnnotatedTextEdit)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ChangeAnnotation Source #

Additional information that describes document changes.

Since: 3.16.0

Constructors

ChangeAnnotation 

Fields

  • _label :: Text

    A human-readable string describing the actual change. The string is rendered prominent in the user interface.

  • _needsConfirmation :: Maybe Bool

    A flag which indicates that user confirmation is needed before applying the change.

  • _description :: Maybe Text

    A human-readable string which is rendered less prominent in the user interface.

Instances

Instances details
Eq ChangeAnnotation Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ChangeAnnotation Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ChangeAnnotation Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ChangeAnnotation Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ChangeAnnotation Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasLabel ChangeAnnotation Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNeedsConfirmation ChangeAnnotation (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDescription ChangeAnnotation (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChangeAnnotations WorkspaceEdit (Maybe ChangeAnnotationMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

newtype ChangeAnnotationIdentifier Source #

An identifier referring to a change annotation managed by a workspace edit.

Since: 3.16.0

Instances

Instances details
Eq ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Hashable ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSONKey ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSONKey ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasAnnotationId AnnotatedTextEdit ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId CreateFile (Maybe ChangeAnnotationIdentifier) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId RenameFile (Maybe ChangeAnnotationIdentifier) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId DeleteFile (Maybe ChangeAnnotationIdentifier) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChangeAnnotations WorkspaceEdit (Maybe ChangeAnnotationMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data AnnotatedTextEdit Source #

Instances

Instances details
Eq AnnotatedTextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read AnnotatedTextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show AnnotatedTextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON AnnotatedTextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON AnnotatedTextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasRange AnnotatedTextEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewText AnnotatedTextEdit Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId AnnotatedTextEdit ChangeAnnotationIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdits TextDocumentEdit (List (TextEdit |? AnnotatedTextEdit)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentEdit Source #

Instances

Instances details
Eq TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdits TextDocumentEdit (List (TextEdit |? AnnotatedTextEdit)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data CreateFileOptions Source #

Options to create a file.

Constructors

CreateFileOptions 

Fields

Instances

Instances details
Eq CreateFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read CreateFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show CreateFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON CreateFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON CreateFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasOptions CreateFile (Maybe CreateFileOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOverwrite CreateFileOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasIgnoreIfExists CreateFileOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CreateFile Source #

Create file operation

Constructors

CreateFile 

Fields

Instances

Instances details
Eq CreateFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read CreateFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show CreateFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON CreateFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON CreateFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasUri CreateFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions CreateFile (Maybe CreateFileOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId CreateFile (Maybe ChangeAnnotationIdentifier) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data RenameFileOptions Source #

Constructors

RenameFileOptions 

Fields

Instances

Instances details
Eq RenameFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read RenameFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show RenameFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON RenameFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON RenameFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasOptions RenameFile (Maybe RenameFileOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOverwrite RenameFileOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasIgnoreIfExists RenameFileOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data RenameFile Source #

Rename file operation

Constructors

RenameFile 

Fields

Instances

Instances details
Eq RenameFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read RenameFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show RenameFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON RenameFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON RenameFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasOldUri RenameFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewUri RenameFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions RenameFile (Maybe RenameFileOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId RenameFile (Maybe ChangeAnnotationIdentifier) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DeleteFileOptions Source #

Constructors

DeleteFileOptions 

Fields

Instances

Instances details
Eq DeleteFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read DeleteFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show DeleteFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON DeleteFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON DeleteFileOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasOptions DeleteFile (Maybe DeleteFileOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRecursive DeleteFileOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasIgnoreIfNotExists DeleteFileOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DeleteFile Source #

Delete file operation

Constructors

DeleteFile 

Fields

Instances

Instances details
Eq DeleteFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read DeleteFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show DeleteFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON DeleteFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON DeleteFile Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasUri DeleteFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DeleteFile (Maybe DeleteFileOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAnnotationId DeleteFile (Maybe ChangeAnnotationIdentifier) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

type DocumentChange = TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile)) Source #

`TextDocumentEdit |? CreateFile |? RenameFile |? DeleteFile` is a bit mouthful, here's the synonym

data WorkspaceEdit Source #

Constructors

WorkspaceEdit 

Fields

  • _changes :: Maybe WorkspaceEditMap

    Holds changes to existing resources.

  • _documentChanges :: Maybe (List DocumentChange)

    Depending on the client capability `workspace.workspaceEdit.resourceOperations` document changes are either an array of TextDocumentEdits to express changes to n different text documents where each text document edit addresses a specific version of a text document. Or it can contain above TextDocumentEdits mixed with create, rename and delete file / folder operations.

    Whether a client supports versioned document edits is expressed via `workspace.workspaceEdit.documentChanges` client capability.

    If a client neither supports documentChanges nor `workspace.workspaceEdit.resourceOperations` then only plain TextEdits using the changes property are supported.

  • _changeAnnotations :: Maybe ChangeAnnotationMap

    A map of change annotations that can be referenced in AnnotatedTextEdits or create, rename and delete file / folder operations.

    Whether clients honor this property depends on the client capability `workspace.changeAnnotationSupport`.

    Since: 3.16.0

Instances

Instances details
Eq WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Semigroup WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Monoid WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasChangeAnnotations WorkspaceEdit (Maybe ChangeAnnotationMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ResourceOperationKind Source #

Constructors

ResourceOperationCreate

Supports creating new files and folders.

ResourceOperationRename

Supports renaming existing files and folders.

ResourceOperationDelete

Supports deleting existing files and folders.

Instances

Instances details
Eq ResourceOperationKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ResourceOperationKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ResourceOperationKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ResourceOperationKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ResourceOperationKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasResourceOperations WorkspaceEditClientCapabilities (Maybe (List ResourceOperationKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FailureHandlingKind Source #

Constructors

FailureHandlingAbort

Applying the workspace change is simply aborted if one of the changes provided fails. All operations executed before the failing operation stay executed.

FailureHandlingTransactional

All operations are executed transactional. That means they either all succeed or no changes at all are applied to the workspace.

FailureHandlingTextOnlyTransactional

If the workspace edit contains only textual file changes they are executed transactional. If resource changes (create, rename or delete file) are part of the change the failure handling strategy is abort.

FailureHandlingUndo

The client tries to undo the operations already executed. But there is no guarantee that this is succeeding.

Instances

Instances details
Eq FailureHandlingKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read FailureHandlingKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show FailureHandlingKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON FailureHandlingKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON FailureHandlingKind Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasFailureHandling WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceEditChangeAnnotationClientCapabilities Source #

Constructors

WorkspaceEditChangeAnnotationClientCapabilities 

Fields

  • groupsOnLabel :: Maybe Bool

    Whether the client groups edits with equal labels into tree nodes, for instance all edits labelled with "Changes in Strings" would be a tree node.

Instances

Instances details
Eq WorkspaceEditChangeAnnotationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read WorkspaceEditChangeAnnotationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show WorkspaceEditChangeAnnotationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEditChangeAnnotationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEditChangeAnnotationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasChangeAnnotationSupport WorkspaceEditClientCapabilities (Maybe WorkspaceEditChangeAnnotationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceEditClientCapabilities Source #

Constructors

WorkspaceEditClientCapabilities 

Fields

Instances

Instances details
Eq WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasWorkspaceEdit WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentChanges WorkspaceEditClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResourceOperations WorkspaceEditClientCapabilities (Maybe (List ResourceOperationKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNormalizesLineEndings WorkspaceEditClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFailureHandling WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChangeAnnotationSupport WorkspaceEditClientCapabilities (Maybe WorkspaceEditChangeAnnotationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ApplyWorkspaceEditParams Source #

Constructors

ApplyWorkspaceEditParams 

Fields

  • _label :: Maybe Text

    An optional label of the workspace edit. This label is presented in the user interface for example on an undo stack to undo the workspace edit.

  • _edit :: WorkspaceEdit

    The edits to apply

Instances

Instances details
Eq ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLabel ApplyWorkspaceEditParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ApplyWorkspaceEditResponseBody Source #

Constructors

ApplyWorkspaceEditResponseBody 

Fields

  • _applied :: Bool

    Indicates whether the edit was applied or not.

  • _failureReason :: Maybe Text

    An optional textual description for why the edit was not applied. This may be used may be used by the server for diagnostic logging or to provide a suitable error for a request that triggered the edit.

  • _failedChange :: Maybe UInt

    Depending on the client's failure handling strategy failedChange might contain the index of the change that failed. This property is only available if the client signals a failureHandling strategy in its client capabilities.

Instances

Instances details
Eq ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasApplied ApplyWorkspaceEditResponseBody Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFailureReason ApplyWorkspaceEditResponseBody (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFailedChange ApplyWorkspaceEditResponseBody (Maybe UInt) Source # 
Instance details

Defined in Language.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.

fullCaps :: ClientCapabilities Source #

Capabilities for full conformance to the current (v3.15) LSP specification.

data LSPVersion Source #

A specific version of the LSP specification.

Constructors

LSPVersion Int Int

Construct a major.minor version

capsForVersion :: LSPVersion -> ClientCapabilities Source #

Capabilities for full conformance to the LSP specification up until a version. Some important milestones:

  • 3.12 textDocument/prepareRename request
  • 3.11 CodeActionOptions provided by the server
  • 3.10 hierarchical document symbols, folding ranges
  • 3.9 completion item preselect
  • 3.8 codeAction literals
  • 3.7 related information in diagnostics
  • 3.6 workspace folders, colors, goto type/implementation
  • 3.4 extended completion item and symbol item kinds
  • 3.0 dynamic registration