lsp-types-1.0.0.1: 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

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

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

HasSelectionRange TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) 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

HasColorProvider TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) 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

HasTextDocument ClientCapabilities (Maybe TextDocumentClientCapabilities) 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

HasWindow ClientCapabilities (Maybe WindowClientCapabilities) 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

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

HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) 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

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

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

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

HasTextEdit CompletionItem (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) 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

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

Defined in Language.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceEdit Source #

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

HasDocumentChanges WorkspaceEdit (Maybe (List TextDocumentEdit)) 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

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 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

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

Defined in Language.LSP.Types.Lens

HasFailureHandling WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentChanges WorkspaceEditClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspaceEdit WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) 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.

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

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