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

Language.LSP.Types

Synopsis

Documentation

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

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

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

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

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

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 (Int |? 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.2.0.0-7pt44wIbdZXC4MysLJdkbt" '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) #

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

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

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.2.0.0-7pt44wIbdZXC4MysLJdkbt" '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 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