lsp-types-1.0.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
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

HasValueSet CodeActionKindClientCapabilities (List CodeActionKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind CodeAction (Maybe 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
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
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 CodeActionClientCapabilities Source #

Constructors

CodeActionClientCapabilities 

Fields

Instances
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

HasCodeAction TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasIsPreferredSupport 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

data CodeActionOptions Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

data CodeActionRegistrationOptions Source #

Instances
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

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

HasDiagnostics CodeActionContext (List Diagnostic) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

data CodeActionParams Source #

Instances
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 CodeAction and/or a CodeAction. If both are supplied, the CodeAction is applied first, then the 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

  • _edit :: Maybe WorkspaceEdit

    The workspace edit this code action performs.

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

Instances
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

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

Defined in Language.LSP.Types.Lens

HasCommand CodeAction (Maybe Command) 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

HasIsPreferred CodeAction (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CodeLensClientCapabilities Source #

Constructors

CodeLensClientCapabilities 

Fields

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

HasResolveProvider 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

data CodeLensRegistrationOptions Source #

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

HasDynamicRegistration ExecuteCommandClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExecuteCommand WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ExecuteCommandOptions Source #

Instances
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

HasCommands ExecuteCommandOptions (List Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasExecuteCommandProvider ServerCapabilities (Maybe ExecuteCommandOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ExecuteCommandRegistrationOptions Source #

Instances
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
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
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
HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

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

Defined in Language.LSP.Types.Lens

HasCode Diagnostic (Maybe (Int |? String)) 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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "InL" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a)) :+: C1 (MetaCons "InR" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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
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 #

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

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasWorkspaceFolders InitializeParams (Maybe (List WorkspaceFolder)) 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 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

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

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasRetriggerCharacters SignatureHelpRegistrationOptions (Maybe (List String)) 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

HasRegistrations RegistrationParams (List SomeRegistration) 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 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 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 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

HasUnregisterations UnregistrationParams (List Unregistration) 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

HasContentChanges DidChangeTextDocumentParams (List TextDocumentContentChangeEvent) 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

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

Defined in Language.LSP.Types.Lens

HasSignatures SignatureHelp (List SignatureInformation) 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

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

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

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

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

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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" True) (C1 (MetaCons "List" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [a])))

data Empty Source #

Constructors

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

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

Defined in Language.LSP.Types.Lens

HasKind CompletionItem (Maybe CompletionItemKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionItemTag Source #

Constructors

CtDeprecated

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

Instances
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
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 CompletionItemClientCapabilities Source #

Constructors

CompletionItemClientCapabilities 

Fields

  • _snippetSupport :: Maybe Bool

    Client supports snippets as insert text.

    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.

  • _commitCharactersSupport :: Maybe Bool

    Client supports commit characters on a completion item.

  • _documentationFormat :: Maybe (List MarkupKind)

    Client supports the follow content formats for the documentation property. The order describes the preferred format of the client.

  • _deprecatedSupport :: Maybe Bool

    Client supports the deprecated property on a completion item.

  • _preselectSupport :: Maybe Bool

    Client supports the preselect property on a completion item.

  • _tagSupport :: Maybe CompletionItemTagsClientCapabilities

    Client supports the tag property on a completion item. Clients supporting tags have to handle unknown tags gracefully. Clients especially need to preserve unknown tags when sending a completion item back to the server in a resolve call.

Instances
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

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

  • _textEdit :: Maybe TextEdit

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

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

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

  • _commitCharacters :: Maybe (List Text)

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

  • _command :: Maybe Command

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

  • _xdata :: Maybe Value

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

Instances
Eq CompletionItem Source # 
Instance details

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

HasItems CompletionList (List CompletionItem) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentation CompletionItem (Maybe CompletionDoc) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCommand CompletionItem (Maybe Command) 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 TextEdit) 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

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

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

HasTriggerCharacters CompletionOptions (Maybe [String]) 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 [String]) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCompletionProvider ServerCapabilities (Maybe CompletionOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionRegistrationOptions Source #

Instances
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 [String]) 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 [String]) 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
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

HasContext CompletionParams (Maybe CompletionContext) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTriggerCharacter CompletionContext (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data CompletionParams Source #

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

HasDynamicRegistration DidChangeConfigurationClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDidChangeConfiguration WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DidChangeConfigurationParams Source #

Constructors

DidChangeConfigurationParams 

Fields

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

data DefinitionRegistrationOptions Source #

data DiagnosticSeverity Source #

Constructors

DsError

Error = 1,

DsWarning

Warning = 2,

DsInfo

Info = 3,

DsHint

Hint = 4

Instances
Eq DiagnosticSeverity Source # 
Instance details

Defined in Language.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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" 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
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "DtUnnecessary" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DtDeprecated" PrefixI False) (U1 :: Type -> Type))

data DiagnosticRelatedInformation Source #

Instances
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "DiagnosticRelatedInformation" PrefixI True) (S1 (MetaSel (Just "_location") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Location) :*: S1 (MetaSel (Just "_message") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data Diagnostic Source #

Instances
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

HasRelatedInformation Diagnostic (Maybe (List DiagnosticRelatedInformation)) 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

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

Defined in Language.LSP.Types.Lens

HasCode Diagnostic (Maybe (Int |? String)) 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

type Rep Diagnostic Source # 
Instance details

Defined in Language.LSP.Types.Diagnostic

data PublishDiagnosticsTagsClientCapabilities Source #

Constructors

PublishDiagnosticsTagsClientCapabilities 

Fields

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

HasVersionSupport PublishDiagnosticsClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRelatedInformation PublishDiagnosticsClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPublishDiagnostics TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) 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 Int

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

HasDynamicRegistration DocumentColorClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasColorProvider TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentColorOptions Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

HasWorkDoneProgress DocumentColorOptions (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentColorRegistrationOptions Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

HasWorkDoneProgress DocumentColorRegistrationOptions (Maybe Bool) 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
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 :: Int

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

  • _green :: Int

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

  • _blue :: Int

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

  • _alpha :: Int

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

Instances
Eq Color Source # 
Instance details

Defined in Language.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 Int Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasGreen Color Int Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasBlue Color Int Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasAlpha Color Int 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
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
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
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 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 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 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

HasLanguage DocumentFilter (Maybe Text) 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

data DocumentHighlightClientCapabilities Source #

Constructors

DocumentHighlightClientCapabilities 

Fields

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

HasDocumentLink TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTooltipSupport DocumentLinkClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentLinkOptions Source #

Instances
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

HasResolveProvider 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

data DocumentLinkRegistrationOptions Source #

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

    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.

data DocumentSymbolOptions Source #

Instances
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

data DocumentSymbolRegistrationOptions Source #

Instances
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

HasDocumentSelector DocumentSymbolRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentSymbolParams Source #

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

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 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 Value as defined in the initial version of the protocol.

Instances
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 DocumentSymbolClientCapabilities Source #

Constructors

DocumentSymbolClientCapabilities 

Fields

Instances
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

HasDocumentSymbol TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSymbolKind DocumentSymbolClientCapabilities (Maybe DocumentSymbolKindClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasHierarchicalDocumentSymbolSupport DocumentSymbolClientCapabilities (Maybe Bool) 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.

  • _deprecated :: Maybe Bool

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

  • _range :: Range
     
  • _selectionRange :: Range

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

  • _children :: Maybe (List DocumentSymbol)

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

Instances
Eq DocumentSymbol Source # 
Instance details

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

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasName DocumentSymbol Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasKind DocumentSymbol SymbolKind 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.

  • _deprecated :: Maybe Bool

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

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

  • _location :: Location
     
  • _containerName :: Maybe Text

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

Instances
Eq SymbolInformation Source # 
Instance details

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

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 Int

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

HasFoldingRange TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRangeLimit FoldingRangeClientCapabilities (Maybe Int) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLineFoldingOnly FoldingRangeClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data FoldingRangeOptions Source #

Instances
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
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
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 :: Int

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

  • _startCharacter :: Maybe Int

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

  • _endLine :: Int

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

  • _endCharacter :: Maybe Int

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

  • _kind :: Maybe FoldingRangeKind

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

Instances
Eq FoldingRange Source # 
Instance details

Defined in Language.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 Int Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEndLine FoldingRange Int 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 Int) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasEndCharacter FoldingRange (Maybe Int) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data DocumentFormattingClientCapabilities Source #

Constructors

DocumentFormattingClientCapabilities 

Fields

Instances
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
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
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
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 Int 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
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
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
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
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
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
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
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
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
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 String Source # 
Instance details

Defined in Language.LSP.Types.Lens

data HoverClientCapabilities Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

HasHover TextDocumentClientCapabilities (Maybe HoverClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data HoverRegistrationOptions Source #

Instances
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 MarkedString Source #

Deprecated: Use MarkupContent instead, since 3.3.0 (11242017)

Constructors

PlainString Text

Deprecated: Use MarkupContent instead, since 3.3.0 (11242017)

CodeString LanguageString

Deprecated: Use MarkupContent instead, since 3.3.0 (11242017)

data HoverContents Source #

Instances
Eq HoverContents Source # 
Instance details

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

Constructors

ImplementationClientCapabilities 

Fields

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

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

Defined in Language.LSP.Types.Lens

data ImplementationRegistrationOptions Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

data ImplementationParams Source #

data ClientInfo Source #

Constructors

ClientInfo 

Fields

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

Constructors

Position 

Fields

  • _line :: Int

    Line position in a document (zero-based).

  • _character :: Int

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

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

HasPosition TextDocumentPositionParams 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 DocumentOnTypeFormattingParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DocumentHighlightParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition DeclarationParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPosition CompletionParams Position Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLine Position Int Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasCharacter Position Int 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

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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "Position" PrefixI True) (S1 (MetaSel (Just "_line") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "_character") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

data Range Source #

Constructors

Range 

Fields

Instances
Eq Range Source # 
Instance details

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

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

HasSelectionRange DocumentSymbol Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange Location 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 TextEdit 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

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

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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "Range" PrefixI True) (S1 (MetaSel (Just "_start") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Position) :*: S1 (MetaSel (Just "_end") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Position)))

data Location Source #

Constructors

Location 

Fields

Instances
Eq Location Source # 
Instance details

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

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

HasRange Location Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri Location Uri 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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "Location" PrefixI True) (S1 (MetaSel (Just "_uri") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Uri) :*: S1 (MetaSel (Just "_range") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Range)))

data 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

mkRange :: Int -> Int -> Int -> Int -> 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 Int 
IdString Text 
Instances
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 #

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 :: Type Source #

Methods

toBase :: 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 MarkupKind Source #

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

Constructors

MkPlainText

Plain text is supported as a content format

MkMarkdown

Markdown is supported as a content format

Instances
Eq MarkupKind Source # 
Instance details

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

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

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

Create a MarkupContent containing a quoted language string only.

unmarkedUpContent :: Text -> MarkupContent Source #

Create a MarkupContent containing unquoted text

sectionSeparator :: Text Source #

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

data 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 
WindowShowMessage :: Method FromServer Notification 
WindowShowMessageRequest :: 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
IxOrd (LspId :: Method f Request -> Type) Source # 
Instance details

Defined in Language.LSP.Types.LspId

Associated Types

type Base LspId :: Type Source #

Methods

toBase :: LspId a -> Base LspId Source #

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

Defined in Language.LSP.Types.Method

Methods

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

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

Defined in Language.LSP.Types.Method

Methods

gcompare :: 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 
SWindowShowMessage :: SMethod WindowShowMessage 
SWindowShowMessageRequest :: SMethod WindowShowMessageRequest 
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
Eq FromServerMessage Source # 
Instance details

Defined in Language.LSP.Types.Message

Show FromServerMessage Source # 
Instance details

Defined in Language.LSP.Types.Message

ToJSON FromClientMessage Source # 
Instance details

Defined in Language.LSP.Types.Message

ToJSON FromServerMessage Source # 
Instance details

Defined in Language.LSP.Types.Message

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

Defined in Language.LSP.Types.Method

Methods

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

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

Defined in Language.LSP.Types.Method

Methods

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

data SomeClientMethod Source #

Constructors

SomeClientMethod (SMethod m) 
Instances
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

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 WindowShowMessage = ShowMessageParams 
MessageParams WindowShowMessageRequest = ShowMessageRequestParams 
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 = Range |? RangeWithPlaceholder 
ResponseResult TextDocumentFoldingRange = List FoldingRange 
ResponseResult TextDocumentSelectionRange = List SelectionRange 
ResponseResult WindowShowMessageRequest = Maybe MessageActionItem 
ResponseResult WindowWorkDoneProgressCreate = () 
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
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "NotificationMessage" PrefixI True) (S1 (MetaSel (Just "_jsonrpc") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "_method") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (SMethod m)) :*: S1 (MetaSel (Just "_params") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (MessageParams m)))))

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

