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

Language.LSP.Types

Synopsis

Documentation

data CallHierarchyClientCapabilities Source #

Instances

Instances details
Eq CallHierarchyClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasDynamicRegistration CallHierarchyClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCallHierarchy TextDocumentClientCapabilities (Maybe CallHierarchyClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyOptions Source #

Instances

Instances details
Eq CallHierarchyOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasWorkDoneProgress CallHierarchyOptions (Maybe Bool) 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 CallHierarchyRegistrationOptions Source #

Instances

Instances details
Eq CallHierarchyRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasWorkDoneProgress CallHierarchyRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasId CallHierarchyRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CallHierarchyRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyPrepareParams Source #

Instances

Instances details
Eq CallHierarchyPrepareParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyPrepareParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyPrepareParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyPrepareParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyPrepareParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasTextDocument CallHierarchyPrepareParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition CallHierarchyPrepareParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CallHierarchyPrepareParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyItem Source #

Constructors

CallHierarchyItem 

Fields

Instances

Instances details
Eq CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasName CallHierarchyItem Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind CallHierarchyItem SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri CallHierarchyItem Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange CallHierarchyItem Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRange CallHierarchyItem Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasItem CallHierarchyIncomingCallsParams CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasItem CallHierarchyOutgoingCallsParams CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFrom CallHierarchyIncomingCall CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTo CallHierarchyOutgoingCall CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata CallHierarchyItem (Maybe Value) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags CallHierarchyItem (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDetail CallHierarchyItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyIncomingCallsParams Source #

Instances

Instances details
Eq CallHierarchyIncomingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyIncomingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyIncomingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyIncomingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyIncomingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasItem CallHierarchyIncomingCallsParams CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyIncomingCall Source #

Constructors

CallHierarchyIncomingCall 

Fields

Instances

Instances details
Eq CallHierarchyIncomingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyIncomingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyIncomingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyIncomingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyIncomingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasFrom CallHierarchyIncomingCall CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFromRanges CallHierarchyIncomingCall (List Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyOutgoingCallsParams Source #

Instances

Instances details
Eq CallHierarchyOutgoingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyOutgoingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyOutgoingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyOutgoingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyOutgoingCallsParams Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasItem CallHierarchyOutgoingCallsParams CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CallHierarchyOutgoingCall Source #

Constructors

CallHierarchyOutgoingCall 

Fields

  • _to :: CallHierarchyItem

    The item that is called.

  • _fromRanges :: List Range

    The range at which this item is called. THis is the range relative to the caller, e.g the item passed to `callHierarchy/outgoingCalls` request.

Instances

Instances details
Eq CallHierarchyOutgoingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Read CallHierarchyOutgoingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

Show CallHierarchyOutgoingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

ToJSON CallHierarchyOutgoingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

FromJSON CallHierarchyOutgoingCall Source # 
Instance details

Defined in Language.LSP.Types.CallHierarchy

HasTo CallHierarchyOutgoingCall CallHierarchyItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFromRanges CallHierarchyOutgoingCall (List Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionKind Source #

Constructors

CodeActionEmpty

Empty kind.

CodeActionQuickFix

Base kind for quickfix actions: quickfix.

CodeActionRefactor

Base kind for refactoring actions: refactor.

CodeActionRefactorExtract

Base kind for refactoring extraction actions: refactor.extract. Example extract actions:

  • Extract method
  • Extract function
  • Extract variable
  • Extract interface from class
  • ...
CodeActionRefactorInline

Base kind for refactoring inline actions: refactor.inline.

Example inline actions:

  • Inline function
  • Inline variable
  • Inline constant
  • ...
CodeActionRefactorRewrite

Base kind for refactoring rewrite actions: refactor.rewrite.

Example rewrite actions:

  • Convert JavaScript function to class
  • Add or remove parameter
  • Encapsulate field
  • Make method static
  • Move method to base class
  • ...
CodeActionSource

Base kind for source actions: source.

Source code actions apply to the entire file.

CodeActionSourceOrganizeImports

Base kind for an organize imports source action: source.organizeImports.

CodeActionUnknown Text 

Instances

Instances details
Eq CodeActionKind Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionKind Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionKind Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

IsString CodeActionKind Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionKind Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionKind Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasKind CodeAction (Maybe CodeActionKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionKinds CodeActionOptions (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionKinds CodeActionRegistrationOptions (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOnly CodeActionContext (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

codeActionKindSubsumes :: CodeActionKind -> CodeActionKind -> Bool Source #

Does the first CodeActionKind subsume the other one, hierarchically. Reflexive.

specCodeActionKinds :: [CodeActionKind] Source #

The CodeActionKinds listed in the LSP spec specifically.

data CodeActionKindClientCapabilities Source #

Constructors

CodeActionKindClientCapabilities 

Fields

  • _valueSet :: List CodeActionKind

    The code action kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.

Instances

Instances details
Eq CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Default CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasCodeActionKind CodeActionLiteralSupport CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionLiteralSupport Source #

Constructors

CodeActionLiteralSupport 

Fields

Instances

Instances details
Eq CodeActionLiteralSupport Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionLiteralSupport Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionLiteralSupport Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionLiteralSupport Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionLiteralSupport Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasCodeActionKind CodeActionLiteralSupport CodeActionKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionLiteralSupport CodeActionClientCapabilities (Maybe CodeActionLiteralSupport) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionResolveClientCapabilities Source #

Constructors

CodeActionResolveClientCapabilities 

Fields

Instances

Instances details
Eq CodeActionResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasProperties CodeActionResolveClientCapabilities (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveSupport CodeActionClientCapabilities (Maybe CodeActionResolveClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionClientCapabilities Source #

Constructors

CodeActionClientCapabilities 

Fields

Instances

Instances details
Eq CodeActionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasDynamicRegistration CodeActionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveSupport CodeActionClientCapabilities (Maybe CodeActionResolveClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasIsPreferredSupport CodeActionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasHonorsChangeAnnotations CodeActionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDisabledSupport CodeActionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDataSupport CodeActionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionLiteralSupport CodeActionClientCapabilities (Maybe CodeActionLiteralSupport) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeAction TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionOptions Source #

Instances

Instances details
Eq CodeActionOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasWorkDoneProgress CodeActionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasResolveProvider CodeActionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionKinds CodeActionOptions (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionRegistrationOptions Source #

Instances

Instances details
Eq CodeActionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasWorkDoneProgress CodeActionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveProvider CodeActionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CodeActionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionKinds CodeActionRegistrationOptions (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionContext Source #

Contains additional diagnostic information about the context in which a code action is run.

Constructors

CodeActionContext 

Fields

  • _diagnostics :: List Diagnostic

    An array of diagnostics known on the client side overlapping the range provided to the textDocument/codeAction request. They are provided so that the server knows which errors are currently presented to the user for the given range. There is no guarantee that these accurately reflect the error state of the resource. The primary parameter to compute code actions is the provided range.

  • _only :: Maybe (List CodeActionKind)

    Requested kind of actions to return.

    Actions not of this kind are filtered out by the client before being shown. So servers can omit computing them.

Instances

Instances details
Eq CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasContext CodeActionParams CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOnly CodeActionContext (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeActionParams Source #

Instances

Instances details
Eq CodeActionParams Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeActionParams Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeActionParams Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeActionParams Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeActionParams Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasTextDocument CodeActionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange CodeActionParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContext CodeActionParams CodeActionContext Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CodeActionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CodeActionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeAction Source #

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 $sel:_command:CodeAction. If both are supplied, the $sel:_edit:CodeAction is applied first, then the $sel:_command:CodeAction is executed.

Constructors

CodeAction 

Fields

  • _title :: Text

    A short, human-readable, title for this code action.

  • _kind :: Maybe CodeActionKind

    The kind of the code action. Used to filter code actions.

  • _diagnostics :: Maybe (List Diagnostic)

    The diagnostics that this code action resolves.

  • _isPreferred :: Maybe Bool

    Marks this as a preferred action. Preferred actions are used by the `auto fix` command and can be targeted by keybindings.

    A quick fix should be marked preferred if it properly addresses the underlying error. A refactoring should be marked preferred if it is the most reasonable choice of actions to take.

    Since LSP 3.15.0

  • _disabled :: Maybe Reason

    Marks that the code action cannot currently be applied. | The workspace edit this code action performs.

  • _edit :: Maybe WorkspaceEdit
     
  • _command :: Maybe Command

    A command this code action executes. If a code action provides an edit and a command, first the edit is executed and then the command.

  • _xdata :: Maybe Value

    A data entry field that is preserved on a code action between a `textDocumentcodeAction` and a `codeActionresolve` request.

    Since: 3.16.0

Instances

Instances details
Eq CodeAction Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Read CodeAction Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

Show CodeAction Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

ToJSON CodeAction Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

FromJSON CodeAction Source # 
Instance details

Defined in Language.LSP.Types.CodeAction

HasTitle CodeAction Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind CodeAction (Maybe CodeActionKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata CodeAction (Maybe Value) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasIsPreferred CodeAction (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDisabled CodeAction (Maybe Reason) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeLensClientCapabilities Source #

Constructors

CodeLensClientCapabilities 

Fields

Instances

Instances details
Eq CodeLensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Read CodeLensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Show CodeLensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

ToJSON CodeLensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

FromJSON CodeLensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

HasDynamicRegistration CodeLensClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeLens TextDocumentClientCapabilities (Maybe CodeLensClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeLensOptions Source #

Instances

Instances details
Eq CodeLensOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Read CodeLensOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Show CodeLensOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

ToJSON CodeLensOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

FromJSON CodeLensOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

HasWorkDoneProgress CodeLensOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeLensProvider ServerCapabilities (Maybe CodeLensOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveProvider CodeLensOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeLensRegistrationOptions Source #

Instances

Instances details
Eq CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Read CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Show CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

ToJSON CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

FromJSON CodeLensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

HasWorkDoneProgress CodeLensRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveProvider CodeLensRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeLensParams Source #

Instances

Instances details
Eq CodeLensParams Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Read CodeLensParams Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

Show CodeLensParams Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

ToJSON CodeLensParams Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

FromJSON CodeLensParams Source # 
Instance details

Defined in Language.LSP.Types.CodeLens

HasTextDocument CodeLensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CodeLensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CodeLensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeLens Source #

A code lens represents a command that should be shown along with source text, like the number of references, a way to run tests, etc.

A code lens is _unresolved_ when no command is associated to it. For performance reasons the creation of a code lens and resolving should be done in two stages.

Constructors

CodeLens 

Fields

  • _range :: Range

    The range in which this code lens is valid. Should only span a single line.

  • _command :: Maybe Command

    The command this code lens represents.

  • _xdata :: Maybe Value

    A data entry field that is preserved on a code lens item between a code lens and a code lens resolve request.

data ExecuteCommandClientCapabilities Source #

Constructors

ExecuteCommandClientCapabilities 

Fields

Instances

Instances details
Eq ExecuteCommandClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Command

Read ExecuteCommandClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Command

Show ExecuteCommandClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Command

ToJSON ExecuteCommandClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Command

FromJSON ExecuteCommandClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Command

HasExecuteCommand WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDynamicRegistration ExecuteCommandClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ExecuteCommandOptions Source #

Instances

Instances details
Eq ExecuteCommandOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

Read ExecuteCommandOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

Show ExecuteCommandOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

ToJSON ExecuteCommandOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

FromJSON ExecuteCommandOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

HasWorkDoneProgress ExecuteCommandOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExecuteCommandProvider ServerCapabilities (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ExecuteCommandRegistrationOptions Source #

Instances

Instances details
Eq ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

Read ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

Show ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

ToJSON ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

FromJSON ExecuteCommandRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Command

HasWorkDoneProgress ExecuteCommandRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommands ExecuteCommandRegistrationOptions (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ExecuteCommandParams Source #

Instances

Instances details
Eq ExecuteCommandParams Source # 
Instance details

Defined in Language.LSP.Types.Command

Read ExecuteCommandParams Source # 
Instance details

Defined in Language.LSP.Types.Command

Show ExecuteCommandParams Source # 
Instance details

Defined in Language.LSP.Types.Command

ToJSON ExecuteCommandParams Source # 
Instance details

Defined in Language.LSP.Types.Command

FromJSON ExecuteCommandParams Source # 
Instance details

Defined in Language.LSP.Types.Command

HasCommand ExecuteCommandParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ExecuteCommandParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data Command Source #

Constructors

Command 

Fields

Instances

Instances details
Eq Command Source # 
Instance details

Defined in Language.LSP.Types.Command

Methods

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

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

Read Command Source # 
Instance details

Defined in Language.LSP.Types.Command

Show Command Source # 
Instance details

Defined in Language.LSP.Types.Command

ToJSON Command Source # 
Instance details

Defined in Language.LSP.Types.Command

FromJSON Command Source # 
Instance details

Defined in Language.LSP.Types.Command

HasCommand Command Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTitle Command Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommand CodeLens (Maybe Command) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data a |? b infixr 9 Source #

A terser, isomorphic data type for Either, that does not get tagged when converting to and from JSON.

Constructors

InL a 
InR b 

Instances

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

Defined in Language.LSP.Types.Lens

HasWorkspaceSymbolProvider ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) 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

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

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

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

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

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

HasCode Diagnostic (Maybe (Int32 |? Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSave TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

(Eq a, Eq b) => Eq (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

(==) :: (a |? b) -> (a |? b) -> Bool #

(/=) :: (a |? b) -> (a |? b) -> Bool #

(Ord a, Ord b) => Ord (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

compare :: (a |? b) -> (a |? b) -> Ordering #

(<) :: (a |? b) -> (a |? b) -> Bool #

(<=) :: (a |? b) -> (a |? b) -> Bool #

(>) :: (a |? b) -> (a |? b) -> Bool #

(>=) :: (a |? b) -> (a |? b) -> Bool #

max :: (a |? b) -> (a |? b) -> a |? b #

min :: (a |? b) -> (a |? b) -> a |? b #

(Read a, Read b) => Read (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

readsPrec :: Int -> ReadS (a |? b) #

readList :: ReadS [a |? b] #

readPrec :: ReadPrec (a |? b) #

readListPrec :: ReadPrec [a |? b] #

(Show a, Show b) => Show (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

showsPrec :: Int -> (a |? b) -> ShowS #

show :: (a |? b) -> String #

showList :: [a |? b] -> ShowS #

Generic (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Associated Types

type Rep (a |? b) :: Type -> Type #

Methods

from :: (a |? b) -> Rep (a |? b) x #

to :: Rep (a |? b) x -> a |? b #

(ToJSON a, ToJSON b) => ToJSON (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

toJSON :: (a |? b) -> Value #

toEncoding :: (a |? b) -> Encoding #

toJSONList :: [a |? b] -> Value #

toEncodingList :: [a |? b] -> Encoding #

(FromJSON a, FromJSON b) => FromJSON (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

parseJSON :: Value -> Parser (a |? b) #

parseJSONList :: Value -> Parser [a |? b] #

(NFData a, NFData b) => NFData (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

rnf :: (a |? b) -> () #

type Rep (a |? b) Source # 
Instance details

Defined in Language.LSP.Types.Common

type Rep (a |? b) = D1 ('MetaData "|?" "Language.LSP.Types.Common" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "InL" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 a)) :+: C1 ('MetaCons "InR" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 b)))

toEither :: (a |? b) -> Either a b Source #

newtype List a Source #

All LSP types representing a list **must** use this type rather than '[]'. In particular this is necessary to change the FromJSON instance to be compatible with Elisp (where empty lists show up as null)

Constructors

List [a] 

Instances

Instances details
Functor List Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

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

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

Foldable List Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

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

foldMap :: Monoid m => (a -> m) -> List a -> 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.LSP.Types.Common

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

HasRetryOnContentModified StaleRequestClientCapabilities (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasRegistrations RegistrationParams (List SomeRegistration) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUnregisterations UnregistrationParams (List Unregistration) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasParameters SignatureInformation (Maybe (List ParameterInformation)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasItems ConfigurationParams (List ConfigurationItem) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasItems CompletionList (List CompletionItem) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWatchers DidChangeWatchedFilesRegistrationOptions (List FileSystemWatcher) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasValueSet PublishDiagnosticsTagsClientCapabilities (List DiagnosticTag) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasValueSet CompletionItemTagsClientCapabilities (List CompletionItemTag) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasValueSet CompletionItemInsertTextModeClientCapabilities (List InsertTextMode) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokens (List UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokensPartialResult (List UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokensEdit (Maybe (List UInt)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags DocumentSymbol (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags SymbolInformation (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags Diagnostic (Maybe (List DiagnosticTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags CallHierarchyItem (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags CompletionItem (Maybe (List CompletionItemTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommitCharacters CompletionItem (Maybe (List Text)) 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

HasTriggerCharacters SignatureHelpOptions (Maybe (List Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentSaveRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TypeDefinitionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector SelectionRangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector RenameRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector ReferenceRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector ImplementationRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector HoverRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentRangeFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector FoldingRangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentSymbolRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentLinkRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentHighlightRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DefinitionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DeclarationRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CallHierarchyRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentColorRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CodeActionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasProperties CompletionItemResolveClientCapabilities (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasProperties CodeActionResolveClientCapabilities (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasCodeActionKinds CodeActionOptions (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCodeActionKinds CodeActionRegistrationOptions (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOnly CodeActionContext (Maybe (List CodeActionKind)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasPositions SelectionRangeParams (List Position) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasEdits SemanticTokensDelta (List SemanticTokensEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdits SemanticTokensDeltaPartialResult (List SemanticTokensEdit) 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

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

Defined in Language.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommands ExecuteCommandRegistrationOptions (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasRetriggerCharacters SignatureHelpOptions (Maybe (List Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRetriggerCharacters SignatureHelpRegistrationOptions (Maybe (List Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFromRanges CallHierarchyIncomingCall (List Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFromRanges CallHierarchyOutgoingCall (List Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenTypes SemanticTokensLegend (List SemanticTokenTypes) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenTypes SemanticTokensClientCapabilities (List SemanticTokenTypes) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenModifiers SemanticTokensLegend (List SemanticTokenModifiers) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenModifiers SemanticTokensClientCapabilities (List SemanticTokenModifiers) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFormats SemanticTokensClientCapabilities (List TokenFormat) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Common

Methods

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

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

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

Defined in Language.LSP.Types.Common

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.LSP.Types.Common

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

Defined in Language.LSP.Types.Common

Methods

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

show :: List a -> String #

showList :: [List a] -> ShowS #

Generic (List a) Source # 
Instance details

Defined in Language.LSP.Types.Common

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.LSP.Types.Common

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.LSP.Types.Common

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.LSP.Types.Common

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

Defined in Language.LSP.Types.Common

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

Defined in Language.LSP.Types.Common

Methods

rnf :: List a -> () #

type Rep (List a) Source # 
Instance details

Defined in Language.LSP.Types.Common

type Rep (List a) = D1 ('MetaData "List" "Language.LSP.Types.Common" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'True) (C1 ('MetaCons "List" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [a])))

data Empty Source #

Constructors

Empty 

Instances

Instances details
Eq Empty Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

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

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

Ord Empty Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

compare :: Empty -> Empty -> Ordering #

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

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

(>) :: Empty -> Empty -> Bool #

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

max :: Empty -> Empty -> Empty #

min :: Empty -> Empty -> Empty #

Show Empty Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

ToJSON Empty Source # 
Instance details

Defined in Language.LSP.Types.Common

FromJSON Empty Source # 
Instance details

Defined in Language.LSP.Types.Common

data Int32 #

32-bit signed integer type

Instances

Instances details
Bounded Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Enum Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Eq Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Methods

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

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

Integral Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Num Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Ord Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Methods

compare :: Int32 -> Int32 -> Ordering #

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

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

(>) :: Int32 -> Int32 -> Bool #

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

max :: Int32 -> Int32 -> Int32 #

min :: Int32 -> Int32 -> Int32 #

Read Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Real Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Methods

toRational :: Int32 -> Rational #

Show Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Methods

showsPrec :: Int -> Int32 -> ShowS #

show :: Int32 -> String #

showList :: [Int32] -> ShowS #

Ix Int32

Since: base-2.1

Instance details

Defined in GHC.Int

Hashable Int32 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> Int32 -> Int #

hash :: Int32 -> Int #

ToJSON Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

ToJSONKey Int32 
Instance details

Defined in Data.Aeson.Types.ToJSON

FromJSON Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

FromJSONKey Int32 
Instance details

Defined in Data.Aeson.Types.FromJSON

Storable Int32

Since: base-2.1

Instance details

Defined in Foreign.Storable

Methods

sizeOf :: Int32 -> Int #

alignment :: Int32 -> Int #

peekElemOff :: Ptr Int32 -> Int -> IO Int32 #

pokeElemOff :: Ptr Int32 -> Int -> Int32 -> IO () #

peekByteOff :: Ptr b -> Int -> IO Int32 #

pokeByteOff :: Ptr b -> Int -> Int32 -> IO () #

peek :: Ptr Int32 -> IO Int32 #

poke :: Ptr Int32 -> Int32 -> IO () #

Bits Int32

Since: base-2.1

Instance details

Defined in GHC.Int

FiniteBits Int32

Since: base-4.6.0.0

Instance details

Defined in GHC.Int

Binary Int32 
Instance details

Defined in Data.Binary.Class

Methods

put :: Int32 -> Put #

get :: Get Int32 #

putList :: [Int32] -> Put #

Default Int32 
Instance details

Defined in Data.Default.Class

Methods

def :: Int32 #

NFData Int32 
Instance details

Defined in Control.DeepSeq

Methods

rnf :: Int32 -> () #

Prim Int32 
Instance details

Defined in Data.Primitive.Types

Unbox Int32 
Instance details

Defined in Data.Vector.Unboxed.Base

Uniform Int32 
Instance details

Defined in System.Random.Internal

Methods

uniformM :: StatefulGen g m => g -> m Int32 #

UniformRange Int32 
Instance details

Defined in System.Random.Internal

Methods

uniformRM :: StatefulGen g m => (Int32, Int32) -> g -> m Int32 #

Semiring Int32 
Instance details

Defined in Data.Semiring

Ring Int32 
Instance details

Defined in Data.Semiring

Methods

negate :: Int32 -> Int32 #

Lift Int32 
Instance details

Defined in Language.Haskell.TH.Syntax

Methods

lift :: Int32 -> Q Exp #

liftTyped :: Int32 -> Q (TExp Int32) #

Vector Vector Int32 
Instance details

Defined in Data.Vector.Unboxed.Base

MVector MVector Int32 
Instance details

Defined in Data.Vector.Unboxed.Base

HasVersion VersionedTextDocumentIdentifier TextDocumentVersion Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion TextDocumentItem Int32 Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasProcessId InitializeParams (Maybe Int32) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCode Diagnostic (Maybe (Int32 |? Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

newtype Vector Int32 
Instance details

Defined in Data.Vector.Unboxed.Base

newtype MVector s Int32 
Instance details

Defined in Data.Vector.Unboxed.Base

data UInt Source #

The "uinteger" type in the LSP spec.

Unusually, this is a **31**-bit unsigned integer, not a 32-bit one.

Instances

Instances details
Bounded UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Enum UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

succ :: UInt -> UInt #

pred :: UInt -> UInt #

toEnum :: Int -> UInt #

fromEnum :: UInt -> Int #

enumFrom :: UInt -> [UInt] #

enumFromThen :: UInt -> UInt -> [UInt] #

enumFromTo :: UInt -> UInt -> [UInt] #

enumFromThenTo :: UInt -> UInt -> UInt -> [UInt] #

Eq UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

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

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

Integral UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

quot :: UInt -> UInt -> UInt #

rem :: UInt -> UInt -> UInt #

div :: UInt -> UInt -> UInt #

mod :: UInt -> UInt -> UInt #

quotRem :: UInt -> UInt -> (UInt, UInt) #

divMod :: UInt -> UInt -> (UInt, UInt) #

toInteger :: UInt -> Integer #

Num UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

(+) :: UInt -> UInt -> UInt #

(-) :: UInt -> UInt -> UInt #

(*) :: UInt -> UInt -> UInt #

negate :: UInt -> UInt #

abs :: UInt -> UInt #

signum :: UInt -> UInt #

fromInteger :: Integer -> UInt #

Ord UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

compare :: UInt -> UInt -> Ordering #

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

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

(>) :: UInt -> UInt -> Bool #

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

max :: UInt -> UInt -> UInt #

min :: UInt -> UInt -> UInt #

Read UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Real UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

toRational :: UInt -> Rational #

Show UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

showsPrec :: Int -> UInt -> ShowS #

show :: UInt -> String #

showList :: [UInt] -> ShowS #

Generic UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Associated Types

type Rep UInt :: Type -> Type #

Methods

from :: UInt -> Rep UInt x #

to :: Rep UInt x -> UInt #

Hashable UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

hashWithSalt :: Int -> UInt -> Int #

hash :: UInt -> Int #

ToJSON UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

FromJSON UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

NFData UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

Methods

rnf :: UInt -> () #

HasLine Position UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCharacter Position UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasStart SemanticTokensEdit UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTabSize FormattingOptions UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasStartLine FoldingRange UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEndLine FoldingRange UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeleteCount SemanticTokensEdit UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion PublishDiagnosticsParams (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveParameter SignatureInformation (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveParameter SignatureHelp (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFailedChange ApplyWorkspaceEditResponseBody (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokens (List UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokensPartialResult (List UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokensEdit (Maybe (List UInt)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeLimit FoldingRangeClientCapabilities (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasStartCharacter FoldingRange (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEndCharacter FoldingRange (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeLength TextDocumentContentChangeEvent (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPercentage WorkDoneProgressReportParams (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPercentage WorkDoneProgressBeginParams (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveSignature SignatureHelp (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep UInt Source # 
Instance details

Defined in Language.LSP.Types.Common

type Rep UInt = D1 ('MetaData "UInt" "Language.LSP.Types.Common" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'True) (C1 ('MetaCons "UInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Mod (2 ^ 31)))))

data CompletionItemKind Source #

Instances

Instances details
Eq CompletionItemKind Source # 
Instance details

Defined in Language.LSP.Types.Completion

Ord CompletionItemKind Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemKind Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemKind Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemKind Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemKind Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data CompletionItemTag Source #

Constructors

CitDeprecated

Render a completion as obsolete, usually using a strike-out.

CitUnknown Scientific 

Instances

Instances details
Eq CompletionItemTag Source # 
Instance details

Defined in Language.LSP.Types.Completion

Ord CompletionItemTag Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemTag Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemTag Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemTag Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemTag Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasValueSet CompletionItemTagsClientCapabilities (List CompletionItemTag) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags CompletionItem (Maybe (List CompletionItemTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionItemTagsClientCapabilities Source #

Constructors

CompletionItemTagsClientCapabilities 

Fields

Instances

Instances details
Eq CompletionItemTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasValueSet CompletionItemTagsClientCapabilities (List CompletionItemTag) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTagSupport CompletionItemClientCapabilities (Maybe CompletionItemTagsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionItemResolveClientCapabilities Source #

Constructors

CompletionItemResolveClientCapabilities 

Fields

Instances

Instances details
Eq CompletionItemResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemResolveClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasProperties CompletionItemResolveClientCapabilities (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveSupport CompletionItemClientCapabilities (Maybe CompletionItemResolveClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data InsertTextMode Source #

How whitespace and indentation is handled during completion item insertion.

Since: 3.16.0

Constructors

AsIs

The insertion or replace strings is taken as it is. If the value is multi line the lines below the cursor will be inserted using the indentation defined in the string value. The client will not apply any kind of adjustments to the string.

AdjustIndentation

The editor adjusts leading whitespace of new lines so that they match the indentation up to the cursor of the line for which the item is accepted.

Consider a line like this: 2tabscursor3tabsfoo. Accepting a multi line completion item is indented using 2 tabs and all following lines inserted will be indented using 2 tabs as well.

Instances

Instances details
Eq InsertTextMode Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read InsertTextMode Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show InsertTextMode Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON InsertTextMode Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON InsertTextMode Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasValueSet CompletionItemInsertTextModeClientCapabilities (List InsertTextMode) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertTextMode CompletionItem (Maybe InsertTextMode) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionItemInsertTextModeClientCapabilities Source #

Instances

Instances details
Eq CompletionItemInsertTextModeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemInsertTextModeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemInsertTextModeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemInsertTextModeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemInsertTextModeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasValueSet CompletionItemInsertTextModeClientCapabilities (List InsertTextMode) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertTextModeSupport CompletionItemClientCapabilities (Maybe CompletionItemInsertTextModeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionItemClientCapabilities Source #

Constructors

CompletionItemClientCapabilities 

Fields

Instances

Instances details
Eq CompletionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasTagSupport CompletionItemClientCapabilities (Maybe CompletionItemTagsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSnippetSupport CompletionItemClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveSupport CompletionItemClientCapabilities (Maybe CompletionItemResolveClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPreselectSupport CompletionItemClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertTextModeSupport CompletionItemClientCapabilities (Maybe CompletionItemInsertTextModeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertReplaceSupport CompletionItemClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasDeprecatedSupport CompletionItemClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommitCharactersSupport CompletionItemClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletionItem CompletionClientCapabilities (Maybe CompletionItemClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionItemKindClientCapabilities Source #

Constructors

CompletionItemKindClientCapabilities 

Fields

  • _valueSet :: Maybe (List CompletionItemKind)

    The completion item kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.

Instances

Instances details
Eq CompletionItemKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItemKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItemKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItemKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItemKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

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

Defined in Language.LSP.Types.Lens

HasCompletionItemKind CompletionClientCapabilities (Maybe CompletionItemKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionClientCapabilities Source #

Instances

Instances details
Eq CompletionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasDynamicRegistration CompletionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContextSupport CompletionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletionItemKind CompletionClientCapabilities (Maybe CompletionItemKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletionItem CompletionClientCapabilities (Maybe CompletionItemClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletion TextDocumentClientCapabilities (Maybe CompletionClientCapabilities) Source # 
Instance details

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

Constructors

InsertReplaceEdit 

Fields

Instances

Instances details
Eq InsertReplaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read InsertReplaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show InsertReplaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON InsertReplaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON InsertReplaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasRepalce InsertReplaceEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewText InsertReplaceEdit Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsert InsertReplaceEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

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
     
  • _tags :: Maybe (List CompletionItemTag)

    Tags for this completion item.

  • _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.

  • _insertTextMode :: Maybe InsertTextMode

    How whitespace and indentation is handled during completion item insertion. If not provided the client's default value depends on the textDocument.completion.insertTextMode client capability.

  • _textEdit :: Maybe CompletionEdit

    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

Instances details
Eq CompletionItem Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionItem Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionItem Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionItem Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionItem Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasLabel CompletionItem Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentation CompletionItem (Maybe CompletionDoc) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasItems CompletionList (List CompletionItem) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata CompletionItem (Maybe Value) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextEdit CompletionItem (Maybe CompletionEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags CompletionItem (Maybe (List CompletionItemTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSortText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPreselect CompletionItem (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertTextMode CompletionItem (Maybe InsertTextMode) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertTextFormat CompletionItem (Maybe InsertTextFormat) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFilterText CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDetail CompletionItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeprecated CompletionItem (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data CompletionList Source #

Represents a collection of CompletionItems to be presented in the editor.

Constructors

CompletionList 

Fields

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.

data CompletionOptions Source #

Instances

Instances details
Eq CompletionOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasWorkDoneProgress CompletionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletionProvider ServerCapabilities (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasResolveProvider CompletionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data CompletionRegistrationOptions Source #

Instances

Instances details
Eq CompletionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasWorkDoneProgress CompletionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTriggerCharacters CompletionRegistrationOptions (Maybe [Text]) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveProvider CompletionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAllCommitCharacters CompletionRegistrationOptions (Maybe [Text]) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionContext Source #

Constructors

CompletionContext 

Fields

Instances

Instances details
Eq CompletionContext Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionContext Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionContext Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionContext Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionContext Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasTriggerKind CompletionContext CompletionTriggerKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTriggerCharacter CompletionContext (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionParams Source #

Instances

Instances details
Eq CompletionParams Source # 
Instance details

Defined in Language.LSP.Types.Completion

Read CompletionParams Source # 
Instance details

Defined in Language.LSP.Types.Completion

Show CompletionParams Source # 
Instance details

Defined in Language.LSP.Types.Completion

ToJSON CompletionParams Source # 
Instance details

Defined in Language.LSP.Types.Completion

FromJSON CompletionParams Source # 
Instance details

Defined in Language.LSP.Types.Completion

HasTextDocument CompletionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CompletionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CompletionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeConfigurationClientCapabilities Source #

Constructors

DidChangeConfigurationClientCapabilities 

Fields

Instances

Instances details
Eq DidChangeConfigurationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Configuration

Read DidChangeConfigurationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Configuration

Show DidChangeConfigurationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Configuration

ToJSON DidChangeConfigurationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Configuration

FromJSON DidChangeConfigurationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Configuration

HasDidChangeConfiguration WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDynamicRegistration DidChangeConfigurationClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeConfigurationParams Source #

Constructors

DidChangeConfigurationParams 

Fields

Instances

Instances details
Eq DidChangeConfigurationParams Source # 
Instance details

Defined in Language.LSP.Types.Configuration

Read DidChangeConfigurationParams Source # 
Instance details

Defined in Language.LSP.Types.Configuration

Show DidChangeConfigurationParams Source # 
Instance details

Defined in Language.LSP.Types.Configuration

ToJSON DidChangeConfigurationParams Source # 
Instance details

Defined in Language.LSP.Types.Configuration

FromJSON DidChangeConfigurationParams Source # 
Instance details

Defined in Language.LSP.Types.Configuration

HasSettings DidChangeConfigurationParams Value Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ConfigurationItem Source #

Constructors

ConfigurationItem 

Fields

Instances

Instances details
Eq ConfigurationItem Source # 
Instance details

Defined in Language.LSP.Types.Configuration

Read ConfigurationItem Source # 
Instance details

Defined in Language.LSP.Types.Configuration

Show ConfigurationItem Source # 
Instance details

Defined in Language.LSP.Types.Configuration

ToJSON ConfigurationItem Source # 
Instance details

Defined in Language.LSP.Types.Configuration

FromJSON ConfigurationItem Source # 
Instance details

Defined in Language.LSP.Types.Configuration

HasSection ConfigurationItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasScopeUri ConfigurationItem (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasItems ConfigurationParams (List ConfigurationItem) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ConfigurationParams Source #

data DeclarationClientCapabilities Source #

Constructors

DeclarationClientCapabilities 

Fields

Instances

Instances details
Eq DeclarationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Read DeclarationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Show DeclarationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Declaration

ToJSON DeclarationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Declaration

FromJSON DeclarationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Declaration

HasDynamicRegistration DeclarationClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLinkSupport DeclarationClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeclaration TextDocumentClientCapabilities (Maybe DeclarationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DeclarationOptions Source #

Instances

Instances details
Eq DeclarationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Read DeclarationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Show DeclarationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

ToJSON DeclarationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

FromJSON DeclarationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

HasWorkDoneProgress DeclarationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DeclarationRegistrationOptions Source #

Instances

Instances details
Eq DeclarationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Read DeclarationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Show DeclarationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

ToJSON DeclarationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

FromJSON DeclarationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Declaration

HasWorkDoneProgress DeclarationRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasId DeclarationRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DeclarationRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DeclarationParams Source #

Instances

Instances details
Eq DeclarationParams Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Read DeclarationParams Source # 
Instance details

Defined in Language.LSP.Types.Declaration

Show DeclarationParams Source # 
Instance details

Defined in Language.LSP.Types.Declaration

ToJSON DeclarationParams Source # 
Instance details

Defined in Language.LSP.Types.Declaration

FromJSON DeclarationParams Source # 
Instance details

Defined in Language.LSP.Types.Declaration

HasTextDocument DeclarationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DeclarationParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DeclarationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DeclarationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DefinitionClientCapabilities Source #

Constructors

DefinitionClientCapabilities 

Fields

Instances

Instances details
Eq DefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Definition

Read DefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Definition

Show DefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Definition

ToJSON DefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Definition

FromJSON DefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Definition

HasDynamicRegistration DefinitionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLinkSupport DefinitionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDefinition TextDocumentClientCapabilities (Maybe DefinitionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DefinitionOptions Source #

Constructors

DefinitionOptions 

Instances

Instances details
Eq DefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

Read DefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

Show DefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

ToJSON DefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

FromJSON DefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

HasWorkDoneProgress DefinitionOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DefinitionRegistrationOptions Source #

Instances

Instances details
Eq DefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

Read DefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

Show DefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

ToJSON DefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

FromJSON DefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Definition

HasWorkDoneProgress DefinitionRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DefinitionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DefinitionParams Source #

Instances

Instances details
Eq DefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.Definition

Read DefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.Definition

Show DefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.Definition

ToJSON DefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.Definition

FromJSON DefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.Definition

HasTextDocument DefinitionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DefinitionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DiagnosticSeverity Source #

Constructors

DsError

Error = 1,

DsWarning

Warning = 2,

DsInfo

Info = 3,

DsHint

Hint = 4

Instances

Instances details
Eq DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Ord DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Generic DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Associated Types

type Rep DiagnosticSeverity :: Type -> Type #

ToJSON DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

NFData DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Methods

rnf :: DiagnosticSeverity -> () #

HasSeverity Diagnostic (Maybe DiagnosticSeverity) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep DiagnosticSeverity Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

type Rep DiagnosticSeverity = D1 ('MetaData "DiagnosticSeverity" "Language.LSP.Types.Diagnostic" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" '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 DiagnosticTag Source #

Constructors

DtUnnecessary

Unused or unnecessary code.

Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle.

DtDeprecated

Deprecated or obsolete code.

Clients are allowed to rendered diagnostics with this tag strike through.

Instances

Instances details
Eq DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Ord DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Generic DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Associated Types

type Rep DiagnosticTag :: Type -> Type #

ToJSON DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

NFData DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Methods

rnf :: DiagnosticTag -> () #

HasValueSet PublishDiagnosticsTagsClientCapabilities (List DiagnosticTag) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags Diagnostic (Maybe (List DiagnosticTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep DiagnosticTag Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

type Rep DiagnosticTag = D1 ('MetaData "DiagnosticTag" "Language.LSP.Types.Diagnostic" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "DtUnnecessary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DtDeprecated" 'PrefixI 'False) (U1 :: Type -> Type))

data DiagnosticRelatedInformation Source #

Instances

Instances details
Eq DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Ord DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Generic DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Associated Types

type Rep DiagnosticRelatedInformation :: Type -> Type #

ToJSON DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

NFData DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

HasLocation DiagnosticRelatedInformation Location Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMessage DiagnosticRelatedInformation Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

type Rep DiagnosticRelatedInformation Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

type Rep DiagnosticRelatedInformation = D1 ('MetaData "DiagnosticRelatedInformation" "Language.LSP.Types.Diagnostic" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "DiagnosticRelatedInformation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Location) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data Diagnostic Source #

Instances

Instances details
Eq Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Ord Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Generic Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Associated Types

type Rep Diagnostic :: Type -> Type #

ToJSON Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

NFData Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Methods

rnf :: Diagnostic -> () #

HasRange Diagnostic Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMessage Diagnostic Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags Diagnostic (Maybe (List DiagnosticTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasCode Diagnostic (Maybe (Int32 |? Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSource Diagnostic (Maybe DiagnosticSource) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSeverity Diagnostic (Maybe DiagnosticSeverity) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

type Rep Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

data PublishDiagnosticsTagsClientCapabilities Source #

Constructors

PublishDiagnosticsTagsClientCapabilities 

Fields

Instances

Instances details
Eq PublishDiagnosticsTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read PublishDiagnosticsTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show PublishDiagnosticsTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

ToJSON PublishDiagnosticsTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON PublishDiagnosticsTagsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

HasValueSet PublishDiagnosticsTagsClientCapabilities (List DiagnosticTag) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTagSupport PublishDiagnosticsClientCapabilities (Maybe PublishDiagnosticsTagsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data PublishDiagnosticsClientCapabilities Source #

Constructors

PublishDiagnosticsClientCapabilities 

Fields

Instances

Instances details
Eq PublishDiagnosticsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read PublishDiagnosticsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show PublishDiagnosticsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

ToJSON PublishDiagnosticsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON PublishDiagnosticsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

HasTagSupport PublishDiagnosticsClientCapabilities (Maybe PublishDiagnosticsTagsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPublishDiagnostics TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRelatedInformation PublishDiagnosticsClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersionSupport PublishDiagnosticsClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data PublishDiagnosticsParams Source #

Constructors

PublishDiagnosticsParams 

Fields

  • _uri :: Uri

    The URI for which diagnostic information is reported.

  • _version :: Maybe UInt

    Optional the version number of the document the diagnostics are published for.

    Since LSP 3.15.0

  • _diagnostics :: List Diagnostic

    An array of diagnostic information items.

Instances

Instances details
Eq PublishDiagnosticsParams Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Read PublishDiagnosticsParams Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

Show PublishDiagnosticsParams Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

ToJSON PublishDiagnosticsParams Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

FromJSON PublishDiagnosticsParams Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

HasUri PublishDiagnosticsParams Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion PublishDiagnosticsParams (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDiagnostics PublishDiagnosticsParams (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentColorClientCapabilities Source #

Constructors

DocumentColorClientCapabilities 

Fields

Instances

Instances details
Eq DocumentColorClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Read DocumentColorClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show DocumentColorClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

ToJSON DocumentColorClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON DocumentColorClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasColorProvider TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDynamicRegistration DocumentColorClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentColorOptions Source #

Instances

Instances details
Eq DocumentColorOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Read DocumentColorOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show DocumentColorOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

ToJSON DocumentColorOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON DocumentColorOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasWorkDoneProgress DocumentColorOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DocumentColorRegistrationOptions Source #

Instances

Instances details
Eq DocumentColorRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Read DocumentColorRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show DocumentColorRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

ToJSON DocumentColorRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON DocumentColorRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasWorkDoneProgress DocumentColorRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasId DocumentColorRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentColorRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentColorParams Source #

Instances

Instances details
Eq DocumentColorParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Read DocumentColorParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show DocumentColorParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

ToJSON DocumentColorParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON DocumentColorParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasTextDocument DocumentColorParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentColorParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentColorParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data Color Source #

Represents a color in RGBA space.

Constructors

Color 

Fields

  • _red :: Float

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

  • _green :: Float

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

  • _blue :: Float

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

  • _alpha :: Float

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

Instances

Instances details
Eq Color Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Methods

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

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

Read Color Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show Color Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Methods

showsPrec :: Int -> Color -> ShowS #

show :: Color -> String #

showList :: [Color] -> ShowS #

ToJSON Color Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON Color Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasRed Color Float Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasGreen Color Float Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasBlue Color Float Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAlpha Color Float Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasColor ColorInformation Color Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasColor ColorPresentationParams Color Source # 
Instance details

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

Instances

Instances details
Eq ColorPresentationParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Read ColorPresentationParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show ColorPresentationParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

ToJSON ColorPresentationParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON ColorPresentationParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasTextDocument ColorPresentationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange ColorPresentationParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasColor ColorPresentationParams Color Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ColorPresentationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken ColorPresentationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ColorPresentation Source #

Constructors

ColorPresentation 

Fields

Instances

Instances details
Eq ColorPresentation Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Read ColorPresentation Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

Show ColorPresentation Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

ToJSON ColorPresentation Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

FromJSON ColorPresentation Source # 
Instance details

Defined in Language.LSP.Types.DocumentColor

HasLabel ColorPresentation Text 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

data DocumentFilter Source #

Constructors

DocumentFilter 

Fields

  • _language :: Maybe Text

    A language id, like typescript.

  • _scheme :: Maybe Text

    A Uri scheme, like file or untitled.

  • _pattern :: Maybe Text

    A glob pattern, like `*.{ts,js}`.

    Glob patterns can have the following syntax: - * to match one or more characters in a path segment - ? to match on one character in a path segment - ** to match any number of path segments, including none - {} to group conditions (e.g. **​/*.{ts,js} matches all TypeScript and JavaScript files) - [] to declare a range of characters to match in a path segment (e.g., example.[0-9] to match on example.0, example.1, …) - [!...] to negate a range of characters to match in a path segment (e.g., example.[!0-9] to match on example.a, example.b, but not example.0)

Instances

Instances details
Eq DocumentFilter Source # 
Instance details

Defined in Language.LSP.Types.DocumentFilter

Read DocumentFilter Source # 
Instance details

Defined in Language.LSP.Types.DocumentFilter

Show DocumentFilter Source # 
Instance details

Defined in Language.LSP.Types.DocumentFilter

ToJSON DocumentFilter Source # 
Instance details

Defined in Language.LSP.Types.DocumentFilter

FromJSON DocumentFilter Source # 
Instance details

Defined in Language.LSP.Types.DocumentFilter

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentSaveRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TypeDefinitionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector SelectionRangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector RenameRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector ReferenceRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector ImplementationRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector HoverRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentRangeFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector FoldingRangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentSymbolRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentLinkRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentHighlightRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DefinitionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DeclarationRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CodeLensRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CallHierarchyRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentColorRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CompletionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector CodeActionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasScheme DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPattern DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLanguage DocumentFilter (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentHighlightClientCapabilities Source #

Constructors

DocumentHighlightClientCapabilities 

Fields

Instances

Instances details
Eq DocumentHighlightClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Read DocumentHighlightClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Show DocumentHighlightClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

ToJSON DocumentHighlightClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

FromJSON DocumentHighlightClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

HasDynamicRegistration DocumentHighlightClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentHighlight TextDocumentClientCapabilities (Maybe DocumentHighlightClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentHighlightOptions Source #

Instances

Instances details
Eq DocumentHighlightOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Read DocumentHighlightOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Show DocumentHighlightOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

ToJSON DocumentHighlightOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

FromJSON DocumentHighlightOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

HasWorkDoneProgress DocumentHighlightOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DocumentHighlightRegistrationOptions Source #

Instances

Instances details
Eq DocumentHighlightRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Read DocumentHighlightRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Show DocumentHighlightRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

ToJSON DocumentHighlightRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

FromJSON DocumentHighlightRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

HasWorkDoneProgress DocumentHighlightRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentHighlightRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentHighlightParams Source #

Instances

Instances details
Eq DocumentHighlightParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Read DocumentHighlightParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Show DocumentHighlightParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

ToJSON DocumentHighlightParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

FromJSON DocumentHighlightParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

HasTextDocument DocumentHighlightParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DocumentHighlightParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentHighlightParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentHighlightParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentHighlightKind Source #

Constructors

HkText

A textual occurrence.

HkRead

Read-access of a symbol, like reading a variable.

HkWrite

Write-access of a symbol, like writing to a variable.

Instances

Instances details
Eq DocumentHighlightKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Read DocumentHighlightKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Show DocumentHighlightKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

ToJSON DocumentHighlightKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

FromJSON DocumentHighlightKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

HasKind DocumentHighlight (Maybe DocumentHighlightKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentHighlight Source #

A document highlight is a range inside a text document which deserves special attention. Usually a document highlight is visualized by changing the background color of its range.

Constructors

DocumentHighlight 

Fields

Instances

Instances details
Eq DocumentHighlight Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Read DocumentHighlight Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

Show DocumentHighlight Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

ToJSON DocumentHighlight Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

FromJSON DocumentHighlight Source # 
Instance details

Defined in Language.LSP.Types.DocumentHighlight

HasRange DocumentHighlight Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind DocumentHighlight (Maybe DocumentHighlightKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentLinkClientCapabilities Source #

Constructors

DocumentLinkClientCapabilities 

Fields

Instances

Instances details
Eq DocumentLinkClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Read DocumentLinkClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Show DocumentLinkClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

ToJSON DocumentLinkClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

FromJSON DocumentLinkClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

HasDynamicRegistration DocumentLinkClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTooltipSupport DocumentLinkClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentLink TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentLinkOptions Source #

Instances

Instances details
Eq DocumentLinkOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Read DocumentLinkOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Show DocumentLinkOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

ToJSON DocumentLinkOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

FromJSON DocumentLinkOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

HasWorkDoneProgress DocumentLinkOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentLinkProvider ServerCapabilities (Maybe DocumentLinkOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveProvider DocumentLinkOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentLinkRegistrationOptions Source #

Instances

Instances details
Eq DocumentLinkRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Read DocumentLinkRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Show DocumentLinkRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

ToJSON DocumentLinkRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

FromJSON DocumentLinkRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

HasWorkDoneProgress DocumentLinkRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResolveProvider DocumentLinkRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentLinkRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentLinkParams Source #

Instances

Instances details
Eq DocumentLinkParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Read DocumentLinkParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

Show DocumentLinkParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

ToJSON DocumentLinkParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

FromJSON DocumentLinkParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentLink

HasTextDocument DocumentLinkParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentLinkParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentLinkParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentLink Source #

A document link is a range in a text document that links to an internal or external resource, like another text document or a web site.

Constructors

DocumentLink 

Fields

  • _range :: Range

    The range this link applies to.

  • _target :: Maybe Uri

    The uri this link points to. If missing a resolve request is sent later.

  • _tooltip :: Maybe Text

    The tooltip text when you hover over this link.

    If a tooltip is provided, is will be displayed in a string that includes instructions on how to trigger the link, such as {0} (ctrl + click). The specific instructions vary depending on OS, user settings, and localization.

    Since LSP 3.15.0

  • _xdata :: Maybe Value

    A data entry field that is preserved on a document link between a DocumentLinkRequest and a DocumentLinkResolveRequest.

Instances

data DocumentSymbolOptions Source #

Instances

Instances details
Eq DocumentSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasWorkDoneProgress DocumentSymbolOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasLabel DocumentSymbolOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentSymbolRegistrationOptions Source #

Instances

Instances details
Eq DocumentSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasWorkDoneProgress DocumentSymbolRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLabel DocumentSymbolRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentSymbolRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentSymbolParams Source #

Instances

Instances details
Eq DocumentSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasTextDocument DocumentSymbolParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SymbolKind Source #

Instances

Instances details
Eq SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasKind DocumentSymbol SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind SymbolInformation SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind CallHierarchyItem SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data SymbolTag Source #

Symbol tags are extra annotations that tweak the rendering of a symbol.

Since: 3.16.0

Constructors

StDeprecated

Render a symbol as obsolete, usually using a strike-out.

StUnknown Scientific 

Instances

Instances details
Eq SymbolTag Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read SymbolTag Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show SymbolTag Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON SymbolTag Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON SymbolTag Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasTags DocumentSymbol (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags SymbolInformation (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags CallHierarchyItem (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentSymbolKindClientCapabilities Source #

Constructors

DocumentSymbolKindClientCapabilities 

Fields

  • _valueSet :: Maybe (List SymbolKind)

    The symbol kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.

    If this property is not present the client only supports the symbol kinds from File to Array as defined in the initial version of the protocol.

Instances

Instances details
Eq DocumentSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

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

Defined in Language.LSP.Types.Lens

HasSymbolKind DocumentSymbolClientCapabilities (Maybe DocumentSymbolKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentSymbolTagClientCapabilities Source #

Constructors

DocumentSymbolTagClientCapabilities 

Fields

Instances

Instances details
Eq DocumentSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasTagSupport DocumentSymbolClientCapabilities (Maybe DocumentSymbolTagClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentSymbolClientCapabilities Source #

Constructors

DocumentSymbolClientCapabilities 

Fields

Instances

Instances details
Eq DocumentSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasDynamicRegistration DocumentSymbolClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTagSupport DocumentSymbolClientCapabilities (Maybe DocumentSymbolTagClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSymbolKind DocumentSymbolClientCapabilities (Maybe DocumentSymbolKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLabelSupport DocumentSymbolClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasHierarchicalDocumentSymbolSupport DocumentSymbolClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSymbol TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) Source # 
Instance details

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

  • _tags :: Maybe (List SymbolTag)

    Tags for this document symbol.

  • _deprecated :: Maybe Bool

    Deprecated: Use tags instead

    Indicates if this symbol is deprecated. Deprecated, use tags instead. | 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 $sel:_range:DocumentSymbol.

  • _children :: Maybe (List DocumentSymbol)

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

Instances

Instances details
Eq DocumentSymbol Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read DocumentSymbol Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show DocumentSymbol Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON DocumentSymbol Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON DocumentSymbol Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasName DocumentSymbol Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind DocumentSymbol SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags DocumentSymbol (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDetail DocumentSymbol (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeprecated DocumentSymbol (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

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

  • _tags :: Maybe (List SymbolTag)

    Tags for this symbol.

  • _deprecated :: Maybe Bool

    Deprecated: Use tags instead

    Indicates if this symbol is deprecated. Deprecated, use tags instead. | 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

Instances details
Eq SymbolInformation Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Read SymbolInformation Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

Show SymbolInformation Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

ToJSON SymbolInformation Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

FromJSON SymbolInformation Source # 
Instance details

Defined in Language.LSP.Types.DocumentSymbol

HasName SymbolInformation Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind SymbolInformation SymbolKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLocation SymbolInformation Location Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTags SymbolInformation (Maybe (List SymbolTag)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeprecated SymbolInformation (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContainerName SymbolInformation (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FoldingRangeClientCapabilities Source #

Constructors

FoldingRangeClientCapabilities 

Fields

  • _dynamicRegistration :: Maybe Bool

    Whether implementation supports dynamic registration for folding range providers. If this is set to true the client supports the new `(FoldingRangeProviderOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions)` return value for the corresponding server capability as well.

  • _rangeLimit :: Maybe UInt

    The maximum number of folding ranges that the client prefers to receive per document. The value serves as a hint, servers are free to follow the limit.

  • _lineFoldingOnly :: Maybe Bool

    If set, the client signals that it only supports folding complete lines. If set, client will ignore specified startCharacter and endCharacter properties in a FoldingRange.

Instances

Instances details
Eq FoldingRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Read FoldingRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Show FoldingRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

ToJSON FoldingRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

FromJSON FoldingRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

HasDynamicRegistration FoldingRangeClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeLimit FoldingRangeClientCapabilities (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLineFoldingOnly FoldingRangeClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFoldingRange TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FoldingRangeOptions Source #

Instances

Instances details
Eq FoldingRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Read FoldingRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Show FoldingRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

ToJSON FoldingRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

FromJSON FoldingRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

HasWorkDoneProgress FoldingRangeOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data FoldingRangeRegistrationOptions Source #

Instances

Instances details
Eq FoldingRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Read FoldingRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Show FoldingRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

ToJSON FoldingRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

FromJSON FoldingRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

HasWorkDoneProgress FoldingRangeRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasId FoldingRangeRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector FoldingRangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FoldingRangeParams Source #

Instances

Instances details
Eq FoldingRangeParams Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Read FoldingRangeParams Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Show FoldingRangeParams Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

ToJSON FoldingRangeParams Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

FromJSON FoldingRangeParams Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

HasTextDocument FoldingRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken FoldingRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken FoldingRangeParams (Maybe ProgressToken) Source # 
Instance details

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

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

  • _startCharacter :: Maybe UInt

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

  • _endLine :: UInt

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

  • _endCharacter :: Maybe UInt

    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

Instances details
Eq FoldingRange Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Read FoldingRange Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

Show FoldingRange Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

ToJSON FoldingRange Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

FromJSON FoldingRange Source # 
Instance details

Defined in Language.LSP.Types.FoldingRange

HasStartLine FoldingRange UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEndLine FoldingRange UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind FoldingRange (Maybe FoldingRangeKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasStartCharacter FoldingRange (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEndCharacter FoldingRange (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentFormattingClientCapabilities Source #

Constructors

DocumentFormattingClientCapabilities 

Fields

Instances

Instances details
Eq DocumentFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasDynamicRegistration DocumentFormattingClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFormatting TextDocumentClientCapabilities (Maybe DocumentFormattingClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentFormattingOptions Source #

Instances

Instances details
Eq DocumentFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasWorkDoneProgress DocumentFormattingOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DocumentFormattingRegistrationOptions Source #

Instances

Instances details
Eq DocumentFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasWorkDoneProgress DocumentFormattingRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FormattingOptions Source #

Value-object describing what options formatting should use.

Constructors

FormattingOptions 

Fields

Instances

Instances details
Eq FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasTabSize FormattingOptions UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertSpaces FormattingOptions Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DocumentFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DocumentRangeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DocumentOnTypeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTrimTrailingWhitespace FormattingOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTrimFinalNewlines FormattingOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsertFinalNewline FormattingOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentFormattingParams Source #

Instances

Instances details
Eq DocumentFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasTextDocument DocumentFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DocumentFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentRangeFormattingClientCapabilities Source #

Constructors

DocumentRangeFormattingClientCapabilities 

Fields

Instances

Instances details
Eq DocumentRangeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentRangeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentRangeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentRangeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentRangeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasDynamicRegistration DocumentRangeFormattingClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeFormatting TextDocumentClientCapabilities (Maybe DocumentRangeFormattingClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentRangeFormattingOptions Source #

Instances

Instances details
Eq DocumentRangeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentRangeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentRangeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentRangeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentRangeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasWorkDoneProgress DocumentRangeFormattingOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DocumentRangeFormattingRegistrationOptions Source #

Instances

Instances details
Eq DocumentRangeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentRangeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentRangeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentRangeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentRangeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasWorkDoneProgress DocumentRangeFormattingRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentRangeFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentRangeFormattingParams Source #

Instances

Instances details
Eq DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentRangeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentRangeFormattingParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DocumentRangeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentRangeFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentOnTypeFormattingClientCapabilities Source #

Constructors

DocumentOnTypeFormattingClientCapabilities 

Fields

Instances

Instances details
Eq DocumentOnTypeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentOnTypeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentOnTypeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentOnTypeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentOnTypeFormattingClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasDynamicRegistration DocumentOnTypeFormattingClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOnTypeFormatting TextDocumentClientCapabilities (Maybe DocumentOnTypeFormattingClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentOnTypeFormattingOptions Source #

Constructors

DocumentOnTypeFormattingOptions 

Fields

Instances

Instances details
Eq DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentOnTypeFormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasFirstTriggerCharacter DocumentOnTypeFormattingOptions Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentOnTypeFormattingProvider ServerCapabilities (Maybe DocumentOnTypeFormattingOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DocumentOnTypeFormattingRegistrationOptions Source #

Instances

Instances details
Eq DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentOnTypeFormattingRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasFirstTriggerCharacter DocumentOnTypeFormattingRegistrationOptions Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data DocumentOnTypeFormattingParams Source #

Instances

Instances details
Eq DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Read DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

Show DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

ToJSON DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

FromJSON DocumentOnTypeFormattingParams Source # 
Instance details

Defined in Language.LSP.Types.Formatting

HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOptions DocumentOnTypeFormattingParams FormattingOptions Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCh DocumentOnTypeFormattingParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

data HoverClientCapabilities Source #

Instances

Instances details
Eq HoverClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Hover

Read HoverClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Hover

Show HoverClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Hover

ToJSON HoverClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Hover

FromJSON HoverClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Hover

HasDynamicRegistration HoverClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasHover TextDocumentClientCapabilities (Maybe HoverClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data HoverOptions Source #

Constructors

HoverOptions 

data HoverRegistrationOptions Source #

Instances

Instances details
Eq HoverRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Hover

Read HoverRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Hover

Show HoverRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Hover

ToJSON HoverRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Hover

FromJSON HoverRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Hover

HasWorkDoneProgress HoverRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector HoverRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data HoverParams Source #

Instances

Instances details
Eq HoverParams Source # 
Instance details

Defined in Language.LSP.Types.Hover

Read HoverParams Source # 
Instance details

Defined in Language.LSP.Types.Hover

Show HoverParams Source # 
Instance details

Defined in Language.LSP.Types.Hover

ToJSON HoverParams Source # 
Instance details

Defined in Language.LSP.Types.Hover

FromJSON HoverParams Source # 
Instance details

Defined in Language.LSP.Types.Hover

HasTextDocument HoverParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition HoverParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken HoverParams (Maybe ProgressToken) Source # 
Instance details

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

Instances details
Eq HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

Read HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

Show HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

Semigroup HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

Monoid HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

ToJSON HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

FromJSON HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Hover

HasContents Hover HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Lens

data Hover Source #

Constructors

Hover 

Instances

Instances details
Eq Hover Source # 
Instance details

Defined in Language.LSP.Types.Hover

Methods

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

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

Read Hover Source # 
Instance details

Defined in Language.LSP.Types.Hover

Show Hover Source # 
Instance details

Defined in Language.LSP.Types.Hover

Methods

showsPrec :: Int -> Hover -> ShowS #

show :: Hover -> String #

showList :: [Hover] -> ShowS #

ToJSON Hover Source # 
Instance details

Defined in Language.LSP.Types.Hover

FromJSON Hover Source # 
Instance details

Defined in Language.LSP.Types.Hover

HasContents Hover HoverContents Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange Hover (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ImplementationClientCapabilities Source #

Constructors

ImplementationClientCapabilities 

Fields

Instances

Instances details
Eq ImplementationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Read ImplementationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Show ImplementationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Implementation

ToJSON ImplementationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Implementation

FromJSON ImplementationClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Implementation

HasDynamicRegistration ImplementationClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLinkSupport ImplementationClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasImplementation TextDocumentClientCapabilities (Maybe ImplementationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ImplementationOptions Source #

Instances

Instances details
Eq ImplementationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Read ImplementationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Show ImplementationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

ToJSON ImplementationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

FromJSON ImplementationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

HasWorkDoneProgress ImplementationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data ImplementationRegistrationOptions Source #

Instances

Instances details
Eq ImplementationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Read ImplementationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Show ImplementationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

ToJSON ImplementationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

FromJSON ImplementationRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Implementation

HasWorkDoneProgress ImplementationRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasId ImplementationRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector ImplementationRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ImplementationParams Source #

Instances

Instances details
Eq ImplementationParams Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Read ImplementationParams Source # 
Instance details

Defined in Language.LSP.Types.Implementation

Show ImplementationParams Source # 
Instance details

Defined in Language.LSP.Types.Implementation

ToJSON ImplementationParams Source # 
Instance details

Defined in Language.LSP.Types.Implementation

FromJSON ImplementationParams Source # 
Instance details

Defined in Language.LSP.Types.Implementation

HasTextDocument ImplementationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition ImplementationParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ImplementationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken ImplementationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ClientInfo Source #

Constructors

ClientInfo 

Fields

Instances

Instances details
Eq ClientInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Read ClientInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Show ClientInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

ToJSON ClientInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

FromJSON ClientInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

HasName ClientInfo Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion ClientInfo (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasClientInfo InitializeParams (Maybe ClientInfo) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data InitializeParams Source #

Instances

Instances details
Eq InitializeParams Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Read InitializeParams Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Show InitializeParams Source # 
Instance details

Defined in Language.LSP.Types.Initialize

ToJSON InitializeParams Source # 
Instance details

Defined in Language.LSP.Types.Initialize

FromJSON InitializeParams Source # 
Instance details

Defined in Language.LSP.Types.Initialize

HasCapabilities InitializeParams ClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasWorkDoneToken InitializeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTrace InitializeParams (Maybe Trace) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRootUri InitializeParams (Maybe Uri) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRootPath InitializeParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasProcessId InitializeParams (Maybe Int32) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInitializationOptions InitializeParams (Maybe Value) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasClientInfo InitializeParams (Maybe ClientInfo) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ServerInfo Source #

Constructors

ServerInfo 

Fields

Instances

Instances details
Eq ServerInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Read ServerInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Show ServerInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

ToJSON ServerInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

FromJSON ServerInfo Source # 
Instance details

Defined in Language.LSP.Types.Initialize

HasName ServerInfo Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion ServerInfo (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasServerInfo InitializeResult (Maybe ServerInfo) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data InitializeResult Source #

Constructors

InitializeResult 

Fields

Instances

Instances details
Eq InitializeResult Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Read InitializeResult Source # 
Instance details

Defined in Language.LSP.Types.Initialize

Show InitializeResult Source # 
Instance details

Defined in Language.LSP.Types.Initialize

ToJSON InitializeResult Source # 
Instance details

Defined in Language.LSP.Types.Initialize

FromJSON InitializeResult Source # 
Instance details

Defined in Language.LSP.Types.Initialize

HasCapabilities InitializeResult ServerCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasServerInfo InitializeResult (Maybe ServerInfo) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data Position Source #

A position in a document. Note that the character offsets in a line are given in UTF-16 code units, *not* Unicode code points.

Constructors

Position 

Fields

  • _line :: UInt

    Line position in a document (zero-based).

  • _character :: UInt

    Character offset on a line in a document (zero-based). Assuming that the line is represented as a string, the character value represents the gap between the character and character + 1.

Instances

Instances details
Eq Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Ord Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Read Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Show Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Generic Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Associated Types

type Rep Position :: Type -> Type #

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

Hashable Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

hashWithSalt :: Int -> Position -> Int #

hash :: Position -> Int #

ToJSON Position Source # 
Instance details

Defined in Language.LSP.Types.Location

FromJSON Position Source # 
Instance details

Defined in Language.LSP.Types.Location

NFData Position Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

rnf :: Position -> () #

HasLine Position UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCharacter Position UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasStart Range Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEnd Range Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition TextDocumentPositionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition TypeDefinitionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition SignatureHelpParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition RenameParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition PrepareRenameParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition ReferenceParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition ImplementationParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition HoverParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DocumentHighlightParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DefinitionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DeclarationParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition CallHierarchyPrepareParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPositions SelectionRangeParams (List Position) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep Position Source # 
Instance details

Defined in Language.LSP.Types.Location

type Rep Position = D1 ('MetaData "Position" "Language.LSP.Types.Location" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "Position" 'PrefixI 'True) (S1 ('MetaSel ('Just "_line") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_character") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt)))

data Range Source #

Constructors

Range 

Fields

Instances

Instances details
Eq Range Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

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

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

Ord Range Source # 
Instance details

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

Show Range Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #

Generic Range Source # 
Instance details

Defined in Language.LSP.Types.Location

Associated Types

type Rep Range :: Type -> Type #

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

Hashable Range Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

hashWithSalt :: Int -> Range -> Int #

hash :: Range -> Int #

ToJSON Range Source # 
Instance details

Defined in Language.LSP.Types.Location

FromJSON Range Source # 
Instance details

Defined in Language.LSP.Types.Location

NFData Range Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

rnf :: Range -> () #

HasStart Range Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEnd Range Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange Location Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange SemanticTokensRangeParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange SelectionRange Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange RangeWithPlaceholder Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentRangeFormattingParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentLink Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentHighlight Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange Diagnostic Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange CodeLens Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange CallHierarchyItem Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange TextEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange AnnotatedTextEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange ColorInformation Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange ColorPresentationParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange CodeActionParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTargetSelectionRange LocationLink Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTargetRange LocationLink Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRepalce InsertReplaceEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasInsert InsertReplaceEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRange CallHierarchyItem Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange Hover (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOriginSelectionRange LocationLink (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelection ShowDocumentParams (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFromRanges CallHierarchyIncomingCall (List Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFromRanges CallHierarchyOutgoingCall (List Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep Range Source # 
Instance details

Defined in Language.LSP.Types.Location

type Rep Range = D1 ('MetaData "Range" "Language.LSP.Types.Location" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "Range" 'PrefixI 'True) (S1 ('MetaSel ('Just "_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_end") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)))

data Location Source #

Constructors

Location 

Fields

Instances

Instances details
Eq Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Ord Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Read Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Show Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Generic Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Associated Types

type Rep Location :: Type -> Type #

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

Hashable Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

hashWithSalt :: Int -> Location -> Int #

hash :: Location -> Int #

ToJSON Location Source # 
Instance details

Defined in Language.LSP.Types.Location

FromJSON Location Source # 
Instance details

Defined in Language.LSP.Types.Location

NFData Location Source # 
Instance details

Defined in Language.LSP.Types.Location

Methods

rnf :: Location -> () #

HasUri Location Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange Location Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLocation SymbolInformation Location Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLocation DiagnosticRelatedInformation Location Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep Location Source # 
Instance details

Defined in Language.LSP.Types.Location

type Rep Location = D1 ('MetaData "Location" "Language.LSP.Types.Location" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "Location" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))

data LocationLink Source #

Represents a link between a source and a target location.

Constructors

LocationLink 

Fields

  • _originSelectionRange :: Maybe Range

    Span of the origin of this link. Used as the underlined span for mouse interaction. Defaults to the word range at the mouse position.

  • _targetUri :: Uri

    The target resource identifier of this link.

  • _targetRange :: Range

    The full target range of this link. If the target for example is a symbol then target range is the range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to highlight the range in the editor.

  • _targetSelectionRange :: Range

    The range that should be selected and revealed when this link is being followed, e.g the name of a function. Must be contained by the the targetRange. See also DocumentSymbol._range

Instances

mkRange :: UInt -> UInt -> UInt -> UInt -> Range Source #

A helper function for creating ranges. prop> mkRange l c l' c' = Range (Position l c) (Position l' c')

data LspId (m :: Method f Request) Source #

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

Constructors

IdInt !Int32 
IdString !Text 

Instances

Instances details
Eq (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Methods

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

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

Ord (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Methods

compare :: LspId m -> LspId m -> Ordering #

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

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

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

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

max :: LspId m -> LspId m -> LspId m #

min :: LspId m -> LspId m -> LspId m #

Read (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Show (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Methods

showsPrec :: Int -> LspId m -> ShowS #

show :: LspId m -> String #

showList :: [LspId m] -> ShowS #

Hashable (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Methods

hashWithSalt :: Int -> LspId m -> Int #

hash :: LspId m -> Int #

ToJSON (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

FromJSON (LspId m) Source # 
Instance details

Defined in Language.LSP.Types.LspId

IxOrd (LspId :: Method f 'Request -> Type) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Associated Types

type Base LspId Source #

Methods

toBase :: forall (a :: k). LspId a -> Base LspId Source #

HasId (ResponseMessage m) (Maybe (LspId m)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

Methods

id :: Lens' (ResponseMessage m) (Maybe (LspId m)) Source #

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

Defined in Language.LSP.Types.Lens

Methods

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

type Base (LspId :: Method f 'Request -> Type) Source # 
Instance details

Defined in Language.LSP.Types.LspId

data SomeLspId where Source #

Constructors

SomeLspId :: !(LspId m) -> SomeLspId 

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

Instances details
Eq MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Read MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Show MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

ToJSON MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

FromJSON MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

HasKind MarkupContent MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

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

Instances details
Eq MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Read MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Show MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Semigroup MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Monoid MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

ToJSON MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

FromJSON MarkupContent Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

HasKind MarkupContent MarkupKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasValue MarkupContent Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

plainTextToMarkdown :: Text -> Text Source #

Given some plaintext, convert it into some equivalent markdown text. This is not *quite* the identity function.

data MarkdownClientCapabilities Source #

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

Instances

Instances details
Eq MarkdownClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Read MarkdownClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

Show MarkdownClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

ToJSON MarkdownClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

FromJSON MarkdownClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.MarkupContent

HasParser MarkdownClientCapabilities Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion MarkdownClientCapabilities (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMarkdown GeneralClientCapabilities (Maybe MarkdownClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data From Source #

Constructors

FromServer 
FromClient 

data Method (f :: From) (t :: MethodType) where Source #

Constructors

Initialize :: Method FromClient Request 
Initialized :: Method FromClient Notification 
Shutdown :: Method FromClient Request 
Exit :: Method FromClient Notification 
WorkspaceDidChangeWorkspaceFolders :: Method FromClient Notification 
WorkspaceDidChangeConfiguration :: Method FromClient Notification 
WorkspaceDidChangeWatchedFiles :: Method FromClient Notification 
WorkspaceSymbol :: Method FromClient Request 
WorkspaceExecuteCommand :: Method FromClient Request 
TextDocumentDidOpen :: Method FromClient Notification 
TextDocumentDidChange :: Method FromClient Notification 
TextDocumentWillSave :: Method FromClient Notification 
TextDocumentWillSaveWaitUntil :: Method FromClient Request 
TextDocumentDidSave :: Method FromClient Notification 
TextDocumentDidClose :: Method FromClient Notification 
TextDocumentCompletion :: Method FromClient Request 
CompletionItemResolve :: Method FromClient Request 
TextDocumentHover :: Method FromClient Request 
TextDocumentSignatureHelp :: Method FromClient Request 
TextDocumentDeclaration :: Method FromClient Request 
TextDocumentDefinition :: Method FromClient Request 
TextDocumentTypeDefinition :: Method FromClient Request 
TextDocumentImplementation :: Method FromClient Request 
TextDocumentReferences :: Method FromClient Request 
TextDocumentDocumentHighlight :: Method FromClient Request 
TextDocumentDocumentSymbol :: Method FromClient Request 
TextDocumentCodeAction :: Method FromClient Request 
TextDocumentCodeLens :: Method FromClient Request 
CodeLensResolve :: Method FromClient Request 
TextDocumentDocumentLink :: Method FromClient Request 
DocumentLinkResolve :: Method FromClient Request 
TextDocumentDocumentColor :: Method FromClient Request 
TextDocumentColorPresentation :: Method FromClient Request 
TextDocumentFormatting :: Method FromClient Request 
TextDocumentRangeFormatting :: Method FromClient Request 
TextDocumentOnTypeFormatting :: Method FromClient Request 
TextDocumentRename :: Method FromClient Request 
TextDocumentPrepareRename :: Method FromClient Request 
TextDocumentFoldingRange :: Method FromClient Request 
TextDocumentSelectionRange :: Method FromClient Request 
TextDocumentPrepareCallHierarchy :: Method FromClient Request 
CallHierarchyIncomingCalls :: Method FromClient Request 
CallHierarchyOutgoingCalls :: Method FromClient Request 
TextDocumentSemanticTokens :: Method FromClient Request 
TextDocumentSemanticTokensFull :: Method FromClient Request 
TextDocumentSemanticTokensFullDelta :: Method FromClient Request 
TextDocumentSemanticTokensRange :: Method FromClient Request 
WorkspaceSemanticTokensRefresh :: Method FromClient Request 
WindowShowMessage :: Method FromServer Notification 
WindowShowMessageRequest :: Method FromServer Request 
WindowShowDocument :: Method FromServer Request 
WindowLogMessage :: Method FromServer Notification 
WindowWorkDoneProgressCancel :: Method FromClient Notification 
WindowWorkDoneProgressCreate :: Method FromServer Request 
Progress :: Method FromServer Notification 
TelemetryEvent :: Method FromServer Notification 
ClientRegisterCapability :: Method FromServer Request 
ClientUnregisterCapability :: Method FromServer Request 
WorkspaceWorkspaceFolders :: Method FromServer Request 
WorkspaceConfiguration :: Method FromServer Request 
WorkspaceApplyEdit :: Method FromServer Request 
TextDocumentPublishDiagnostics :: Method FromServer Notification 
CancelRequest :: Method f Notification 
CustomMethod :: Method f t 

Instances

Instances details
IxOrd (LspId :: Method f 'Request -> Type) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Associated Types

type Base LspId Source #

Methods

toBase :: forall (a :: k). LspId a -> Base LspId Source #

GEq (SMethod :: Method f t -> Type) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

geq :: forall (a :: k) (b :: k). SMethod a -> SMethod b -> Maybe (a :~: b) #

GCompare (SMethod :: Method f t -> Type) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

gcompare :: forall (a :: k) (b :: k). SMethod a -> SMethod b -> GOrdering a b #

type Base (LspId :: Method f 'Request -> Type) Source # 
Instance details

Defined in Language.LSP.Types.LspId

data SMethod (m :: Method f t) where Source #

Constructors

SInitialize :: SMethod Initialize 
SInitialized :: SMethod Initialized 
SShutdown :: SMethod Shutdown 
SExit :: SMethod Exit 
SWorkspaceDidChangeWorkspaceFolders :: SMethod WorkspaceDidChangeWorkspaceFolders 
SWorkspaceDidChangeConfiguration :: SMethod WorkspaceDidChangeConfiguration 
SWorkspaceDidChangeWatchedFiles :: SMethod WorkspaceDidChangeWatchedFiles 
SWorkspaceSymbol :: SMethod WorkspaceSymbol 
SWorkspaceExecuteCommand :: SMethod WorkspaceExecuteCommand 
STextDocumentDidOpen :: SMethod TextDocumentDidOpen 
STextDocumentDidChange :: SMethod TextDocumentDidChange 
STextDocumentWillSave :: SMethod TextDocumentWillSave 
STextDocumentWillSaveWaitUntil :: SMethod TextDocumentWillSaveWaitUntil 
STextDocumentDidSave :: SMethod TextDocumentDidSave 
STextDocumentDidClose :: SMethod TextDocumentDidClose 
STextDocumentCompletion :: SMethod TextDocumentCompletion 
SCompletionItemResolve :: SMethod CompletionItemResolve 
STextDocumentHover :: SMethod TextDocumentHover 
STextDocumentSignatureHelp :: SMethod TextDocumentSignatureHelp 
STextDocumentDeclaration :: SMethod TextDocumentDeclaration 
STextDocumentDefinition :: SMethod TextDocumentDefinition 
STextDocumentTypeDefinition :: SMethod TextDocumentTypeDefinition 
STextDocumentImplementation :: SMethod TextDocumentImplementation 
STextDocumentReferences :: SMethod TextDocumentReferences 
STextDocumentDocumentHighlight :: SMethod TextDocumentDocumentHighlight 
STextDocumentDocumentSymbol :: SMethod TextDocumentDocumentSymbol 
STextDocumentCodeAction :: SMethod TextDocumentCodeAction 
STextDocumentCodeLens :: SMethod TextDocumentCodeLens 
SCodeLensResolve :: SMethod CodeLensResolve 
STextDocumentDocumentLink :: SMethod TextDocumentDocumentLink 
SDocumentLinkResolve :: SMethod DocumentLinkResolve 
STextDocumentDocumentColor :: SMethod TextDocumentDocumentColor 
STextDocumentColorPresentation :: SMethod TextDocumentColorPresentation 
STextDocumentFormatting :: SMethod TextDocumentFormatting 
STextDocumentRangeFormatting :: SMethod TextDocumentRangeFormatting 
STextDocumentOnTypeFormatting :: SMethod TextDocumentOnTypeFormatting 
STextDocumentRename :: SMethod TextDocumentRename 
STextDocumentPrepareRename :: SMethod TextDocumentPrepareRename 
STextDocumentFoldingRange :: SMethod TextDocumentFoldingRange 
STextDocumentSelectionRange :: SMethod TextDocumentSelectionRange 
STextDocumentPrepareCallHierarchy :: SMethod TextDocumentPrepareCallHierarchy 
SCallHierarchyIncomingCalls :: SMethod CallHierarchyIncomingCalls 
SCallHierarchyOutgoingCalls :: SMethod CallHierarchyOutgoingCalls 
STextDocumentSemanticTokens :: SMethod TextDocumentSemanticTokens 
STextDocumentSemanticTokensFull :: SMethod TextDocumentSemanticTokensFull 
STextDocumentSemanticTokensFullDelta :: SMethod TextDocumentSemanticTokensFullDelta 
STextDocumentSemanticTokensRange :: SMethod TextDocumentSemanticTokensRange 
SWorkspaceSemanticTokensRefresh :: SMethod WorkspaceSemanticTokensRefresh 
SWindowShowMessage :: SMethod WindowShowMessage 
SWindowShowMessageRequest :: SMethod WindowShowMessageRequest 
SWindowShowDocument :: SMethod WindowShowDocument 
SWindowLogMessage :: SMethod WindowLogMessage 
SWindowWorkDoneProgressCreate :: SMethod WindowWorkDoneProgressCreate 
SWindowWorkDoneProgressCancel :: SMethod WindowWorkDoneProgressCancel 
SProgress :: SMethod Progress 
STelemetryEvent :: SMethod TelemetryEvent 
SClientRegisterCapability :: SMethod ClientRegisterCapability 
SClientUnregisterCapability :: SMethod ClientUnregisterCapability 
SWorkspaceWorkspaceFolders :: SMethod WorkspaceWorkspaceFolders 
SWorkspaceConfiguration :: SMethod WorkspaceConfiguration 
SWorkspaceApplyEdit :: SMethod WorkspaceApplyEdit 
STextDocumentPublishDiagnostics :: SMethod TextDocumentPublishDiagnostics 
SCancelRequest :: SMethod CancelRequest 
SCustomMethod :: Text -> SMethod CustomMethod 

Instances

Instances details
Eq FromServerMessage Source # 
Instance details

Defined in Language.LSP.Types.Parsing

Show FromServerMessage Source # 
Instance details

Defined in Language.LSP.Types.Parsing

ToJSON FromClientMessage Source # 
Instance details

Defined in Language.LSP.Types.Parsing

ToJSON FromServerMessage Source # 
Instance details

Defined in Language.LSP.Types.Parsing

GEq (SMethod :: Method f t -> Type) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

geq :: forall (a :: k) (b :: k). SMethod a -> SMethod b -> Maybe (a :~: b) #

GCompare (SMethod :: Method f t -> Type) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

gcompare :: forall (a :: k) (b :: k). SMethod a -> SMethod b -> GOrdering a b #

HasMethod (Registration m) (SClientMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMethod (RequestMessage m) (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMethod (NotificationMessage m) (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Lens

Eq (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

(==) :: SMethod m -> SMethod m -> Bool #

(/=) :: SMethod m -> SMethod m -> Bool #

Ord (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

compare :: SMethod m -> SMethod m -> Ordering #

(<) :: SMethod m -> SMethod m -> Bool #

(<=) :: SMethod m -> SMethod m -> Bool #

(>) :: SMethod m -> SMethod m -> Bool #

(>=) :: SMethod m -> SMethod m -> Bool #

max :: SMethod m -> SMethod m -> SMethod m #

min :: SMethod m -> SMethod m -> SMethod m #

Show (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Method

Methods

showsPrec :: Int -> SMethod m -> ShowS #

show :: SMethod m -> String #

showList :: [SMethod m] -> ShowS #

ToJSON (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod ('CancelRequest :: Method f 'Notification)) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod ('CustomMethod :: Method f t)) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WindowShowMessage) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WindowLogMessage) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'Progress) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TelemetryEvent) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentPublishDiagnostics) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WindowShowMessageRequest) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WindowShowDocument) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WindowWorkDoneProgressCreate) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'ClientRegisterCapability) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'ClientUnregisterCapability) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceWorkspaceFolders) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceConfiguration) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceApplyEdit) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'Initialized) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'Exit) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceDidChangeWorkspaceFolders) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceDidChangeConfiguration) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceDidChangeWatchedFiles) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDidOpen) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDidChange) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentWillSave) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDidSave) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDidClose) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WindowWorkDoneProgressCancel) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'Initialize) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'Shutdown) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceSymbol) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceExecuteCommand) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentWillSaveWaitUntil) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentCompletion) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'CompletionItemResolve) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentHover) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentSignatureHelp) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDeclaration) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDefinition) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentTypeDefinition) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentImplementation) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentReferences) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDocumentHighlight) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDocumentSymbol) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentCodeAction) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentCodeLens) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'CodeLensResolve) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDocumentLink) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'DocumentLinkResolve) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentDocumentColor) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentColorPresentation) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentFormatting) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentRangeFormatting) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentOnTypeFormatting) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentRename) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentPrepareRename) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentFoldingRange) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentSelectionRange) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentPrepareCallHierarchy) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'CallHierarchyIncomingCalls) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'CallHierarchyOutgoingCalls) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentSemanticTokens) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentSemanticTokensFull) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentSemanticTokensFullDelta) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'TextDocumentSemanticTokensRange) Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON (SMethod 'WorkspaceSemanticTokensRefresh) Source # 
Instance details

Defined in Language.LSP.Types.Method

data SomeClientMethod Source #

Constructors

forall t (m :: Method FromClient t). SomeClientMethod (SMethod m) 

Instances

Instances details
Eq SomeClientMethod Source # 
Instance details

Defined in Language.LSP.Types.Method

Ord SomeClientMethod Source # 
Instance details

Defined in Language.LSP.Types.Method

Show SomeClientMethod Source # 
Instance details

Defined in Language.LSP.Types.Method

ToJSON SomeClientMethod Source # 
Instance details

Defined in Language.LSP.Types.Method

FromJSON SomeClientMethod Source # 
Instance details

Defined in Language.LSP.Types.Method

HasMethod Unregistration SomeClientMethod Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SomeServerMethod Source #

Constructors

forall t (m :: Method FromServer t). SomeServerMethod (SMethod m) 

type family MessageParams (m :: Method f t) :: Type where ... Source #

Map a method to the message payload type

Equations

MessageParams Initialize = InitializeParams 
MessageParams Initialized = Maybe InitializedParams 
MessageParams Shutdown = Empty 
MessageParams Exit = Empty 
MessageParams WorkspaceDidChangeWorkspaceFolders = DidChangeWorkspaceFoldersParams 
MessageParams WorkspaceDidChangeConfiguration = DidChangeConfigurationParams 
MessageParams WorkspaceDidChangeWatchedFiles = DidChangeWatchedFilesParams 
MessageParams WorkspaceSymbol = WorkspaceSymbolParams 
MessageParams WorkspaceExecuteCommand = ExecuteCommandParams 
MessageParams TextDocumentDidOpen = DidOpenTextDocumentParams 
MessageParams TextDocumentDidChange = DidChangeTextDocumentParams 
MessageParams TextDocumentWillSave = WillSaveTextDocumentParams 
MessageParams TextDocumentWillSaveWaitUntil = WillSaveTextDocumentParams 
MessageParams TextDocumentDidSave = DidSaveTextDocumentParams 
MessageParams TextDocumentDidClose = DidCloseTextDocumentParams 
MessageParams TextDocumentCompletion = CompletionParams 
MessageParams CompletionItemResolve = CompletionItem 
MessageParams TextDocumentHover = HoverParams 
MessageParams TextDocumentSignatureHelp = SignatureHelpParams 
MessageParams TextDocumentDeclaration = DeclarationParams 
MessageParams TextDocumentDefinition = DefinitionParams 
MessageParams TextDocumentTypeDefinition = TypeDefinitionParams 
MessageParams TextDocumentImplementation = ImplementationParams 
MessageParams TextDocumentReferences = ReferenceParams 
MessageParams TextDocumentDocumentHighlight = DocumentHighlightParams 
MessageParams TextDocumentDocumentSymbol = DocumentSymbolParams 
MessageParams TextDocumentCodeAction = CodeActionParams 
MessageParams TextDocumentCodeLens = CodeLensParams 
MessageParams CodeLensResolve = CodeLens 
MessageParams TextDocumentDocumentLink = DocumentLinkParams 
MessageParams DocumentLinkResolve = DocumentLink 
MessageParams TextDocumentDocumentColor = DocumentColorParams 
MessageParams TextDocumentColorPresentation = ColorPresentationParams 
MessageParams TextDocumentFormatting = DocumentFormattingParams 
MessageParams TextDocumentRangeFormatting = DocumentRangeFormattingParams 
MessageParams TextDocumentOnTypeFormatting = DocumentOnTypeFormattingParams 
MessageParams TextDocumentRename = RenameParams 
MessageParams TextDocumentPrepareRename = PrepareRenameParams 
MessageParams TextDocumentFoldingRange = FoldingRangeParams 
MessageParams TextDocumentSelectionRange = SelectionRangeParams 
MessageParams TextDocumentPrepareCallHierarchy = CallHierarchyPrepareParams 
MessageParams CallHierarchyIncomingCalls = CallHierarchyIncomingCallsParams 
MessageParams CallHierarchyOutgoingCalls = CallHierarchyOutgoingCallsParams 
MessageParams TextDocumentSemanticTokens = Empty 
MessageParams TextDocumentSemanticTokensFull = SemanticTokensParams 
MessageParams TextDocumentSemanticTokensFullDelta = SemanticTokensDeltaParams 
MessageParams TextDocumentSemanticTokensRange = SemanticTokensRangeParams 
MessageParams WorkspaceSemanticTokensRefresh = Empty 
MessageParams WindowShowMessage = ShowMessageParams 
MessageParams WindowShowMessageRequest = ShowMessageRequestParams 
MessageParams WindowShowDocument = ShowDocumentParams 
MessageParams WindowLogMessage = LogMessageParams 
MessageParams WindowWorkDoneProgressCreate = WorkDoneProgressCreateParams 
MessageParams WindowWorkDoneProgressCancel = WorkDoneProgressCancelParams 
MessageParams Progress = ProgressParams SomeProgressParams 
MessageParams TelemetryEvent = Value 
MessageParams ClientRegisterCapability = RegistrationParams 
MessageParams ClientUnregisterCapability = UnregistrationParams 
MessageParams WorkspaceWorkspaceFolders = Empty 
MessageParams WorkspaceConfiguration = ConfigurationParams 
MessageParams WorkspaceApplyEdit = ApplyWorkspaceEditParams 
MessageParams TextDocumentPublishDiagnostics = PublishDiagnosticsParams 
MessageParams CancelRequest = CancelParams 
MessageParams CustomMethod = Value 

type family ResponseResult (m :: Method f Request) :: Type where ... Source #

Map a request method to the response payload type

Equations

ResponseResult Initialize = InitializeResult 
ResponseResult Shutdown = Empty 
ResponseResult WorkspaceSymbol = List SymbolInformation 
ResponseResult WorkspaceExecuteCommand = Value 
ResponseResult TextDocumentWillSaveWaitUntil = List TextEdit 
ResponseResult TextDocumentCompletion = List CompletionItem |? CompletionList 
ResponseResult CompletionItemResolve = CompletionItem 
ResponseResult TextDocumentHover = Maybe Hover 
ResponseResult TextDocumentSignatureHelp = SignatureHelp 
ResponseResult TextDocumentDeclaration = Location |? (List Location |? List LocationLink) 
ResponseResult TextDocumentDefinition = Location |? (List Location |? List LocationLink) 
ResponseResult TextDocumentTypeDefinition = Location |? (List Location |? List LocationLink) 
ResponseResult TextDocumentImplementation = Location |? (List Location |? List LocationLink) 
ResponseResult TextDocumentReferences = List Location 
ResponseResult TextDocumentDocumentHighlight = List DocumentHighlight 
ResponseResult TextDocumentDocumentSymbol = List DocumentSymbol |? List SymbolInformation 
ResponseResult TextDocumentCodeAction = List (Command |? CodeAction) 
ResponseResult TextDocumentCodeLens = List CodeLens 
ResponseResult CodeLensResolve = CodeLens 
ResponseResult TextDocumentDocumentLink = List DocumentLink 
ResponseResult DocumentLinkResolve = DocumentLink 
ResponseResult TextDocumentDocumentColor = List ColorInformation 
ResponseResult TextDocumentColorPresentation = List ColorPresentation 
ResponseResult TextDocumentFormatting = List TextEdit 
ResponseResult TextDocumentRangeFormatting = List TextEdit 
ResponseResult TextDocumentOnTypeFormatting = List TextEdit 
ResponseResult TextDocumentRename = WorkspaceEdit 
ResponseResult TextDocumentPrepareRename = Maybe (Range |? RangeWithPlaceholder) 
ResponseResult TextDocumentFoldingRange = List FoldingRange 
ResponseResult TextDocumentSelectionRange = List SelectionRange 
ResponseResult TextDocumentPrepareCallHierarchy = Maybe (List CallHierarchyItem) 
ResponseResult CallHierarchyIncomingCalls = Maybe (List CallHierarchyIncomingCall) 
ResponseResult CallHierarchyOutgoingCalls = Maybe (List CallHierarchyOutgoingCall) 
ResponseResult TextDocumentSemanticTokens = Empty 
ResponseResult TextDocumentSemanticTokensFull = Maybe SemanticTokens 
ResponseResult TextDocumentSemanticTokensFullDelta = Maybe (SemanticTokens |? SemanticTokensDelta) 
ResponseResult TextDocumentSemanticTokensRange = Maybe SemanticTokens 
ResponseResult WorkspaceSemanticTokensRefresh = Empty 
ResponseResult WindowShowMessageRequest = Maybe MessageActionItem 
ResponseResult WindowShowDocument = ShowDocumentResult 
ResponseResult WindowWorkDoneProgressCreate = Empty 
ResponseResult ClientRegisterCapability = Empty 
ResponseResult ClientUnregisterCapability = Empty 
ResponseResult WorkspaceWorkspaceFolders = Maybe (List WorkspaceFolder) 
ResponseResult WorkspaceConfiguration = List Value 
ResponseResult WorkspaceApplyEdit = ApplyWorkspaceEditResponseBody 
ResponseResult CustomMethod = Value 

data NotificationMessage (m :: Method f Notification) Source #

Instances

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

Defined in Language.LSP.Types.Message

Show (MessageParams m) => Show (NotificationMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Generic (NotificationMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Associated Types

type Rep (NotificationMessage m) :: Type -> Type #

ToJSON (MessageParams m) => ToJSON (NotificationMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

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

Defined in Language.LSP.Types.Message

a ~ MessageParams m => HasParams (NotificationMessage m) a Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasJsonrpc (NotificationMessage m) Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMethod (NotificationMessage m) (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep (NotificationMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

type Rep (NotificationMessage m) = D1 ('MetaData "NotificationMessage" "Language.LSP.Types.Message" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "NotificationMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_jsonrpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (SMethod m)) :*: S1 ('MetaSel ('Just "_params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MessageParams m)))))

data RequestMessage (m :: Method f Request) Source #

Constructors

RequestMessage 

Fields

Instances

Instances details
Eq (MessageParams m) => Eq (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

(Read (SMethod m), Read (MessageParams m)) => Read (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Show (MessageParams m) => Show (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Generic (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Associated Types

type Rep (RequestMessage m) :: Type -> Type #

(ToJSON (MessageParams m), FromJSON (SMethod m)) => ToJSON (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

(FromJSON (MessageParams m), FromJSON (SMethod m)) => FromJSON (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

a ~ MessageParams m => HasParams (RequestMessage m) a Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasJsonrpc (RequestMessage m) Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

Methods

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

HasMethod (RequestMessage m) (SMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep (RequestMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

type Rep (RequestMessage m) = D1 ('MetaData "RequestMessage" "Language.LSP.Types.Message" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "RequestMessage" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_jsonrpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (LspId m))) :*: (S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (SMethod m)) :*: S1 ('MetaSel ('Just "_params") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MessageParams m)))))

addNullField :: String -> Value -> Value Source #

Replace a missing field in an object with a null field, to simplify parsing This is a hack to allow other types than Maybe to work like Maybe in allowing the field to be missing. See also this issue: https://github.com/haskell/aeson/issues/646

data CustomMessage f t where Source #

A custom message data type is needed to distinguish between notifications and requests, since a CustomMethod can be both!

data ResponseError Source #

Constructors

ResponseError 

Instances

Instances details
Eq ResponseError Source # 
Instance details

Defined in Language.LSP.Types.Message

Read ResponseError Source # 
Instance details

Defined in Language.LSP.Types.Message

Show ResponseError Source # 
Instance details

Defined in Language.LSP.Types.Message

ToJSON ResponseError Source # 
Instance details

Defined in Language.LSP.Types.Message

FromJSON ResponseError Source # 
Instance details

Defined in Language.LSP.Types.Message

HasMessage ResponseError Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCode ResponseError ErrorCode Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata ResponseError (Maybe Value) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ResponseMessage (m :: Method f Request) Source #

Either result or error must be Just.

Instances

Instances details
Eq (ResponseResult m) => Eq (ResponseMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Read (ResponseResult m) => Read (ResponseMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Show (ResponseResult m) => Show (ResponseMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Generic (ResponseMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

Associated Types

type Rep (ResponseMessage m) :: Type -> Type #

ToJSON (ResponseResult m) => ToJSON (ResponseMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

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

Defined in Language.LSP.Types.Message

HasJsonrpc (ResponseMessage m) Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

a ~ Either ResponseError (ResponseResult m) => HasResult (ResponseMessage m) a Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasId (ResponseMessage m) (Maybe (LspId m)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

Methods

id :: Lens' (ResponseMessage m) (Maybe (LspId m)) Source #

type Rep (ResponseMessage m) Source # 
Instance details

Defined in Language.LSP.Types.Message

type Rep (ResponseMessage m) = D1 ('MetaData "ResponseMessage" "Language.LSP.Types.Message" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "ResponseMessage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_jsonrpc") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (LspId m))) :*: S1 ('MetaSel ('Just "_result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Either ResponseError (ResponseResult m))))))

type family Message (m :: Method f t) :: Type where ... Source #

Map a method to the Request/Notification type with the correct payload

type LookupFunc f a = forall (m :: Method f Request). LspId m -> Maybe (SMethod m, a m) Source #

type HasJSON a = (ToJSON a, FromJSON a, Eq a) Source #

data CustomEq m1 m2 where Source #

Given a witness that two custom methods are of the same type, produce a witness that the methods are the same

Constructors

CustomEq 

Fields

runEq :: t1 ~ t2 => (SMethod m1 -> SMethod m2 -> Maybe (Either (CustomEq m1 m2) (m1 :~~: m2))) -> SMethod (m1 :: Method f t1) -> SMethod (m2 :: Method f t2) -> Maybe (m1 :~~: m2) Source #

mEqServer :: SServerMethod m1 -> SServerMethod m2 -> Maybe (Either (CustomEq m1 m2) (m1 :~~: m2)) Source #

Heterogeneous equality on singleton server methods

mEqClient :: SClientMethod m1 -> SClientMethod m2 -> Maybe (Either (CustomEq m1 m2) (m1 :~~: m2)) Source #

Heterogeneous equality on singleton client methods

data ProgressToken Source #

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

Instances

Instances details
Eq ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Progress

Ord ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasToken WorkDoneProgressCancelParams ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasToken WorkDoneProgressCreateParams ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken WorkDoneProgressParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken TypeDefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SignatureHelpParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SemanticTokensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SemanticTokensDeltaParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SemanticTokensRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SelectionRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken RenameParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ReferenceParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ImplementationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken HoverParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentRangeFormattingParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken FoldingRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentLinkParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentHighlightParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DeclarationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ExecuteCommandParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CodeLensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CallHierarchyPrepareParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken DocumentColorParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ColorPresentationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CompletionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken CodeActionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken WorkspaceSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken InitializeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken PartialResultParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken TypeDefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SemanticTokensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SemanticTokensDeltaParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SemanticTokensRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SelectionRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken ReferenceParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken ImplementationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken FoldingRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentLinkParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentHighlightParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DeclarationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CodeLensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken DocumentColorParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken ColorPresentationParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CompletionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken CodeActionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken WorkspaceSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasToken (ProgressParams t) ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ProgressParams t Source #

Parameters for a $/progress notification.

Constructors

ProgressParams 

Fields

Instances

Instances details
Functor ProgressParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Methods

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

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

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

Defined in Language.LSP.Types.Progress

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

Defined in Language.LSP.Types.Progress

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

Defined in Language.LSP.Types.Progress

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

Defined in Language.LSP.Types.Progress

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

Defined in Language.LSP.Types.Progress

HasValue (ProgressParams t) t Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasToken (ProgressParams t) ProgressToken Source # 
Instance details

Defined in Language.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 $sel:_title:WorkDoneProgressBeginParams. Examples: "3/25 files", "projectsrcmodule2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.

  • _percentage :: Maybe UInt

    Optional progress percentage to display (value 100 is considered 100%). If not provided infinite progress is assumed and clients are allowed to ignore the $sel:_percentage: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

Instances details
Eq WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressBeginParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasTitle WorkDoneProgressBeginParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMessage WorkDoneProgressBeginParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPercentage WorkDoneProgressBeginParams (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCancellable WorkDoneProgressBeginParams (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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 $sel:_title:WorkDoneProgressBeginParams. Examples: "3/25 files", "projectsrcmodule2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.

  • _percentage :: Maybe UInt

    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

Instances details
Eq WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasMessage WorkDoneProgressReportParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPercentage WorkDoneProgressReportParams (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCancellable WorkDoneProgressReportParams (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkDoneProgressEndParams Source #

Parameters for WorkDoneProgressEndNotification.

Since: 0.10.0.0

Instances

Instances details
Eq WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressEndParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasMessage WorkDoneProgressEndParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Instances details
Eq WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressCancelParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasToken WorkDoneProgressCancelParams ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkDoneProgressCreateParams Source #

Instances

Instances details
Eq WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressCreateParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasToken WorkDoneProgressCreateParams ProgressToken Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkDoneProgressOptions Source #

Instances

Instances details
Eq WorkDoneProgressOptions Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressOptions Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressOptions Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressOptions Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressOptions Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasWorkDoneProgress WorkDoneProgressOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkDoneProgressParams Source #

Constructors

WorkDoneProgressParams 

Fields

Instances

Instances details
Eq WorkDoneProgressParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Read WorkDoneProgressParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

Show WorkDoneProgressParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

ToJSON WorkDoneProgressParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

FromJSON WorkDoneProgressParams Source # 
Instance details

Defined in Language.LSP.Types.Progress

HasWorkDoneToken WorkDoneProgressParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data PartialResultParams Source #

Constructors

PartialResultParams 

Fields

data ReferencesClientCapabilities Source #

Constructors

ReferencesClientCapabilities 

Fields

Instances

Instances details
Eq ReferencesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.References

Read ReferencesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.References

Show ReferencesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.References

ToJSON ReferencesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.References

FromJSON ReferencesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.References

HasDynamicRegistration ReferencesClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasReferences TextDocumentClientCapabilities (Maybe ReferencesClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ReferenceOptions Source #

Constructors

ReferenceOptions 

Instances

Instances details
Eq ReferenceOptions Source # 
Instance details

Defined in Language.LSP.Types.References

Read ReferenceOptions Source # 
Instance details

Defined in Language.LSP.Types.References

Show ReferenceOptions Source # 
Instance details

Defined in Language.LSP.Types.References

ToJSON ReferenceOptions Source # 
Instance details

Defined in Language.LSP.Types.References

FromJSON ReferenceOptions Source # 
Instance details

Defined in Language.LSP.Types.References

HasWorkDoneProgress ReferenceOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data ReferenceRegistrationOptions Source #

Instances

Instances details
Eq ReferenceRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.References

Read ReferenceRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.References

Show ReferenceRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.References

ToJSON ReferenceRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.References

FromJSON ReferenceRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.References

HasWorkDoneProgress ReferenceRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector ReferenceRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ReferenceContext Source #

Constructors

ReferenceContext 

Fields

Instances

Instances details
Eq ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.References

Read ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.References

Show ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.References

ToJSON ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.References

FromJSON ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.References

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasIncludeDeclaration ReferenceContext Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ReferenceParams Source #

Instances

Instances details
Eq ReferenceParams Source # 
Instance details

Defined in Language.LSP.Types.References

Read ReferenceParams Source # 
Instance details

Defined in Language.LSP.Types.References

Show ReferenceParams Source # 
Instance details

Defined in Language.LSP.Types.References

ToJSON ReferenceParams Source # 
Instance details

Defined in Language.LSP.Types.References

FromJSON ReferenceParams Source # 
Instance details

Defined in Language.LSP.Types.References

HasTextDocument ReferenceParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition ReferenceParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken ReferenceParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken ReferenceParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type family RegistrationOptions (m :: Method FromClient t) :: Type where ... Source #

Matches up the registration options for a specific method

Equations

RegistrationOptions WorkspaceDidChangeWorkspaceFolders = Empty 
RegistrationOptions WorkspaceDidChangeConfiguration = Empty 
RegistrationOptions WorkspaceDidChangeWatchedFiles = DidChangeWatchedFilesRegistrationOptions 
RegistrationOptions WorkspaceSymbol = WorkspaceSymbolRegistrationOptions 
RegistrationOptions WorkspaceExecuteCommand = ExecuteCommandRegistrationOptions 
RegistrationOptions TextDocumentDidOpen = TextDocumentRegistrationOptions 
RegistrationOptions TextDocumentDidChange = TextDocumentChangeRegistrationOptions 
RegistrationOptions TextDocumentWillSave = TextDocumentRegistrationOptions 
RegistrationOptions TextDocumentWillSaveWaitUntil = TextDocumentRegistrationOptions 
RegistrationOptions TextDocumentDidSave = TextDocumentSaveRegistrationOptions 
RegistrationOptions TextDocumentDidClose = TextDocumentRegistrationOptions 
RegistrationOptions TextDocumentCompletion = CompletionRegistrationOptions 
RegistrationOptions TextDocumentHover = HoverRegistrationOptions 
RegistrationOptions TextDocumentSignatureHelp = SignatureHelpRegistrationOptions 
RegistrationOptions TextDocumentDeclaration = DeclarationRegistrationOptions 
RegistrationOptions TextDocumentDefinition = DefinitionRegistrationOptions 
RegistrationOptions TextDocumentTypeDefinition = TypeDefinitionRegistrationOptions 
RegistrationOptions TextDocumentImplementation = ImplementationRegistrationOptions 
RegistrationOptions TextDocumentReferences = ReferenceRegistrationOptions 
RegistrationOptions TextDocumentDocumentHighlight = DocumentHighlightRegistrationOptions 
RegistrationOptions TextDocumentDocumentSymbol = DocumentSymbolRegistrationOptions 
RegistrationOptions TextDocumentCodeAction = CodeActionRegistrationOptions 
RegistrationOptions TextDocumentCodeLens = CodeLensRegistrationOptions 
RegistrationOptions TextDocumentDocumentLink = DocumentLinkRegistrationOptions 
RegistrationOptions TextDocumentDocumentColor = DocumentColorRegistrationOptions 
RegistrationOptions TextDocumentFormatting = DocumentFormattingRegistrationOptions 
RegistrationOptions TextDocumentRangeFormatting = DocumentRangeFormattingRegistrationOptions 
RegistrationOptions TextDocumentOnTypeFormatting = DocumentOnTypeFormattingRegistrationOptions 
RegistrationOptions TextDocumentRename = RenameRegistrationOptions 
RegistrationOptions TextDocumentFoldingRange = FoldingRangeRegistrationOptions 
RegistrationOptions TextDocumentSelectionRange = SelectionRangeRegistrationOptions 
RegistrationOptions TextDocumentPrepareCallHierarchy = CallHierarchyRegistrationOptions 
RegistrationOptions TextDocumentSemanticTokens = SemanticTokensRegistrationOptions 
RegistrationOptions m = Void 

data Registration (m :: Method FromClient t) Source #

Constructors

Registration 

Fields

  • _id :: Text

    The id used to register the request. The id can be used to deregister the request again.

  • _method :: SClientMethod m

    The method / capability to register for.

  • _registerOptions :: !(RegistrationOptions m)

    Options necessary for the registration. Make this strict to aid the pattern matching exhaustiveness checker

Instances

Instances details
Eq (RegistrationOptions m) => Eq (Registration m) Source # 
Instance details

Defined in Language.LSP.Types.Registration

Show (RegistrationOptions m) => Show (Registration m) Source # 
Instance details

Defined in Language.LSP.Types.Registration

Generic (Registration m) Source # 
Instance details

Defined in Language.LSP.Types.Registration

Associated Types

type Rep (Registration m) :: Type -> Type #

Methods

from :: Registration m -> Rep (Registration m) x #

to :: Rep (Registration m) x -> Registration m #

ToJSON (Registration m) Source # 
Instance details

Defined in Language.LSP.Types.Registration

a ~ RegistrationOptions m => HasRegisterOptions (Registration m) a Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasId (Registration m) Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMethod (Registration m) (SClientMethod m) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep (Registration m) Source # 
Instance details

Defined in Language.LSP.Types.Registration

type Rep (Registration m) = D1 ('MetaData "Registration" "Language.LSP.Types.Registration" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "Registration" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (SClientMethod m)) :*: S1 ('MetaSel ('Just "_registerOptions") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (RegistrationOptions m)))))

data Unregistration Source #

General parameters to unregister a capability.

Constructors

Unregistration 

Fields

  • _id :: Text

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

  • _method :: SomeClientMethod

    The method / capability to unregister for.

data PrepareSupportDefaultBehavior Source #

data RenameClientCapabilities Source #

Constructors

RenameClientCapabilities 

Fields

Instances

Instances details
Eq RenameClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Rename

Read RenameClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Rename

Show RenameClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Rename

ToJSON RenameClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Rename

FromJSON RenameClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Rename

HasDynamicRegistration RenameClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPrepareSupport RenameClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRename TextDocumentClientCapabilities (Maybe RenameClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data RenameOptions Source #

Instances

Instances details
Eq RenameOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

Read RenameOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

Show RenameOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

ToJSON RenameOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

FromJSON RenameOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

HasWorkDoneProgress RenameOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasPrepareProvider RenameOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data RenameRegistrationOptions Source #

Instances

Instances details
Eq RenameRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

Read RenameRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

Show RenameRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

ToJSON RenameRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

FromJSON RenameRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.Rename

HasWorkDoneProgress RenameRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector RenameRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPrepareProvider RenameRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data RenameParams Source #

Instances

Instances details
Eq RenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

Read RenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

Show RenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

ToJSON RenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

FromJSON RenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

HasTextDocument RenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition RenameParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewName RenameParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken RenameParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data PrepareRenameParams Source #

Instances

Instances details
Eq PrepareRenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

Read PrepareRenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

Show PrepareRenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

ToJSON PrepareRenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

FromJSON PrepareRenameParams Source # 
Instance details

Defined in Language.LSP.Types.Rename

HasTextDocument PrepareRenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition PrepareRenameParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpParameterInformation Source #

Constructors

SignatureHelpParameterInformation 

Fields

Instances

Instances details
Eq SignatureHelpParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasParameterInformation SignatureHelpSignatureInformation (Maybe SignatureHelpParameterInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLabelOffsetSupport SignatureHelpParameterInformation (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpSignatureInformation Source #

Constructors

SignatureHelpSignatureInformation 

Fields

Instances

Instances details
Eq SignatureHelpSignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpSignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpSignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpSignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpSignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

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

Defined in Language.LSP.Types.Lens

HasParameterInformation SignatureHelpSignatureInformation (Maybe SignatureHelpParameterInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveParameterSuport SignatureHelpSignatureInformation (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureInformation SignatureHelpClientCapabilities (Maybe SignatureHelpSignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpClientCapabilities Source #

Constructors

SignatureHelpClientCapabilities 

Fields

Instances

Instances details
Eq SignatureHelpClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasDynamicRegistration SignatureHelpClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContextSupport SignatureHelpClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureHelp TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureInformation SignatureHelpClientCapabilities (Maybe SignatureHelpSignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpOptions Source #

Instances

Instances details
Eq SignatureHelpOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasWorkDoneProgress SignatureHelpOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureHelpProvider ServerCapabilities (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTriggerCharacters SignatureHelpOptions (Maybe (List Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRetriggerCharacters SignatureHelpOptions (Maybe (List Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpRegistrationOptions Source #

Instances

Instances details
Eq SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasWorkDoneProgress SignatureHelpRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRetriggerCharacters SignatureHelpRegistrationOptions (Maybe (List Text)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpDoc Source #

Instances

Instances details
Eq SignatureHelpDoc Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpDoc Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpDoc Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpDoc Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpDoc Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasDocumentation ParameterInformation (Maybe SignatureHelpDoc) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentation SignatureInformation (Maybe SignatureHelpDoc) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ParameterInformation Source #

Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.

Constructors

ParameterInformation 

Fields

Instances

Instances details
Eq ParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read ParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show ParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON ParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON ParameterInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasLabel ParameterInformation ParameterLabel Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentation ParameterInformation (Maybe SignatureHelpDoc) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasParameters SignatureInformation (Maybe (List ParameterInformation)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureInformation Source #

Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.

Constructors

SignatureInformation 

Fields

Instances

Instances details
Eq SignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureInformation Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasLabel SignatureInformation Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentation SignatureInformation (Maybe SignatureHelpDoc) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasParameters SignatureInformation (Maybe (List ParameterInformation)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveParameter SignatureInformation (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelp Source #

Signature help represents the signature of something callable. There can be multiple signature but only one active and only one active parameter.

Constructors

SignatureHelp 

Fields

Instances

Instances details
Eq SignatureHelp Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelp Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelp Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelp Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelp Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasActiveParameter SignatureHelp (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveSignature SignatureHelp (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpTriggerKind Source #

How a signature help was triggered.

Since: 3.15.0

Constructors

SHTKInvoked

Signature help was invoked manually by the user or by a command.

SHTKTriggerCharacter

Signature help was triggered by a trigger character.

SHTKContentChange

Signature help was triggered by the cursor moving or by the document content changing.

data SignatureHelpContext Source #

Additional information about the context in which a signature help request was triggered.

Since: 3.15.0

Constructors

SignatureHelpContext 

Fields

data SignatureHelpParams Source #

Instances

Instances details
Eq SignatureHelpParams Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Read SignatureHelpParams Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

Show SignatureHelpParams Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

ToJSON SignatureHelpParams Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

FromJSON SignatureHelpParams Source # 
Instance details

Defined in Language.LSP.Types.SignatureHelp

HasTextDocument SignatureHelpParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition SignatureHelpParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SignatureHelpParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContext SignatureHelpParams (Maybe SignatureHelpContext) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data StaticRegistrationOptions Source #

Constructors

StaticRegistrationOptions 

Fields

Instances

Instances details
Eq StaticRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.StaticRegistrationOptions

Read StaticRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.StaticRegistrationOptions

Show StaticRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.StaticRegistrationOptions

ToJSON StaticRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.StaticRegistrationOptions

FromJSON StaticRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.StaticRegistrationOptions

HasId StaticRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SelectionRangeClientCapabilities Source #

Constructors

SelectionRangeClientCapabilities 

Fields

Instances

Instances details
Eq SelectionRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Read SelectionRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Show SelectionRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

ToJSON SelectionRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

FromJSON SelectionRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

HasDynamicRegistration SelectionRangeClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelectionRange TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SelectionRangeOptions Source #

Instances

Instances details
Eq SelectionRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Read SelectionRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Show SelectionRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

ToJSON SelectionRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

FromJSON SelectionRangeOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

HasWorkDoneProgress SelectionRangeOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data SelectionRangeRegistrationOptions Source #

Instances

Instances details
Eq SelectionRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Read SelectionRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Show SelectionRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

ToJSON SelectionRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

FromJSON SelectionRangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

HasWorkDoneProgress SelectionRangeRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasId SelectionRangeRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector SelectionRangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SelectionRangeParams Source #

Instances

Instances details
Eq SelectionRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Read SelectionRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

Show SelectionRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

ToJSON SelectionRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

FromJSON SelectionRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SelectionRange

HasTextDocument SelectionRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SelectionRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SelectionRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPositions SelectionRangeParams (List Position) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SelectionRange Source #

Constructors

SelectionRange 

Fields

data SemanticTokenTypes Source #

Instances

Instances details
Eq SemanticTokenTypes Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Ord SemanticTokenTypes Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokenTypes Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokenTypes Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokenTypes Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokenTypes Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasTokenTypes SemanticTokensLegend (List SemanticTokenTypes) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenTypes SemanticTokensClientCapabilities (List SemanticTokenTypes) Source # 
Instance details

Defined in Language.LSP.Types.Lens

knownSemanticTokenTypes :: [SemanticTokenTypes] Source #

The set of semantic token types which are "known" (i.e. listed in the LSP spec).

data SemanticTokenModifiers Source #

Instances

Instances details
Eq SemanticTokenModifiers Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Ord SemanticTokenModifiers Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokenModifiers Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokenModifiers Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokenModifiers Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokenModifiers Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasTokenModifiers SemanticTokensLegend (List SemanticTokenModifiers) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenModifiers SemanticTokensClientCapabilities (List SemanticTokenModifiers) Source # 
Instance details

Defined in Language.LSP.Types.Lens

knownSemanticTokenModifiers :: [SemanticTokenModifiers] Source #

The set of semantic token modifiers which are "known" (i.e. listed in the LSP spec).

data SemanticTokensLegend Source #

Constructors

SemanticTokensLegend 

Fields

Instances

Instances details
Eq SemanticTokensLegend Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensLegend Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensLegend Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensLegend Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensLegend Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Default SemanticTokensLegend Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasTokenTypes SemanticTokensLegend (List SemanticTokenTypes) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenModifiers SemanticTokensLegend (List SemanticTokenModifiers) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensRangeClientCapabilities Source #

Instances

Instances details
Eq SemanticTokensRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensRangeClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasRange SemanticTokensRequestsClientCapabilities (Maybe SemanticTokensRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensDeltaClientCapabilities Source #

Constructors

SemanticTokensDeltaClientCapabilities 

Fields

  • _delta :: Maybe Bool

    The client will send the `textDocumentsemanticTokensfull/delta` request if the server provides a corresponding handler.

Instances

Instances details
Eq SemanticTokensDeltaClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensDeltaClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensDeltaClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensDeltaClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensDeltaClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasDelta SemanticTokensDeltaClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensFullClientCapabilities Source #

Instances

Instances details
Eq SemanticTokensFullClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensFullClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensFullClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensFullClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensFullClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasFull SemanticTokensRequestsClientCapabilities (Maybe SemanticTokensFullClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensRequestsClientCapabilities Source #

Constructors

SemanticTokensRequestsClientCapabilities 

Fields

Instances

Instances details
Eq SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasRequests SemanticTokensClientCapabilities SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange SemanticTokensRequestsClientCapabilities (Maybe SemanticTokensRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFull SemanticTokensRequestsClientCapabilities (Maybe SemanticTokensFullClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensClientCapabilities Source #

Constructors

SemanticTokensClientCapabilities 

Fields

  • _dynamicRegistration :: Maybe Bool

    Whether implementation supports dynamic registration. If this is set to true the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)` return value for the corresponding server capability as well.

  • _requests :: SemanticTokensRequestsClientCapabilities

    Which requests the client supports and might send to the server depending on the server's capability. Please note that clients might not show semantic tokens or degrade some of the user experience if a range or full request is advertised by the client but not provided by the server. If for example the client capability `requests.full` and `request.range` are both set to true but the server only provides a range provider the client might not render a minimap correctly or might even decide to not show any semantic tokens at all.

  • _tokenTypes :: List SemanticTokenTypes

    The token types that the client supports.

  • _tokenModifiers :: List SemanticTokenModifiers

    The token modifiers that the client supports.

  • _formats :: List TokenFormat

    The formats the clients supports.

  • _overlappingTokenSupport :: Maybe Bool

    Whether the client supports tokens that can overlap each other.

  • _multilineTokenSupport :: Maybe Bool

    Whether the client supports tokens that can span multiple lines.

Instances

Instances details
Eq SemanticTokensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasRequests SemanticTokensClientCapabilities SemanticTokensRequestsClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSemanticTokens TextDocumentClientCapabilities (Maybe SemanticTokensClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDynamicRegistration SemanticTokensClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenTypes SemanticTokensClientCapabilities (List SemanticTokenTypes) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTokenModifiers SemanticTokensClientCapabilities (List SemanticTokenModifiers) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOverlappingTokenSupport SemanticTokensClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMultilineTokenSupport SemanticTokensClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFormats SemanticTokensClientCapabilities (List TokenFormat) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensOptions Source #

Instances

Instances details
Eq SemanticTokensOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

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

Defined in Language.LSP.Types.Lens

data SemanticTokensRegistrationOptions Source #

Instances

Instances details
Eq SemanticTokensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

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

Defined in Language.LSP.Types.Lens

data SemanticTokensParams Source #

Instances

Instances details
Eq SemanticTokensParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasTextDocument SemanticTokensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SemanticTokensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SemanticTokensParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokens Source #

Constructors

SemanticTokens 

Fields

  • _resultId :: Maybe Text

    An optional result id. If provided and clients support delta updating the client will include the result id in the next semantic token request. A server can then instead of computing all semantic tokens again simply send a delta.

  • _xdata :: List UInt

    The actual tokens.

data SemanticTokensDeltaParams Source #

Instances

Instances details
Eq SemanticTokensDeltaParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensDeltaParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensDeltaParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensDeltaParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensDeltaParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasTextDocument SemanticTokensDeltaParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPreviousResultId SemanticTokensDeltaParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SemanticTokensDeltaParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SemanticTokensDeltaParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensEdit Source #

Constructors

SemanticTokensEdit 

Fields

Instances

Instances details
Eq SemanticTokensEdit Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensEdit Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensEdit Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensEdit Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensEdit Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasStart SemanticTokensEdit UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDeleteCount SemanticTokensEdit UInt Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXdata SemanticTokensEdit (Maybe (List UInt)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdits SemanticTokensDelta (List SemanticTokensEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEdits SemanticTokensDeltaPartialResult (List SemanticTokensEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensDelta Source #

Constructors

SemanticTokensDelta 

Fields

Instances

Instances details
Eq SemanticTokensDelta Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensDelta Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensDelta Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensDelta Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensDelta Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasEdits SemanticTokensDelta (List SemanticTokensEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasResultId SemanticTokensDelta (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensDeltaPartialResult Source #

Instances

Instances details
Eq SemanticTokensDeltaPartialResult Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensDeltaPartialResult Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensDeltaPartialResult Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensDeltaPartialResult Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensDeltaPartialResult Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasEdits SemanticTokensDeltaPartialResult (List SemanticTokensEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensRangeParams Source #

Instances

Instances details
Eq SemanticTokensRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensRangeParams Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasTextDocument SemanticTokensRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange SemanticTokensRangeParams Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken SemanticTokensRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken SemanticTokensRangeParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokensWorkspaceClientCapabilities Source #

Constructors

SemanticTokensWorkspaceClientCapabilities 

Fields

  • _refreshSupport :: Maybe Bool

    Whether the client implementation supports a refresh request sent from the server to the client.

    Note that this event is global and will force the client to refresh all semantic tokens currently shown. It should be used with absolute care and is useful for situation where a server for example detect a project wide change that requires such a calculation.

Instances

Instances details
Eq SemanticTokensWorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Read SemanticTokensWorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

Show SemanticTokensWorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

ToJSON SemanticTokensWorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

FromJSON SemanticTokensWorkspaceClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.SemanticTokens

HasSemanticTokens WorkspaceClientCapabilities (Maybe SemanticTokensWorkspaceClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRefreshSupport SemanticTokensWorkspaceClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SemanticTokenAbsolute Source #

A single 'semantic token' as described in the LSP specification, using absolute positions. This is the kind of token that is usually easiest for editors to produce.

data SemanticTokenRelative Source #

A single 'semantic token' as described in the LSP specification, using relative positions.

relativizeTokens :: [SemanticTokenAbsolute] -> [SemanticTokenRelative] Source #

Turn a list of absolutely-positioned tokens into a list of relatively-positioned tokens. The tokens are assumed to be in the order that they appear in the document!

absolutizeTokens :: [SemanticTokenRelative] -> [SemanticTokenAbsolute] Source #

Turn a list of relatively-positioned tokens into a list of absolutely-positioned tokens. The tokens are assumed to be in the order that they appear in the document!

encodeTokens :: SemanticTokensLegend -> [SemanticTokenRelative] -> Either Text [UInt] Source #

Encode a series of relatively-positioned semantic tokens into an integer array following the given legend.

data Edit a Source #

An edit to a buffer of items.

Constructors

Edit 

Instances

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

Defined in Language.LSP.Types.SemanticTokens

Methods

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

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

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

Defined in Language.LSP.Types.SemanticTokens

Methods

compare :: Edit a -> Edit a -> Ordering #

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

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

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

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

max :: Edit a -> Edit a -> Edit a #

min :: Edit a -> Edit a -> Edit a #

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

Defined in Language.LSP.Types.SemanticTokens

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

Defined in Language.LSP.Types.SemanticTokens

Methods

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

show :: Edit a -> String #

showList :: [Edit a] -> ShowS #

computeEdits :: Eq a => [a] -> [a] -> [Edit a] Source #

Compute a list of edits that will turn the first list into the second list.

makeSemanticTokens :: SemanticTokensLegend -> [SemanticTokenAbsolute] -> Either Text SemanticTokens Source #

Convenience method for making a SemanticTokens from a list of SemanticTokenAbsolutes. An error may be returned if

makeSemanticTokensDelta :: SemanticTokens -> SemanticTokens -> SemanticTokensDelta Source #

Convenience function for making a SemanticTokensDelta from a previous and current SemanticTokens. The resulting SemanticTokensDelta lacks a result ID, which must be set separately if you are using that.

data TextDocumentIdentifier Source #

Constructors

TextDocumentIdentifier 

Fields

Instances

Instances details
Eq TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument TextDocumentPositionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument TypeDefinitionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument SignatureHelpParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument SemanticTokensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument SemanticTokensDeltaParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument SemanticTokensRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument SelectionRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument RenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument PrepareRenameParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument ReferenceParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument ImplementationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument HoverParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument FoldingRangeParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentSymbolParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentLinkParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentHighlightParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DefinitionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DeclarationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument CodeLensParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument CallHierarchyPrepareParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DocumentColorParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument ColorPresentationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument CompletionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument CodeActionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri TextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

data VersionedTextDocumentIdentifier Source #

Instances

Instances details
Eq VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasVersion VersionedTextDocumentIdentifier TextDocumentVersion Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri VersionedTextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentItem Source #

Constructors

TextDocumentItem 

Fields

Instances

Instances details
Eq TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasVersion TextDocumentItem Int32 Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri TextDocumentItem Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasText TextDocumentItem Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLanguageId TextDocumentItem Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentPositionParams Source #

Constructors

TextDocumentPositionParams 

Fields

Instances

Instances details
Eq TextDocumentPositionParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentPositionParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentPositionParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentPositionParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentPositionParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument TextDocumentPositionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition TextDocumentPositionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentSyncClientCapabilities Source #

Constructors

TextDocumentSyncClientCapabilities 

Fields

Instances

Instances details
Eq TextDocumentSyncClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentSyncClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentSyncClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentSyncClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentSyncClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Default TextDocumentSyncClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasDynamicRegistration TextDocumentSyncClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWillSaveWaitUntil TextDocumentSyncClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWillSave TextDocumentSyncClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDidSave TextDocumentSyncClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSynchronization TextDocumentClientCapabilities (Maybe TextDocumentSyncClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SaveOptions Source #

Constructors

SaveOptions 

Fields

data TextDocumentSyncKind Source #

Defines how the host (editor) should sync document changes to the language server.

Constructors

TdSyncNone

Documents should not be synced at all.

TdSyncFull

Documents are synced by always sending the full content of the document.

TdSyncIncremental

Documents are synced by sending the full content on open. After that only incremental updates to the document are send.

Instances

Instances details
Eq TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentSyncOptions Source #

Constructors

TextDocumentSyncOptions 

Fields

  • _openClose :: Maybe Bool

    Open and close notifications are sent to the server. If omitted open close notification should not be sent.

  • _change :: Maybe TextDocumentSyncKind

    Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.

  • _willSave :: Maybe Bool

    If present will save notifications are sent to the server. If omitted the notification should not be sent.

  • _willSaveWaitUntil :: Maybe Bool

    If present will save wait until requests are sent to the server. If omitted the request should not be sent.

  • _save :: Maybe (Bool |? SaveOptions)

    If present save notifications are sent to the server. If omitted the notification should not be sent.

Instances

Instances details
Eq TextDocumentSyncOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentSyncOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentSyncOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentSyncOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentSyncOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

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

Defined in Language.LSP.Types.Lens

HasWillSaveWaitUntil TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWillSave TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSave TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOpenClose TextDocumentSyncOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentRegistrationOptions Source #

Instances

Instances details
Eq TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasDocumentSelector TextDocumentRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidOpenTextDocumentParams Source #

Constructors

DidOpenTextDocumentParams 

Fields

Instances

Instances details
Eq DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON DidOpenTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentChangeRegistrationOptions Source #

Instances

Instances details
Eq TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentChangeRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentChangeRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentContentChangeEvent Source #

Constructors

TextDocumentContentChangeEvent 

Fields

  • _range :: Maybe Range

    The range of the document that changed.

  • _rangeLength :: Maybe UInt

    The optional length of the range that got replaced. Deprecated, use _range instead

  • _text :: Text

    The new text for the provided range, if provided. Otherwise the new text of the whole document.

Instances

Instances details
Eq TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentContentChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasText TextDocumentContentChangeEvent Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeLength TextDocumentContentChangeEvent (Maybe UInt) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeTextDocumentParams Source #

Constructors

DidChangeTextDocumentParams 

Fields

  • _textDocument :: VersionedTextDocumentIdentifier

    The document that did change. The version number points to the version after all provided content changes have been applied.

  • _contentChanges :: List TextDocumentContentChangeEvent

    The actual content changes. The content changes describe single state changes to the document. So if there are two content changes c1 (at array index 0) and c2 (at array index 1) for a document in state S then c1 moves the document from S to S' and c2 from S' to S''. So c1 is computed on the state S and c2 is computed on the state S'.

    To mirror the content of a document using change events use the following approach: - start with the same initial content - apply the 'textDocument/didChange' notifications in the order you recevie them. - apply the TextDocumentContentChangeEvents in a single notification in the order you receive them.

Instances

Instances details
Eq DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON DidChangeTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) Source # 
Instance details

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

Instances details
Eq TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasReason WillSaveTextDocumentParams TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WillSaveTextDocumentParams Source #

Instances

Instances details
Eq WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON WillSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasReason WillSaveTextDocumentParams TextDocumentSaveReason Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentSaveRegistrationOptions Source #

Instances

Instances details
Eq TextDocumentSaveRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read TextDocumentSaveRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show TextDocumentSaveRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON TextDocumentSaveRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON TextDocumentSaveRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasIncludeText TextDocumentSaveRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TextDocumentSaveRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidSaveTextDocumentParams Source #

Constructors

DidSaveTextDocumentParams 

Fields

Instances

Instances details
Eq DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON DidSaveTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasText DidSaveTextDocumentParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidCloseTextDocumentParams Source #

Constructors

DidCloseTextDocumentParams 

Fields

Instances

Instances details
Eq DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Read DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

Show DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

ToJSON DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

FromJSON DidCloseTextDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.TextDocument

HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TypeDefinitionClientCapabilities Source #

Constructors

TypeDefinitionClientCapabilities 

Fields

Instances

Instances details
Eq TypeDefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Read TypeDefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Show TypeDefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

ToJSON TypeDefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

FromJSON TypeDefinitionClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

HasDynamicRegistration TypeDefinitionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLinkSupport TypeDefinitionClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTypeDefinition TextDocumentClientCapabilities (Maybe TypeDefinitionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TypeDefinitionOptions Source #

Instances

Instances details
Eq TypeDefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Read TypeDefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Show TypeDefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

ToJSON TypeDefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

FromJSON TypeDefinitionOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

HasWorkDoneProgress TypeDefinitionOptions (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

data TypeDefinitionRegistrationOptions Source #

Instances

Instances details
Eq TypeDefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Read TypeDefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Show TypeDefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

ToJSON TypeDefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

FromJSON TypeDefinitionRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

HasWorkDoneProgress TypeDefinitionRegistrationOptions (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

HasId TypeDefinitionRegistrationOptions (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentSelector TypeDefinitionRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TypeDefinitionParams Source #

Instances

Instances details
Eq TypeDefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Read TypeDefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

Show TypeDefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

ToJSON TypeDefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

FromJSON TypeDefinitionParams Source # 
Instance details

Defined in Language.LSP.Types.TypeDefinition

HasTextDocument TypeDefinitionParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition TypeDefinitionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken TypeDefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken TypeDefinitionParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

newtype Uri Source #

Constructors

Uri 

Fields

Instances

Instances details
Eq Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Methods

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

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

Ord Uri Source # 
Instance details

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

Show Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Methods

showsPrec :: Int -> Uri -> ShowS #

show :: Uri -> String #

showList :: [Uri] -> ShowS #

Generic Uri Source # 
Instance details

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

Methods

hashWithSalt :: Int -> Uri -> Int #

hash :: Uri -> Int #

ToJSON Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

ToJSONKey Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

FromJSON Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

FromJSONKey Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

NFData Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Methods

rnf :: Uri -> () #

HasUri Location Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri TextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri VersionedTextDocumentIdentifier Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri TextDocumentItem Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri PublishDiagnosticsParams Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri CallHierarchyItem Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri FileEvent Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri ShowDocumentParams Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri CreateFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri DeleteFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTargetUri LocationLink Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasOldUri RenameFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewUri RenameFile Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRootUri InitializeParams (Maybe Uri) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTarget DocumentLink (Maybe Uri) Source # 
Instance details

Defined in Language.LSP.Types.Lens

type Rep Uri Source # 
Instance details

Defined in Language.LSP.Types.Uri

type Rep Uri = D1 ('MetaData "Uri" "Language.LSP.Types.Uri" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'True) (C1 ('MetaCons "Uri" 'PrefixI 'True) (S1 ('MetaSel ('Just "getUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data NormalizedUri Source #

Constructors

NormalizedUri !Int !Text 

Instances

Instances details
Eq NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Ord NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Read NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Show NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Generic NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Associated Types

type Rep NormalizedUri :: Type -> Type #

Hashable NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

NFData NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

Methods

rnf :: NormalizedUri -> () #

type Rep NormalizedUri Source # 
Instance details

Defined in Language.LSP.Types.Uri

type Rep NormalizedUri = D1 ('MetaData "NormalizedUri" "Language.LSP.Types.Uri" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "NormalizedUri" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)))

data NormalizedFilePath Source #

Newtype wrapper around FilePath that always has normalized slashes. The NormalizedUri and hash of the FilePath are cached to avoided repeated normalisation when we need to compute them (which is a lot).

This is one of the most performance critical parts of ghcide, do not modify it without profiling.

Instances

Instances details
Eq NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

Ord NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

Show NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

IsString NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

Generic NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

Associated Types

type Rep NormalizedFilePath :: Type -> Type #

Hashable NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

Binary NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

NFData NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

Methods

rnf :: NormalizedFilePath -> () #

type Rep NormalizedFilePath Source # 
Instance details

Defined in Language.LSP.Types.Uri

type Rep NormalizedFilePath = D1 ('MetaData "NormalizedFilePath" "Language.LSP.Types.Uri" "lsp-types-1.5.0.0-7bZZJdWRKoq6KIHdzHxSc5" 'False) (C1 ('MetaCons "NormalizedFilePath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NormalizedUri) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 FilePath)))

normalizedFilePath :: NormalizedUri -> FilePath -> NormalizedFilePath Source #

A smart constructor that performs UTF-8 encoding and hash consing

platformAwareUriToFilePath :: String -> Uri -> Maybe FilePath Source #

Warning: This function is considered private. Use normalizedFilePathToUri instead.

platformAwareFilePathToUri :: SystemOS -> FilePath -> Uri Source #

Warning: This function is considered private. Use normalizedUriToFilePath instead.

data DidChangeWatchedFilesClientCapabilities Source #

Constructors

DidChangeWatchedFilesClientCapabilities 

Fields

Instances

Instances details
Eq DidChangeWatchedFilesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Read DidChangeWatchedFilesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Show DidChangeWatchedFilesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

ToJSON DidChangeWatchedFilesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

FromJSON DidChangeWatchedFilesClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

HasDidChangeWatchedFiles WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDynamicRegistration DidChangeWatchedFilesClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeWatchedFilesRegistrationOptions Source #

Describe options to be used when registering for file system change events.

Constructors

DidChangeWatchedFilesRegistrationOptions 

Fields

Instances

Instances details
Eq DidChangeWatchedFilesRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Read DidChangeWatchedFilesRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Show DidChangeWatchedFilesRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

ToJSON DidChangeWatchedFilesRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

FromJSON DidChangeWatchedFilesRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

HasWatchers DidChangeWatchedFilesRegistrationOptions (List FileSystemWatcher) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FileSystemWatcher Source #

Constructors

FileSystemWatcher 

Fields

  • _globPattern :: Text

    The glob pattern to watch. Glob patterns can have the following syntax: - * to match one or more characters in a path segment - ? to match on one character in a path segment - ** to match any number of path segments, including none - {} to group conditions (e.g. **​/*.{ts,js} matches all TypeScript and JavaScript files) - [] to declare a range of characters to match in a path segment (e.g., example.[0-9] to match on example.0, example.1, …) - [!...] to negate a range of characters to match in a path segment (e.g., example.[!0-9] to match on example.a, example.b, but not example.0)

  • _kind :: Maybe WatchKind

    The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.

Instances

Instances details
Eq FileSystemWatcher Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Read FileSystemWatcher Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Show FileSystemWatcher Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

ToJSON FileSystemWatcher Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

FromJSON FileSystemWatcher Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

HasGlobPattern FileSystemWatcher Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWatchers DidChangeWatchedFilesRegistrationOptions (List FileSystemWatcher) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind FileSystemWatcher (Maybe WatchKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WatchKind Source #

Constructors

WatchKind 

Fields

Instances

Instances details
Eq WatchKind Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Read WatchKind Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Show WatchKind Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

ToJSON WatchKind Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

FromJSON WatchKind Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

HasWatchDelete WatchKind Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWatchCreate WatchKind Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWatchChange WatchKind Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind FileSystemWatcher (Maybe WatchKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FileEvent Source #

An event describing a file change.

Constructors

FileEvent 

Fields

Instances

Instances details
Eq FileEvent Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Read FileEvent Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Show FileEvent Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

ToJSON FileEvent Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

FromJSON FileEvent Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

HasXtype FileEvent FileChangeType Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri FileEvent Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeWatchedFilesParams Source #

Constructors

DidChangeWatchedFilesParams 

Fields

Instances

Instances details
Eq DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Read DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

Show DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

ToJSON DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

FromJSON DidChangeWatchedFilesParams Source # 
Instance details

Defined in Language.LSP.Types.WatchedFiles

HasChanges DidChangeWatchedFilesParams (List FileEvent) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data MessageType Source #

Constructors

MtError

Error = 1,

MtWarning

Warning = 2,

MtInfo

Info = 3,

MtLog

Log = 4

Instances

Instances details
Enum MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

Eq MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

Ord MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

Read MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

Show MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

ToJSON MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

FromJSON MessageType Source # 
Instance details

Defined in Language.LSP.Types.Window

HasXtype ShowMessageParams MessageType Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXtype ShowMessageRequestParams MessageType Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasXtype LogMessageParams MessageType Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ShowMessageParams Source #

Constructors

ShowMessageParams 

Instances

Instances details
Eq ShowMessageParams Source # 
Instance details

Defined in Language.LSP.Types.Window

Read ShowMessageParams Source # 
Instance details

Defined in Language.LSP.Types.Window

Show ShowMessageParams Source # 
Instance details

Defined in Language.LSP.Types.Window

ToJSON ShowMessageParams Source # 
Instance details

Defined in Language.LSP.Types.Window

FromJSON ShowMessageParams Source # 
Instance details

Defined in Language.LSP.Types.Window

HasXtype ShowMessageParams MessageType Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMessage ShowMessageParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

data MessageActionItem Source #

Constructors

MessageActionItem 

Fields

Instances

Instances details
Eq MessageActionItem Source # 
Instance details

Defined in Language.LSP.Types.Window

Read MessageActionItem Source # 
Instance details

Defined in Language.LSP.Types.Window

Show MessageActionItem Source # 
Instance details

Defined in Language.LSP.Types.Window

ToJSON MessageActionItem Source # 
Instance details

Defined in Language.LSP.Types.Window

FromJSON MessageActionItem Source # 
Instance details

Defined in Language.LSP.Types.Window

HasTitle MessageActionItem Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data ShowMessageRequestParams Source #

Instances

Instances details
Eq ShowMessageRequestParams Source # 
Instance details

Defined in Language.LSP.Types.Window

Read ShowMessageRequestParams Source # 
Instance details

Defined in Language.LSP.Types.Window

Show ShowMessageRequestParams Source # 
Instance details

Defined in Language.LSP.Types.Window

ToJSON ShowMessageRequestParams Source # 
Instance details

Defined in Language.LSP.Types.Window

FromJSON ShowMessageRequestParams Source # 
Instance details

Defined in Language.LSP.Types.Window

HasXtype ShowMessageRequestParams MessageType Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasMessage ShowMessageRequestParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data ShowDocumentParams Source #

Params to show a document.

Since: 3.16.0

Constructors

ShowDocumentParams 

Fields

  • _uri :: Uri

    The document uri to show.

  • _external :: Maybe Bool

    Indicates to show the resource in an external program. To show for example `https://code.visualstudio.com/` in the default WEB browser set external to true.

  • _takeFocus :: Maybe Bool

    An optional property to indicate whether the editor showing the document should take focus or not. Clients might ignore this property if an external program is started.

  • _selection :: Maybe Range

    An optional selection range if the document is a text document. Clients might ignore the property if an external program is started or the file is not a text file.

Instances

Instances details
Eq ShowDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.Window

Read ShowDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.Window

Show ShowDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.Window

ToJSON ShowDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.Window

FromJSON ShowDocumentParams Source # 
Instance details

Defined in Language.LSP.Types.Window

HasUri ShowDocumentParams Uri Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTakeFocus ShowDocumentParams (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSelection ShowDocumentParams (Maybe Range) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExternal ShowDocumentParams (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ShowDocumentResult Source #

The result of an show document request.

Since: 3.16.0

Constructors

ShowDocumentResult 

Fields

  • _success :: Bool

    A boolean indicating if the show was successful.

data LogMessageParams Source #

Constructors

LogMessageParams 

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.

data WorkspaceFolder Source #

Constructors

WorkspaceFolder 

Fields

  • _uri :: Text

    The URI of the workspace folder.

  • _name :: Text

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

Instances

Instances details
Eq WorkspaceFolder Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

Read WorkspaceFolder Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

Show WorkspaceFolder Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

ToJSON WorkspaceFolder Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

FromJSON WorkspaceFolder Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

HasName WorkspaceFolder Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri WorkspaceFolder Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceFoldersChangeEvent Source #

The workspace folder change event.

Constructors

WorkspaceFoldersChangeEvent 

Fields

Instances

Instances details
Eq WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

Read WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

Show WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

ToJSON WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

FromJSON WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRemoved WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAdded WorkspaceFoldersChangeEvent (List WorkspaceFolder) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeWorkspaceFoldersParams Source #

Constructors

DidChangeWorkspaceFoldersParams 

Fields

Instances

Instances details
Eq DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

Read DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

Show DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

ToJSON DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

FromJSON DidChangeWorkspaceFoldersParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceFolders

HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceSymbolKindClientCapabilities Source #

Constructors

WorkspaceSymbolKindClientCapabilities 

Fields

  • _valueSet :: Maybe (List SymbolKind)

    The symbol kind values the client supports. When this property exists the client also guarantees that it will handle values outside its set gracefully and falls back to a default value when unknown.

    If this property is not present the client only supports the symbol kinds from File to Array as defined in the initial version of the protocol.

Instances

Instances details
Eq WorkspaceSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Read WorkspaceSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Show WorkspaceSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

ToJSON WorkspaceSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

FromJSON WorkspaceSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Default WorkspaceSymbolKindClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

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

Defined in Language.LSP.Types.Lens

HasSymbolKind WorkspaceSymbolClientCapabilities (Maybe WorkspaceSymbolKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceSymbolTagClientCapabilities Source #

Constructors

WorkspaceSymbolTagClientCapabilities 

Fields

Instances

Instances details
Eq WorkspaceSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Read WorkspaceSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Show WorkspaceSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

ToJSON WorkspaceSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

FromJSON WorkspaceSymbolTagClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

HasTagSupport WorkspaceSymbolClientCapabilities (Maybe WorkspaceSymbolTagClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceSymbolClientCapabilities Source #

Constructors

WorkspaceSymbolClientCapabilities 

Fields

Instances

Instances details
Eq WorkspaceSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Read WorkspaceSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Show WorkspaceSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

ToJSON WorkspaceSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

FromJSON WorkspaceSymbolClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

HasSymbol WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDynamicRegistration WorkspaceSymbolClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTagSupport WorkspaceSymbolClientCapabilities (Maybe WorkspaceSymbolTagClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSymbolKind WorkspaceSymbolClientCapabilities (Maybe WorkspaceSymbolKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceSymbolOptions Source #

Instances

Instances details
Eq WorkspaceSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Read WorkspaceSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Show WorkspaceSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

ToJSON WorkspaceSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

FromJSON WorkspaceSymbolOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

HasWorkDoneProgress WorkspaceSymbolOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspaceSymbolProvider ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceSymbolRegistrationOptions Source #

Instances

Instances details
Eq WorkspaceSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Read WorkspaceSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Show WorkspaceSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

ToJSON WorkspaceSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

FromJSON WorkspaceSymbolRegistrationOptions Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

HasWorkDoneProgress WorkspaceSymbolRegistrationOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceSymbolParams Source #

Instances

Instances details
Eq WorkspaceSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Read WorkspaceSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

Show WorkspaceSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

ToJSON WorkspaceSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

FromJSON WorkspaceSymbolParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceSymbol

HasQuery WorkspaceSymbolParams Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkDoneToken WorkspaceSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPartialResultToken WorkspaceSymbolParams (Maybe ProgressToken) Source # 
Instance details

Defined in Language.LSP.Types.Lens