Constructors

RequestMessage 

Fields

Instances
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "RequestMessage" PrefixI True) ((S1 (MetaSel (Just "_jsonrpc") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (LspId m))) :*: (S1 (MetaSel (Just "_method") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (SMethod m)) :*: S1 (MetaSel (Just "_params") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (MessageParams m)))))

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
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
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "ResponseMessage" PrefixI True) (S1 (MetaSel (Just "_jsonrpc") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (LspId m))) :*: S1 (MetaSel (Just "_result") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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 #

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

Heterogeneous equality on singleton server methods

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

Heterogeneous equality on singlton 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
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 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 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 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 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 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 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 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 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
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 Double

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

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

Instances
Eq WorkDoneProgressBeginParams Source # 
Instance details

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

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

Instances
Eq WorkDoneProgressReportParams Source # 
Instance details

Defined in Language.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 Double) 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
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
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
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 ReferencesClientCapabilities Source #

Constructors

ReferencesClientCapabilities 

Fields

Instances
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 

data ReferenceRegistrationOptions Source #

data ReferenceContext Source #

Constructors

ReferenceContext 

Fields

Instances
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

HasIncludeDeclaration ReferenceContext Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasContext ReferenceParams ReferenceContext Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ReferenceParams Source #

Instances
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 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
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "Registration" PrefixI True) (S1 (MetaSel (Just "_id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "_method") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (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 RenameClientCapabilities Source #

Constructors

RenameClientCapabilities 

Fields

Instances
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

HasRename TextDocumentClientCapabilities (Maybe RenameClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasPrepareSupport RenameClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data RenameOptions Source #

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

HasSignatureInformation SignatureHelpClientCapabilities (Maybe SignatureHelpSignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpClientCapabilities Source #

Constructors

SignatureHelpClientCapabilities 

Fields

Instances
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

HasSignatureInformation SignatureHelpClientCapabilities (Maybe SignatureHelpSignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSignatureHelp TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpOptions Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasSignatureHelpProvider ServerCapabilities (Maybe SignatureHelpOptions) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpRegistrationOptions Source #

Instances
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 String)) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasDocumentSelector SignatureHelpRegistrationOptions (Maybe DocumentSelector) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ParameterInformation Source #

Instances
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 Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentation ParameterInformation (Maybe Text) 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 #

Instances
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 Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasParameters SignatureInformation (Maybe (List ParameterInformation)) 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 #

Constructors

SignatureHelp 

Fields

Instances
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

HasSignatures SignatureHelp (List SignatureInformation) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveSignature SignatureHelp (Maybe Int) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasActiveParameter SignatureHelp (Maybe Int) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data SignatureHelpContext Source #

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

Constructors

SignatureHelpContext 

Fields

data StaticRegistrationOptions Source #

Constructors

StaticRegistrationOptions 

Fields

data SelectionRangeClientCapabilities Source #

Constructors

SelectionRangeClientCapabilities 

Fields

Instances
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
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
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
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 TextDocumentIdentifier Source #

Constructors

TextDocumentIdentifier 

Fields

Instances
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 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 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 DeclarationParams TextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion VersionedTextDocumentIdentifier TextDocumentVersion 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
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

HasTextDocument DidOpenTextDocumentParams TextDocumentItem Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasText TextDocumentItem Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasVersion TextDocumentItem Int Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasUri TextDocumentItem Uri 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
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
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
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

HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextDocumentSync ServerCapabilities (Maybe (TextDocumentSyncOptions |? 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
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

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

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

Defined in Language.LSP.Types.Lens

data TextDocumentRegistrationOptions Source #

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

    Deprecated: Use _range instead

    The optional length of the range that got replaced.

  • _text :: Text

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

Instances
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

HasRangeLength TextDocumentContentChangeEvent (Maybe Int) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasRange TextDocumentContentChangeEvent (Maybe Range) 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
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
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
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
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
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
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
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
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

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

Defined in Language.LSP.Types.Lens

data TypeDefinitionRegistrationOptions Source #

Instances
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

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

Defined in Language.LSP.Types.Lens

data TypeDefinitionParams Source #

newtype Uri Source #

Constructors

Uri 

Fields

Instances
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 FileEvent 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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" True) (C1 (MetaCons "Uri" PrefixI True) (S1 (MetaSel (Just "getUri") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))

data NormalizedUri Source #

Constructors

NormalizedUri !Int !Text 
Instances
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" 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
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.0.0.0-4tl9hJ01Xf3Dwl9RCbFmlD" False) (C1 (MetaCons "NormalizedFilePath" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NormalizedUri) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 FilePath)))

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

HasDynamicRegistration DidChangeWatchedFilesClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDidChangeWatchedFiles WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) 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
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 :: String

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

data DidChangeWatchedFilesParams Source #

Constructors

DidChangeWatchedFilesParams 

Fields

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

data MessageActionItem Source #

Constructors

MessageActionItem 

Fields

Instances
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
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 LogMessageParams Source #

Constructors

LogMessageParams 

data TextEdit Source #

Constructors

TextEdit 

Fields

Instances
Eq TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON TextEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasRange TextEdit Range Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasNewText TextEdit Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextEdit ColorPresentation (Maybe TextEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasTextEdit CompletionItem (Maybe TextEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data TextDocumentEdit Source #

Instances
Eq TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON TextDocumentEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasTextDocument TextDocumentEdit VersionedTextDocumentIdentifier Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasEdits TextDocumentEdit (List TextEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data WorkspaceEdit Source #

Instances
Eq WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Semigroup WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Monoid WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

Defined in Language.LSP.Types.Lens

HasEdit CodeAction (Maybe WorkspaceEdit) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasChanges WorkspaceEdit (Maybe WorkspaceEditMap) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ResourceOperationKind Source #

Constructors

ResourceOperationCreate

Supports creating new files and folders.

ResourceOperationRename

Supports renaming existing files and folders.

ResourceOperationDelete

Supports deleting existing files and folders.

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

data WorkspaceEditClientCapabilities Source #

Constructors

WorkspaceEditClientCapabilities 

Fields

Instances
Eq WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON WorkspaceEditClientCapabilities Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

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

Defined in Language.LSP.Types.Lens

HasFailureHandling WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasDocumentChanges WorkspaceEditClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasWorkspaceEdit WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ApplyWorkspaceEditParams Source #

Constructors

ApplyWorkspaceEditParams 

Fields

  • _label :: Maybe Text

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

  • _edit :: WorkspaceEdit

    The edits to apply

Instances
Eq ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ApplyWorkspaceEditParams Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasEdit ApplyWorkspaceEditParams WorkspaceEdit Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasLabel ApplyWorkspaceEditParams (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

data ApplyWorkspaceEditResponseBody Source #

Constructors

ApplyWorkspaceEditResponseBody 

Fields

  • _applied :: Bool

    Indicates whether the edit was applied or not.

  • _failureReason :: Maybe Text

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

Instances
Eq ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Read ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

Show ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

ToJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

FromJSON ApplyWorkspaceEditResponseBody Source # 
Instance details

Defined in Language.LSP.Types.WorkspaceEdit

HasApplied ApplyWorkspaceEditResponseBody Bool Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasFailureReason ApplyWorkspaceEditResponseBody (Maybe Text) Source # 
Instance details

Defined in Language.LSP.Types.Lens

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

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

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

editTextEdit outer inner applies inner to the text inside outer.

data WorkspaceFolder Source #

Constructors

WorkspaceFolder 

Fields

  • _uri :: Text

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

  • _name :: Text

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

Instances
Eq WorkspaceFolder Source # 
Instance details

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

HasUri WorkspaceFolder Text Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasName 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
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
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
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 WorkspaceSymbolClientCapabilities Source #

Constructors

WorkspaceSymbolClientCapabilities 

Fields

Instances
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

HasDynamicRegistration WorkspaceSymbolClientCapabilities (Maybe Bool) Source # 
Instance details

Defined in Language.LSP.Types.Lens

HasSymbol WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) 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
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

data WorkspaceSymbolRegistrationOptions Source #

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