lsp-types-2.3.0.1: Haskell library for the Microsoft Language Server Protocol, data types

Safe Haskell | None
Language | GHC2021

Language.LSP.Protocol.Types

Contents

- Basic types and functions
  - URIs
  - Locations
  - LSP enumerations
  - Singleton types
- Helpers for working with LSP types
  - Edits
  - Markup
  - Code actions
  - Progress
  - Semantic tokens
  - WatchKinds
- Main LSP types and functions

Synopsis

- data UInt
- data Null = Null
- data Int32
- data a |? b
  - = InL a
  - | InR b
- (.:!?) :: FromJSON v => Object -> Key -> Parser (Maybe v)
- toEither :: (a |? b) -> Either a b
- _L :: forall a b p f. (Choice p, Applicative f) => p a (f a) -> p (a |? b) (f (a |? b))
- _R :: forall a b p f. (Choice p, Applicative f) => p b (f b) -> p (a |? b) (f (a |? b))
- absorbNull :: Monoid a => (a |? Null) -> a
- nullToMaybe :: (a |? Null) -> Maybe a
- maybeToNull :: Maybe a -> a |? Null
- (.=?) :: (KeyValue e kv, ToJSON v) => String -> Maybe v -> [kv]
- data EncodingException
- newtype Uri = Uri {
  - getUri :: Text
  }
- uriToFilePath :: Uri -> Maybe FilePath
- filePathToUri :: FilePath -> Uri
- data NormalizedUri = NormalizedUri !Int !Text
- toNormalizedUri :: Uri -> NormalizedUri
- fromNormalizedUri :: NormalizedUri -> Uri
- data NormalizedFilePath
- toNormalizedFilePath :: FilePath -> NormalizedFilePath
- fromNormalizedFilePath :: NormalizedFilePath -> FilePath
- normalizedFilePathToUri :: NormalizedFilePath -> NormalizedUri
- uriToNormalizedFilePath :: NormalizedUri -> Maybe NormalizedFilePath
- emptyNormalizedFilePath :: NormalizedFilePath
- platformAwareUriToFilePath :: String -> Uri -> Maybe FilePath
- platformAwareFilePathToUri :: SystemOS -> FilePath -> Uri
- osPathToNormalizedFilePath :: MonadThrow m => OsPath -> m NormalizedFilePath
- normalizedFilePathToOsPath :: MonadThrow m => NormalizedFilePath -> m OsPath
- mkRange :: UInt -> UInt -> UInt -> UInt -> Range
- isSubrangeOf :: Range -> Range -> Bool
- positionInRange :: Position -> Range -> Bool
- class LspEnum a where
  - type EnumBaseType a
  - knownValues :: Set a
  - toEnumBaseType :: a -> EnumBaseType a
  - fromEnumBaseType :: EnumBaseType a -> Maybe a
- class LspEnum a => LspOpenEnum a where
  - fromOpenEnumBaseType :: EnumBaseType a -> a
- type family EnumBaseType a
- newtype AsLspEnum a = AsLspEnum a
- data AString (s :: Symbol) where
  - AString :: forall (s :: Symbol). KnownSymbol s => AString s
- data AnInteger (n :: Nat) where
  - AnInteger :: forall (n :: Nat). KnownNat n => AnInteger n
- type DocumentChange = TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))
- applyTextEdit :: TextEdit -> Text -> Text
- editTextEdit :: TextEdit -> TextEdit -> TextEdit
- _versionedTextDocumentIdentifier :: Prism' OptionalVersionedTextDocumentIdentifier VersionedTextDocumentIdentifier
- mkPlainText :: Text -> MarkupContent
- mkMarkdown :: Text -> MarkupContent
- mkMarkdownCodeBlock :: Text -> Text -> MarkupContent
- sectionSeparator :: Text
- plainTextToMarkdown :: Text -> Text
- codeActionKindSubsumes :: CodeActionKind -> CodeActionKind -> Bool
- _workDoneProgressBegin :: Prism' Value WorkDoneProgressBegin
- _workDoneProgressEnd :: Prism' Value WorkDoneProgressEnd
- _workDoneProgressReport :: Prism' Value WorkDoneProgressReport
- data Edit a = Edit {
  - editStart :: UInt
  - editDeleteCount :: UInt
  - editInsertions :: [a]
  }
- defaultSemanticTokensLegend :: SemanticTokensLegend
- data SemanticTokenAbsolute = SemanticTokenAbsolute {
  - _line :: UInt
  - _startChar :: UInt
  - _length :: UInt
  - _tokenType :: SemanticTokenTypes
  - _tokenModifiers :: [SemanticTokenModifiers]
  }
- data SemanticTokenRelative = SemanticTokenRelative {
  - _deltaLine :: UInt
  - _deltaStartChar :: UInt
  - _length :: UInt
  - _tokenType :: SemanticTokenTypes
  - _tokenModifiers :: [SemanticTokenModifiers]
  }
- relativizeTokens :: [SemanticTokenAbsolute] -> [SemanticTokenRelative]
- absolutizeTokens :: [SemanticTokenRelative] -> [SemanticTokenAbsolute]
- encodeTokens :: SemanticTokensLegend -> [SemanticTokenRelative] -> Either Text [UInt]
- computeEdits :: Eq a => [a] -> [a] -> [Edit a]
- makeSemanticTokens :: SemanticTokensLegend -> [SemanticTokenAbsolute] -> Either Text SemanticTokens
- makeSemanticTokensDelta :: SemanticTokens -> SemanticTokens -> SemanticTokensDelta
- containsCreate :: WatchKind -> Bool
- containsChange :: WatchKind -> Bool
- containsDelete :: WatchKind -> Bool
- combineWatchKinds :: Set WatchKind -> WatchKind
- data Location = Location {
  - _uri :: Uri
  - _range :: Range
  }
- data Color = Color {
  - _red :: Float
  - _green :: Float
  - _blue :: Float
  - _alpha :: Float
  }
- data Range = Range {
  - _start :: Position
  - _end :: Position
  }
- data Registration = Registration {
  - _id :: Text
  - _method :: Text
  - _registerOptions :: Maybe Value
  }
- data CodeAction = CodeAction {
  - _title :: Text
  - _kind :: Maybe CodeActionKind
  - _diagnostics :: Maybe [Diagnostic]
  - _isPreferred :: Maybe Bool
  - _disabled :: Maybe CodeActionDisabled
  - _edit :: Maybe WorkspaceEdit
  - _command :: Maybe Command
  - _data_ :: Maybe Value
  }
- data SemanticTokens = SemanticTokens {
  - _resultId :: Maybe Text
  - _data_ :: [UInt]
  }
- data MarkupContent = MarkupContent {
  - _kind :: MarkupKind
  - _value :: Text
  }
- data Position = Position {
  - _line :: UInt
  - _character :: UInt
  }
- data MarkupKind
  - = MarkupKind_PlainText
  - | MarkupKind_Markdown
- data WorkspaceEdit = WorkspaceEdit {
  - _changes :: Maybe (Map Uri [TextEdit])
  - _documentChanges :: Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]
  - _changeAnnotations :: Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)
  }
- data WorkDoneProgressBegin = WorkDoneProgressBegin {
  - _kind :: AString "begin"
  - _title :: Text
  - _cancellable :: Maybe Bool
  - _message :: Maybe Text
  - _percentage :: Maybe UInt
  }
- data WorkDoneProgressEnd = WorkDoneProgressEnd {
  - _kind :: AString "end"
  - _message :: Maybe Text
  }
- data WorkDoneProgressReport = WorkDoneProgressReport {
  - _kind :: AString "report"
  - _cancellable :: Maybe Bool
  - _message :: Maybe Text
  - _percentage :: Maybe UInt
  }
- data SemanticTokenModifiers
  - = SemanticTokenModifiers_Declaration
  - | SemanticTokenModifiers_Definition
  - | SemanticTokenModifiers_Readonly
  - | SemanticTokenModifiers_Static
  - | SemanticTokenModifiers_Deprecated
  - | SemanticTokenModifiers_Abstract
  - | SemanticTokenModifiers_Async
  - | SemanticTokenModifiers_Modification
  - | SemanticTokenModifiers_Documentation
  - | SemanticTokenModifiers_DefaultLibrary
  - | SemanticTokenModifiers_Custom Text
- data SemanticTokenTypes
  - = SemanticTokenTypes_Namespace
  - | SemanticTokenTypes_Type
  - | SemanticTokenTypes_Class
  - | SemanticTokenTypes_Enum
  - | SemanticTokenTypes_Interface
  - | SemanticTokenTypes_Struct
  - | SemanticTokenTypes_TypeParameter
  - | SemanticTokenTypes_Parameter
  - | SemanticTokenTypes_Variable
  - | SemanticTokenTypes_Property
  - | SemanticTokenTypes_EnumMember
  - | SemanticTokenTypes_Event
  - | SemanticTokenTypes_Function
  - | SemanticTokenTypes_Method
  - | SemanticTokenTypes_Macro
  - | SemanticTokenTypes_Keyword
  - | SemanticTokenTypes_Modifier
  - | SemanticTokenTypes_Comment
  - | SemanticTokenTypes_String
  - | SemanticTokenTypes_Number
  - | SemanticTokenTypes_Regexp
  - | SemanticTokenTypes_Operator
  - | SemanticTokenTypes_Decorator
  - | SemanticTokenTypes_Custom Text
- data SemanticTokensDelta = SemanticTokensDelta {
  - _resultId :: Maybe Text
  - _edits :: [SemanticTokensEdit]
  }
- data SemanticTokensEdit = SemanticTokensEdit {
  - _start :: UInt
  - _deleteCount :: UInt
  - _data_ :: Maybe [UInt]
  }
- data SemanticTokensLegend = SemanticTokensLegend {
  - _tokenTypes :: [Text]
  - _tokenModifiers :: [Text]
  }
- data WatchKind
  - = WatchKind_Create
  - | WatchKind_Change
  - | WatchKind_Delete
  - | WatchKind_Custom UInt
- data ApplyWorkspaceEditParams = ApplyWorkspaceEditParams {
  - _label :: Maybe Text
  - _edit :: WorkspaceEdit
  }
- data ApplyWorkspaceEditResult = ApplyWorkspaceEditResult {
  - _applied :: Bool
  - _failureReason :: Maybe Text
  - _failedChange :: Maybe UInt
  }
- data CallHierarchyIncomingCall = CallHierarchyIncomingCall {
  - _from :: CallHierarchyItem
  - _fromRanges :: [Range]
  }
- data CallHierarchyIncomingCallsParams = CallHierarchyIncomingCallsParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _item :: CallHierarchyItem
  }
- data CallHierarchyItem = CallHierarchyItem {
  - _name :: Text
  - _kind :: SymbolKind
  - _tags :: Maybe [SymbolTag]
  - _detail :: Maybe Text
  - _uri :: Uri
  - _range :: Range
  - _selectionRange :: Range
  - _data_ :: Maybe Value
  }
- data CallHierarchyOutgoingCall = CallHierarchyOutgoingCall {
  - _to :: CallHierarchyItem
  - _fromRanges :: [Range]
  }
- data CallHierarchyOutgoingCallsParams = CallHierarchyOutgoingCallsParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _item :: CallHierarchyItem
  }
- data CallHierarchyPrepareParams = CallHierarchyPrepareParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  }
- data CallHierarchyRegistrationOptions = CallHierarchyRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data CancelParams = CancelParams {
  - _id :: Int32 |? Text
  }
- data CodeActionParams = CodeActionParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _range :: Range
  - _context :: CodeActionContext
  }
- data CodeActionRegistrationOptions = CodeActionRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _codeActionKinds :: Maybe [CodeActionKind]
  - _resolveProvider :: Maybe Bool
  }
- data CodeLens = CodeLens {
  - _range :: Range
  - _command :: Maybe Command
  - _data_ :: Maybe Value
  }
- data CodeLensParams = CodeLensParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  }
- data CodeLensRegistrationOptions = CodeLensRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data ColorInformation = ColorInformation {
  - _range :: Range
  - _color :: Color
  }
- data ColorPresentation = ColorPresentation {
  - _label :: Text
  - _textEdit :: Maybe TextEdit
  - _additionalTextEdits :: Maybe [TextEdit]
  }
- data ColorPresentationParams = ColorPresentationParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _color :: Color
  - _range :: Range
  }
- data Command = Command {
  - _title :: Text
  - _command :: Text
  - _arguments :: Maybe [Value]
  }
- data CompletionItem = CompletionItem {
  - _label :: Text
  - _labelDetails :: Maybe CompletionItemLabelDetails
  - _kind :: Maybe CompletionItemKind
  - _tags :: Maybe [CompletionItemTag]
  - _detail :: Maybe Text
  - _documentation :: Maybe (Text |? MarkupContent)
  - _deprecated :: Maybe Bool
  - _preselect :: Maybe Bool
  - _sortText :: Maybe Text
  - _filterText :: Maybe Text
  - _insertText :: Maybe Text
  - _insertTextFormat :: Maybe InsertTextFormat
  - _insertTextMode :: Maybe InsertTextMode
  - _textEdit :: Maybe (TextEdit |? InsertReplaceEdit)
  - _textEditText :: Maybe Text
  - _additionalTextEdits :: Maybe [TextEdit]
  - _commitCharacters :: Maybe [Text]
  - _command :: Maybe Command
  - _data_ :: Maybe Value
  }
- data CompletionList = CompletionList {
  - _isIncomplete :: Bool
  - _itemDefaults :: Maybe CompletionItemDefaults
  - _items :: [CompletionItem]
  }
- data CompletionParams = CompletionParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _context :: Maybe CompletionContext
  }
- data CompletionRegistrationOptions = CompletionRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _triggerCharacters :: Maybe [Text]
  - _allCommitCharacters :: Maybe [Text]
  - _resolveProvider :: Maybe Bool
  - _completionItem :: Maybe ServerCompletionItemOptions
  }
- data ConfigurationParams = ConfigurationParams {
  - _items :: [ConfigurationItem]
  }
- data CreateFilesParams = CreateFilesParams {
  - _files :: [FileCreate]
  }
- newtype Declaration = Declaration (Location |? [Location])
- newtype DeclarationLink = DeclarationLink LocationLink
- data DeclarationParams = DeclarationParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  }
- data DeclarationRegistrationOptions = DeclarationRegistrationOptions {
  - _workDoneProgress :: Maybe Bool
  - _documentSelector :: DocumentSelector |? Null
  - _id :: Maybe Text
  }
- newtype Definition = Definition (Location |? [Location])
- newtype DefinitionLink = DefinitionLink LocationLink
- data DefinitionParams = DefinitionParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  }
- data DefinitionRegistrationOptions = DefinitionRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- data DeleteFilesParams = DeleteFilesParams {
  - _files :: [FileDelete]
  }
- data DiagnosticRegistrationOptions = DiagnosticRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _identifier :: Maybe Text
  - _interFileDependencies :: Bool
  - _workspaceDiagnostics :: Bool
  - _id :: Maybe Text
  }
- data DiagnosticServerCancellationData = DiagnosticServerCancellationData {
  - _retriggerRequest :: Bool
  }
- data DidChangeConfigurationParams = DidChangeConfigurationParams {
  - _settings :: Value
  }
- data DidChangeConfigurationRegistrationOptions = DidChangeConfigurationRegistrationOptions {
  - _section :: Maybe (Text |? [Text])
  }
- data DidChangeNotebookDocumentParams = DidChangeNotebookDocumentParams {
  - _notebookDocument :: VersionedNotebookDocumentIdentifier
  - _change :: NotebookDocumentChangeEvent
  }
- data DidChangeTextDocumentParams = DidChangeTextDocumentParams {
  - _textDocument :: VersionedTextDocumentIdentifier
  - _contentChanges :: [TextDocumentContentChangeEvent]
  }
- data DidChangeWatchedFilesParams = DidChangeWatchedFilesParams {
  - _changes :: [FileEvent]
  }
- data DidChangeWatchedFilesRegistrationOptions = DidChangeWatchedFilesRegistrationOptions {
  - _watchers :: [FileSystemWatcher]
  }
- data DidChangeWorkspaceFoldersParams = DidChangeWorkspaceFoldersParams {
  - _event :: WorkspaceFoldersChangeEvent
  }
- data DidCloseNotebookDocumentParams = DidCloseNotebookDocumentParams {
  - _notebookDocument :: NotebookDocumentIdentifier
  - _cellTextDocuments :: [TextDocumentIdentifier]
  }
- data DidCloseTextDocumentParams = DidCloseTextDocumentParams {
  - _textDocument :: TextDocumentIdentifier
  }
- data DidOpenNotebookDocumentParams = DidOpenNotebookDocumentParams {
  - _notebookDocument :: NotebookDocument
  - _cellTextDocuments :: [TextDocumentItem]
  }
- data DidOpenTextDocumentParams = DidOpenTextDocumentParams {
  - _textDocument :: TextDocumentItem
  }
- data DidSaveNotebookDocumentParams = DidSaveNotebookDocumentParams {
  - _notebookDocument :: NotebookDocumentIdentifier
  }
- data DidSaveTextDocumentParams = DidSaveTextDocumentParams {
  - _textDocument :: TextDocumentIdentifier
  - _text :: Maybe Text
  }
- data DocumentColorParams = DocumentColorParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  }
- data DocumentColorRegistrationOptions = DocumentColorRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data DocumentDiagnosticParams = DocumentDiagnosticParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _identifier :: Maybe Text
  - _previousResultId :: Maybe Text
  }
- newtype DocumentDiagnosticReport = DocumentDiagnosticReport (RelatedFullDocumentDiagnosticReport |? RelatedUnchangedDocumentDiagnosticReport)
- data DocumentFormattingParams = DocumentFormattingParams {
  - _workDoneToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _options :: FormattingOptions
  }
- data DocumentFormattingRegistrationOptions = DocumentFormattingRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- data DocumentHighlight = DocumentHighlight {
  - _range :: Range
  - _kind :: Maybe DocumentHighlightKind
  }
- data DocumentHighlightParams = DocumentHighlightParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  }
- data DocumentHighlightRegistrationOptions = DocumentHighlightRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- data DocumentLink = DocumentLink {
  - _range :: Range
  - _target :: Maybe Uri
  - _tooltip :: Maybe Text
  - _data_ :: Maybe Value
  }
- data DocumentLinkParams = DocumentLinkParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  }
- data DocumentLinkRegistrationOptions = DocumentLinkRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data DocumentOnTypeFormattingParams = DocumentOnTypeFormattingParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _ch :: Text
  - _options :: FormattingOptions
  }
- data DocumentOnTypeFormattingRegistrationOptions = DocumentOnTypeFormattingRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _firstTriggerCharacter :: Text
  - _moreTriggerCharacter :: Maybe [Text]
  }
- data DocumentRangeFormattingParams = DocumentRangeFormattingParams {
  - _workDoneToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _range :: Range
  - _options :: FormattingOptions
  }
- data DocumentRangeFormattingRegistrationOptions = DocumentRangeFormattingRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- newtype DocumentSelector = DocumentSelector [DocumentFilter]
- data DocumentSymbol = DocumentSymbol {
  - _name :: Text
  - _detail :: Maybe Text
  - _kind :: SymbolKind
  - _tags :: Maybe [SymbolTag]
  - _deprecated :: Maybe Bool
  - _range :: Range
  - _selectionRange :: Range
  - _children :: Maybe [DocumentSymbol]
  }
- data DocumentSymbolParams = DocumentSymbolParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  }
- data DocumentSymbolRegistrationOptions = DocumentSymbolRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _label :: Maybe Text
  }
- data ExecuteCommandParams = ExecuteCommandParams {
  - _workDoneToken :: Maybe ProgressToken
  - _command :: Text
  - _arguments :: Maybe [Value]
  }
- data ExecuteCommandRegistrationOptions = ExecuteCommandRegistrationOptions {
  - _workDoneProgress :: Maybe Bool
  - _commands :: [Text]
  }
- data FileOperationRegistrationOptions = FileOperationRegistrationOptions {
  - _filters :: [FileOperationFilter]
  }
- data FoldingRange = FoldingRange {
  - _startLine :: UInt
  - _startCharacter :: Maybe UInt
  - _endLine :: UInt
  - _endCharacter :: Maybe UInt
  - _kind :: Maybe FoldingRangeKind
  - _collapsedText :: Maybe Text
  }
- data FoldingRangeParams = FoldingRangeParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  }
- data FoldingRangeRegistrationOptions = FoldingRangeRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data Hover = Hover {
  - _contents :: MarkupContent |? (MarkedString |? [MarkedString])
  - _range :: Maybe Range
  }
- data HoverParams = HoverParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  }
- data HoverRegistrationOptions = HoverRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- data ImplementationParams = ImplementationParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  }
- data ImplementationRegistrationOptions = ImplementationRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data InitializeError = InitializeError {
  - _retry :: Bool
  }
- data InitializeParams = InitializeParams {
  - _workDoneToken :: Maybe ProgressToken
  - _processId :: Int32 |? Null
  - _clientInfo :: Maybe ClientInfo
  - _locale :: Maybe Text
  - _rootPath :: Maybe (Text |? Null)
  - _rootUri :: Uri |? Null
  - _capabilities :: ClientCapabilities
  - _initializationOptions :: Maybe Value
  - _trace :: Maybe TraceValue
  - _workspaceFolders :: Maybe ([WorkspaceFolder] |? Null)
  }
- data InitializeResult = InitializeResult {
  - _capabilities :: ServerCapabilities
  - _serverInfo :: Maybe ServerInfo
  }
- data InitializedParams = InitializedParams
- data InlayHint = InlayHint {
  - _position :: Position
  - _label :: Text |? [InlayHintLabelPart]
  - _kind :: Maybe InlayHintKind
  - _textEdits :: Maybe [TextEdit]
  - _tooltip :: Maybe (Text |? MarkupContent)
  - _paddingLeft :: Maybe Bool
  - _paddingRight :: Maybe Bool
  - _data_ :: Maybe Value
  }
- data InlayHintParams = InlayHintParams {
  - _workDoneToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _range :: Range
  }
- data InlayHintRegistrationOptions = InlayHintRegistrationOptions {
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  - _documentSelector :: DocumentSelector |? Null
  - _id :: Maybe Text
  }
- newtype InlineValue = InlineValue (InlineValueText |? (InlineValueVariableLookup |? InlineValueEvaluatableExpression))
- data InlineValueParams = InlineValueParams {
  - _workDoneToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _range :: Range
  - _context :: InlineValueContext
  }
- data InlineValueRegistrationOptions = InlineValueRegistrationOptions {
  - _workDoneProgress :: Maybe Bool
  - _documentSelector :: DocumentSelector |? Null
  - _id :: Maybe Text
  }
- data LinkedEditingRangeParams = LinkedEditingRangeParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  }
- data LinkedEditingRangeRegistrationOptions = LinkedEditingRangeRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data LinkedEditingRanges = LinkedEditingRanges {
  - _ranges :: [Range]
  - _wordPattern :: Maybe Text
  }
- data LogMessageParams = LogMessageParams {
  - _type_ :: MessageType
  - _message :: Text
  }
- data LogTraceParams = LogTraceParams {
  - _message :: Text
  - _verbose :: Maybe Text
  }
- data MessageActionItem = MessageActionItem {
  - _title :: Text
  }
- data Moniker = Moniker {
  - _scheme :: Text
  - _identifier :: Text
  - _unique :: UniquenessLevel
  - _kind :: Maybe MonikerKind
  }
- data MonikerParams = MonikerParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  }
- data MonikerRegistrationOptions = MonikerRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- data NotebookDocumentSyncRegistrationOptions = NotebookDocumentSyncRegistrationOptions {
  - _notebookSelector :: [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]
  - _save :: Maybe Bool
  - _id :: Maybe Text
  }
- data PrepareRenameParams = PrepareRenameParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  }
- newtype PrepareRenameResult = PrepareRenameResult (Range |? (PrepareRenamePlaceholder |? PrepareRenameDefaultBehavior))
- data ProgressParams = ProgressParams {
  - _token :: ProgressToken
  - _value :: Value
  }
- data PublishDiagnosticsParams = PublishDiagnosticsParams {
  - _uri :: Uri
  - _version :: Maybe Int32
  - _diagnostics :: [Diagnostic]
  }
- data ReferenceParams = ReferenceParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _context :: ReferenceContext
  }
- data ReferenceRegistrationOptions = ReferenceRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  }
- data RegistrationParams = RegistrationParams {
  - _registrations :: [Registration]
  }
- data RenameFilesParams = RenameFilesParams {
  - _files :: [FileRename]
  }
- data RenameParams = RenameParams {
  - _workDoneToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _newName :: Text
  }
- data RenameRegistrationOptions = RenameRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _prepareProvider :: Maybe Bool
  }
- data SelectionRange = SelectionRange {
  - _range :: Range
  - _parent :: Maybe SelectionRange
  }
- data SelectionRangeParams = SelectionRangeParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _positions :: [Position]
  }
- data SelectionRangeRegistrationOptions = SelectionRangeRegistrationOptions {
  - _workDoneProgress :: Maybe Bool
  - _documentSelector :: DocumentSelector |? Null
  - _id :: Maybe Text
  }
- data SemanticTokensDeltaParams = SemanticTokensDeltaParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _previousResultId :: Text
  }
- data SemanticTokensParams = SemanticTokensParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  }
- data SemanticTokensRangeParams = SemanticTokensRangeParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _textDocument :: TextDocumentIdentifier
  - _range :: Range
  }
- data SemanticTokensRegistrationOptions = SemanticTokensRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _legend :: SemanticTokensLegend
  - _range :: Maybe (Bool |? Rec (Empty :: Row Type))
  - _full :: Maybe (Bool |? SemanticTokensFullDelta)
  - _id :: Maybe Text
  }
- data SetTraceParams = SetTraceParams {
  - _value :: TraceValue
  }
- data ShowDocumentParams = ShowDocumentParams {
  - _uri :: Uri
  - _external :: Maybe Bool
  - _takeFocus :: Maybe Bool
  - _selection :: Maybe Range
  }
- data ShowDocumentResult = ShowDocumentResult {
  - _success :: Bool
  }
- data ShowMessageParams = ShowMessageParams {
  - _type_ :: MessageType
  - _message :: Text
  }
- data ShowMessageRequestParams = ShowMessageRequestParams {
  - _type_ :: MessageType
  - _message :: Text
  - _actions :: Maybe [MessageActionItem]
  }
- data SignatureHelp = SignatureHelp {
  - _signatures :: [SignatureInformation]
  - _activeSignature :: Maybe UInt
  - _activeParameter :: Maybe (UInt |? Null)
  }
- data SignatureHelpParams = SignatureHelpParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _context :: Maybe SignatureHelpContext
  }
- data SignatureHelpRegistrationOptions = SignatureHelpRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _triggerCharacters :: Maybe [Text]
  - _retriggerCharacters :: Maybe [Text]
  }
- data SymbolInformation = SymbolInformation {
  - _name :: Text
  - _kind :: SymbolKind
  - _tags :: Maybe [SymbolTag]
  - _containerName :: Maybe Text
  - _deprecated :: Maybe Bool
  - _location :: Location
  }
- data TextDocumentChangeRegistrationOptions = TextDocumentChangeRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _syncKind :: TextDocumentSyncKind
  }
- data TextDocumentRegistrationOptions = TextDocumentRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  }
- data TextDocumentSaveRegistrationOptions = TextDocumentSaveRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _includeText :: Maybe Bool
  }
- data TextEdit = TextEdit {
  - _range :: Range
  - _newText :: Text
  }
- data TypeDefinitionParams = TypeDefinitionParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  }
- data TypeDefinitionRegistrationOptions = TypeDefinitionRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data TypeHierarchyItem = TypeHierarchyItem {
  - _name :: Text
  - _kind :: SymbolKind
  - _tags :: Maybe [SymbolTag]
  - _detail :: Maybe Text
  - _uri :: Uri
  - _range :: Range
  - _selectionRange :: Range
  - _data_ :: Maybe Value
  }
- data TypeHierarchyPrepareParams = TypeHierarchyPrepareParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  - _workDoneToken :: Maybe ProgressToken
  }
- data TypeHierarchyRegistrationOptions = TypeHierarchyRegistrationOptions {
  - _documentSelector :: DocumentSelector |? Null
  - _workDoneProgress :: Maybe Bool
  - _id :: Maybe Text
  }
- data TypeHierarchySubtypesParams = TypeHierarchySubtypesParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _item :: TypeHierarchyItem
  }
- data TypeHierarchySupertypesParams = TypeHierarchySupertypesParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _item :: TypeHierarchyItem
  }
- data UnregistrationParams = UnregistrationParams {
  - _unregisterations :: [Unregistration]
  }
- data WillSaveTextDocumentParams = WillSaveTextDocumentParams {
  - _textDocument :: TextDocumentIdentifier
  - _reason :: TextDocumentSaveReason
  }
- data WorkDoneProgressCancelParams = WorkDoneProgressCancelParams {
  - _token :: ProgressToken
  }
- data WorkDoneProgressCreateParams = WorkDoneProgressCreateParams {
  - _token :: ProgressToken
  }
- data WorkspaceDiagnosticParams = WorkspaceDiagnosticParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _identifier :: Maybe Text
  - _previousResultIds :: [PreviousResultId]
  }
- data WorkspaceDiagnosticReport = WorkspaceDiagnosticReport {
  - _items :: [WorkspaceDocumentDiagnosticReport]
  }
- data WorkspaceFolder = WorkspaceFolder {
  - _uri :: Uri
  - _name :: Text
  }
- data WorkspaceSymbol = WorkspaceSymbol {
  - _name :: Text
  - _kind :: SymbolKind
  - _tags :: Maybe [SymbolTag]
  - _containerName :: Maybe Text
  - _location :: Location |? LocationUriOnly
  - _data_ :: Maybe Value
  }
- data WorkspaceSymbolParams = WorkspaceSymbolParams {
  - _workDoneToken :: Maybe ProgressToken
  - _partialResultToken :: Maybe ProgressToken
  - _query :: Text
  }
- data WorkspaceSymbolRegistrationOptions = WorkspaceSymbolRegistrationOptions {
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data AnnotatedTextEdit = AnnotatedTextEdit {
  - _range :: Range
  - _newText :: Text
  - _annotationId :: ChangeAnnotationIdentifier
  }
- data BaseSymbolInformation = BaseSymbolInformation {
  - _name :: Text
  - _kind :: SymbolKind
  - _tags :: Maybe [SymbolTag]
  - _containerName :: Maybe Text
  }
- data CallHierarchyClientCapabilities = CallHierarchyClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data CallHierarchyOptions = CallHierarchyOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data ChangeAnnotation = ChangeAnnotation {
  - _label :: Text
  - _needsConfirmation :: Maybe Bool
  - _description :: Maybe Text
  }
- newtype ChangeAnnotationIdentifier = ChangeAnnotationIdentifier Text
- data ChangeAnnotationsSupportOptions = ChangeAnnotationsSupportOptions {
  - _groupsOnLabel :: Maybe Bool
  }
- data ClientCapabilities = ClientCapabilities {
  - _workspace :: Maybe WorkspaceClientCapabilities
  - _textDocument :: Maybe TextDocumentClientCapabilities
  - _notebookDocument :: Maybe NotebookDocumentClientCapabilities
  - _window :: Maybe WindowClientCapabilities
  - _general :: Maybe GeneralClientCapabilities
  - _experimental :: Maybe Value
  }
- data ClientCodeActionKindOptions = ClientCodeActionKindOptions {
  - _valueSet :: [CodeActionKind]
  }
- data ClientCodeActionLiteralOptions = ClientCodeActionLiteralOptions {
  - _codeActionKind :: ClientCodeActionKindOptions
  }
- data ClientCodeActionResolveOptions = ClientCodeActionResolveOptions {
  - _properties :: [Text]
  }
- data ClientCompletionItemInsertTextModeOptions = ClientCompletionItemInsertTextModeOptions {
  - _valueSet :: [InsertTextMode]
  }
- data ClientCompletionItemOptions = ClientCompletionItemOptions {
  - _snippetSupport :: Maybe Bool
  - _commitCharactersSupport :: Maybe Bool
  - _documentationFormat :: Maybe [MarkupKind]
  - _deprecatedSupport :: Maybe Bool
  - _preselectSupport :: Maybe Bool
  - _tagSupport :: Maybe CompletionItemTagOptions
  - _insertReplaceSupport :: Maybe Bool
  - _resolveSupport :: Maybe ClientCompletionItemResolveOptions
  - _insertTextModeSupport :: Maybe ClientCompletionItemInsertTextModeOptions
  - _labelDetailsSupport :: Maybe Bool
  }
- data ClientCompletionItemOptionsKind = ClientCompletionItemOptionsKind {
  - _valueSet :: Maybe [CompletionItemKind]
  }
- data ClientCompletionItemResolveOptions = ClientCompletionItemResolveOptions {
  - _properties :: [Text]
  }
- data ClientDiagnosticsTagOptions = ClientDiagnosticsTagOptions {
  - _valueSet :: [DiagnosticTag]
  }
- data ClientFoldingRangeKindOptions = ClientFoldingRangeKindOptions {
  - _valueSet :: Maybe [FoldingRangeKind]
  }
- data ClientFoldingRangeOptions = ClientFoldingRangeOptions {
  - _collapsedText :: Maybe Bool
  }
- data ClientInfo = ClientInfo {
  - _name :: Text
  - _version :: Maybe Text
  }
- data ClientInlayHintResolveOptions = ClientInlayHintResolveOptions {
  - _properties :: [Text]
  }
- data ClientSemanticTokensRequestFullDelta = ClientSemanticTokensRequestFullDelta {
  - _delta :: Maybe Bool
  }
- data ClientSemanticTokensRequestOptions = ClientSemanticTokensRequestOptions {
  - _range :: Maybe (Bool |? Rec (Empty :: Row Type))
  - _full :: Maybe (Bool |? ClientSemanticTokensRequestFullDelta)
  }
- data ClientShowMessageActionItemOptions = ClientShowMessageActionItemOptions {
  - _additionalPropertiesSupport :: Maybe Bool
  }
- data ClientSignatureInformationOptions = ClientSignatureInformationOptions {
  - _documentationFormat :: Maybe [MarkupKind]
  - _parameterInformation :: Maybe ClientSignatureParameterInformationOptions
  - _activeParameterSupport :: Maybe Bool
  }
- data ClientSignatureParameterInformationOptions = ClientSignatureParameterInformationOptions {
  - _labelOffsetSupport :: Maybe Bool
  }
- data ClientSymbolKindOptions = ClientSymbolKindOptions {
  - _valueSet :: Maybe [SymbolKind]
  }
- data ClientSymbolResolveOptions = ClientSymbolResolveOptions {
  - _properties :: [Text]
  }
- data ClientSymbolTagOptions = ClientSymbolTagOptions {
  - _valueSet :: [SymbolTag]
  }
- data CodeActionClientCapabilities = CodeActionClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _codeActionLiteralSupport :: Maybe ClientCodeActionLiteralOptions
  - _isPreferredSupport :: Maybe Bool
  - _disabledSupport :: Maybe Bool
  - _dataSupport :: Maybe Bool
  - _resolveSupport :: Maybe ClientCodeActionResolveOptions
  - _honorsChangeAnnotations :: Maybe Bool
  }
- data CodeActionContext = CodeActionContext {
  - _diagnostics :: [Diagnostic]
  - _only :: Maybe [CodeActionKind]
  - _triggerKind :: Maybe CodeActionTriggerKind
  }
- data CodeActionDisabled = CodeActionDisabled {
  - _reason :: Text
  }
- data CodeActionKind
  - = CodeActionKind_Empty
  - | CodeActionKind_QuickFix
  - | CodeActionKind_Refactor
  - | CodeActionKind_RefactorExtract
  - | CodeActionKind_RefactorInline
  - | CodeActionKind_RefactorRewrite
  - | CodeActionKind_Source
  - | CodeActionKind_SourceOrganizeImports
  - | CodeActionKind_SourceFixAll
  - | CodeActionKind_Notebook
  - | CodeActionKind_Custom Text
- data CodeActionOptions = CodeActionOptions {
  - _workDoneProgress :: Maybe Bool
  - _codeActionKinds :: Maybe [CodeActionKind]
  - _resolveProvider :: Maybe Bool
  }
- data CodeActionTriggerKind
  - = CodeActionTriggerKind_Invoked
  - | CodeActionTriggerKind_Automatic
- data CodeDescription = CodeDescription {
  - _href :: Uri
  }
- data CodeLensClientCapabilities = CodeLensClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data CodeLensOptions = CodeLensOptions {
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data CodeLensWorkspaceClientCapabilities = CodeLensWorkspaceClientCapabilities {
  - _refreshSupport :: Maybe Bool
  }
- data CompletionClientCapabilities = CompletionClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _completionItem :: Maybe ClientCompletionItemOptions
  - _completionItemKind :: Maybe ClientCompletionItemOptionsKind
  - _insertTextMode :: Maybe InsertTextMode
  - _contextSupport :: Maybe Bool
  - _completionList :: Maybe CompletionListCapabilities
  }
- data CompletionContext = CompletionContext {
  - _triggerKind :: CompletionTriggerKind
  - _triggerCharacter :: Maybe Text
  }
- data CompletionItemDefaults = CompletionItemDefaults {
  - _commitCharacters :: Maybe [Text]
  - _editRange :: Maybe (Range |? EditRangeWithInsertReplace)
  - _insertTextFormat :: Maybe InsertTextFormat
  - _insertTextMode :: Maybe InsertTextMode
  - _data_ :: Maybe Value
  }
- data CompletionItemKind
  - = CompletionItemKind_Text
  - | CompletionItemKind_Method
  - | CompletionItemKind_Function
  - | CompletionItemKind_Constructor
  - | CompletionItemKind_Field
  - | CompletionItemKind_Variable
  - | CompletionItemKind_Class
  - | CompletionItemKind_Interface
  - | CompletionItemKind_Module
  - | CompletionItemKind_Property
  - | CompletionItemKind_Unit
  - | CompletionItemKind_Value
  - | CompletionItemKind_Enum
  - | CompletionItemKind_Keyword
  - | CompletionItemKind_Snippet
  - | CompletionItemKind_Color
  - | CompletionItemKind_File
  - | CompletionItemKind_Reference
  - | CompletionItemKind_Folder
  - | CompletionItemKind_EnumMember
  - | CompletionItemKind_Constant
  - | CompletionItemKind_Struct
  - | CompletionItemKind_Event
  - | CompletionItemKind_Operator
  - | CompletionItemKind_TypeParameter
- data CompletionItemLabelDetails = CompletionItemLabelDetails {
  - _detail :: Maybe Text
  - _description :: Maybe Text
  }
- data CompletionItemTag = CompletionItemTag_Deprecated
- data CompletionItemTagOptions = CompletionItemTagOptions {
  - _valueSet :: [CompletionItemTag]
  }
- data CompletionListCapabilities = CompletionListCapabilities {
  - _itemDefaults :: Maybe [Text]
  }
- data CompletionOptions = CompletionOptions {
  - _workDoneProgress :: Maybe Bool
  - _triggerCharacters :: Maybe [Text]
  - _allCommitCharacters :: Maybe [Text]
  - _resolveProvider :: Maybe Bool
  - _completionItem :: Maybe ServerCompletionItemOptions
  }
- data CompletionTriggerKind
  - = CompletionTriggerKind_Invoked
  - | CompletionTriggerKind_TriggerCharacter
  - | CompletionTriggerKind_TriggerForIncompleteCompletions
- data ConfigurationItem = ConfigurationItem {
  - _scopeUri :: Maybe Uri
  - _section :: Maybe Text
  }
- data CreateFile = CreateFile {
  - _annotationId :: Maybe ChangeAnnotationIdentifier
  - _kind :: AString "create"
  - _uri :: Uri
  - _options :: Maybe CreateFileOptions
  }
- data CreateFileOptions = CreateFileOptions {
  - _overwrite :: Maybe Bool
  - _ignoreIfExists :: Maybe Bool
  }
- data DeclarationClientCapabilities = DeclarationClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _linkSupport :: Maybe Bool
  }
- data DeclarationOptions = DeclarationOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data DefinitionClientCapabilities = DefinitionClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _linkSupport :: Maybe Bool
  }
- data DefinitionOptions = DefinitionOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data DeleteFile = DeleteFile {
  - _annotationId :: Maybe ChangeAnnotationIdentifier
  - _kind :: AString "delete"
  - _uri :: Uri
  - _options :: Maybe DeleteFileOptions
  }
- data DeleteFileOptions = DeleteFileOptions {
  - _recursive :: Maybe Bool
  - _ignoreIfNotExists :: Maybe Bool
  }
- data Diagnostic = Diagnostic {
  - _range :: Range
  - _severity :: Maybe DiagnosticSeverity
  - _code :: Maybe (Int32 |? Text)
  - _codeDescription :: Maybe CodeDescription
  - _source :: Maybe Text
  - _message :: Text
  - _tags :: Maybe [DiagnosticTag]
  - _relatedInformation :: Maybe [DiagnosticRelatedInformation]
  - _data_ :: Maybe Value
  }
- data DiagnosticClientCapabilities = DiagnosticClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _relatedDocumentSupport :: Maybe Bool
  }
- data DiagnosticOptions = DiagnosticOptions {
  - _workDoneProgress :: Maybe Bool
  - _identifier :: Maybe Text
  - _interFileDependencies :: Bool
  - _workspaceDiagnostics :: Bool
  }
- data DiagnosticRelatedInformation = DiagnosticRelatedInformation {
  - _location :: Location
  - _message :: Text
  }
- data DiagnosticSeverity
  - = DiagnosticSeverity_Error
  - | DiagnosticSeverity_Warning
  - | DiagnosticSeverity_Information
  - | DiagnosticSeverity_Hint
- data DiagnosticTag
  - = DiagnosticTag_Unnecessary
  - | DiagnosticTag_Deprecated
- data DiagnosticWorkspaceClientCapabilities = DiagnosticWorkspaceClientCapabilities {
  - _refreshSupport :: Maybe Bool
  }
- data DidChangeConfigurationClientCapabilities = DidChangeConfigurationClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data DidChangeWatchedFilesClientCapabilities = DidChangeWatchedFilesClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _relativePatternSupport :: Maybe Bool
  }
- data DocumentColorClientCapabilities = DocumentColorClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data DocumentColorOptions = DocumentColorOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data DocumentDiagnosticReportKind
  - = DocumentDiagnosticReportKind_Full
  - | DocumentDiagnosticReportKind_Unchanged
- data DocumentDiagnosticReportPartialResult = DocumentDiagnosticReportPartialResult {
  - _relatedDocuments :: Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)
  }
- newtype DocumentFilter = DocumentFilter (TextDocumentFilter |? NotebookCellTextDocumentFilter)
- data DocumentFormattingClientCapabilities = DocumentFormattingClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data DocumentFormattingOptions = DocumentFormattingOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data DocumentHighlightClientCapabilities = DocumentHighlightClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data DocumentHighlightKind
  - = DocumentHighlightKind_Text
  - | DocumentHighlightKind_Read
  - | DocumentHighlightKind_Write
- data DocumentHighlightOptions = DocumentHighlightOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data DocumentLinkClientCapabilities = DocumentLinkClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _tooltipSupport :: Maybe Bool
  }
- data DocumentLinkOptions = DocumentLinkOptions {
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data DocumentOnTypeFormattingClientCapabilities = DocumentOnTypeFormattingClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data DocumentOnTypeFormattingOptions = DocumentOnTypeFormattingOptions {
  - _firstTriggerCharacter :: Text
  - _moreTriggerCharacter :: Maybe [Text]
  }
- data DocumentRangeFormattingClientCapabilities = DocumentRangeFormattingClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data DocumentRangeFormattingOptions = DocumentRangeFormattingOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data DocumentSymbolClientCapabilities = DocumentSymbolClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _symbolKind :: Maybe ClientSymbolKindOptions
  - _hierarchicalDocumentSymbolSupport :: Maybe Bool
  - _tagSupport :: Maybe ClientSymbolTagOptions
  - _labelSupport :: Maybe Bool
  }
- data DocumentSymbolOptions = DocumentSymbolOptions {
  - _workDoneProgress :: Maybe Bool
  - _label :: Maybe Text
  }
- data EditRangeWithInsertReplace = EditRangeWithInsertReplace {
  - _insert :: Range
  - _replace :: Range
  }
- data ErrorCodes
  - = ErrorCodes_ParseError
  - | ErrorCodes_InvalidRequest
  - | ErrorCodes_MethodNotFound
  - | ErrorCodes_InvalidParams
  - | ErrorCodes_InternalError
  - | ErrorCodes_ServerNotInitialized
  - | ErrorCodes_UnknownErrorCode
  - | ErrorCodes_Custom Int32
- data ExecuteCommandClientCapabilities = ExecuteCommandClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data ExecuteCommandOptions = ExecuteCommandOptions {
  - _workDoneProgress :: Maybe Bool
  - _commands :: [Text]
  }
- data ExecutionSummary = ExecutionSummary {
  - _executionOrder :: UInt
  - _success :: Maybe Bool
  }
- data FailureHandlingKind
  - = FailureHandlingKind_Abort
  - | FailureHandlingKind_Transactional
  - | FailureHandlingKind_TextOnlyTransactional
  - | FailureHandlingKind_Undo
- data FileChangeType
  - = FileChangeType_Created
  - | FileChangeType_Changed
  - | FileChangeType_Deleted
- data FileCreate = FileCreate {
  - _uri :: Text
  }
- data FileDelete = FileDelete {
  - _uri :: Text
  }
- data FileEvent = FileEvent {
  - _uri :: Uri
  - _type_ :: FileChangeType
  }
- data FileOperationClientCapabilities = FileOperationClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _didCreate :: Maybe Bool
  - _willCreate :: Maybe Bool
  - _didRename :: Maybe Bool
  - _willRename :: Maybe Bool
  - _didDelete :: Maybe Bool
  - _willDelete :: Maybe Bool
  }
- data FileOperationFilter = FileOperationFilter {
  - _scheme :: Maybe Text
  - _pattern :: FileOperationPattern
  }
- data FileOperationOptions = FileOperationOptions {
  - _didCreate :: Maybe FileOperationRegistrationOptions
  - _willCreate :: Maybe FileOperationRegistrationOptions
  - _didRename :: Maybe FileOperationRegistrationOptions
  - _willRename :: Maybe FileOperationRegistrationOptions
  - _didDelete :: Maybe FileOperationRegistrationOptions
  - _willDelete :: Maybe FileOperationRegistrationOptions
  }
- data FileOperationPattern = FileOperationPattern {
  - _glob :: Text
  - _matches :: Maybe FileOperationPatternKind
  - _options :: Maybe FileOperationPatternOptions
  }
- data FileOperationPatternKind
  - = FileOperationPatternKind_File
  - | FileOperationPatternKind_Folder
- data FileOperationPatternOptions = FileOperationPatternOptions {
  - _ignoreCase :: Maybe Bool
  }
- data FileRename = FileRename {
  - _oldUri :: Text
  - _newUri :: Text
  }
- data FileSystemWatcher = FileSystemWatcher {
  - _globPattern :: GlobPattern
  - _kind :: Maybe WatchKind
  }
- data FoldingRangeClientCapabilities = FoldingRangeClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _rangeLimit :: Maybe UInt
  - _lineFoldingOnly :: Maybe Bool
  - _foldingRangeKind :: Maybe ClientFoldingRangeKindOptions
  - _foldingRange :: Maybe ClientFoldingRangeOptions
  }
- data FoldingRangeKind
  - = FoldingRangeKind_Comment
  - | FoldingRangeKind_Imports
  - | FoldingRangeKind_Region
  - | FoldingRangeKind_Custom Text
- data FoldingRangeOptions = FoldingRangeOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data FormattingOptions = FormattingOptions {
  - _tabSize :: UInt
  - _insertSpaces :: Bool
  - _trimTrailingWhitespace :: Maybe Bool
  - _insertFinalNewline :: Maybe Bool
  - _trimFinalNewlines :: Maybe Bool
  }
- data FullDocumentDiagnosticReport = FullDocumentDiagnosticReport {
  - _kind :: AString "full"
  - _resultId :: Maybe Text
  - _items :: [Diagnostic]
  }
- data GeneralClientCapabilities = GeneralClientCapabilities {
  - _staleRequestSupport :: Maybe StaleRequestSupportOptions
  - _regularExpressions :: Maybe RegularExpressionsClientCapabilities
  - _markdown :: Maybe MarkdownClientCapabilities
  - _positionEncodings :: Maybe [PositionEncodingKind]
  }
- newtype GlobPattern = GlobPattern (Pattern |? RelativePattern)
- data HoverClientCapabilities = HoverClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _contentFormat :: Maybe [MarkupKind]
  }
- data HoverOptions = HoverOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data ImplementationClientCapabilities = ImplementationClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _linkSupport :: Maybe Bool
  }
- data ImplementationOptions = ImplementationOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data InlayHintClientCapabilities = InlayHintClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _resolveSupport :: Maybe ClientInlayHintResolveOptions
  }
- data InlayHintKind
  - = InlayHintKind_Type
  - | InlayHintKind_Parameter
- data InlayHintLabelPart = InlayHintLabelPart {
  - _value :: Text
  - _tooltip :: Maybe (Text |? MarkupContent)
  - _location :: Maybe Location
  - _command :: Maybe Command
  }
- data InlayHintOptions = InlayHintOptions {
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data InlayHintWorkspaceClientCapabilities = InlayHintWorkspaceClientCapabilities {
  - _refreshSupport :: Maybe Bool
  }
- data InlineValueClientCapabilities = InlineValueClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data InlineValueContext = InlineValueContext {
  - _frameId :: Int32
  - _stoppedLocation :: Range
  }
- data InlineValueEvaluatableExpression = InlineValueEvaluatableExpression {
  - _range :: Range
  - _expression :: Maybe Text
  }
- data InlineValueOptions = InlineValueOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data InlineValueText = InlineValueText {
  - _range :: Range
  - _text :: Text
  }
- data InlineValueVariableLookup = InlineValueVariableLookup {
  - _range :: Range
  - _variableName :: Maybe Text
  - _caseSensitiveLookup :: Bool
  }
- data InlineValueWorkspaceClientCapabilities = InlineValueWorkspaceClientCapabilities {
  - _refreshSupport :: Maybe Bool
  }
- data InsertReplaceEdit = InsertReplaceEdit {
  - _newText :: Text
  - _insert :: Range
  - _replace :: Range
  }
- data InsertTextFormat
  - = InsertTextFormat_PlainText
  - | InsertTextFormat_Snippet
- data InsertTextMode
  - = InsertTextMode_AsIs
  - | InsertTextMode_AdjustIndentation
- data LSPErrorCodes
  - = LSPErrorCodes_RequestFailed
  - | LSPErrorCodes_ServerCancelled
  - | LSPErrorCodes_ContentModified
  - | LSPErrorCodes_RequestCancelled
  - | LSPErrorCodes_Custom Int32
- data LanguageKind
  - = LanguageKind_ABAP
  - | LanguageKind_WindowsBat
  - | LanguageKind_BibTeX
  - | LanguageKind_Clojure
  - | LanguageKind_Coffeescript
  - | LanguageKind_C
  - | LanguageKind_CPP
  - | LanguageKind_CSharp
  - | LanguageKind_CSS
  - | LanguageKind_Diff
  - | LanguageKind_Dart
  - | LanguageKind_Dockerfile
  - | LanguageKind_Elixir
  - | LanguageKind_Erlang
  - | LanguageKind_FSharp
  - | LanguageKind_GitCommit
  - | LanguageKind_GitRebase
  - | LanguageKind_Go
  - | LanguageKind_Groovy
  - | LanguageKind_Handlebars
  - | LanguageKind_Haskell
  - | LanguageKind_HTML
  - | LanguageKind_Ini
  - | LanguageKind_Java
  - | LanguageKind_JavaScript
  - | LanguageKind_JavaScriptReact
  - | LanguageKind_JSON
  - | LanguageKind_LaTeX
  - | LanguageKind_Less
  - | LanguageKind_Lua
  - | LanguageKind_Makefile
  - | LanguageKind_Markdown
  - | LanguageKind_ObjectiveC
  - | LanguageKind_ObjectiveCPP
  - | LanguageKind_Perl
  - | LanguageKind_Perl6
  - | LanguageKind_PHP
  - | LanguageKind_Powershell
  - | LanguageKind_Pug
  - | LanguageKind_Python
  - | LanguageKind_R
  - | LanguageKind_Razor
  - | LanguageKind_Ruby
  - | LanguageKind_Rust
  - | LanguageKind_SCSS
  - | LanguageKind_SASS
  - | LanguageKind_Scala
  - | LanguageKind_ShaderLab
  - | LanguageKind_ShellScript
  - | LanguageKind_SQL
  - | LanguageKind_Swift
  - | LanguageKind_TypeScript
  - | LanguageKind_TypeScriptReact
  - | LanguageKind_TeX
  - | LanguageKind_VisualBasic
  - | LanguageKind_XML
  - | LanguageKind_XSL
  - | LanguageKind_YAML
  - | LanguageKind_Custom Text
- data LinkedEditingRangeClientCapabilities = LinkedEditingRangeClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data LinkedEditingRangeOptions = LinkedEditingRangeOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data LocationLink = LocationLink {
  - _originSelectionRange :: Maybe Range
  - _targetUri :: Uri
  - _targetRange :: Range
  - _targetSelectionRange :: Range
  }
- data LocationUriOnly = LocationUriOnly {
  - _uri :: Uri
  }
- data MarkdownClientCapabilities = MarkdownClientCapabilities {
  - _parser :: Text
  - _version :: Maybe Text
  - _allowedTags :: Maybe [Text]
  }
- newtype MarkedString = MarkedString (Text |? MarkedStringWithLanguage)
- data MarkedStringWithLanguage = MarkedStringWithLanguage {
  - _language :: Text
  - _value :: Text
  }
- data MessageType
  - = MessageType_Error
  - | MessageType_Warning
  - | MessageType_Info
  - | MessageType_Log
- data MonikerClientCapabilities = MonikerClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data MonikerKind
  - = MonikerKind_Import
  - | MonikerKind_Export
  - | MonikerKind_Local
- data MonikerOptions = MonikerOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data NotebookCell = NotebookCell {
  - _kind :: NotebookCellKind
  - _document :: Uri
  - _metadata :: Maybe Object
  - _executionSummary :: Maybe ExecutionSummary
  }
- data NotebookCellArrayChange = NotebookCellArrayChange {
  - _start :: UInt
  - _deleteCount :: UInt
  - _cells :: Maybe [NotebookCell]
  }
- data NotebookCellKind
  - = NotebookCellKind_Markup
  - | NotebookCellKind_Code
- data NotebookCellLanguage = NotebookCellLanguage {
  - _language :: Text
  }
- data NotebookCellTextDocumentFilter = NotebookCellTextDocumentFilter {
  - _notebook :: Text |? NotebookDocumentFilter
  - _language :: Maybe Text
  }
- data NotebookDocument = NotebookDocument {
  - _uri :: Uri
  - _notebookType :: Text
  - _version :: Int32
  - _metadata :: Maybe Object
  - _cells :: [NotebookCell]
  }
- data NotebookDocumentCellChangeStructure = NotebookDocumentCellChangeStructure {
  - _array :: NotebookCellArrayChange
  - _didOpen :: Maybe [TextDocumentItem]
  - _didClose :: Maybe [TextDocumentIdentifier]
  }
- data NotebookDocumentCellChanges = NotebookDocumentCellChanges {
  - _structure :: Maybe NotebookDocumentCellChangeStructure
  - _data_ :: Maybe [NotebookCell]
  - _textContent :: Maybe [NotebookDocumentCellContentChanges]
  }
- data NotebookDocumentCellContentChanges = NotebookDocumentCellContentChanges {
  - _document :: VersionedTextDocumentIdentifier
  - _changes :: [TextDocumentContentChangeEvent]
  }
- data NotebookDocumentChangeEvent = NotebookDocumentChangeEvent {
  - _metadata :: Maybe Object
  - _cells :: Maybe NotebookDocumentCellChanges
  }
- data NotebookDocumentClientCapabilities = NotebookDocumentClientCapabilities {
  - _synchronization :: NotebookDocumentSyncClientCapabilities
  }
- newtype NotebookDocumentFilter = NotebookDocumentFilter (NotebookDocumentFilterNotebookType |? (NotebookDocumentFilterScheme |? NotebookDocumentFilterPattern))
- data NotebookDocumentFilterNotebookType = NotebookDocumentFilterNotebookType {
  - _notebookType :: Text
  - _scheme :: Maybe Text
  - _pattern :: Maybe Text
  }
- data NotebookDocumentFilterPattern = NotebookDocumentFilterPattern {
  - _notebookType :: Maybe Text
  - _scheme :: Maybe Text
  - _pattern :: Text
  }
- data NotebookDocumentFilterScheme = NotebookDocumentFilterScheme {
  - _notebookType :: Maybe Text
  - _scheme :: Text
  - _pattern :: Maybe Text
  }
- data NotebookDocumentFilterWithCells = NotebookDocumentFilterWithCells {
  - _notebook :: Maybe (Text |? NotebookDocumentFilter)
  - _cells :: [NotebookCellLanguage]
  }
- data NotebookDocumentFilterWithNotebook = NotebookDocumentFilterWithNotebook {
  - _notebook :: Text |? NotebookDocumentFilter
  - _cells :: Maybe [NotebookCellLanguage]
  }
- data NotebookDocumentIdentifier = NotebookDocumentIdentifier {
  - _uri :: Uri
  }
- data NotebookDocumentSyncClientCapabilities = NotebookDocumentSyncClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _executionSummarySupport :: Maybe Bool
  }
- data NotebookDocumentSyncOptions = NotebookDocumentSyncOptions {
  - _notebookSelector :: [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]
  - _save :: Maybe Bool
  }
- data OptionalVersionedTextDocumentIdentifier = OptionalVersionedTextDocumentIdentifier {
  - _uri :: Uri
  - _version :: Int32 |? Null
  }
- data ParameterInformation = ParameterInformation {
  - _label :: Text |? (UInt, UInt)
  - _documentation :: Maybe (Text |? MarkupContent)
  }
- data PartialResultParams = PartialResultParams {
  - _partialResultToken :: Maybe ProgressToken
  }
- newtype Pattern = Pattern Text
- data PositionEncodingKind
  - = PositionEncodingKind_UTF8
  - | PositionEncodingKind_UTF16
  - | PositionEncodingKind_UTF32
  - | PositionEncodingKind_Custom Text
- data PrepareRenameDefaultBehavior = PrepareRenameDefaultBehavior {
  - _defaultBehavior :: Bool
  }
- data PrepareRenamePlaceholder = PrepareRenamePlaceholder {
  - _range :: Range
  - _placeholder :: Text
  }
- data PrepareSupportDefaultBehavior = PrepareSupportDefaultBehavior_Identifier
- data PreviousResultId = PreviousResultId {
  - _uri :: Uri
  - _value :: Text
  }
- newtype ProgressToken = ProgressToken (Int32 |? Text)
- data PublishDiagnosticsClientCapabilities = PublishDiagnosticsClientCapabilities {
  - _relatedInformation :: Maybe Bool
  - _tagSupport :: Maybe ClientDiagnosticsTagOptions
  - _versionSupport :: Maybe Bool
  - _codeDescriptionSupport :: Maybe Bool
  - _dataSupport :: Maybe Bool
  }
- data ReferenceClientCapabilities = ReferenceClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data ReferenceContext = ReferenceContext {
  - _includeDeclaration :: Bool
  }
- data ReferenceOptions = ReferenceOptions {
  - _workDoneProgress :: Maybe Bool
  }
- newtype RegularExpressionEngineKind = RegularExpressionEngineKind Text
- data RegularExpressionsClientCapabilities = RegularExpressionsClientCapabilities {
  - _engine :: RegularExpressionEngineKind
  - _version :: Maybe Text
  }
- data RelatedFullDocumentDiagnosticReport = RelatedFullDocumentDiagnosticReport {
  - _kind :: AString "full"
  - _resultId :: Maybe Text
  - _items :: [Diagnostic]
  - _relatedDocuments :: Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))
  }
- data RelatedUnchangedDocumentDiagnosticReport = RelatedUnchangedDocumentDiagnosticReport {
  - _kind :: AString "unchanged"
  - _resultId :: Text
  - _relatedDocuments :: Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))
  }
- data RelativePattern = RelativePattern {
  - _baseUri :: WorkspaceFolder |? Uri
  - _pattern :: Pattern
  }
- data RenameClientCapabilities = RenameClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _prepareSupport :: Maybe Bool
  - _prepareSupportDefaultBehavior :: Maybe PrepareSupportDefaultBehavior
  - _honorsChangeAnnotations :: Maybe Bool
  }
- data RenameFile = RenameFile {
  - _annotationId :: Maybe ChangeAnnotationIdentifier
  - _kind :: AString "rename"
  - _oldUri :: Uri
  - _newUri :: Uri
  - _options :: Maybe RenameFileOptions
  }
- data RenameFileOptions = RenameFileOptions {
  - _overwrite :: Maybe Bool
  - _ignoreIfExists :: Maybe Bool
  }
- data RenameOptions = RenameOptions {
  - _workDoneProgress :: Maybe Bool
  - _prepareProvider :: Maybe Bool
  }
- data ResourceOperation = ResourceOperation {
  - _kind :: Text
  - _annotationId :: Maybe ChangeAnnotationIdentifier
  }
- data ResourceOperationKind
  - = ResourceOperationKind_Create
  - | ResourceOperationKind_Rename
  - | ResourceOperationKind_Delete
- data SaveOptions = SaveOptions {
  - _includeText :: Maybe Bool
  }
- data SelectionRangeClientCapabilities = SelectionRangeClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data SelectionRangeOptions = SelectionRangeOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data SemanticTokensClientCapabilities = SemanticTokensClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _requests :: ClientSemanticTokensRequestOptions
  - _tokenTypes :: [Text]
  - _tokenModifiers :: [Text]
  - _formats :: [TokenFormat]
  - _overlappingTokenSupport :: Maybe Bool
  - _multilineTokenSupport :: Maybe Bool
  - _serverCancelSupport :: Maybe Bool
  - _augmentsSyntaxTokens :: Maybe Bool
  }
- data SemanticTokensDeltaPartialResult = SemanticTokensDeltaPartialResult {
  - _edits :: [SemanticTokensEdit]
  }
- data SemanticTokensFullDelta = SemanticTokensFullDelta {
  - _delta :: Maybe Bool
  }
- data SemanticTokensOptions = SemanticTokensOptions {
  - _workDoneProgress :: Maybe Bool
  - _legend :: SemanticTokensLegend
  - _range :: Maybe (Bool |? Rec (Empty :: Row Type))
  - _full :: Maybe (Bool |? SemanticTokensFullDelta)
  }
- data SemanticTokensPartialResult = SemanticTokensPartialResult {
  - _data_ :: [UInt]
  }
- data SemanticTokensWorkspaceClientCapabilities = SemanticTokensWorkspaceClientCapabilities {
  - _refreshSupport :: Maybe Bool
  }
- data ServerCapabilities = ServerCapabilities {
  - _positionEncoding :: Maybe PositionEncodingKind
  - _textDocumentSync :: Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)
  - _notebookDocumentSync :: Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)
  - _completionProvider :: Maybe CompletionOptions
  - _hoverProvider :: Maybe (Bool |? HoverOptions)
  - _signatureHelpProvider :: Maybe SignatureHelpOptions
  - _declarationProvider :: Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))
  - _definitionProvider :: Maybe (Bool |? DefinitionOptions)
  - _typeDefinitionProvider :: Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))
  - _implementationProvider :: Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))
  - _referencesProvider :: Maybe (Bool |? ReferenceOptions)
  - _documentHighlightProvider :: Maybe (Bool |? DocumentHighlightOptions)
  - _documentSymbolProvider :: Maybe (Bool |? DocumentSymbolOptions)
  - _codeActionProvider :: Maybe (Bool |? CodeActionOptions)
  - _codeLensProvider :: Maybe CodeLensOptions
  - _documentLinkProvider :: Maybe DocumentLinkOptions
  - _colorProvider :: Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))
  - _workspaceSymbolProvider :: Maybe (Bool |? WorkspaceSymbolOptions)
  - _documentFormattingProvider :: Maybe (Bool |? DocumentFormattingOptions)
  - _documentRangeFormattingProvider :: Maybe (Bool |? DocumentRangeFormattingOptions)
  - _documentOnTypeFormattingProvider :: Maybe DocumentOnTypeFormattingOptions
  - _renameProvider :: Maybe (Bool |? RenameOptions)
  - _foldingRangeProvider :: Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))
  - _selectionRangeProvider :: Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))
  - _executeCommandProvider :: Maybe ExecuteCommandOptions
  - _callHierarchyProvider :: Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))
  - _linkedEditingRangeProvider :: Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))
  - _semanticTokensProvider :: Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)
  - _monikerProvider :: Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))
  - _typeHierarchyProvider :: Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))
  - _inlineValueProvider :: Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))
  - _inlayHintProvider :: Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))
  - _diagnosticProvider :: Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)
  - _workspace :: Maybe WorkspaceOptions
  - _experimental :: Maybe Value
  }
- data ServerCompletionItemOptions = ServerCompletionItemOptions {
  - _labelDetailsSupport :: Maybe Bool
  }
- data ServerInfo = ServerInfo {
  - _name :: Text
  - _version :: Maybe Text
  }
- data ShowDocumentClientCapabilities = ShowDocumentClientCapabilities {
  - _support :: Bool
  }
- data ShowMessageRequestClientCapabilities = ShowMessageRequestClientCapabilities {
  - _messageActionItem :: Maybe ClientShowMessageActionItemOptions
  }
- data SignatureHelpClientCapabilities = SignatureHelpClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _signatureInformation :: Maybe ClientSignatureInformationOptions
  - _contextSupport :: Maybe Bool
  }
- data SignatureHelpContext = SignatureHelpContext {
  - _triggerKind :: SignatureHelpTriggerKind
  - _triggerCharacter :: Maybe Text
  - _isRetrigger :: Bool
  - _activeSignatureHelp :: Maybe SignatureHelp
  }
- data SignatureHelpOptions = SignatureHelpOptions {
  - _workDoneProgress :: Maybe Bool
  - _triggerCharacters :: Maybe [Text]
  - _retriggerCharacters :: Maybe [Text]
  }
- data SignatureHelpTriggerKind
  - = SignatureHelpTriggerKind_Invoked
  - | SignatureHelpTriggerKind_TriggerCharacter
  - | SignatureHelpTriggerKind_ContentChange
- data SignatureInformation = SignatureInformation {
  - _label :: Text
  - _documentation :: Maybe (Text |? MarkupContent)
  - _parameters :: Maybe [ParameterInformation]
  - _activeParameter :: Maybe (UInt |? Null)
  }
- data StaleRequestSupportOptions = StaleRequestSupportOptions {
  - _cancel :: Bool
  - _retryOnContentModified :: [Text]
  }
- data StaticRegistrationOptions = StaticRegistrationOptions {
  - _id :: Maybe Text
  }
- data SymbolKind
  - = SymbolKind_File
  - | SymbolKind_Module
  - | SymbolKind_Namespace
  - | SymbolKind_Package
  - | SymbolKind_Class
  - | SymbolKind_Method
  - | SymbolKind_Property
  - | SymbolKind_Field
  - | SymbolKind_Constructor
  - | SymbolKind_Enum
  - | SymbolKind_Interface
  - | SymbolKind_Function
  - | SymbolKind_Variable
  - | SymbolKind_Constant
  - | SymbolKind_String
  - | SymbolKind_Number
  - | SymbolKind_Boolean
  - | SymbolKind_Array
  - | SymbolKind_Object
  - | SymbolKind_Key
  - | SymbolKind_Null
  - | SymbolKind_EnumMember
  - | SymbolKind_Struct
  - | SymbolKind_Event
  - | SymbolKind_Operator
  - | SymbolKind_TypeParameter
- data SymbolTag = SymbolTag_Deprecated
- data TextDocumentClientCapabilities = TextDocumentClientCapabilities {
  - _synchronization :: Maybe TextDocumentSyncClientCapabilities
  - _completion :: Maybe CompletionClientCapabilities
  - _hover :: Maybe HoverClientCapabilities
  - _signatureHelp :: Maybe SignatureHelpClientCapabilities
  - _declaration :: Maybe DeclarationClientCapabilities
  - _definition :: Maybe DefinitionClientCapabilities
  - _typeDefinition :: Maybe TypeDefinitionClientCapabilities
  - _implementation :: Maybe ImplementationClientCapabilities
  - _references :: Maybe ReferenceClientCapabilities
  - _documentHighlight :: Maybe DocumentHighlightClientCapabilities
  - _documentSymbol :: Maybe DocumentSymbolClientCapabilities
  - _codeAction :: Maybe CodeActionClientCapabilities
  - _codeLens :: Maybe CodeLensClientCapabilities
  - _documentLink :: Maybe DocumentLinkClientCapabilities
  - _colorProvider :: Maybe DocumentColorClientCapabilities
  - _formatting :: Maybe DocumentFormattingClientCapabilities
  - _rangeFormatting :: Maybe DocumentRangeFormattingClientCapabilities
  - _onTypeFormatting :: Maybe DocumentOnTypeFormattingClientCapabilities
  - _rename :: Maybe RenameClientCapabilities
  - _foldingRange :: Maybe FoldingRangeClientCapabilities
  - _selectionRange :: Maybe SelectionRangeClientCapabilities
  - _publishDiagnostics :: Maybe PublishDiagnosticsClientCapabilities
  - _callHierarchy :: Maybe CallHierarchyClientCapabilities
  - _semanticTokens :: Maybe SemanticTokensClientCapabilities
  - _linkedEditingRange :: Maybe LinkedEditingRangeClientCapabilities
  - _moniker :: Maybe MonikerClientCapabilities
  - _typeHierarchy :: Maybe TypeHierarchyClientCapabilities
  - _inlineValue :: Maybe InlineValueClientCapabilities
  - _inlayHint :: Maybe InlayHintClientCapabilities
  - _diagnostic :: Maybe DiagnosticClientCapabilities
  }
- newtype TextDocumentContentChangeEvent = TextDocumentContentChangeEvent (TextDocumentContentChangePartial |? TextDocumentContentChangeWholeDocument)
- data TextDocumentContentChangePartial = TextDocumentContentChangePartial {
  - _range :: Range
  - _rangeLength :: Maybe UInt
  - _text :: Text
  }
- data TextDocumentContentChangeWholeDocument = TextDocumentContentChangeWholeDocument {
  - _text :: Text
  }
- data TextDocumentEdit = TextDocumentEdit {
  - _textDocument :: OptionalVersionedTextDocumentIdentifier
  - _edits :: [TextEdit |? AnnotatedTextEdit]
  }
- newtype TextDocumentFilter = TextDocumentFilter (TextDocumentFilterLanguage |? (TextDocumentFilterScheme |? TextDocumentFilterPattern))
- data TextDocumentFilterLanguage = TextDocumentFilterLanguage {
  - _language :: Text
  - _scheme :: Maybe Text
  - _pattern :: Maybe Text
  }
- data TextDocumentFilterPattern = TextDocumentFilterPattern {
  - _language :: Maybe Text
  - _scheme :: Maybe Text
  - _pattern :: Text
  }
- data TextDocumentFilterScheme = TextDocumentFilterScheme {
  - _language :: Maybe Text
  - _scheme :: Text
  - _pattern :: Maybe Text
  }
- data TextDocumentIdentifier = TextDocumentIdentifier {
  - _uri :: Uri
  }
- data TextDocumentItem = TextDocumentItem {
  - _uri :: Uri
  - _languageId :: LanguageKind
  - _version :: Int32
  - _text :: Text
  }
- data TextDocumentPositionParams = TextDocumentPositionParams {
  - _textDocument :: TextDocumentIdentifier
  - _position :: Position
  }
- data TextDocumentSaveReason
  - = TextDocumentSaveReason_Manual
  - | TextDocumentSaveReason_AfterDelay
  - | TextDocumentSaveReason_FocusOut
- data TextDocumentSyncClientCapabilities = TextDocumentSyncClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _willSave :: Maybe Bool
  - _willSaveWaitUntil :: Maybe Bool
  - _didSave :: Maybe Bool
  }
- data TextDocumentSyncKind
  - = TextDocumentSyncKind_None
  - | TextDocumentSyncKind_Full
  - | TextDocumentSyncKind_Incremental
- data TextDocumentSyncOptions = TextDocumentSyncOptions {
  - _openClose :: Maybe Bool
  - _change :: Maybe TextDocumentSyncKind
  - _willSave :: Maybe Bool
  - _willSaveWaitUntil :: Maybe Bool
  - _save :: Maybe (Bool |? SaveOptions)
  }
- data TokenFormat = TokenFormat_Relative
- data TraceValue
  - = TraceValue_Off
  - | TraceValue_Messages
  - | TraceValue_Verbose
- data TypeDefinitionClientCapabilities = TypeDefinitionClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _linkSupport :: Maybe Bool
  }
- data TypeDefinitionOptions = TypeDefinitionOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data TypeHierarchyClientCapabilities = TypeHierarchyClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  }
- data TypeHierarchyOptions = TypeHierarchyOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data UInitializeParams = UInitializeParams {
  - _workDoneToken :: Maybe ProgressToken
  - _processId :: Int32 |? Null
  - _clientInfo :: Maybe ClientInfo
  - _locale :: Maybe Text
  - _rootPath :: Maybe (Text |? Null)
  - _rootUri :: Uri |? Null
  - _capabilities :: ClientCapabilities
  - _initializationOptions :: Maybe Value
  - _trace :: Maybe TraceValue
  }
- data UnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport {
  - _kind :: AString "unchanged"
  - _resultId :: Text
  }
- data UniquenessLevel
  - = UniquenessLevel_Document
  - | UniquenessLevel_Project
  - | UniquenessLevel_Group
  - | UniquenessLevel_Scheme
  - | UniquenessLevel_Global
- data Unregistration = Unregistration {
  - _id :: Text
  - _method :: Text
  }
- data VersionedNotebookDocumentIdentifier = VersionedNotebookDocumentIdentifier {
  - _version :: Int32
  - _uri :: Uri
  }
- data VersionedTextDocumentIdentifier = VersionedTextDocumentIdentifier {
  - _uri :: Uri
  - _version :: Int32
  }
- data WindowClientCapabilities = WindowClientCapabilities {
  - _workDoneProgress :: Maybe Bool
  - _showMessage :: Maybe ShowMessageRequestClientCapabilities
  - _showDocument :: Maybe ShowDocumentClientCapabilities
  }
- data WorkDoneProgressOptions = WorkDoneProgressOptions {
  - _workDoneProgress :: Maybe Bool
  }
- data WorkDoneProgressParams = WorkDoneProgressParams {
  - _workDoneToken :: Maybe ProgressToken
  }
- data WorkspaceClientCapabilities = WorkspaceClientCapabilities {
  - _applyEdit :: Maybe Bool
  - _workspaceEdit :: Maybe WorkspaceEditClientCapabilities
  - _didChangeConfiguration :: Maybe DidChangeConfigurationClientCapabilities
  - _didChangeWatchedFiles :: Maybe DidChangeWatchedFilesClientCapabilities
  - _symbol :: Maybe WorkspaceSymbolClientCapabilities
  - _executeCommand :: Maybe ExecuteCommandClientCapabilities
  - _workspaceFolders :: Maybe Bool
  - _configuration :: Maybe Bool
  - _semanticTokens :: Maybe SemanticTokensWorkspaceClientCapabilities
  - _codeLens :: Maybe CodeLensWorkspaceClientCapabilities
  - _fileOperations :: Maybe FileOperationClientCapabilities
  - _inlineValue :: Maybe InlineValueWorkspaceClientCapabilities
  - _inlayHint :: Maybe InlayHintWorkspaceClientCapabilities
  - _diagnostics :: Maybe DiagnosticWorkspaceClientCapabilities
  }
- data WorkspaceDiagnosticReportPartialResult = WorkspaceDiagnosticReportPartialResult {
  - _items :: [WorkspaceDocumentDiagnosticReport]
  }
- newtype WorkspaceDocumentDiagnosticReport = WorkspaceDocumentDiagnosticReport (WorkspaceFullDocumentDiagnosticReport |? WorkspaceUnchangedDocumentDiagnosticReport)
- data WorkspaceEditClientCapabilities = WorkspaceEditClientCapabilities {
  - _documentChanges :: Maybe Bool
  - _resourceOperations :: Maybe [ResourceOperationKind]
  - _failureHandling :: Maybe FailureHandlingKind
  - _normalizesLineEndings :: Maybe Bool
  - _changeAnnotationSupport :: Maybe ChangeAnnotationsSupportOptions
  }
- data WorkspaceFoldersChangeEvent = WorkspaceFoldersChangeEvent {
  - _added :: [WorkspaceFolder]
  - _removed :: [WorkspaceFolder]
  }
- data WorkspaceFoldersInitializeParams = WorkspaceFoldersInitializeParams {
  - _workspaceFolders :: Maybe ([WorkspaceFolder] |? Null)
  }
- data WorkspaceFoldersServerCapabilities = WorkspaceFoldersServerCapabilities {
  - _supported :: Maybe Bool
  - _changeNotifications :: Maybe (Text |? Bool)
  }
- data WorkspaceFullDocumentDiagnosticReport = WorkspaceFullDocumentDiagnosticReport {
  - _kind :: AString "full"
  - _resultId :: Maybe Text
  - _items :: [Diagnostic]
  - _uri :: Uri
  - _version :: Int32 |? Null
  }
- data WorkspaceOptions = WorkspaceOptions {
  - _workspaceFolders :: Maybe WorkspaceFoldersServerCapabilities
  - _fileOperations :: Maybe FileOperationOptions
  }
- data WorkspaceSymbolClientCapabilities = WorkspaceSymbolClientCapabilities {
  - _dynamicRegistration :: Maybe Bool
  - _symbolKind :: Maybe ClientSymbolKindOptions
  - _tagSupport :: Maybe ClientSymbolTagOptions
  - _resolveSupport :: Maybe ClientSymbolResolveOptions
  }
- data WorkspaceSymbolOptions = WorkspaceSymbolOptions {
  - _workDoneProgress :: Maybe Bool
  - _resolveProvider :: Maybe Bool
  }
- data WorkspaceUnchangedDocumentDiagnosticReport = WorkspaceUnchangedDocumentDiagnosticReport {
  - _kind :: AString "unchanged"
  - _resultId :: Text
  - _uri :: Uri
  - _version :: Int32 |? Null
  }

# Basic types and functions

data UInt #

The "uinteger" type in the LSP spec.

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

#### Instances

Instances details

FromJSON UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods parseJSON :: Value -> Parser UInt # parseJSONList :: Value -> Parser [UInt] # omittedField :: Maybe UInt #
ToJSON UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods toJSON :: UInt -> Value # toEncoding :: UInt -> Encoding # toJSONList :: [UInt] -> Value # toEncodingList :: [UInt] -> Encoding # omitField :: UInt -> Bool #
NFData UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods rnf :: UInt -> () #
Bounded UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods minBound :: UInt # maxBound :: UInt #
Enum UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods succ :: UInt -> UInt # pred :: UInt -> UInt # toEnum :: Int -> UInt # fromEnum :: UInt -> Int # enumFrom :: UInt -> [UInt] # enumFromThen :: UInt -> UInt -> [UInt] # enumFromTo :: UInt -> UInt -> [UInt] # enumFromThenTo :: UInt -> UInt -> UInt -> [UInt] #
Generic UInt # |

Instance details

Defined in Language.LSP.Protocol.Types.Common

Associated Types

type Rep UInt |
Instance details Defined in Language.LSP.Protocol.Types.Common type Rep UInt = D1 ('MetaData "UInt" "Language.LSP.Protocol.Types.Common" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "UInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Mod (2 ^ 31)))))

Methods

from :: UInt -> Rep UInt x #

to :: Rep UInt x -> UInt #

Num UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods (+) :: UInt -> UInt -> UInt # (-) :: UInt -> UInt -> UInt # (*) :: UInt -> UInt -> UInt # negate :: UInt -> UInt # abs :: UInt -> UInt # signum :: UInt -> UInt # fromInteger :: Integer -> UInt #
Read UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods readsPrec :: Int -> ReadS UInt # readList :: ReadS [UInt] # readPrec :: ReadPrec UInt # readListPrec :: ReadPrec [UInt] #
Integral UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods quot :: UInt -> UInt -> UInt # rem :: UInt -> UInt -> UInt # div :: UInt -> UInt -> UInt # mod :: UInt -> UInt -> UInt # quotRem :: UInt -> UInt -> (UInt, UInt) # divMod :: UInt -> UInt -> (UInt, UInt) # toInteger :: UInt -> Integer #
Real UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods toRational :: UInt -> Rational #
Show UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods showsPrec :: Int -> UInt -> ShowS # show :: UInt -> String # showList :: [UInt] -> ShowS #
Eq UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods (==) :: UInt -> UInt -> Bool # (/=) :: UInt -> UInt -> Bool #
Ord UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods compare :: UInt -> UInt -> Ordering # (<) :: UInt -> UInt -> Bool # (<=) :: UInt -> UInt -> Bool # (>) :: UInt -> UInt -> Bool # (>=) :: UInt -> UInt -> Bool # max :: UInt -> UInt -> UInt # min :: UInt -> UInt -> UInt #
Hashable UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods hashWithSalt :: Int -> UInt -> Int # hash :: UInt -> Int #
Pretty UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods pretty :: UInt -> Doc ann # prettyList :: [UInt] -> Doc ann #
HasCharacter Position UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods character :: Lens' Position UInt #
HasDeleteCount NotebookCellArrayChange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deleteCount :: Lens' NotebookCellArrayChange UInt #
HasDeleteCount SemanticTokensEdit UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deleteCount :: Lens' SemanticTokensEdit UInt #
HasDeltaLine SemanticTokenRelative UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deltaLine :: Lens' SemanticTokenRelative UInt #
HasDeltaStartChar SemanticTokenRelative UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deltaStartChar :: Lens' SemanticTokenRelative UInt #
HasEndLine FoldingRange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods endLine :: Lens' FoldingRange UInt #
HasExecutionOrder ExecutionSummary UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executionOrder :: Lens' ExecutionSummary UInt #
HasLength SemanticTokenAbsolute UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods length :: Lens' SemanticTokenAbsolute UInt #
HasLength SemanticTokenRelative UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods length :: Lens' SemanticTokenRelative UInt #
HasLine Position UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods line :: Lens' Position UInt #
HasLine SemanticTokenAbsolute UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods line :: Lens' SemanticTokenAbsolute UInt #
HasStart NotebookCellArrayChange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods start :: Lens' NotebookCellArrayChange UInt #
HasStart SemanticTokensEdit UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods start :: Lens' SemanticTokensEdit UInt #
HasStartChar SemanticTokenAbsolute UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods startChar :: Lens' SemanticTokenAbsolute UInt #
HasStartLine FoldingRange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods startLine :: Lens' FoldingRange UInt #
HasTabSize FormattingOptions UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tabSize :: Lens' FormattingOptions UInt #
HasActiveParameter SignatureHelp (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureHelp (Maybe (UInt |? Null)) #
HasActiveParameter SignatureInformation (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureInformation (Maybe (UInt |? Null)) #
HasActiveSignature SignatureHelp (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeSignature :: Lens' SignatureHelp (Maybe UInt) #
HasData_ SemanticTokens [UInt] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' SemanticTokens [UInt] #
HasData_ SemanticTokensEdit (Maybe [UInt]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' SemanticTokensEdit (Maybe [UInt]) #
HasData_ SemanticTokensPartialResult [UInt] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' SemanticTokensPartialResult [UInt] #
HasEndCharacter FoldingRange (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods endCharacter :: Lens' FoldingRange (Maybe UInt) #
HasFailedChange ApplyWorkspaceEditResult (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods failedChange :: Lens' ApplyWorkspaceEditResult (Maybe UInt) #
HasPercentage WorkDoneProgressBegin (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods percentage :: Lens' WorkDoneProgressBegin (Maybe UInt) #
HasPercentage WorkDoneProgressReport (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods percentage :: Lens' WorkDoneProgressReport (Maybe UInt) #
HasRangeLength TextDocumentContentChangePartial (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rangeLength :: Lens' TextDocumentContentChangePartial (Maybe UInt) #
HasRangeLimit FoldingRangeClientCapabilities (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rangeLimit :: Lens' FoldingRangeClientCapabilities (Maybe UInt) #
HasStartCharacter FoldingRange (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods startCharacter :: Lens' FoldingRange (Maybe UInt) #
HasLabel ParameterInformation (Text |? (UInt, UInt)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' ParameterInformation (Text |? (UInt, UInt)) #
type Rep UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Common type Rep UInt = D1 ('MetaData "UInt" "Language.LSP.Protocol.Types.Common" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "UInt" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Mod (2 ^ 31)))))

data Null #

A type for that is precisely null and nothing else.

This is useful since the LSP specification often includes types like `a | null` as distinct from an optional value of type `a`.

Constructors

Null |

#### Instances

Instances details

FromJSON Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods parseJSON :: Value -> Parser Null # parseJSONList :: Value -> Parser [Null] # omittedField :: Maybe Null #
ToJSON Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods toJSON :: Null -> Value # toEncoding :: Null -> Encoding # toJSONList :: [Null] -> Value # toEncodingList :: [Null] -> Encoding # omitField :: Null -> Bool #
NFData Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods rnf :: Null -> () #
Generic Null # |

Instance details

Defined in Language.LSP.Protocol.Types.Common

Associated Types

type Rep Null |
Instance details Defined in Language.LSP.Protocol.Types.Common type Rep Null = D1 ('MetaData "Null" "Language.LSP.Protocol.Types.Common" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Null" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: Null -> Rep Null x #

to :: Rep Null x -> Null #

Show Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods showsPrec :: Int -> Null -> ShowS # show :: Null -> String # showList :: [Null] -> ShowS #
Eq Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods (==) :: Null -> Null -> Bool # (/=) :: Null -> Null -> Bool #
Ord Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods compare :: Null -> Null -> Ordering # (<) :: Null -> Null -> Bool # (<=) :: Null -> Null -> Bool # (>) :: Null -> Null -> Bool # (>=) :: Null -> Null -> Bool # max :: Null -> Null -> Null # min :: Null -> Null -> Null #
Hashable Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods hashWithSalt :: Int -> Null -> Int # hash :: Null -> Int #
Pretty Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods pretty :: Null -> Doc ann # prettyList :: [Null] -> Doc ann #
HasActiveParameter SignatureHelp (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureHelp (Maybe (UInt |? Null)) #
HasActiveParameter SignatureInformation (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureInformation (Maybe (UInt |? Null)) #
HasRootPath InitializeParams (Maybe (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootPath :: Lens' InitializeParams (Maybe (Text |? Null)) #
HasRootPath UInitializeParams (Maybe (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootPath :: Lens' UInitializeParams (Maybe (Text |? Null)) #
HasWorkspaceFolders InitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' InitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasWorkspaceFolders WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasDocumentSelector CallHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CallHierarchyRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CodeActionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeActionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CodeLensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeLensRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CompletionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CompletionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DeclarationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DeclarationRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DefinitionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DiagnosticRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DiagnosticRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentColorRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentColorRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentHighlightRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentHighlightRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentLinkRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentLinkRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentSymbolRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentSymbolRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector FoldingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' FoldingRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector HoverRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' HoverRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector ImplementationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ImplementationRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector InlayHintRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlayHintRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector InlineValueRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlineValueRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector MonikerRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' MonikerRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector ReferenceRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ReferenceRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector RenameRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' RenameRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SelectionRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SelectionRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SemanticTokensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SemanticTokensRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SignatureHelpRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SignatureHelpRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TypeDefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeDefinitionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TypeHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeHierarchyRegistrationOptions (DocumentSelector |? Null) #
HasId ResponseMessage (Int32 |? (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods id :: Lens' ResponseMessage (Int32 |? (Text |? Null)) #
HasProcessId InitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' InitializeParams (Int32 |? Null) #
HasProcessId UInitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' UInitializeParams (Int32 |? Null) #
HasRootUri InitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' InitializeParams (Uri |? Null) #
HasRootUri UInitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' UInitializeParams (Uri |? Null) #
HasVersion OptionalVersionedTextDocumentIdentifier (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' OptionalVersionedTextDocumentIdentifier (Int32 |? Null) #
HasVersion WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) #
HasVersion WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) #
Semigroup s => Semigroup (s |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods (<>) :: (s |? Null) -> (s |? Null) -> s |? Null # sconcat :: NonEmpty (s |? Null) -> s |? Null # stimes :: Integral b => b -> (s |? Null) -> s |? Null #
type Rep Null # |
Instance details Defined in Language.LSP.Protocol.Types.Common type Rep Null = D1 ('MetaData "Null" "Language.LSP.Protocol.Types.Common" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Null" 'PrefixI 'False) (U1 :: Type -> Type))

data Int32 #

32-bit signed integer type

#### Instances

Instances details

FromJSON Int32 |
Instance details Defined in Data.Aeson.Types.FromJSON Methods parseJSON :: Value -> Parser Int32 # parseJSONList :: Value -> Parser [Int32] # omittedField :: Maybe Int32 #
FromJSONKey Int32 |
Instance details Defined in Data.Aeson.Types.FromJSON Methods fromJSONKey :: FromJSONKeyFunction Int32 # fromJSONKeyList :: FromJSONKeyFunction [Int32] #
ToJSON Int32 |
Instance details Defined in Data.Aeson.Types.ToJSON Methods toJSON :: Int32 -> Value # toEncoding :: Int32 -> Encoding # toJSONList :: [Int32] -> Value # toEncodingList :: [Int32] -> Encoding # omitField :: Int32 -> Bool #
ToJSONKey Int32 |
Instance details Defined in Data.Aeson.Types.ToJSON Methods toJSONKey :: ToJSONKeyFunction Int32 # toJSONKeyList :: ToJSONKeyFunction [Int32] #
PrintfArg Int32 | Since: base-2.1
Instance details Defined in Text.Printf Methods formatArg :: Int32 -> FieldFormatter # parseFormat :: Int32 -> ModifierParser #
Binary Int32 |
Instance details Defined in Data.Binary.Class Methods put :: Int32 -> Put # get :: Get Int32 # putList :: [Int32] -> Put #
Default Int32 |
Instance details Defined in Data.Default.Internal Methods def :: Int32 #
NFData Int32 |
Instance details Defined in Control.DeepSeq Methods rnf :: Int32 -> () #
Bits Int32 | @since base-2.01

Instance details

Defined in GHC.Internal.Int

Methods

(.&.) :: Int32 -> Int32 -> Int32 #

(.|.) :: Int32 -> Int32 -> Int32 #

xor :: Int32 -> Int32 -> Int32 #

complement :: Int32 -> Int32 #

shift :: Int32 -> Int -> Int32 #

rotate :: Int32 -> Int -> Int32 #

zeroBits :: Int32 #

bit :: Int -> Int32 #

setBit :: Int32 -> Int -> Int32 #

clearBit :: Int32 -> Int -> Int32 #

complementBit :: Int32 -> Int -> Int32 #

testBit :: Int32 -> Int -> Bool #

bitSizeMaybe :: Int32 -> Maybe Int #

bitSize :: Int32 -> Int #

isSigned :: Int32 -> Bool #

shiftL :: Int32 -> Int -> Int32 #

unsafeShiftL :: Int32 -> Int -> Int32 #

shiftR :: Int32 -> Int -> Int32 #

unsafeShiftR :: Int32 -> Int -> Int32 #

rotateL :: Int32 -> Int -> Int32 #

rotateR :: Int32 -> Int -> Int32 #

popCount :: Int32 -> Int #

FiniteBits Int32 | @since base-4.6.0.0
Instance details Defined in GHC.Internal.Int Methods finiteBitSize :: Int32 -> Int # countLeadingZeros :: Int32 -> Int # countTrailingZeros :: Int32 -> Int #
Bounded Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods minBound :: Int32 # maxBound :: Int32 #
Enum Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods succ :: Int32 -> Int32 # pred :: Int32 -> Int32 # toEnum :: Int -> Int32 # fromEnum :: Int32 -> Int # enumFrom :: Int32 -> [Int32] # enumFromThen :: Int32 -> Int32 -> [Int32] # enumFromTo :: Int32 -> Int32 -> [Int32] # enumFromThenTo :: Int32 -> Int32 -> Int32 -> [Int32] #
Ix Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods range :: (Int32, Int32) -> [Int32] # index :: (Int32, Int32) -> Int32 -> Int # unsafeIndex :: (Int32, Int32) -> Int32 -> Int # inRange :: (Int32, Int32) -> Int32 -> Bool # rangeSize :: (Int32, Int32) -> Int # unsafeRangeSize :: (Int32, Int32) -> Int #
Num Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods (+) :: Int32 -> Int32 -> Int32 # (-) :: Int32 -> Int32 -> Int32 # (*) :: Int32 -> Int32 -> Int32 # negate :: Int32 -> Int32 # abs :: Int32 -> Int32 # signum :: Int32 -> Int32 # fromInteger :: Integer -> Int32 #
Read Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods readsPrec :: Int -> ReadS Int32 # readList :: ReadS [Int32] # readPrec :: ReadPrec Int32 # readListPrec :: ReadPrec [Int32] #
Integral Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods quot :: Int32 -> Int32 -> Int32 # rem :: Int32 -> Int32 -> Int32 # div :: Int32 -> Int32 -> Int32 # mod :: Int32 -> Int32 -> Int32 # quotRem :: Int32 -> Int32 -> (Int32, Int32) # divMod :: Int32 -> Int32 -> (Int32, Int32) # toInteger :: Int32 -> Integer #
Real Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods toRational :: Int32 -> Rational #
Show Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods showsPrec :: Int -> Int32 -> ShowS # show :: Int32 -> String # showList :: [Int32] -> ShowS #
Eq Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods (==) :: Int32 -> Int32 -> Bool # (/=) :: Int32 -> Int32 -> Bool #
Ord Int32 | @since base-2.01
Instance details Defined in GHC.Internal.Int Methods compare :: Int32 -> Int32 -> Ordering # (<) :: Int32 -> Int32 -> Bool # (<=) :: Int32 -> Int32 -> Bool # (>) :: Int32 -> Int32 -> Bool # (>=) :: Int32 -> Int32 -> Bool # max :: Int32 -> Int32 -> Int32 # min :: Int32 -> Int32 -> Int32 #
Hashable Int32 |
Instance details Defined in Data.Hashable.Class Methods hashWithSalt :: Int -> Int32 -> Int # hash :: Int32 -> Int #
Pretty Int32 |
Instance details Defined in Prettyprinter.Internal Methods pretty :: Int32 -> Doc ann # prettyList :: [Int32] -> Doc ann #
Uniform Int32 |
Instance details Defined in System.Random.Internal Methods uniformM :: StatefulGen g m => g -> m Int32 #
UniformRange Int32 |
Instance details Defined in System.Random.Internal Methods uniformRM :: StatefulGen g m => (Int32, Int32) -> g -> m Int32 # isInRange :: (Int32, Int32) -> Int32 -> Bool #
Ring Int32 |
Instance details Defined in Data.Semiring Methods negate :: Int32 -> Int32 #
Semiring Int32 |
Instance details Defined in Data.Semiring Methods plus :: Int32 -> Int32 -> Int32 # zero :: Int32 # times :: Int32 -> Int32 -> Int32 # one :: Int32 # fromNatural :: Natural -> Int32 #
Unbox Int32 |
Instance details Defined in Data.Vector.Unboxed.Base
HasFrameId InlineValueContext Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods frameId :: Lens' InlineValueContext Int32 #
HasVersion NotebookDocument Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' NotebookDocument Int32 #
HasVersion TextDocumentItem Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' TextDocumentItem Int32 #
HasVersion VersionedNotebookDocumentIdentifier Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' VersionedNotebookDocumentIdentifier Int32 #
HasVersion VersionedTextDocumentIdentifier Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' VersionedTextDocumentIdentifier Int32 #
Lift Int32 |
Instance details Defined in Language.Haskell.TH.Syntax Methods lift :: Quote m => Int32 -> m Exp # liftTyped :: forall (m :: Type -> Type). Quote m => Int32 -> Code m Int32 #
Vector Vector Int32 |

Instance details

Defined in Data.Vector.Unboxed.Base

Methods

basicUnsafeFreeze :: Mutable Vector s Int32 -> ST s (Vector Int32)

basicUnsafeThaw :: Vector Int32 -> ST s (Mutable Vector s Int32)

basicLength :: Vector Int32 -> Int

basicUnsafeSlice :: Int -> Int -> Vector Int32 -> Vector Int32

basicUnsafeIndexM :: Vector Int32 -> Int -> Box Int32

basicUnsafeCopy :: Mutable Vector s Int32 -> Vector Int32 -> ST s ()

elemseq :: Vector Int32 -> Int32 -> b -> b

MVector MVector Int32 |

Instance details

Defined in Data.Vector.Unboxed.Base

Methods

basicLength :: MVector s Int32 -> Int

basicUnsafeSlice :: Int -> Int -> MVector s Int32 -> MVector s Int32

basicOverlaps :: MVector s Int32 -> MVector s Int32 -> Bool

basicUnsafeNew :: Int -> ST s (MVector s Int32)

basicInitialize :: MVector s Int32 -> ST s ()

basicUnsafeReplicate :: Int -> Int32 -> ST s (MVector s Int32)

basicUnsafeRead :: MVector s Int32 -> Int -> ST s Int32

basicUnsafeWrite :: MVector s Int32 -> Int -> Int32 -> ST s ()

basicClear :: MVector s Int32 -> ST s ()

basicSet :: MVector s Int32 -> Int32 -> ST s ()

basicUnsafeCopy :: MVector s Int32 -> MVector s Int32 -> ST s ()

basicUnsafeMove :: MVector s Int32 -> MVector s Int32 -> ST s ()

basicUnsafeGrow :: MVector s Int32 -> Int -> ST s (MVector s Int32)

HasCode Diagnostic (Maybe (Int32 |? Text)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods code :: Lens' Diagnostic (Maybe (Int32 |? Text)) #
HasVersion PublishDiagnosticsParams (Maybe Int32) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' PublishDiagnosticsParams (Maybe Int32) #
HasId CancelParams (Int32 |? Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' CancelParams (Int32 |? Text) #
HasId RequestMessage (Int32 |? Text) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods id :: Lens' RequestMessage (Int32 |? Text) #
HasId ResponseMessage (Int32 |? (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods id :: Lens' ResponseMessage (Int32 |? (Text |? Null)) #
HasProcessId InitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' InitializeParams (Int32 |? Null) #
HasProcessId UInitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' UInitializeParams (Int32 |? Null) #
HasVersion OptionalVersionedTextDocumentIdentifier (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' OptionalVersionedTextDocumentIdentifier (Int32 |? Null) #
HasVersion WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) #
HasVersion WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) #
newtype Vector Int32 |
Instance details Defined in Data.Vector.Unboxed.Base newtype Vector Int32 = V_Int32 (Vector Int32)
newtype MVector s Int32 |
Instance details Defined in Data.Vector.Unboxed.Base newtype MVector s Int32 = MV_Int32 (MVector s Int32)

data a |? b infixr 9 #

An alternative type (isomorphic to `Either`), but which is encoded into JSON without a tag for the alternative.

This corresponds to `a | b` types in the LSP specification.

Constructors

InL a |
InR b |

#### Instances

Instances details

HasActiveParameter SignatureHelp (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureHelp (Maybe (UInt |? Null)) #
HasActiveParameter SignatureInformation (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureInformation (Maybe (UInt |? Null)) #
HasCallHierarchyProvider ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods callHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) #
HasChangeNotifications WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeNotifications :: Lens' WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) #
HasCode Diagnostic (Maybe (Int32 |? Text)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods code :: Lens' Diagnostic (Maybe (Int32 |? Text)) #
HasCodeActionProvider ServerCapabilities (Maybe (Bool |? CodeActionOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionProvider :: Lens' ServerCapabilities (Maybe (Bool |? CodeActionOptions)) #
HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods colorProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) #
HasDeclarationProvider ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods declarationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) #
HasDefinitionProvider ServerCapabilities (Maybe (Bool |? DefinitionOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods definitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? DefinitionOptions)) #
HasDiagnosticProvider ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnosticProvider :: Lens' ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) #
HasDocumentChanges WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) #
HasDocumentFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentFormattingProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) #
HasDocumentHighlightProvider ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentHighlightProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) #
HasDocumentRangeFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentRangeFormattingProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) #
HasDocumentSymbolProvider ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSymbolProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) #
HasDocumentation CompletionItem (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' CompletionItem (Maybe (Text |? MarkupContent)) #
HasDocumentation ParameterInformation (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' ParameterInformation (Maybe (Text |? MarkupContent)) #
HasDocumentation SignatureInformation (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' SignatureInformation (Maybe (Text |? MarkupContent)) #
HasEditRange CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods editRange :: Lens' CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) #
HasEdits TextDocumentEdit [TextEdit |? AnnotatedTextEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' TextDocumentEdit [TextEdit |? AnnotatedTextEdit] #
HasFoldingRangeProvider ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) #
HasFull ClientSemanticTokensRequestOptions (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' ClientSemanticTokensRequestOptions (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)) #
HasFull SemanticTokensOptions (Maybe (Bool |? SemanticTokensFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' SemanticTokensOptions (Maybe (Bool |? SemanticTokensFullDelta)) #
HasFull SemanticTokensRegistrationOptions (Maybe (Bool |? SemanticTokensFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' SemanticTokensRegistrationOptions (Maybe (Bool |? SemanticTokensFullDelta)) #
HasHoverProvider ServerCapabilities (Maybe (Bool |? HoverOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods hoverProvider :: Lens' ServerCapabilities (Maybe (Bool |? HoverOptions)) #
HasImplementationProvider ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods implementationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) #
HasInlayHintProvider ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHintProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) #
HasInlineValueProvider ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValueProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) #
HasLinkedEditingRangeProvider ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkedEditingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) #
HasMonikerProvider ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods monikerProvider :: Lens' ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) #
HasNotebook NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) #
HasNotebookDocumentSync ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocumentSync :: Lens' ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) #
HasNotebookSelector NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasNotebookSelector NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasRange ClientSemanticTokensRequestOptions (Maybe (Bool |? Rec (Empty :: Row Type))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' ClientSemanticTokensRequestOptions (Maybe (Bool |? Rec (Empty :: Row Type))) #
HasRange SemanticTokensOptions (Maybe (Bool |? Rec (Empty :: Row Type))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SemanticTokensOptions (Maybe (Bool |? Rec (Empty :: Row Type))) #
HasRange SemanticTokensRegistrationOptions (Maybe (Bool |? Rec (Empty :: Row Type))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SemanticTokensRegistrationOptions (Maybe (Bool |? Rec (Empty :: Row Type))) #
HasReferencesProvider ServerCapabilities (Maybe (Bool |? ReferenceOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods referencesProvider :: Lens' ServerCapabilities (Maybe (Bool |? ReferenceOptions)) #
HasRelatedDocuments RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasRelatedDocuments RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasRenameProvider ServerCapabilities (Maybe (Bool |? RenameOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods renameProvider :: Lens' ServerCapabilities (Maybe (Bool |? RenameOptions)) #
HasRootPath InitializeParams (Maybe (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootPath :: Lens' InitializeParams (Maybe (Text |? Null)) #
HasRootPath UInitializeParams (Maybe (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootPath :: Lens' UInitializeParams (Maybe (Text |? Null)) #
HasSave TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods save :: Lens' TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) #
HasSection DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods section :: Lens' DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text])) #
HasSelectionRangeProvider ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) #
HasSemanticTokensProvider ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokensProvider :: Lens' ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) #
HasTextDocumentSync ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocumentSync :: Lens' ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) #
HasTextEdit CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdit :: Lens' CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) #
HasTooltip InlayHint (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' InlayHint (Maybe (Text |? MarkupContent)) #
HasTooltip InlayHintLabelPart (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' InlayHintLabelPart (Maybe (Text |? MarkupContent)) #
HasTypeDefinitionProvider ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeDefinitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) #
HasTypeHierarchyProvider ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) #
HasWorkspaceFolders InitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' InitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasWorkspaceFolders WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasWorkspaceSymbolProvider ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceSymbolProvider :: Lens' ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) #
HasBaseUri RelativePattern (WorkspaceFolder |? Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods baseUri :: Lens' RelativePattern (WorkspaceFolder |? Uri) #
HasCode ResponseError (LSPErrorCodes |? ErrorCodes) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods code :: Lens' ResponseError (LSPErrorCodes |? ErrorCodes) #
HasContents Hover (MarkupContent |? (MarkedString |? [MarkedString])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contents :: Lens' Hover (MarkupContent |? (MarkedString |? [MarkedString])) #
HasDocumentSelector CallHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CallHierarchyRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CodeActionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeActionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CodeLensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeLensRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CompletionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CompletionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DeclarationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DeclarationRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DefinitionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DiagnosticRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DiagnosticRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentColorRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentColorRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentHighlightRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentHighlightRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentLinkRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentLinkRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentSymbolRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentSymbolRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector FoldingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' FoldingRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector HoverRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' HoverRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector ImplementationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ImplementationRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector InlayHintRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlayHintRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector InlineValueRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlineValueRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector MonikerRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' MonikerRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector ReferenceRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ReferenceRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector RenameRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' RenameRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SelectionRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SelectionRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SemanticTokensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SemanticTokensRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SignatureHelpRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SignatureHelpRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TypeDefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeDefinitionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TypeHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeHierarchyRegistrationOptions (DocumentSelector |? Null) #
HasId CancelParams (Int32 |? Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' CancelParams (Int32 |? Text) #
HasId RequestMessage (Int32 |? Text) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods id :: Lens' RequestMessage (Int32 |? Text) #
HasId ResponseMessage (Int32 |? (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods id :: Lens' ResponseMessage (Int32 |? (Text |? Null)) #
HasLabel InlayHint (Text |? [InlayHintLabelPart]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' InlayHint (Text |? [InlayHintLabelPart]) #
HasLabel ParameterInformation (Text |? (UInt, UInt)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' ParameterInformation (Text |? (UInt, UInt)) #
HasLocation WorkspaceSymbol (Location |? LocationUriOnly) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' WorkspaceSymbol (Location |? LocationUriOnly) #
HasNotebook NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) #
HasNotebook NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) #
HasProcessId InitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' InitializeParams (Int32 |? Null) #
HasProcessId UInitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' UInitializeParams (Int32 |? Null) #
HasRelatedDocuments DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) #
HasRootUri InitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' InitializeParams (Uri |? Null) #
HasRootUri UInitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' UInitializeParams (Uri |? Null) #
HasVersion OptionalVersionedTextDocumentIdentifier (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' OptionalVersionedTextDocumentIdentifier (Int32 |? Null) #
HasVersion WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) #
HasVersion WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) #
(FromJSON a, ToJSON a, FromJSON b, ToJSON b) => FromJSON (a |? b) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods parseJSON :: Value -> Parser (a |? b) # parseJSONList :: Value -> Parser [a |? b] # omittedField :: Maybe (a |? b) #
(ToJSON a, ToJSON b) => ToJSON (a |? b) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods toJSON :: (a |? b) -> Value # toEncoding :: (a |? b) -> Encoding # toJSONList :: [a |? b] -> Value # toEncodingList :: [a |? b] -> Encoding # omitField :: (a |? b) -> Bool #
(NFData a, NFData b) => NFData (a |? b) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods rnf :: (a |? b) -> () #
Semigroup s => Semigroup (s |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods (<>) :: (s |? Null) -> (s |? Null) -> s |? Null # sconcat :: NonEmpty (s |? Null) -> s |? Null # stimes :: Integral b => b -> (s |? Null) -> s |? Null #
Generic (a |? b) # |

Instance details

Defined in Language.LSP.Protocol.Types.Common

Associated Types

type Rep (a |? b) |

Instance details

Defined in Language.LSP.Protocol.Types.Common

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

Methods

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

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

(Read a, Read b) => Read (a |? b) # |
Instance details Defined in Language.LSP.Protocol.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) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods showsPrec :: Int -> (a |? b) -> ShowS # show :: (a |? b) -> String # showList :: [a |? b] -> ShowS #
(Eq a, Eq b) => Eq (a |? b) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods (==) :: (a |? b) -> (a |? b) -> Bool # (/=) :: (a |? b) -> (a |? b) -> Bool #
(Ord a, Ord b) => Ord (a |? b) # |
Instance details Defined in Language.LSP.Protocol.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 #
(Hashable a, Hashable b) => Hashable (a |? b) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods hashWithSalt :: Int -> (a |? b) -> Int # hash :: (a |? b) -> Int #
(ToJSON a, ToJSON b) => Pretty (a |? b) # |
Instance details Defined in Language.LSP.Protocol.Types.Common Methods pretty :: (a |? b) -> Doc ann # prettyList :: [a |? b] -> Doc ann #
HasCode (TResponseError m) (LSPErrorCodes |? ErrorCodes) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods code :: Lens' (TResponseError m) (LSPErrorCodes |? ErrorCodes) #
type Rep (a |? b) # |

Instance details

Defined in Language.LSP.Protocol.Types.Common

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

(.:!?) :: FromJSON v => Object -> Key -> Parser (Maybe v) #

Parse a value optionally. This behaves similarly to `.:!` and `.:?`, but differs in how it handles `Null`:

- If `Null` can be converted to the desired type...
- `:?`: the result is success with `Nothing`
- `:!`: the result is success with 'Just value'
- `.:!?`: the result is success with 'Just value'
- If `Null` cannot be converted to the desired type...
- `:?`: the result is success with `Nothing`
- `:!`: the result is failure
- `.:!?`: the result is success with `Nothing`

That is, we allow `Null` to mean either `Nothing` or 'Just value', with the latter taking priority.

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

_L :: forall a b p f. (Choice p, Applicative f) => p a (f a) -> p (a |? b) (f (a |? b)) #

Prism for the left-hand side of an `(|?)`.

_R :: forall a b p f. (Choice p, Applicative f) => p b (f b) -> p (a |? b) (f (a |? b)) #

Prism for the right-hand side of an `(|?)`.

absorbNull :: Monoid a => (a |? Null) -> a #

nullToMaybe :: (a |? Null) -> Maybe a #

maybeToNull :: Maybe a -> a |? Null #

(.=?) :: (KeyValue e kv, ToJSON v) => String -> Maybe v -> [kv] #

Include a value in an JSON object optionally, omitting it if it is `Nothing`.

## URIs

data EncodingException #

#### Instances

Instances details

NFData EncodingException |
Instance details Defined in System.OsString.Encoding.Internal Methods rnf :: EncodingException -> () #
Exception EncodingException |
Instance details Defined in System.OsString.Encoding.Internal Methods toException :: EncodingException -> SomeException # fromException :: SomeException -> Maybe EncodingException # displayException :: EncodingException -> String # backtraceDesired :: EncodingException -> Bool #
Show EncodingException |
Instance details Defined in System.OsString.Encoding.Internal Methods showsPrec :: Int -> EncodingException -> ShowS # show :: EncodingException -> String # showList :: [EncodingException] -> ShowS #
Eq EncodingException |
Instance details Defined in System.OsString.Encoding.Internal Methods (==) :: EncodingException -> EncodingException -> Bool # (/=) :: EncodingException -> EncodingException -> Bool #

newtype Uri #

The `Uri` type in the LSP specification.

Constructors

Uri |

Fields

- getUri :: Text

#### Instances

Instances details

FromJSON Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods parseJSON :: Value -> Parser Uri # parseJSONList :: Value -> Parser [Uri] # omittedField :: Maybe Uri #
FromJSONKey Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods fromJSONKey :: FromJSONKeyFunction Uri # fromJSONKeyList :: FromJSONKeyFunction [Uri] #
ToJSON Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods toJSON :: Uri -> Value # toEncoding :: Uri -> Encoding # toJSONList :: [Uri] -> Value # toEncodingList :: [Uri] -> Encoding # omitField :: Uri -> Bool #
ToJSONKey Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods toJSONKey :: ToJSONKeyFunction Uri # toJSONKeyList :: ToJSONKeyFunction [Uri] #
NFData Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods rnf :: Uri -> () #
Generic Uri # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

Associated Types

type Rep Uri |
Instance details Defined in Language.LSP.Protocol.Types.Uri type Rep Uri = D1 ('MetaData "Uri" "Language.LSP.Protocol.Types.Uri" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Uri" 'PrefixI 'True) (S1 ('MetaSel ('Just "getUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Uri -> Rep Uri x #

to :: Rep Uri x -> Uri #

Read Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods readsPrec :: Int -> ReadS Uri # readList :: ReadS [Uri] # readPrec :: ReadPrec Uri # readListPrec :: ReadPrec [Uri] #
Show Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods showsPrec :: Int -> Uri -> ShowS # show :: Uri -> String # showList :: [Uri] -> ShowS #
Eq Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods (==) :: Uri -> Uri -> Bool # (/=) :: Uri -> Uri -> Bool #
Ord Uri # |
Instance details Defined in Language.LSP.Protocol.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 #
Hashable Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods hashWithSalt :: Int -> Uri -> Int # hash :: Uri -> Int #
Pretty Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods pretty :: Uri -> Doc ann # prettyList :: [Uri] -> Doc ann #
HasDocument NotebookCell Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods document :: Lens' NotebookCell Uri #
HasHref CodeDescription Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods href :: Lens' CodeDescription Uri #
HasNewUri RenameFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newUri :: Lens' RenameFile Uri #
HasOldUri RenameFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods oldUri :: Lens' RenameFile Uri #
HasTargetUri LocationLink Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods targetUri :: Lens' LocationLink Uri #
HasUri CallHierarchyItem Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' CallHierarchyItem Uri #
HasUri CreateFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' CreateFile Uri #
HasUri DeleteFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' DeleteFile Uri #
HasUri FileEvent Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' FileEvent Uri #
HasUri Location Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' Location Uri #
HasUri LocationUriOnly Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' LocationUriOnly Uri #
HasUri NotebookDocument Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' NotebookDocument Uri #
HasUri NotebookDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' NotebookDocumentIdentifier Uri #
HasUri OptionalVersionedTextDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' OptionalVersionedTextDocumentIdentifier Uri #
HasUri PreviousResultId Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' PreviousResultId Uri #
HasUri PublishDiagnosticsParams Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' PublishDiagnosticsParams Uri #
HasUri ShowDocumentParams Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' ShowDocumentParams Uri #
HasUri TextDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' TextDocumentIdentifier Uri #
HasUri TextDocumentItem Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' TextDocumentItem Uri #
HasUri TypeHierarchyItem Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' TypeHierarchyItem Uri #
HasUri VersionedNotebookDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' VersionedNotebookDocumentIdentifier Uri #
HasUri VersionedTextDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' VersionedTextDocumentIdentifier Uri #
HasUri WorkspaceFolder Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' WorkspaceFolder Uri #
HasUri WorkspaceFullDocumentDiagnosticReport Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' WorkspaceFullDocumentDiagnosticReport Uri #
HasUri WorkspaceUnchangedDocumentDiagnosticReport Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' WorkspaceUnchangedDocumentDiagnosticReport Uri #
HasChanges WorkspaceEdit (Maybe (Map Uri [TextEdit])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' WorkspaceEdit (Maybe (Map Uri [TextEdit])) #
HasRelatedDocuments RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasRelatedDocuments RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasScopeUri ConfigurationItem (Maybe Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scopeUri :: Lens' ConfigurationItem (Maybe Uri) #
HasTarget DocumentLink (Maybe Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods target :: Lens' DocumentLink (Maybe Uri) #
HasBaseUri RelativePattern (WorkspaceFolder |? Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods baseUri :: Lens' RelativePattern (WorkspaceFolder |? Uri) #
HasRelatedDocuments DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) #
HasRootUri InitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' InitializeParams (Uri |? Null) #
HasRootUri UInitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' UInitializeParams (Uri |? Null) #
type Rep Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri type Rep Uri = D1 ('MetaData "Uri" "Language.LSP.Protocol.Types.Uri" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Uri" 'PrefixI 'True) (S1 ('MetaSel ('Just "getUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

uriToFilePath :: Uri -> Maybe FilePath #

filePathToUri :: FilePath -> Uri #

data NormalizedUri #

A normalized `Uri`.

If you want to use a URI as a map key, use this type. It is important to normalize the percent encoding in the URI since URIs that only differ when it comes to the percent-encoding should be treated as equivalent.

`NormalizedUri` has a cached hash in order to make it especially fast in a hash map.

Constructors

NormalizedUri !Int !Text |

#### Instances

Instances details

NFData NormalizedUri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods rnf :: NormalizedUri -> () #
Generic NormalizedUri # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

Associated Types

type Rep NormalizedUri |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

type Rep NormalizedUri = D1 ('MetaData "NormalizedUri" "Language.LSP.Protocol.Types.Uri" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" '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)))

Methods

from :: NormalizedUri -> Rep NormalizedUri x #

to :: Rep NormalizedUri x -> NormalizedUri #

Read NormalizedUri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods readsPrec :: Int -> ReadS NormalizedUri # readList :: ReadS [NormalizedUri] # readPrec :: ReadPrec NormalizedUri # readListPrec :: ReadPrec [NormalizedUri] #
Show NormalizedUri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods showsPrec :: Int -> NormalizedUri -> ShowS # show :: NormalizedUri -> String # showList :: [NormalizedUri] -> ShowS #
Eq NormalizedUri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods (==) :: NormalizedUri -> NormalizedUri -> Bool # (/=) :: NormalizedUri -> NormalizedUri -> Bool #
Ord NormalizedUri # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

Methods

compare :: NormalizedUri -> NormalizedUri -> Ordering #

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

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

(>) :: NormalizedUri -> NormalizedUri -> Bool #

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

max :: NormalizedUri -> NormalizedUri -> NormalizedUri #

min :: NormalizedUri -> NormalizedUri -> NormalizedUri #

Hashable NormalizedUri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods hashWithSalt :: Int -> NormalizedUri -> Int # hash :: NormalizedUri -> Int #
Pretty NormalizedUri # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods pretty :: NormalizedUri -> Doc ann # prettyList :: [NormalizedUri] -> Doc ann #
type Rep NormalizedUri # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

type Rep NormalizedUri = D1 ('MetaData "NormalizedUri" "Language.LSP.Protocol.Types.Uri" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" '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)))

toNormalizedUri :: Uri -> NormalizedUri #

fromNormalizedUri :: NormalizedUri -> Uri #

data NormalizedFilePath #

A file path that is already normalized.

The `NormalizedUri` is 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 HLS, do not modify it without profiling.

#### Instances

Instances details

Binary NormalizedFilePath # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods put :: NormalizedFilePath -> Put # get :: Get NormalizedFilePath # putList :: [NormalizedFilePath] -> Put #
NFData NormalizedFilePath # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods rnf :: NormalizedFilePath -> () #
IsString NormalizedFilePath # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods fromString :: String -> NormalizedFilePath #
Generic NormalizedFilePath # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

Associated Types

type Rep NormalizedFilePath |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

type Rep NormalizedFilePath = D1 ('MetaData "NormalizedFilePath" "Language.LSP.Protocol.Types.Uri" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NormalizedFilePath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NormalizedUri) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Text)))

Methods

from :: NormalizedFilePath -> Rep NormalizedFilePath x #

to :: Rep NormalizedFilePath x -> NormalizedFilePath #

Show NormalizedFilePath # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods showsPrec :: Int -> NormalizedFilePath -> ShowS # show :: NormalizedFilePath -> String # showList :: [NormalizedFilePath] -> ShowS #
Eq NormalizedFilePath # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods (==) :: NormalizedFilePath -> NormalizedFilePath -> Bool # (/=) :: NormalizedFilePath -> NormalizedFilePath -> Bool #
Ord NormalizedFilePath # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

Methods

compare :: NormalizedFilePath -> NormalizedFilePath -> Ordering #

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

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

(>) :: NormalizedFilePath -> NormalizedFilePath -> Bool #

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

max :: NormalizedFilePath -> NormalizedFilePath -> NormalizedFilePath #

min :: NormalizedFilePath -> NormalizedFilePath -> NormalizedFilePath #

Hashable NormalizedFilePath # |
Instance details Defined in Language.LSP.Protocol.Types.Uri Methods hashWithSalt :: Int -> NormalizedFilePath -> Int # hash :: NormalizedFilePath -> Int #
type Rep NormalizedFilePath # |

Instance details

Defined in Language.LSP.Protocol.Types.Uri

type Rep NormalizedFilePath = D1 ('MetaData "NormalizedFilePath" "Language.LSP.Protocol.Types.Uri" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NormalizedFilePath" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 NormalizedUri) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'SourceUnpack 'SourceStrict 'DecidedStrict) (Rec0 Text)))

toNormalizedFilePath :: FilePath -> NormalizedFilePath #

fromNormalizedFilePath :: NormalizedFilePath -> FilePath #

Extracts `FilePath` from `NormalizedFilePath`.

normalizedFilePathToUri :: NormalizedFilePath -> NormalizedUri #

uriToNormalizedFilePath :: NormalizedUri -> Maybe NormalizedFilePath #

emptyNormalizedFilePath :: NormalizedFilePath #

`NormalizedFilePath` that contains an empty file path

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

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

platformAwareFilePathToUri :: SystemOS -> FilePath -> Uri #

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

osPathToNormalizedFilePath :: MonadThrow m => OsPath -> m NormalizedFilePath #

Constructs `NormalizedFilePath` from `OsPath`. Throws `EncodingException` if the conversion fails.

We store a `Text` in `NormalizedFilePath`, which is UTF-16 or UTF-8 depending on the verion of text library. `OsPath` may have a different encoding than `Text`, so this function may fail. But DO NOTE THAT encoding mismatch doesn't always mean an exception will be thrown. Possibly your encoding simply won't throw exception on failure. Possibly the conversion function can't find any invalid byte sequence, giving a sucessful but wrong result.

normalizedFilePathToOsPath :: MonadThrow m => NormalizedFilePath -> m OsPath #

Extracts `OsPath` from `NormalizedFilePath`. Throws `EncodingException` if the conversion fails.

## Locations

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

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

isSubrangeOf :: Range -> Range -> Bool #

`isSubrangeOf` returns true if for every `Position` in the first `Range`, it's also in the second `Range`.

positionInRange :: Position -> Range -> Bool #

`positionInRange` returns true if the given `Position` is in the `Range`.

## LSP enumerations

class LspEnum a where #

A class for types that represent a LSP enum type.

This class carries conversion functions to and from the 'base type' of the enum. Not all base type values may have corresponding enum values.

Minimal complete definition

toEnumBaseType

Associated Types

type EnumBaseType a #

The base type of the enum.

Methods

knownValues :: Set a #

The known values of this type, the ones listed in the LSP specification.

toEnumBaseType :: a -> EnumBaseType a #

Convert an enum value to the base type.

fromEnumBaseType :: EnumBaseType a -> Maybe a #

Convert a base type value to an enum value, failing if it does not correspond to an enum value.

default fromEnumBaseType :: LspOpenEnum a => EnumBaseType a -> Maybe a #

#### Instances

Instances details

LspEnum CodeActionKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind

Associated Types

type EnumBaseType CodeActionKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind type EnumBaseType CodeActionKind = Text

Methods

knownValues :: Set CodeActionKind #

toEnumBaseType :: CodeActionKind -> EnumBaseType CodeActionKind #

fromEnumBaseType :: EnumBaseType CodeActionKind -> Maybe CodeActionKind #

LspEnum CodeActionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind

Associated Types

type EnumBaseType CodeActionTriggerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind type EnumBaseType CodeActionTriggerKind = UInt

Methods

knownValues :: Set CodeActionTriggerKind #

toEnumBaseType :: CodeActionTriggerKind -> EnumBaseType CodeActionTriggerKind #

fromEnumBaseType :: EnumBaseType CodeActionTriggerKind -> Maybe CodeActionTriggerKind #

LspEnum CompletionItemKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind

Associated Types

type EnumBaseType CompletionItemKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind type EnumBaseType CompletionItemKind = UInt

Methods

knownValues :: Set CompletionItemKind #

toEnumBaseType :: CompletionItemKind -> EnumBaseType CompletionItemKind #

fromEnumBaseType :: EnumBaseType CompletionItemKind -> Maybe CompletionItemKind #

LspEnum CompletionItemTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag

Associated Types

type EnumBaseType CompletionItemTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag type EnumBaseType CompletionItemTag = UInt

Methods

knownValues :: Set CompletionItemTag #

toEnumBaseType :: CompletionItemTag -> EnumBaseType CompletionItemTag #

fromEnumBaseType :: EnumBaseType CompletionItemTag -> Maybe CompletionItemTag #

LspEnum CompletionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind

Associated Types

type EnumBaseType CompletionTriggerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind type EnumBaseType CompletionTriggerKind = UInt

Methods

knownValues :: Set CompletionTriggerKind #

toEnumBaseType :: CompletionTriggerKind -> EnumBaseType CompletionTriggerKind #

fromEnumBaseType :: EnumBaseType CompletionTriggerKind -> Maybe CompletionTriggerKind #

LspEnum DiagnosticSeverity # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity

Associated Types

type EnumBaseType DiagnosticSeverity |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity type EnumBaseType DiagnosticSeverity = UInt

Methods

knownValues :: Set DiagnosticSeverity #

toEnumBaseType :: DiagnosticSeverity -> EnumBaseType DiagnosticSeverity #

fromEnumBaseType :: EnumBaseType DiagnosticSeverity -> Maybe DiagnosticSeverity #

LspEnum DiagnosticTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag

Associated Types

type EnumBaseType DiagnosticTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag type EnumBaseType DiagnosticTag = UInt

Methods

knownValues :: Set DiagnosticTag #

toEnumBaseType :: DiagnosticTag -> EnumBaseType DiagnosticTag #

fromEnumBaseType :: EnumBaseType DiagnosticTag -> Maybe DiagnosticTag #

LspEnum DocumentDiagnosticReportKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind

Associated Types

type EnumBaseType DocumentDiagnosticReportKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind type EnumBaseType DocumentDiagnosticReportKind = Text

Methods

knownValues :: Set DocumentDiagnosticReportKind #

toEnumBaseType :: DocumentDiagnosticReportKind -> EnumBaseType DocumentDiagnosticReportKind #

fromEnumBaseType :: EnumBaseType DocumentDiagnosticReportKind -> Maybe DocumentDiagnosticReportKind #

LspEnum DocumentHighlightKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind

Associated Types

type EnumBaseType DocumentHighlightKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind type EnumBaseType DocumentHighlightKind = UInt

Methods

knownValues :: Set DocumentHighlightKind #

toEnumBaseType :: DocumentHighlightKind -> EnumBaseType DocumentHighlightKind #

fromEnumBaseType :: EnumBaseType DocumentHighlightKind -> Maybe DocumentHighlightKind #

LspEnum ErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes

Associated Types

type EnumBaseType ErrorCodes |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes type EnumBaseType ErrorCodes = Int32

Methods

knownValues :: Set ErrorCodes #

toEnumBaseType :: ErrorCodes -> EnumBaseType ErrorCodes #

fromEnumBaseType :: EnumBaseType ErrorCodes -> Maybe ErrorCodes #

LspEnum FailureHandlingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind

Associated Types

type EnumBaseType FailureHandlingKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind type EnumBaseType FailureHandlingKind = Text

Methods

knownValues :: Set FailureHandlingKind #

toEnumBaseType :: FailureHandlingKind -> EnumBaseType FailureHandlingKind #

fromEnumBaseType :: EnumBaseType FailureHandlingKind -> Maybe FailureHandlingKind #

LspEnum FileChangeType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileChangeType

Associated Types

type EnumBaseType FileChangeType |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType type EnumBaseType FileChangeType = UInt

Methods

knownValues :: Set FileChangeType #

toEnumBaseType :: FileChangeType -> EnumBaseType FileChangeType #

fromEnumBaseType :: EnumBaseType FileChangeType -> Maybe FileChangeType #

LspEnum FileOperationPatternKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind

Associated Types

type EnumBaseType FileOperationPatternKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind type EnumBaseType FileOperationPatternKind = Text

Methods

knownValues :: Set FileOperationPatternKind #

toEnumBaseType :: FileOperationPatternKind -> EnumBaseType FileOperationPatternKind #

fromEnumBaseType :: EnumBaseType FileOperationPatternKind -> Maybe FileOperationPatternKind #

LspEnum FoldingRangeKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind

Associated Types

type EnumBaseType FoldingRangeKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind type EnumBaseType FoldingRangeKind = Text

Methods

knownValues :: Set FoldingRangeKind #

toEnumBaseType :: FoldingRangeKind -> EnumBaseType FoldingRangeKind #

fromEnumBaseType :: EnumBaseType FoldingRangeKind -> Maybe FoldingRangeKind #

LspEnum InlayHintKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind

Associated Types

type EnumBaseType InlayHintKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind type EnumBaseType InlayHintKind = UInt

Methods

knownValues :: Set InlayHintKind #

toEnumBaseType :: InlayHintKind -> EnumBaseType InlayHintKind #

fromEnumBaseType :: EnumBaseType InlayHintKind -> Maybe InlayHintKind #

LspEnum InsertTextFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat

Associated Types

type EnumBaseType InsertTextFormat |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat type EnumBaseType InsertTextFormat = UInt

Methods

knownValues :: Set InsertTextFormat #

toEnumBaseType :: InsertTextFormat -> EnumBaseType InsertTextFormat #

fromEnumBaseType :: EnumBaseType InsertTextFormat -> Maybe InsertTextFormat #

LspEnum InsertTextMode # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode

Associated Types

type EnumBaseType InsertTextMode |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode type EnumBaseType InsertTextMode = UInt

Methods

knownValues :: Set InsertTextMode #

toEnumBaseType :: InsertTextMode -> EnumBaseType InsertTextMode #

fromEnumBaseType :: EnumBaseType InsertTextMode -> Maybe InsertTextMode #

LspEnum LSPErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes

Associated Types

type EnumBaseType LSPErrorCodes |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes type EnumBaseType LSPErrorCodes = Int32

Methods

knownValues :: Set LSPErrorCodes #

toEnumBaseType :: LSPErrorCodes -> EnumBaseType LSPErrorCodes #

fromEnumBaseType :: EnumBaseType LSPErrorCodes -> Maybe LSPErrorCodes #

LspEnum LanguageKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LanguageKind

Associated Types

type EnumBaseType LanguageKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind type EnumBaseType LanguageKind = Text

Methods

knownValues :: Set LanguageKind #

toEnumBaseType :: LanguageKind -> EnumBaseType LanguageKind #

fromEnumBaseType :: EnumBaseType LanguageKind -> Maybe LanguageKind #

LspEnum MarkupKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupKind

Associated Types

type EnumBaseType MarkupKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind type EnumBaseType MarkupKind = Text

Methods

knownValues :: Set MarkupKind #

toEnumBaseType :: MarkupKind -> EnumBaseType MarkupKind #

fromEnumBaseType :: EnumBaseType MarkupKind -> Maybe MarkupKind #

LspEnum MessageType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageType

Associated Types

type EnumBaseType MessageType |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType type EnumBaseType MessageType = UInt

Methods

knownValues :: Set MessageType #

toEnumBaseType :: MessageType -> EnumBaseType MessageType #

fromEnumBaseType :: EnumBaseType MessageType -> Maybe MessageType #

LspEnum MonikerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerKind

Associated Types

type EnumBaseType MonikerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind type EnumBaseType MonikerKind = Text

Methods

knownValues :: Set MonikerKind #

toEnumBaseType :: MonikerKind -> EnumBaseType MonikerKind #

fromEnumBaseType :: EnumBaseType MonikerKind -> Maybe MonikerKind #

LspEnum NotebookCellKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind

Associated Types

type EnumBaseType NotebookCellKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind type EnumBaseType NotebookCellKind = UInt

Methods

knownValues :: Set NotebookCellKind #

toEnumBaseType :: NotebookCellKind -> EnumBaseType NotebookCellKind #

fromEnumBaseType :: EnumBaseType NotebookCellKind -> Maybe NotebookCellKind #

LspEnum PositionEncodingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind

Associated Types

type EnumBaseType PositionEncodingKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind type EnumBaseType PositionEncodingKind = Text

Methods

knownValues :: Set PositionEncodingKind #

toEnumBaseType :: PositionEncodingKind -> EnumBaseType PositionEncodingKind #

fromEnumBaseType :: EnumBaseType PositionEncodingKind -> Maybe PositionEncodingKind #

LspEnum PrepareSupportDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior

Associated Types

type EnumBaseType PrepareSupportDefaultBehavior |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior type EnumBaseType PrepareSupportDefaultBehavior = UInt

Methods

knownValues :: Set PrepareSupportDefaultBehavior #

toEnumBaseType :: PrepareSupportDefaultBehavior -> EnumBaseType PrepareSupportDefaultBehavior #

fromEnumBaseType :: EnumBaseType PrepareSupportDefaultBehavior -> Maybe PrepareSupportDefaultBehavior #

LspEnum ResourceOperationKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind

Associated Types

type EnumBaseType ResourceOperationKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind type EnumBaseType ResourceOperationKind = Text

Methods

knownValues :: Set ResourceOperationKind #

toEnumBaseType :: ResourceOperationKind -> EnumBaseType ResourceOperationKind #

fromEnumBaseType :: EnumBaseType ResourceOperationKind -> Maybe ResourceOperationKind #

LspEnum SemanticTokenModifiers # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers

Associated Types

type EnumBaseType SemanticTokenModifiers |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers type EnumBaseType SemanticTokenModifiers = Text

Methods

knownValues :: Set SemanticTokenModifiers #

toEnumBaseType :: SemanticTokenModifiers -> EnumBaseType SemanticTokenModifiers #

fromEnumBaseType :: EnumBaseType SemanticTokenModifiers -> Maybe SemanticTokenModifiers #

LspEnum SemanticTokenTypes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes

Associated Types

type EnumBaseType SemanticTokenTypes |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes type EnumBaseType SemanticTokenTypes = Text

Methods

knownValues :: Set SemanticTokenTypes #

toEnumBaseType :: SemanticTokenTypes -> EnumBaseType SemanticTokenTypes #

fromEnumBaseType :: EnumBaseType SemanticTokenTypes -> Maybe SemanticTokenTypes #

LspEnum SignatureHelpTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind

Associated Types

type EnumBaseType SignatureHelpTriggerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind type EnumBaseType SignatureHelpTriggerKind = UInt

Methods

knownValues :: Set SignatureHelpTriggerKind #

toEnumBaseType :: SignatureHelpTriggerKind -> EnumBaseType SignatureHelpTriggerKind #

fromEnumBaseType :: EnumBaseType SignatureHelpTriggerKind -> Maybe SignatureHelpTriggerKind #

LspEnum SymbolKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolKind

Associated Types

type EnumBaseType SymbolKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind type EnumBaseType SymbolKind = UInt

Methods

knownValues :: Set SymbolKind #

toEnumBaseType :: SymbolKind -> EnumBaseType SymbolKind #

fromEnumBaseType :: EnumBaseType SymbolKind -> Maybe SymbolKind #

LspEnum SymbolTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolTag

Associated Types

type EnumBaseType SymbolTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag type EnumBaseType SymbolTag = UInt

Methods

knownValues :: Set SymbolTag #

toEnumBaseType :: SymbolTag -> EnumBaseType SymbolTag #

fromEnumBaseType :: EnumBaseType SymbolTag -> Maybe SymbolTag #

LspEnum TextDocumentSaveReason # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason

Associated Types

type EnumBaseType TextDocumentSaveReason |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason type EnumBaseType TextDocumentSaveReason = UInt

Methods

knownValues :: Set TextDocumentSaveReason #

toEnumBaseType :: TextDocumentSaveReason -> EnumBaseType TextDocumentSaveReason #

fromEnumBaseType :: EnumBaseType TextDocumentSaveReason -> Maybe TextDocumentSaveReason #

LspEnum TextDocumentSyncKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind

Associated Types

type EnumBaseType TextDocumentSyncKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind type EnumBaseType TextDocumentSyncKind = UInt

Methods

knownValues :: Set TextDocumentSyncKind #

toEnumBaseType :: TextDocumentSyncKind -> EnumBaseType TextDocumentSyncKind #

fromEnumBaseType :: EnumBaseType TextDocumentSyncKind -> Maybe TextDocumentSyncKind #

LspEnum TokenFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TokenFormat

Associated Types

type EnumBaseType TokenFormat |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat type EnumBaseType TokenFormat = Text

Methods

knownValues :: Set TokenFormat #

toEnumBaseType :: TokenFormat -> EnumBaseType TokenFormat #

fromEnumBaseType :: EnumBaseType TokenFormat -> Maybe TokenFormat #

LspEnum TraceValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TraceValue

Associated Types

type EnumBaseType TraceValue |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue type EnumBaseType TraceValue = Text

Methods

knownValues :: Set TraceValue #

toEnumBaseType :: TraceValue -> EnumBaseType TraceValue #

fromEnumBaseType :: EnumBaseType TraceValue -> Maybe TraceValue #

LspEnum UniquenessLevel # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel

Associated Types

type EnumBaseType UniquenessLevel |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel type EnumBaseType UniquenessLevel = Text

Methods

knownValues :: Set UniquenessLevel #

toEnumBaseType :: UniquenessLevel -> EnumBaseType UniquenessLevel #

fromEnumBaseType :: EnumBaseType UniquenessLevel -> Maybe UniquenessLevel #

LspEnum WatchKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WatchKind

Associated Types

type EnumBaseType WatchKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind type EnumBaseType WatchKind = UInt

Methods

knownValues :: Set WatchKind #

toEnumBaseType :: WatchKind -> EnumBaseType WatchKind #

fromEnumBaseType :: EnumBaseType WatchKind -> Maybe WatchKind #

class LspEnum a => LspOpenEnum a where #

A class for types that represent a LSP open enum type.

Open enum types allow any base type value to be used as a `custom` enum value.

Methods

fromOpenEnumBaseType :: EnumBaseType a -> a #

Convert a base type to an enum value. All base type values can be converted this way.

#### Instances

Instances details

LspOpenEnum CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods fromOpenEnumBaseType :: EnumBaseType CodeActionKind -> CodeActionKind #
LspOpenEnum ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods fromOpenEnumBaseType :: EnumBaseType ErrorCodes -> ErrorCodes #
LspOpenEnum FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods fromOpenEnumBaseType :: EnumBaseType FoldingRangeKind -> FoldingRangeKind #
LspOpenEnum LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods fromOpenEnumBaseType :: EnumBaseType LSPErrorCodes -> LSPErrorCodes #
LspOpenEnum LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods fromOpenEnumBaseType :: EnumBaseType LanguageKind -> LanguageKind #
LspOpenEnum PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods fromOpenEnumBaseType :: EnumBaseType PositionEncodingKind -> PositionEncodingKind #
LspOpenEnum SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods fromOpenEnumBaseType :: EnumBaseType SemanticTokenModifiers -> SemanticTokenModifiers #
LspOpenEnum SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods fromOpenEnumBaseType :: EnumBaseType SemanticTokenTypes -> SemanticTokenTypes #
LspOpenEnum WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods fromOpenEnumBaseType :: EnumBaseType WatchKind -> WatchKind #

type family EnumBaseType a #

The base type of the enum.

#### Instances

Instances details

type EnumBaseType CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind type EnumBaseType CodeActionKind = Text
type EnumBaseType CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind type EnumBaseType CodeActionTriggerKind = UInt
type EnumBaseType CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind type EnumBaseType CompletionItemKind = UInt
type EnumBaseType CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag type EnumBaseType CompletionItemTag = UInt
type EnumBaseType CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind type EnumBaseType CompletionTriggerKind = UInt
type EnumBaseType DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity type EnumBaseType DiagnosticSeverity = UInt
type EnumBaseType DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag type EnumBaseType DiagnosticTag = UInt
type EnumBaseType DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind type EnumBaseType DocumentDiagnosticReportKind = Text
type EnumBaseType DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind type EnumBaseType DocumentHighlightKind = UInt
type EnumBaseType ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes type EnumBaseType ErrorCodes = Int32
type EnumBaseType FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind type EnumBaseType FailureHandlingKind = Text
type EnumBaseType FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType type EnumBaseType FileChangeType = UInt
type EnumBaseType FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind type EnumBaseType FileOperationPatternKind = Text
type EnumBaseType FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind type EnumBaseType FoldingRangeKind = Text
type EnumBaseType InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind type EnumBaseType InlayHintKind = UInt
type EnumBaseType InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat type EnumBaseType InsertTextFormat = UInt
type EnumBaseType InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode type EnumBaseType InsertTextMode = UInt
type EnumBaseType LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes type EnumBaseType LSPErrorCodes = Int32
type EnumBaseType LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind type EnumBaseType LanguageKind = Text
type EnumBaseType MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind type EnumBaseType MarkupKind = Text
type EnumBaseType MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType type EnumBaseType MessageType = UInt
type EnumBaseType MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind type EnumBaseType MonikerKind = Text
type EnumBaseType NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind type EnumBaseType NotebookCellKind = UInt
type EnumBaseType PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind type EnumBaseType PositionEncodingKind = Text
type EnumBaseType PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior type EnumBaseType PrepareSupportDefaultBehavior = UInt
type EnumBaseType ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind type EnumBaseType ResourceOperationKind = Text
type EnumBaseType SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers type EnumBaseType SemanticTokenModifiers = Text
type EnumBaseType SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes type EnumBaseType SemanticTokenTypes = Text
type EnumBaseType SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind type EnumBaseType SignatureHelpTriggerKind = UInt
type EnumBaseType SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind type EnumBaseType SymbolKind = UInt
type EnumBaseType SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag type EnumBaseType SymbolTag = UInt
type EnumBaseType TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason type EnumBaseType TextDocumentSaveReason = UInt
type EnumBaseType TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind type EnumBaseType TextDocumentSyncKind = UInt
type EnumBaseType TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat type EnumBaseType TokenFormat = Text
type EnumBaseType TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue type EnumBaseType TraceValue = Text
type EnumBaseType UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel type EnumBaseType UniquenessLevel = Text
type EnumBaseType WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind type EnumBaseType WatchKind = UInt

newtype AsLspEnum a #

Newtype for `deriving via` to get standard JSON and `IsString` instances in terms of the `LspEnum` class methods.

Constructors

AsLspEnum a |

#### Instances

Instances details

(LspEnum a, EnumBaseType a ~ b, FromJSON b, Show b) => FromJSON (AsLspEnum a) # |
Instance details Defined in Language.LSP.Protocol.Types.LspEnum Methods parseJSON :: Value -> Parser (AsLspEnum a) # parseJSONList :: Value -> Parser [AsLspEnum a] # omittedField :: Maybe (AsLspEnum a) #
(LspEnum a, EnumBaseType a ~ b, ToJSON b) => ToJSON (AsLspEnum a) # |
Instance details Defined in Language.LSP.Protocol.Types.LspEnum Methods toJSON :: AsLspEnum a -> Value # toEncoding :: AsLspEnum a -> Encoding # toJSONList :: [AsLspEnum a] -> Value # toEncodingList :: [AsLspEnum a] -> Encoding # omitField :: AsLspEnum a -> Bool #
(LspOpenEnum a, EnumBaseType a ~ b, b ~ Text) => IsString (AsLspEnum a) # |
Instance details Defined in Language.LSP.Protocol.Types.LspEnum Methods fromString :: String -> AsLspEnum a #

## Singleton types

data AString (s :: Symbol) where #

A type whose only inhabitant is a single, statically-known string.

This corresponds to types like `"hello"` in the LSP specification that are exactly types with a single inhabitant.

Constructors

AString :: forall (s :: Symbol). KnownSymbol s => AString s |

#### Instances

Instances details

HasKind CreateFile (AString "create") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CreateFile (AString "create") #
HasKind DeleteFile (AString "delete") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' DeleteFile (AString "delete") #
HasKind FullDocumentDiagnosticReport (AString "full") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' FullDocumentDiagnosticReport (AString "full") #
HasKind RelatedFullDocumentDiagnosticReport (AString "full") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' RelatedFullDocumentDiagnosticReport (AString "full") #
HasKind RelatedUnchangedDocumentDiagnosticReport (AString "unchanged") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' RelatedUnchangedDocumentDiagnosticReport (AString "unchanged") #
HasKind RenameFile (AString "rename") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' RenameFile (AString "rename") #
HasKind UnchangedDocumentDiagnosticReport (AString "unchanged") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' UnchangedDocumentDiagnosticReport (AString "unchanged") #
HasKind WorkDoneProgressBegin (AString "begin") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkDoneProgressBegin (AString "begin") #
HasKind WorkDoneProgressEnd (AString "end") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkDoneProgressEnd (AString "end") #
HasKind WorkDoneProgressReport (AString "report") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkDoneProgressReport (AString "report") #
HasKind WorkspaceFullDocumentDiagnosticReport (AString "full") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkspaceFullDocumentDiagnosticReport (AString "full") #
HasKind WorkspaceUnchangedDocumentDiagnosticReport (AString "unchanged") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkspaceUnchangedDocumentDiagnosticReport (AString "unchanged") #
KnownSymbol s => FromJSON (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods parseJSON :: Value -> Parser (AString s) # parseJSONList :: Value -> Parser [AString s] # omittedField :: Maybe (AString s) #
ToJSON (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods toJSON :: AString s -> Value # toEncoding :: AString s -> Encoding # toJSONList :: [AString s] -> Value # toEncodingList :: [AString s] -> Encoding # omitField :: AString s -> Bool #
NFData (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods rnf :: AString s -> () #
Show (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods showsPrec :: Int -> AString s -> ShowS # show :: AString s -> String # showList :: [AString s] -> ShowS #
Eq (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods (==) :: AString s -> AString s -> Bool # (/=) :: AString s -> AString s -> Bool #
Ord (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods compare :: AString s -> AString s -> Ordering # (<) :: AString s -> AString s -> Bool # (<=) :: AString s -> AString s -> Bool # (>) :: AString s -> AString s -> Bool # (>=) :: AString s -> AString s -> Bool # max :: AString s -> AString s -> AString s # min :: AString s -> AString s -> AString s #
Hashable (AString sym) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods hashWithSalt :: Int -> AString sym -> Int # hash :: AString sym -> Int #
Pretty (AString s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods pretty :: AString s -> Doc ann # prettyList :: [AString s] -> Doc ann #

data AnInteger (n :: Nat) where #

A type whose only inhabitant is a single, statically-known integer.

This corresponds to types like `1` in the LSP specification that are exactly types with a single inhabitant.

Constructors

AnInteger :: forall (n :: Nat). KnownNat n => AnInteger n |

#### Instances

Instances details

KnownNat n => FromJSON (AnInteger n) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods parseJSON :: Value -> Parser (AnInteger n) # parseJSONList :: Value -> Parser [AnInteger n] # omittedField :: Maybe (AnInteger n) #
ToJSON (AnInteger n) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods toJSON :: AnInteger n -> Value # toEncoding :: AnInteger n -> Encoding # toJSONList :: [AnInteger n] -> Value # toEncodingList :: [AnInteger n] -> Encoding # omitField :: AnInteger n -> Bool #
NFData (AnInteger s) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods rnf :: AnInteger s -> () #
Show (AnInteger n) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods showsPrec :: Int -> AnInteger n -> ShowS # show :: AnInteger n -> String # showList :: [AnInteger n] -> ShowS #
Eq (AnInteger n) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods (==) :: AnInteger n -> AnInteger n -> Bool # (/=) :: AnInteger n -> AnInteger n -> Bool #
Ord (AnInteger n) # |

Instance details

Defined in Language.LSP.Protocol.Types.Singletons

Methods

compare :: AnInteger n -> AnInteger n -> Ordering #

(<) :: AnInteger n -> AnInteger n -> Bool #

(<=) :: AnInteger n -> AnInteger n -> Bool #

(>) :: AnInteger n -> AnInteger n -> Bool #

(>=) :: AnInteger n -> AnInteger n -> Bool #

max :: AnInteger n -> AnInteger n -> AnInteger n #

min :: AnInteger n -> AnInteger n -> AnInteger n #

Hashable (AnInteger i) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods hashWithSalt :: Int -> AnInteger i -> Int # hash :: AnInteger i -> Int #
Pretty (AnInteger n) # |
Instance details Defined in Language.LSP.Protocol.Types.Singletons Methods pretty :: AnInteger n -> Doc ann # prettyList :: [AnInteger n] -> Doc ann #

# Helpers for working with LSP types

## Edits

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

Convenience alias for the type in the `_documentChanges` field.

applyTextEdit :: TextEdit -> Text -> Text #

Applies a `TextEdit` to some `Text`.

    >>> applyTextEdit (TextEdit (Range (Position 0 1) (Position 0 2)) "i") "foo"
    "fio"

editTextEdit :: TextEdit -> TextEdit -> TextEdit #

`editTextEdit` `outer` `inner` applies `inner` to the text inside `outer`.

_versionedTextDocumentIdentifier :: Prism' OptionalVersionedTextDocumentIdentifier VersionedTextDocumentIdentifier #

Conversion between `OptionalVersionedTextDocumentIdentifier` and `VersionedTextDocumentIdentifier`.

## Markup

mkPlainText :: Text -> MarkupContent #

Create a `MarkupContent` containing plain text.

mkMarkdown :: Text -> MarkupContent #

Create a `MarkupContent` containing markdown.

mkMarkdownCodeBlock :: Text -> Text -> MarkupContent #

Create a `MarkupContent` containing a language-annotated code block only.

sectionSeparator :: Text #

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

plainTextToMarkdown :: Text -> Text #

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

## Code actions

codeActionKindSubsumes :: CodeActionKind -> CodeActionKind -> Bool #

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

## Progress

_workDoneProgressBegin :: Prism' Value WorkDoneProgressBegin #

Prism for extracting the `WorkDoneProgressBegin` case from the unstructured `value` field of `ProgressParams`.

_workDoneProgressEnd :: Prism' Value WorkDoneProgressEnd #

Prism for extracting the `WorkDoneProgressEnd` case from the unstructured `value` field of `ProgressParams`.

_workDoneProgressReport :: Prism' Value WorkDoneProgressReport #

Prism for extracting the `WorkDoneProgressReport` case from the unstructured `value` field of `ProgressParams`.

## Semantic tokens

data Edit a #

An edit to a buffer of items.

Constructors

Edit |

Fields

- editStart :: UInt
- editDeleteCount :: UInt
- editInsertions :: [a]

#### Instances

Instances details

Read a => Read (Edit a) # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods readsPrec :: Int -> ReadS (Edit a) # readList :: ReadS [Edit a] # readPrec :: ReadPrec (Edit a) # readListPrec :: ReadPrec [Edit a] #
Show a => Show (Edit a) # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods showsPrec :: Int -> Edit a -> ShowS # show :: Edit a -> String # showList :: [Edit a] -> ShowS #
Eq a => Eq (Edit a) # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods (==) :: Edit a -> Edit a -> Bool # (/=) :: Edit a -> Edit a -> Bool #
Ord a => Ord (Edit a) # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods compare :: Edit a -> Edit a -> Ordering # (<) :: Edit a -> Edit a -> Bool # (<=) :: Edit a -> Edit a -> Bool # (>) :: Edit a -> Edit a -> Bool # (>=) :: Edit a -> Edit a -> Bool # max :: Edit a -> Edit a -> Edit a # min :: Edit a -> Edit a -> Edit a #

defaultSemanticTokensLegend :: SemanticTokensLegend #

data SemanticTokenAbsolute #

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

Constructors

SemanticTokenAbsolute |

Fields

- _line :: UInt
- _startChar :: UInt
- _length :: UInt
- _tokenType :: SemanticTokenTypes
- _tokenModifiers :: [SemanticTokenModifiers]

#### Instances

Instances details

Show SemanticTokenAbsolute # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods showsPrec :: Int -> SemanticTokenAbsolute -> ShowS # show :: SemanticTokenAbsolute -> String # showList :: [SemanticTokenAbsolute] -> ShowS #
Eq SemanticTokenAbsolute # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods (==) :: SemanticTokenAbsolute -> SemanticTokenAbsolute -> Bool # (/=) :: SemanticTokenAbsolute -> SemanticTokenAbsolute -> Bool #
Ord SemanticTokenAbsolute # |

Instance details

Defined in Language.LSP.Protocol.Types.SemanticTokens

Methods

compare :: SemanticTokenAbsolute -> SemanticTokenAbsolute -> Ordering #

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

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

(>) :: SemanticTokenAbsolute -> SemanticTokenAbsolute -> Bool #

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

max :: SemanticTokenAbsolute -> SemanticTokenAbsolute -> SemanticTokenAbsolute #

min :: SemanticTokenAbsolute -> SemanticTokenAbsolute -> SemanticTokenAbsolute #

HasLength SemanticTokenAbsolute UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods length :: Lens' SemanticTokenAbsolute UInt #
HasLine SemanticTokenAbsolute UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods line :: Lens' SemanticTokenAbsolute UInt #
HasStartChar SemanticTokenAbsolute UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods startChar :: Lens' SemanticTokenAbsolute UInt #
HasTokenType SemanticTokenAbsolute SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenType :: Lens' SemanticTokenAbsolute SemanticTokenTypes #
HasTokenModifiers SemanticTokenAbsolute [SemanticTokenModifiers] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenModifiers :: Lens' SemanticTokenAbsolute [SemanticTokenModifiers] #

data SemanticTokenRelative #

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

Constructors

SemanticTokenRelative |

Fields

- _deltaLine :: UInt
- _deltaStartChar :: UInt
- _length :: UInt
- _tokenType :: SemanticTokenTypes
- _tokenModifiers :: [SemanticTokenModifiers]

#### Instances

Instances details

Show SemanticTokenRelative # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods showsPrec :: Int -> SemanticTokenRelative -> ShowS # show :: SemanticTokenRelative -> String # showList :: [SemanticTokenRelative] -> ShowS #
Eq SemanticTokenRelative # |
Instance details Defined in Language.LSP.Protocol.Types.SemanticTokens Methods (==) :: SemanticTokenRelative -> SemanticTokenRelative -> Bool # (/=) :: SemanticTokenRelative -> SemanticTokenRelative -> Bool #
Ord SemanticTokenRelative # |

Instance details

Defined in Language.LSP.Protocol.Types.SemanticTokens

Methods

compare :: SemanticTokenRelative -> SemanticTokenRelative -> Ordering #

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

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

(>) :: SemanticTokenRelative -> SemanticTokenRelative -> Bool #

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

max :: SemanticTokenRelative -> SemanticTokenRelative -> SemanticTokenRelative #

min :: SemanticTokenRelative -> SemanticTokenRelative -> SemanticTokenRelative #

HasDeltaLine SemanticTokenRelative UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deltaLine :: Lens' SemanticTokenRelative UInt #
HasDeltaStartChar SemanticTokenRelative UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deltaStartChar :: Lens' SemanticTokenRelative UInt #
HasLength SemanticTokenRelative UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods length :: Lens' SemanticTokenRelative UInt #
HasTokenType SemanticTokenRelative SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenType :: Lens' SemanticTokenRelative SemanticTokenTypes #
HasTokenModifiers SemanticTokenRelative [SemanticTokenModifiers] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenModifiers :: Lens' SemanticTokenRelative [SemanticTokenModifiers] #

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

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

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

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

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

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

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

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

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

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

makeSemanticTokensDelta :: SemanticTokens -> SemanticTokens -> SemanticTokensDelta #

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

## WatchKinds

containsCreate :: WatchKind -> Bool #

Tests whether `WatchKind_Create` is contained in the provided WatchKind enum

containsChange :: WatchKind -> Bool #

Tests whether `WatchKind_Change` is contained in the provided WatchKind enum

containsDelete :: WatchKind -> Bool #

Tests whether `WatchKind_Delete` is contained in the provided WatchKind enum

combineWatchKinds :: Set WatchKind -> WatchKind #

Combine a set of WatchKind types into a new WatchKind type that accurately represents the set

# Main LSP types and functions

data Location #

Represents a location inside a resource, such as a line inside a text file.

Constructors

Location |

Fields

- _uri :: Uri
- _range :: Range

#### Instances

Instances details

FromJSON Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods parseJSON :: Value -> Parser Location # parseJSONList :: Value -> Parser [Location] # omittedField :: Maybe Location #
ToJSON Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods toJSON :: Location -> Value # toEncoding :: Location -> Encoding # toJSONList :: [Location] -> Value # toEncodingList :: [Location] -> Encoding # omitField :: Location -> Bool #
NFData Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods rnf :: Location -> () #
Generic Location # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Location

Associated Types

type Rep Location |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Location

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

Methods

from :: Location -> Rep Location x #

to :: Rep Location x -> Location #

Show Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods showsPrec :: Int -> Location -> ShowS # show :: Location -> String # showList :: [Location] -> ShowS #
Eq Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods (==) :: Location -> Location -> Bool # (/=) :: Location -> Location -> Bool #
Ord Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods compare :: Location -> Location -> Ordering # (<) :: Location -> Location -> Bool # (<=) :: Location -> Location -> Bool # (>) :: Location -> Location -> Bool # (>=) :: Location -> Location -> Bool # max :: Location -> Location -> Location # min :: Location -> Location -> Location #
Hashable Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods hashWithSalt :: Int -> Location -> Int # hash :: Location -> Int #
Pretty Location # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Location Methods pretty :: Location -> Doc ann # prettyList :: [Location] -> Doc ann #
HasLocation DiagnosticRelatedInformation Location # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' DiagnosticRelatedInformation Location #
HasLocation SymbolInformation Location # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' SymbolInformation Location #
HasRange Location Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' Location Range #
HasUri Location Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' Location Uri #
HasLocation InlayHintLabelPart (Maybe Location) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' InlayHintLabelPart (Maybe Location) #
HasLocation WorkspaceSymbol (Location |? LocationUriOnly) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' WorkspaceSymbol (Location |? LocationUriOnly) #
type Rep Location # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Location

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

data Color #

Represents a color in RGBA space.

Constructors

Color |

Fields

- _red :: Float

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

- _green :: Float

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

- _blue :: Float

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

- _alpha :: Float

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

#### Instances

Instances details

FromJSON Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods parseJSON :: Value -> Parser Color # parseJSONList :: Value -> Parser [Color] # omittedField :: Maybe Color #
ToJSON Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods toJSON :: Color -> Value # toEncoding :: Color -> Encoding # toJSONList :: [Color] -> Value # toEncodingList :: [Color] -> Encoding # omitField :: Color -> Bool #
NFData Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods rnf :: Color -> () #
Generic Color # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Color

Associated Types

type Rep Color |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Color

type Rep Color = D1 ('MetaData "Color" "Language.LSP.Protocol.Internal.Types.Color" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Color" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_red") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "_green") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float)) :*: (S1 ('MetaSel ('Just "_blue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "_alpha") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float))))

Methods

from :: Color -> Rep Color x #

to :: Rep Color x -> Color #

Show Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods showsPrec :: Int -> Color -> ShowS # show :: Color -> String # showList :: [Color] -> ShowS #
Eq Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods (==) :: Color -> Color -> Bool # (/=) :: Color -> Color -> Bool #
Ord Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods compare :: Color -> Color -> Ordering # (<) :: Color -> Color -> Bool # (<=) :: Color -> Color -> Bool # (>) :: Color -> Color -> Bool # (>=) :: Color -> Color -> Bool # max :: Color -> Color -> Color # min :: Color -> Color -> Color #
Hashable Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods hashWithSalt :: Int -> Color -> Int # hash :: Color -> Int #
Pretty Color # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Color Methods pretty :: Color -> Doc ann # prettyList :: [Color] -> Doc ann #
HasAlpha Color Float # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods alpha :: Lens' Color Float #
HasBlue Color Float # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods blue :: Lens' Color Float #
HasColor ColorInformation Color # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods color :: Lens' ColorInformation Color #
HasColor ColorPresentationParams Color # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods color :: Lens' ColorPresentationParams Color #
HasGreen Color Float # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods green :: Lens' Color Float #
HasRed Color Float # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods red :: Lens' Color Float #
type Rep Color # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Color

type Rep Color = D1 ('MetaData "Color" "Language.LSP.Protocol.Internal.Types.Color" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Color" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_red") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "_green") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float)) :*: (S1 ('MetaSel ('Just "_blue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float) :*: S1 ('MetaSel ('Just "_alpha") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Float))))

data Range #

A range in a text document expressed as (zero-based) start and end positions.

If you want to specify a range that contains a line including the line ending character(s) then use an end position denoting the start of the next line. For example: ```ts { start: { line: 5, character: 23 } end : { line 6, character : 0 } } ```

Constructors

Range |

Fields

- _start :: Position

  The range's start position.

- _end :: Position

  The range's end position.

#### Instances

Instances details

FromJSON Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods parseJSON :: Value -> Parser Range # parseJSONList :: Value -> Parser [Range] # omittedField :: Maybe Range #
ToJSON Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods toJSON :: Range -> Value # toEncoding :: Range -> Encoding # toJSONList :: [Range] -> Value # toEncodingList :: [Range] -> Encoding # omitField :: Range -> Bool #
NFData Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods rnf :: Range -> () #
Generic Range # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Range

Associated Types

type Rep Range |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Range

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

Methods

from :: Range -> Rep Range x #

to :: Rep Range x -> Range #

Show Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods showsPrec :: Int -> Range -> ShowS # show :: Range -> String # showList :: [Range] -> ShowS #
Eq Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods (==) :: Range -> Range -> Bool # (/=) :: Range -> Range -> Bool #
Ord Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range 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 #
Hashable Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods hashWithSalt :: Int -> Range -> Int # hash :: Range -> Int #
Pretty Range # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Range Methods pretty :: Range -> Doc ann # prettyList :: [Range] -> Doc ann #
HasEnd Range Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods end :: Lens' Range Position #
HasInsert EditRangeWithInsertReplace Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insert :: Lens' EditRangeWithInsertReplace Range #
HasInsert InsertReplaceEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insert :: Lens' InsertReplaceEdit Range #
HasRange AnnotatedTextEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' AnnotatedTextEdit Range #
HasRange CallHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' CallHierarchyItem Range #
HasRange CodeActionParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' CodeActionParams Range #
HasRange CodeLens Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' CodeLens Range #
HasRange ColorInformation Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' ColorInformation Range #
HasRange ColorPresentationParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' ColorPresentationParams Range #
HasRange Diagnostic Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' Diagnostic Range #
HasRange DocumentHighlight Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentHighlight Range #
HasRange DocumentLink Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentLink Range #
HasRange DocumentRangeFormattingParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentRangeFormattingParams Range #
HasRange DocumentSymbol Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentSymbol Range #
HasRange InlayHintParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlayHintParams Range #
HasRange InlineValueEvaluatableExpression Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueEvaluatableExpression Range #
HasRange InlineValueParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueParams Range #
HasRange InlineValueText Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueText Range #
HasRange InlineValueVariableLookup Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueVariableLookup Range #
HasRange Location Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' Location Range #
HasRange PrepareRenamePlaceholder Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' PrepareRenamePlaceholder Range #
HasRange SelectionRange Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SelectionRange Range #
HasRange SemanticTokensRangeParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SemanticTokensRangeParams Range #
HasRange TextDocumentContentChangePartial Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' TextDocumentContentChangePartial Range #
HasRange TextEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' TextEdit Range #
HasRange TypeHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' TypeHierarchyItem Range #
HasReplace EditRangeWithInsertReplace Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods replace :: Lens' EditRangeWithInsertReplace Range #
HasReplace InsertReplaceEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods replace :: Lens' InsertReplaceEdit Range #
HasSelectionRange CallHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' CallHierarchyItem Range #
HasSelectionRange DocumentSymbol Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' DocumentSymbol Range #
HasSelectionRange TypeHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' TypeHierarchyItem Range #
HasStart Range Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods start :: Lens' Range Position #
HasStoppedLocation InlineValueContext Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods stoppedLocation :: Lens' InlineValueContext Range #
HasTargetRange LocationLink Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods targetRange :: Lens' LocationLink Range #
HasTargetSelectionRange LocationLink Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods targetSelectionRange :: Lens' LocationLink Range #
HasEditRange CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods editRange :: Lens' CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) #
HasFromRanges CallHierarchyIncomingCall [Range] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fromRanges :: Lens' CallHierarchyIncomingCall [Range] #
HasFromRanges CallHierarchyOutgoingCall [Range] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fromRanges :: Lens' CallHierarchyOutgoingCall [Range] #
HasOriginSelectionRange LocationLink (Maybe Range) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods originSelectionRange :: Lens' LocationLink (Maybe Range) #
HasRange Hover (Maybe Range) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' Hover (Maybe Range) #
HasRanges LinkedEditingRanges [Range] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ranges :: Lens' LinkedEditingRanges [Range] #
HasSelection ShowDocumentParams (Maybe Range) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selection :: Lens' ShowDocumentParams (Maybe Range) #
type Rep Range # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Range

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

data Registration #

General parameters to register for a notification or to register a provider.

Constructors

Registration |

Fields

- _id :: Text

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

- _method :: Text

  The method / capability to register for.

- _registerOptions :: Maybe Value

  Options necessary for the registration.

#### Instances

Instances details

FromJSON Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods parseJSON :: Value -> Parser Registration # parseJSONList :: Value -> Parser [Registration] # omittedField :: Maybe Registration #
ToJSON Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods toJSON :: Registration -> Value # toEncoding :: Registration -> Encoding # toJSONList :: [Registration] -> Value # toEncodingList :: [Registration] -> Encoding # omitField :: Registration -> Bool #
NFData Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods rnf :: Registration -> () #
Generic Registration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Registration

Associated Types

type Rep Registration |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Registration

type Rep Registration = D1 ('MetaData "Registration" "Language.LSP.Protocol.Internal.Types.Registration" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Registration" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_registerOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

Methods

from :: Registration -> Rep Registration x #

to :: Rep Registration x -> Registration #

Show Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods showsPrec :: Int -> Registration -> ShowS # show :: Registration -> String # showList :: [Registration] -> ShowS #
Eq Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods (==) :: Registration -> Registration -> Bool # (/=) :: Registration -> Registration -> Bool #
Ord Registration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Registration

Methods

compare :: Registration -> Registration -> Ordering #

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

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

(>) :: Registration -> Registration -> Bool #

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

max :: Registration -> Registration -> Registration #

min :: Registration -> Registration -> Registration #

Hashable Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods hashWithSalt :: Int -> Registration -> Int # hash :: Registration -> Int #
Pretty Registration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Registration Methods pretty :: Registration -> Doc ann # prettyList :: [Registration] -> Doc ann #
HasId Registration Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' Registration Text #
HasMethod Registration Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods method :: Lens' Registration Text #
HasRegisterOptions Registration (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods registerOptions :: Lens' Registration (Maybe Value) #
HasRegistrations RegistrationParams [Registration] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods registrations :: Lens' RegistrationParams [Registration] #
type Rep Registration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Registration

type Rep Registration = D1 ('MetaData "Registration" "Language.LSP.Protocol.Internal.Types.Registration" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Registration" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_registerOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

data CodeAction #

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 `edit` and/or a `command`. If both are supplied, the `edit` is applied first, then the `command` 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 [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: 3.15.0

- _disabled :: Maybe CodeActionDisabled

  Marks that the code action cannot currently be applied.

  Clients should follow the following guidelines regarding disabled code actions:

  - Disabled code actions are not shown in automatic lightbulbs code action menus.
  - Disabled actions are shown as faded out in the code action menu when the user requests a more specific type of code action, such as refactorings.
  - If the user has a keybinding that auto applies a code action and only disabled code actions are returned, the client should show the user an error message with `reason` in the editor.

  Since: 3.16.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.

- _data_ :: Maybe Value

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

  Since: 3.16.0

#### Instances

Instances details

FromJSON CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods parseJSON :: Value -> Parser CodeAction # parseJSONList :: Value -> Parser [CodeAction] # omittedField :: Maybe CodeAction #
ToJSON CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods toJSON :: CodeAction -> Value # toEncoding :: CodeAction -> Encoding # toJSONList :: [CodeAction] -> Value # toEncodingList :: [CodeAction] -> Encoding # omitField :: CodeAction -> Bool #
NFData CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods rnf :: CodeAction -> () #
Generic CodeAction # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeAction

Associated Types

type Rep CodeAction |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeAction

type Rep CodeAction = D1 ('MetaData "CodeAction" "Language.LSP.Protocol.Internal.Types.CodeAction" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeAction" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionKind))) :*: (S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Diagnostic])) :*: S1 ('MetaSel ('Just "_isPreferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "_disabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionDisabled)) :*: S1 ('MetaSel ('Just "_edit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceEdit))) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: CodeAction -> Rep CodeAction x #

to :: Rep CodeAction x -> CodeAction #

Show CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods showsPrec :: Int -> CodeAction -> ShowS # show :: CodeAction -> String # showList :: [CodeAction] -> ShowS #
Eq CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods (==) :: CodeAction -> CodeAction -> Bool # (/=) :: CodeAction -> CodeAction -> Bool #
Ord CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods compare :: CodeAction -> CodeAction -> Ordering # (<) :: CodeAction -> CodeAction -> Bool # (<=) :: CodeAction -> CodeAction -> Bool # (>) :: CodeAction -> CodeAction -> Bool # (>=) :: CodeAction -> CodeAction -> Bool # max :: CodeAction -> CodeAction -> CodeAction # min :: CodeAction -> CodeAction -> CodeAction #
Hashable CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods hashWithSalt :: Int -> CodeAction -> Int # hash :: CodeAction -> Int #
Pretty CodeAction # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeAction Methods pretty :: CodeAction -> Doc ann # prettyList :: [CodeAction] -> Doc ann #
HasTitle CodeAction Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods title :: Lens' CodeAction Text #
HasCommand CodeAction (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' CodeAction (Maybe Command) #
HasData_ CodeAction (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' CodeAction (Maybe Value) #
HasDiagnostics CodeAction (Maybe [Diagnostic]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' CodeAction (Maybe [Diagnostic]) #
HasDisabled CodeAction (Maybe CodeActionDisabled) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods disabled :: Lens' CodeAction (Maybe CodeActionDisabled) #
HasEdit CodeAction (Maybe WorkspaceEdit) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edit :: Lens' CodeAction (Maybe WorkspaceEdit) #
HasIsPreferred CodeAction (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods isPreferred :: Lens' CodeAction (Maybe Bool) #
HasKind CodeAction (Maybe CodeActionKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CodeAction (Maybe CodeActionKind) #
type Rep CodeAction # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeAction

type Rep CodeAction = D1 ('MetaData "CodeAction" "Language.LSP.Protocol.Internal.Types.CodeAction" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeAction" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionKind))) :*: (S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Diagnostic])) :*: S1 ('MetaSel ('Just "_isPreferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "_disabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionDisabled)) :*: S1 ('MetaSel ('Just "_edit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceEdit))) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data SemanticTokens #

Since: 3.16.0

Constructors

SemanticTokens |

Fields

- _resultId :: Maybe Text

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

- _data_ :: [UInt]

  The actual tokens.

#### Instances

Instances details

FromJSON SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods parseJSON :: Value -> Parser SemanticTokens # parseJSONList :: Value -> Parser [SemanticTokens] # omittedField :: Maybe SemanticTokens #
ToJSON SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods toJSON :: SemanticTokens -> Value # toEncoding :: SemanticTokens -> Encoding # toJSONList :: [SemanticTokens] -> Value # toEncodingList :: [SemanticTokens] -> Encoding # omitField :: SemanticTokens -> Bool #
NFData SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods rnf :: SemanticTokens -> () #
Generic SemanticTokens # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens

Associated Types

type Rep SemanticTokens |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens

type Rep SemanticTokens = D1 ('MetaData "SemanticTokens" "Language.LSP.Protocol.Internal.Types.SemanticTokens" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokens" 'PrefixI 'True) (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UInt])))

Methods

from :: SemanticTokens -> Rep SemanticTokens x #

to :: Rep SemanticTokens x -> SemanticTokens #

Show SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods showsPrec :: Int -> SemanticTokens -> ShowS # show :: SemanticTokens -> String # showList :: [SemanticTokens] -> ShowS #
Eq SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods (==) :: SemanticTokens -> SemanticTokens -> Bool # (/=) :: SemanticTokens -> SemanticTokens -> Bool #
Ord SemanticTokens # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens

Methods

compare :: SemanticTokens -> SemanticTokens -> Ordering #

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

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

(>) :: SemanticTokens -> SemanticTokens -> Bool #

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

max :: SemanticTokens -> SemanticTokens -> SemanticTokens #

min :: SemanticTokens -> SemanticTokens -> SemanticTokens #

Hashable SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods hashWithSalt :: Int -> SemanticTokens -> Int # hash :: SemanticTokens -> Int #
Pretty SemanticTokens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens Methods pretty :: SemanticTokens -> Doc ann # prettyList :: [SemanticTokens] -> Doc ann #
HasData_ SemanticTokens [UInt] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' SemanticTokens [UInt] #
HasResultId SemanticTokens (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' SemanticTokens (Maybe Text) #
type Rep SemanticTokens # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokens

type Rep SemanticTokens = D1 ('MetaData "SemanticTokens" "Language.LSP.Protocol.Internal.Types.SemanticTokens" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokens" 'PrefixI 'True) (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UInt])))

data MarkupContent #

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

- _kind :: MarkupKind

  The type of the Markup

- _value :: Text

  The content itself

#### Instances

Instances details

FromJSON MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods parseJSON :: Value -> Parser MarkupContent # parseJSONList :: Value -> Parser [MarkupContent] # omittedField :: Maybe MarkupContent #
ToJSON MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods toJSON :: MarkupContent -> Value # toEncoding :: MarkupContent -> Encoding # toJSONList :: [MarkupContent] -> Value # toEncodingList :: [MarkupContent] -> Encoding # omitField :: MarkupContent -> Bool #
NFData MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods rnf :: MarkupContent -> () #
Monoid MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Types.MarkupContent Methods mempty :: MarkupContent # mappend :: MarkupContent -> MarkupContent -> MarkupContent # mconcat :: [MarkupContent] -> MarkupContent #
Semigroup MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Types.MarkupContent Methods (<>) :: MarkupContent -> MarkupContent -> MarkupContent # sconcat :: NonEmpty MarkupContent -> MarkupContent # stimes :: Integral b => b -> MarkupContent -> MarkupContent #
IsString MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Types.MarkupContent Methods fromString :: String -> MarkupContent #
Generic MarkupContent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupContent

Associated Types

type Rep MarkupContent |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupContent

type Rep MarkupContent = D1 ('MetaData "MarkupContent" "Language.LSP.Protocol.Internal.Types.MarkupContent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkupContent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MarkupKind) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: MarkupContent -> Rep MarkupContent x #

to :: Rep MarkupContent x -> MarkupContent #

Show MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods showsPrec :: Int -> MarkupContent -> ShowS # show :: MarkupContent -> String # showList :: [MarkupContent] -> ShowS #
Eq MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods (==) :: MarkupContent -> MarkupContent -> Bool # (/=) :: MarkupContent -> MarkupContent -> Bool #
Ord MarkupContent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupContent

Methods

compare :: MarkupContent -> MarkupContent -> Ordering #

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

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

(>) :: MarkupContent -> MarkupContent -> Bool #

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

max :: MarkupContent -> MarkupContent -> MarkupContent #

min :: MarkupContent -> MarkupContent -> MarkupContent #

Hashable MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods hashWithSalt :: Int -> MarkupContent -> Int # hash :: MarkupContent -> Int #
Pretty MarkupContent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupContent Methods pretty :: MarkupContent -> Doc ann # prettyList :: [MarkupContent] -> Doc ann #
HasKind MarkupContent MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' MarkupContent MarkupKind #
HasValue MarkupContent Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' MarkupContent Text #
HasDocumentation CompletionItem (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' CompletionItem (Maybe (Text |? MarkupContent)) #
HasDocumentation ParameterInformation (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' ParameterInformation (Maybe (Text |? MarkupContent)) #
HasDocumentation SignatureInformation (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' SignatureInformation (Maybe (Text |? MarkupContent)) #
HasTooltip InlayHint (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' InlayHint (Maybe (Text |? MarkupContent)) #
HasTooltip InlayHintLabelPart (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' InlayHintLabelPart (Maybe (Text |? MarkupContent)) #
HasContents Hover (MarkupContent |? (MarkedString |? [MarkedString])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contents :: Lens' Hover (MarkupContent |? (MarkedString |? [MarkedString])) #
type Rep MarkupContent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupContent

type Rep MarkupContent = D1 ('MetaData "MarkupContent" "Language.LSP.Protocol.Internal.Types.MarkupContent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkupContent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MarkupKind) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data Position #

Position in a text document expressed as zero-based line and character offset. Prior to 3.17 the offsets were always based on a UTF-16 string representation. So a string of the form `a𐐀b` the character offset of the character `a` is 0, the character offset of `𐐀` is 1 and the character offset of b is 3 since `𐐀` is represented using two code units in UTF-16. Since 3.17 clients and servers can agree on a different string encoding representation (e.g. UTF-8). The client announces it's supported encoding via the client capability `general.positionEncodings`. The value is an array of position encodings the client supports, with decreasing preference (e.g. the encoding at index `0` is the most preferred one). To stay backwards compatible the only mandatory encoding is UTF-16 represented via the string `utf-16`. The server can pick one of the encodings offered by the client and signals that encoding back to the client via the initialize result's property `capabilities.positionEncoding`. If the string value `utf-16` is missing from the client's capability `general.positionEncodings` servers can safely assume that the client supports UTF-16. If the server omits the position encoding in its initialize result the encoding defaults to the string value `utf-16`. Implementation considerations: since the conversion from one encoding into another requires the content of the file / line the conversion is best done where the file is read which is usually on the server side.

Positions are line end character agnostic. So you can not specify a position that denotes `r|n` or `n|` where `|` represents the character offset.

@since 3.17.0 - support for negotiated position encoding.

Constructors

Position |

Fields

- _line :: UInt

  Line position in a document (zero-based).

  If a line number is greater than the number of lines in a document, it defaults back to the number of lines in the document. If a line number is negative, it defaults to 0.

- _character :: UInt

  Character offset on a line in a document (zero-based).

  The meaning of this offset is determined by the negotiated `PositionEncodingKind`.

  If the character value is greater than the line length it defaults back to the line length.

#### Instances

Instances details

FromJSON Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods parseJSON :: Value -> Parser Position # parseJSONList :: Value -> Parser [Position] # omittedField :: Maybe Position #
ToJSON Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods toJSON :: Position -> Value # toEncoding :: Position -> Encoding # toJSONList :: [Position] -> Value # toEncodingList :: [Position] -> Encoding # omitField :: Position -> Bool #
NFData Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods rnf :: Position -> () #
Generic Position # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Position

Associated Types

type Rep Position |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Position

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

Methods

from :: Position -> Rep Position x #

to :: Rep Position x -> Position #

Show Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods showsPrec :: Int -> Position -> ShowS # show :: Position -> String # showList :: [Position] -> ShowS #
Eq Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods (==) :: Position -> Position -> Bool # (/=) :: Position -> Position -> Bool #
Ord Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods compare :: Position -> Position -> Ordering # (<) :: Position -> Position -> Bool # (<=) :: Position -> Position -> Bool # (>) :: Position -> Position -> Bool # (>=) :: Position -> Position -> Bool # max :: Position -> Position -> Position # min :: Position -> Position -> Position #
Hashable Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods hashWithSalt :: Int -> Position -> Int # hash :: Position -> Int #
Pretty Position # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Position Methods pretty :: Position -> Doc ann # prettyList :: [Position] -> Doc ann #
HasCharacter Position UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods character :: Lens' Position UInt #
HasEnd Range Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods end :: Lens' Range Position #
HasLine Position UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods line :: Lens' Position UInt #
HasPosition CallHierarchyPrepareParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' CallHierarchyPrepareParams Position #
HasPosition CompletionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' CompletionParams Position #
HasPosition DeclarationParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DeclarationParams Position #
HasPosition DefinitionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DefinitionParams Position #
HasPosition DocumentHighlightParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DocumentHighlightParams Position #
HasPosition DocumentOnTypeFormattingParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DocumentOnTypeFormattingParams Position #
HasPosition HoverParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' HoverParams Position #
HasPosition ImplementationParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' ImplementationParams Position #
HasPosition InlayHint Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' InlayHint Position #
HasPosition LinkedEditingRangeParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' LinkedEditingRangeParams Position #
HasPosition MonikerParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' MonikerParams Position #
HasPosition PrepareRenameParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' PrepareRenameParams Position #
HasPosition ReferenceParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' ReferenceParams Position #
HasPosition RenameParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' RenameParams Position #
HasPosition SignatureHelpParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' SignatureHelpParams Position #
HasPosition TextDocumentPositionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' TextDocumentPositionParams Position #
HasPosition TypeDefinitionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' TypeDefinitionParams Position #
HasPosition TypeHierarchyPrepareParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' TypeHierarchyPrepareParams Position #
HasStart Range Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods start :: Lens' Range Position #
HasPositions SelectionRangeParams [Position] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods positions :: Lens' SelectionRangeParams [Position] #
type Rep Position # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Position

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

data MarkupKind #

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

Please note that `MarkupKinds` must not start with a `$`. This kinds are reserved for internal usage.

Constructors

MarkupKind_PlainText | Plain text is supported as a content format
MarkupKind_Markdown | Markdown is supported as a content format

#### Instances

Instances details

FromJSON MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods parseJSON :: Value -> Parser MarkupKind # parseJSONList :: Value -> Parser [MarkupKind] # omittedField :: Maybe MarkupKind #
ToJSON MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods toJSON :: MarkupKind -> Value # toEncoding :: MarkupKind -> Encoding # toJSONList :: [MarkupKind] -> Value # toEncodingList :: [MarkupKind] -> Encoding # omitField :: MarkupKind -> Bool #
NFData MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods rnf :: MarkupKind -> () #
Generic MarkupKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupKind

Associated Types

type Rep MarkupKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind type Rep MarkupKind = D1 ('MetaData "MarkupKind" "Language.LSP.Protocol.Internal.Types.MarkupKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkupKind_PlainText" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarkupKind_Markdown" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: MarkupKind -> Rep MarkupKind x #

to :: Rep MarkupKind x -> MarkupKind #

Show MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods showsPrec :: Int -> MarkupKind -> ShowS # show :: MarkupKind -> String # showList :: [MarkupKind] -> ShowS #
Eq MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods (==) :: MarkupKind -> MarkupKind -> Bool # (/=) :: MarkupKind -> MarkupKind -> Bool #
Ord MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods compare :: MarkupKind -> MarkupKind -> Ordering # (<) :: MarkupKind -> MarkupKind -> Bool # (<=) :: MarkupKind -> MarkupKind -> Bool # (>) :: MarkupKind -> MarkupKind -> Bool # (>=) :: MarkupKind -> MarkupKind -> Bool # max :: MarkupKind -> MarkupKind -> MarkupKind # min :: MarkupKind -> MarkupKind -> MarkupKind #
Hashable MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods hashWithSalt :: Int -> MarkupKind -> Int # hash :: MarkupKind -> Int #
LspEnum MarkupKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkupKind

Associated Types

type EnumBaseType MarkupKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind type EnumBaseType MarkupKind = Text

Methods

knownValues :: Set MarkupKind #

toEnumBaseType :: MarkupKind -> EnumBaseType MarkupKind #

fromEnumBaseType :: EnumBaseType MarkupKind -> Maybe MarkupKind #

Pretty MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind Methods pretty :: MarkupKind -> Doc ann # prettyList :: [MarkupKind] -> Doc ann #
HasKind MarkupContent MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' MarkupContent MarkupKind #
HasContentFormat HoverClientCapabilities (Maybe [MarkupKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contentFormat :: Lens' HoverClientCapabilities (Maybe [MarkupKind]) #
HasDocumentationFormat ClientCompletionItemOptions (Maybe [MarkupKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentationFormat :: Lens' ClientCompletionItemOptions (Maybe [MarkupKind]) #
HasDocumentationFormat ClientSignatureInformationOptions (Maybe [MarkupKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentationFormat :: Lens' ClientSignatureInformationOptions (Maybe [MarkupKind]) #
type Rep MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind type Rep MarkupKind = D1 ('MetaData "MarkupKind" "Language.LSP.Protocol.Internal.Types.MarkupKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkupKind_PlainText" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MarkupKind_Markdown" 'PrefixI 'False) (U1 :: Type -> Type))
type EnumBaseType MarkupKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkupKind type EnumBaseType MarkupKind = Text

data WorkspaceEdit #

A workspace edit represents changes to many resources managed in the workspace. The edit should either provide `changes` or `documentChanges`. If documentChanges are present they are preferred over `changes` if the client can handle versioned document edits.

Since version 3.13.0 a workspace edit can contain resource operations as well. If resource operations are present clients need to execute the operations in the order in which they are provided. So a workspace edit for example can consist of the following two changes: (1) a create file a.txt and (2) a text document edit which insert text into file a.txt.

An invalid sequence (e.g. (1) delete file a.txt and (2) insert text into file a.txt) will cause failure of the operation. How the client recovers from the failure is described by the client capability: `workspace.workspaceEdit.failureHandling`

Constructors

WorkspaceEdit |

Fields

- _changes :: Maybe (Map Uri [TextEdit])

  Holds changes to existing resources.

- _documentChanges :: Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]

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

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

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

- _changeAnnotations :: Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)

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

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

  Since: 3.16.0

#### Instances

Instances details

FromJSON WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods parseJSON :: Value -> Parser WorkspaceEdit # parseJSONList :: Value -> Parser [WorkspaceEdit] # omittedField :: Maybe WorkspaceEdit #
ToJSON WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods toJSON :: WorkspaceEdit -> Value # toEncoding :: WorkspaceEdit -> Encoding # toJSONList :: [WorkspaceEdit] -> Value # toEncodingList :: [WorkspaceEdit] -> Encoding # omitField :: WorkspaceEdit -> Bool #
NFData WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods rnf :: WorkspaceEdit -> () #
Monoid WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods mempty :: WorkspaceEdit # mappend :: WorkspaceEdit -> WorkspaceEdit -> WorkspaceEdit # mconcat :: [WorkspaceEdit] -> WorkspaceEdit #
Semigroup WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods (<>) :: WorkspaceEdit -> WorkspaceEdit -> WorkspaceEdit # sconcat :: NonEmpty WorkspaceEdit -> WorkspaceEdit # stimes :: Integral b => b -> WorkspaceEdit -> WorkspaceEdit #
Generic WorkspaceEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit

Associated Types

type Rep WorkspaceEdit |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit

type Rep WorkspaceEdit = D1 ('MetaData "WorkspaceEdit" "Language.LSP.Protocol.Internal.Types.WorkspaceEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Uri [TextEdit]))) :*: (S1 ('MetaSel ('Just "_documentChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))])) :*: S1 ('MetaSel ('Just "_changeAnnotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation))))))

Methods

from :: WorkspaceEdit -> Rep WorkspaceEdit x #

to :: Rep WorkspaceEdit x -> WorkspaceEdit #

Show WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods showsPrec :: Int -> WorkspaceEdit -> ShowS # show :: WorkspaceEdit -> String # showList :: [WorkspaceEdit] -> ShowS #
Eq WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods (==) :: WorkspaceEdit -> WorkspaceEdit -> Bool # (/=) :: WorkspaceEdit -> WorkspaceEdit -> Bool #
Ord WorkspaceEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit

Methods

compare :: WorkspaceEdit -> WorkspaceEdit -> Ordering #

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

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

(>) :: WorkspaceEdit -> WorkspaceEdit -> Bool #

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

max :: WorkspaceEdit -> WorkspaceEdit -> WorkspaceEdit #

min :: WorkspaceEdit -> WorkspaceEdit -> WorkspaceEdit #

Hashable WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods hashWithSalt :: Int -> WorkspaceEdit -> Int # hash :: WorkspaceEdit -> Int #
Pretty WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit Methods pretty :: WorkspaceEdit -> Doc ann # prettyList :: [WorkspaceEdit] -> Doc ann #
HasEdit ApplyWorkspaceEditParams WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edit :: Lens' ApplyWorkspaceEditParams WorkspaceEdit #
HasChangeAnnotations WorkspaceEdit (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeAnnotations :: Lens' WorkspaceEdit (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)) #
HasChanges WorkspaceEdit (Maybe (Map Uri [TextEdit])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' WorkspaceEdit (Maybe (Map Uri [TextEdit])) #
HasDocumentChanges WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) #
HasEdit CodeAction (Maybe WorkspaceEdit) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edit :: Lens' CodeAction (Maybe WorkspaceEdit) #
type Rep WorkspaceEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEdit

type Rep WorkspaceEdit = D1 ('MetaData "WorkspaceEdit" "Language.LSP.Protocol.Internal.Types.WorkspaceEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Uri [TextEdit]))) :*: (S1 ('MetaSel ('Just "_documentChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))])) :*: S1 ('MetaSel ('Just "_changeAnnotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation))))))

data WorkDoneProgressBegin #

Constructors

WorkDoneProgressBegin |

Fields

- _kind :: AString "begin"
- _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 `title`.

  Examples: "325 files", "projectsrcmodule2", "node_modulessome_dep". If unset, the previous progress message (if any) is still valid.

- _percentage :: Maybe UInt

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

  The value should be steadily rising. Clients are free to ignore values that are not following this rule. The value range is [0, 100].

#### Instances

Instances details

FromJSON WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods parseJSON :: Value -> Parser WorkDoneProgressBegin # parseJSONList :: Value -> Parser [WorkDoneProgressBegin] # omittedField :: Maybe WorkDoneProgressBegin #
ToJSON WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods toJSON :: WorkDoneProgressBegin -> Value # toEncoding :: WorkDoneProgressBegin -> Encoding # toJSONList :: [WorkDoneProgressBegin] -> Value # toEncodingList :: [WorkDoneProgressBegin] -> Encoding # omitField :: WorkDoneProgressBegin -> Bool #
NFData WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods rnf :: WorkDoneProgressBegin -> () #
Generic WorkDoneProgressBegin # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin

Associated Types

type Rep WorkDoneProgressBegin |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin

type Rep WorkDoneProgressBegin = D1 ('MetaData "WorkDoneProgressBegin" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressBegin" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "begin")) :*: S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_cancellable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt))))))

Methods

from :: WorkDoneProgressBegin -> Rep WorkDoneProgressBegin x #

to :: Rep WorkDoneProgressBegin x -> WorkDoneProgressBegin #

Show WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods showsPrec :: Int -> WorkDoneProgressBegin -> ShowS # show :: WorkDoneProgressBegin -> String # showList :: [WorkDoneProgressBegin] -> ShowS #
Eq WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods (==) :: WorkDoneProgressBegin -> WorkDoneProgressBegin -> Bool # (/=) :: WorkDoneProgressBegin -> WorkDoneProgressBegin -> Bool #
Ord WorkDoneProgressBegin # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin

Methods

compare :: WorkDoneProgressBegin -> WorkDoneProgressBegin -> Ordering #

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

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

(>) :: WorkDoneProgressBegin -> WorkDoneProgressBegin -> Bool #

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

max :: WorkDoneProgressBegin -> WorkDoneProgressBegin -> WorkDoneProgressBegin #

min :: WorkDoneProgressBegin -> WorkDoneProgressBegin -> WorkDoneProgressBegin #

Hashable WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods hashWithSalt :: Int -> WorkDoneProgressBegin -> Int # hash :: WorkDoneProgressBegin -> Int #
Pretty WorkDoneProgressBegin # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin Methods pretty :: WorkDoneProgressBegin -> Doc ann # prettyList :: [WorkDoneProgressBegin] -> Doc ann #
HasTitle WorkDoneProgressBegin Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods title :: Lens' WorkDoneProgressBegin Text #
HasCancellable WorkDoneProgressBegin (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cancellable :: Lens' WorkDoneProgressBegin (Maybe Bool) #
HasKind WorkDoneProgressBegin (AString "begin") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkDoneProgressBegin (AString "begin") #
HasMessage WorkDoneProgressBegin (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' WorkDoneProgressBegin (Maybe Text) #
HasPercentage WorkDoneProgressBegin (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods percentage :: Lens' WorkDoneProgressBegin (Maybe UInt) #
type Rep WorkDoneProgressBegin # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin

type Rep WorkDoneProgressBegin = D1 ('MetaData "WorkDoneProgressBegin" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressBegin" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressBegin" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "begin")) :*: S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_cancellable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt))))))

data WorkDoneProgressEnd #

Constructors

WorkDoneProgressEnd |

Fields

- _kind :: AString "end"
- _message :: Maybe Text

  Optional, a final message indicating to for example indicate the outcome of the operation.

#### Instances

Instances details

FromJSON WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods parseJSON :: Value -> Parser WorkDoneProgressEnd # parseJSONList :: Value -> Parser [WorkDoneProgressEnd] # omittedField :: Maybe WorkDoneProgressEnd #
ToJSON WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods toJSON :: WorkDoneProgressEnd -> Value # toEncoding :: WorkDoneProgressEnd -> Encoding # toJSONList :: [WorkDoneProgressEnd] -> Value # toEncodingList :: [WorkDoneProgressEnd] -> Encoding # omitField :: WorkDoneProgressEnd -> Bool #
NFData WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods rnf :: WorkDoneProgressEnd -> () #
Generic WorkDoneProgressEnd # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd

Associated Types

type Rep WorkDoneProgressEnd |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd

type Rep WorkDoneProgressEnd = D1 ('MetaData "WorkDoneProgressEnd" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressEnd" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "end")) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: WorkDoneProgressEnd -> Rep WorkDoneProgressEnd x #

to :: Rep WorkDoneProgressEnd x -> WorkDoneProgressEnd #

Show WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods showsPrec :: Int -> WorkDoneProgressEnd -> ShowS # show :: WorkDoneProgressEnd -> String # showList :: [WorkDoneProgressEnd] -> ShowS #
Eq WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods (==) :: WorkDoneProgressEnd -> WorkDoneProgressEnd -> Bool # (/=) :: WorkDoneProgressEnd -> WorkDoneProgressEnd -> Bool #
Ord WorkDoneProgressEnd # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd

Methods

compare :: WorkDoneProgressEnd -> WorkDoneProgressEnd -> Ordering #

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

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

(>) :: WorkDoneProgressEnd -> WorkDoneProgressEnd -> Bool #

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

max :: WorkDoneProgressEnd -> WorkDoneProgressEnd -> WorkDoneProgressEnd #

min :: WorkDoneProgressEnd -> WorkDoneProgressEnd -> WorkDoneProgressEnd #

Hashable WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods hashWithSalt :: Int -> WorkDoneProgressEnd -> Int # hash :: WorkDoneProgressEnd -> Int #
Pretty WorkDoneProgressEnd # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd Methods pretty :: WorkDoneProgressEnd -> Doc ann # prettyList :: [WorkDoneProgressEnd] -> Doc ann #
HasKind WorkDoneProgressEnd (AString "end") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkDoneProgressEnd (AString "end") #
HasMessage WorkDoneProgressEnd (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' WorkDoneProgressEnd (Maybe Text) #
type Rep WorkDoneProgressEnd # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd

type Rep WorkDoneProgressEnd = D1 ('MetaData "WorkDoneProgressEnd" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressEnd" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressEnd" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "end")) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data WorkDoneProgressReport #

Constructors

WorkDoneProgressReport |

Fields

- _kind :: AString "report"
- _cancellable :: Maybe Bool

  Controls enablement state of a cancel button.

  Clients that don't support cancellation or don't support controlling the button's enablement state are allowed to ignore the property.

- _message :: Maybe Text

  Optional, more detailed associated progress message. Contains complementary information to the `title`.

  Examples: "325 files", "projectsrcmodule2", "node_modulessome_dep". If unset, the previous progress message (if any) is still valid.

- _percentage :: Maybe UInt

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

  The value should be steadily rising. Clients are free to ignore values that are not following this rule. The value range is [0, 100]

#### Instances

Instances details

FromJSON WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods parseJSON :: Value -> Parser WorkDoneProgressReport # parseJSONList :: Value -> Parser [WorkDoneProgressReport] # omittedField :: Maybe WorkDoneProgressReport #
ToJSON WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods toJSON :: WorkDoneProgressReport -> Value # toEncoding :: WorkDoneProgressReport -> Encoding # toJSONList :: [WorkDoneProgressReport] -> Value # toEncodingList :: [WorkDoneProgressReport] -> Encoding # omitField :: WorkDoneProgressReport -> Bool #
NFData WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods rnf :: WorkDoneProgressReport -> () #
Generic WorkDoneProgressReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport

Associated Types

type Rep WorkDoneProgressReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport

type Rep WorkDoneProgressReport = D1 ('MetaData "WorkDoneProgressReport" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "report")) :*: S1 ('MetaSel ('Just "_cancellable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)))))

Methods

from :: WorkDoneProgressReport -> Rep WorkDoneProgressReport x #

to :: Rep WorkDoneProgressReport x -> WorkDoneProgressReport #

Show WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods showsPrec :: Int -> WorkDoneProgressReport -> ShowS # show :: WorkDoneProgressReport -> String # showList :: [WorkDoneProgressReport] -> ShowS #
Eq WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods (==) :: WorkDoneProgressReport -> WorkDoneProgressReport -> Bool # (/=) :: WorkDoneProgressReport -> WorkDoneProgressReport -> Bool #
Ord WorkDoneProgressReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport

Methods

compare :: WorkDoneProgressReport -> WorkDoneProgressReport -> Ordering #

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

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

(>) :: WorkDoneProgressReport -> WorkDoneProgressReport -> Bool #

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

max :: WorkDoneProgressReport -> WorkDoneProgressReport -> WorkDoneProgressReport #

min :: WorkDoneProgressReport -> WorkDoneProgressReport -> WorkDoneProgressReport #

Hashable WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods hashWithSalt :: Int -> WorkDoneProgressReport -> Int # hash :: WorkDoneProgressReport -> Int #
Pretty WorkDoneProgressReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport Methods pretty :: WorkDoneProgressReport -> Doc ann # prettyList :: [WorkDoneProgressReport] -> Doc ann #
HasCancellable WorkDoneProgressReport (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cancellable :: Lens' WorkDoneProgressReport (Maybe Bool) #
HasKind WorkDoneProgressReport (AString "report") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkDoneProgressReport (AString "report") #
HasMessage WorkDoneProgressReport (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' WorkDoneProgressReport (Maybe Text) #
HasPercentage WorkDoneProgressReport (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods percentage :: Lens' WorkDoneProgressReport (Maybe UInt) #
type Rep WorkDoneProgressReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport

type Rep WorkDoneProgressReport = D1 ('MetaData "WorkDoneProgressReport" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "report")) :*: S1 ('MetaSel ('Just "_cancellable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_percentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)))))

data SemanticTokenModifiers #

A set of predefined token modifiers. This set is not fixed an clients can specify additional token types via the corresponding client capabilities.

Since: 3.16.0

Constructors

SemanticTokenModifiers_Declaration |
SemanticTokenModifiers_Definition |
SemanticTokenModifiers_Readonly |
SemanticTokenModifiers_Static |
SemanticTokenModifiers_Deprecated |
SemanticTokenModifiers_Abstract |
SemanticTokenModifiers_Async |
SemanticTokenModifiers_Modification |
SemanticTokenModifiers_Documentation |
SemanticTokenModifiers_DefaultLibrary |
SemanticTokenModifiers_Custom Text |

#### Instances

Instances details

FromJSON SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods parseJSON :: Value -> Parser SemanticTokenModifiers # parseJSONList :: Value -> Parser [SemanticTokenModifiers] # omittedField :: Maybe SemanticTokenModifiers #
ToJSON SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods toJSON :: SemanticTokenModifiers -> Value # toEncoding :: SemanticTokenModifiers -> Encoding # toJSONList :: [SemanticTokenModifiers] -> Value # toEncodingList :: [SemanticTokenModifiers] -> Encoding # omitField :: SemanticTokenModifiers -> Bool #
NFData SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods rnf :: SemanticTokenModifiers -> () #
IsString SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods fromString :: String -> SemanticTokenModifiers #
Generic SemanticTokenModifiers # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers

Associated Types

type Rep SemanticTokenModifiers |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers

type Rep SemanticTokenModifiers = D1 ('MetaData "SemanticTokenModifiers" "Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((C1 ('MetaCons "SemanticTokenModifiers_Declaration" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Definition" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SemanticTokenModifiers_Readonly" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenModifiers_Static" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SemanticTokenModifiers_Abstract" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenModifiers_Async" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Modification" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenModifiers_Documentation" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenModifiers_DefaultLibrary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

Methods

from :: SemanticTokenModifiers -> Rep SemanticTokenModifiers x #

to :: Rep SemanticTokenModifiers x -> SemanticTokenModifiers #

Show SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods showsPrec :: Int -> SemanticTokenModifiers -> ShowS # show :: SemanticTokenModifiers -> String # showList :: [SemanticTokenModifiers] -> ShowS #
Eq SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods (==) :: SemanticTokenModifiers -> SemanticTokenModifiers -> Bool # (/=) :: SemanticTokenModifiers -> SemanticTokenModifiers -> Bool #
Ord SemanticTokenModifiers # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers

Methods

compare :: SemanticTokenModifiers -> SemanticTokenModifiers -> Ordering #

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

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

(>) :: SemanticTokenModifiers -> SemanticTokenModifiers -> Bool #

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

max :: SemanticTokenModifiers -> SemanticTokenModifiers -> SemanticTokenModifiers #

min :: SemanticTokenModifiers -> SemanticTokenModifiers -> SemanticTokenModifiers #

Hashable SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods hashWithSalt :: Int -> SemanticTokenModifiers -> Int # hash :: SemanticTokenModifiers -> Int #
LspEnum SemanticTokenModifiers # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers

Associated Types

type EnumBaseType SemanticTokenModifiers |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers type EnumBaseType SemanticTokenModifiers = Text

Methods

knownValues :: Set SemanticTokenModifiers #

toEnumBaseType :: SemanticTokenModifiers -> EnumBaseType SemanticTokenModifiers #

fromEnumBaseType :: EnumBaseType SemanticTokenModifiers -> Maybe SemanticTokenModifiers #

LspOpenEnum SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods fromOpenEnumBaseType :: EnumBaseType SemanticTokenModifiers -> SemanticTokenModifiers #
Pretty SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers Methods pretty :: SemanticTokenModifiers -> Doc ann # prettyList :: [SemanticTokenModifiers] -> Doc ann #
HasTokenModifiers SemanticTokenAbsolute [SemanticTokenModifiers] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenModifiers :: Lens' SemanticTokenAbsolute [SemanticTokenModifiers] #
HasTokenModifiers SemanticTokenRelative [SemanticTokenModifiers] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenModifiers :: Lens' SemanticTokenRelative [SemanticTokenModifiers] #
type Rep SemanticTokenModifiers # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers

type Rep SemanticTokenModifiers = D1 ('MetaData "SemanticTokenModifiers" "Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((C1 ('MetaCons "SemanticTokenModifiers_Declaration" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Definition" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SemanticTokenModifiers_Readonly" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenModifiers_Static" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SemanticTokenModifiers_Abstract" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenModifiers_Async" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Modification" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenModifiers_Documentation" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenModifiers_DefaultLibrary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenModifiers_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

type EnumBaseType SemanticTokenModifiers # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenModifiers type EnumBaseType SemanticTokenModifiers = Text

data SemanticTokenTypes #

A set of predefined token types. This set is not fixed an clients can specify additional token types via the corresponding client capabilities.

Since: 3.16.0

Constructors

SemanticTokenTypes_Namespace |
SemanticTokenTypes_Type | Represents a generic type. Acts as a fallback for types which can't be mapped to a specific type like class or enum.
SemanticTokenTypes_Class |
SemanticTokenTypes_Enum |
SemanticTokenTypes_Interface |
SemanticTokenTypes_Struct |
SemanticTokenTypes_TypeParameter |
SemanticTokenTypes_Parameter |
SemanticTokenTypes_Variable |
SemanticTokenTypes_Property |
SemanticTokenTypes_EnumMember |
SemanticTokenTypes_Event |
SemanticTokenTypes_Function |
SemanticTokenTypes_Method |
SemanticTokenTypes_Macro |
SemanticTokenTypes_Keyword |
SemanticTokenTypes_Modifier |
SemanticTokenTypes_Comment |
SemanticTokenTypes_String |
SemanticTokenTypes_Number |
SemanticTokenTypes_Regexp |
SemanticTokenTypes_Operator |
SemanticTokenTypes_Decorator | Since: 3.17.0
SemanticTokenTypes_Custom Text |

#### Instances

Instances details

FromJSON SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods parseJSON :: Value -> Parser SemanticTokenTypes # parseJSONList :: Value -> Parser [SemanticTokenTypes] # omittedField :: Maybe SemanticTokenTypes #
ToJSON SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods toJSON :: SemanticTokenTypes -> Value # toEncoding :: SemanticTokenTypes -> Encoding # toJSONList :: [SemanticTokenTypes] -> Value # toEncodingList :: [SemanticTokenTypes] -> Encoding # omitField :: SemanticTokenTypes -> Bool #
NFData SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods rnf :: SemanticTokenTypes -> () #
IsString SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods fromString :: String -> SemanticTokenTypes #
Generic SemanticTokenTypes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes

Associated Types

type Rep SemanticTokenTypes |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes

type Rep SemanticTokenTypes = D1 ('MetaData "SemanticTokenTypes" "Language.LSP.Protocol.Internal.Types.SemanticTokenTypes" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((((C1 ('MetaCons "SemanticTokenTypes_Namespace" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Type" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Class" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Enum" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Interface" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Struct" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SemanticTokenTypes_TypeParameter" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Parameter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Variable" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Property" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_EnumMember" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Event" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SemanticTokenTypes_Function" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Method" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Macro" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Keyword" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Modifier" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Comment" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SemanticTokenTypes_String" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Number" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Regexp" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Operator" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Decorator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

Methods

from :: SemanticTokenTypes -> Rep SemanticTokenTypes x #

to :: Rep SemanticTokenTypes x -> SemanticTokenTypes #

Show SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods showsPrec :: Int -> SemanticTokenTypes -> ShowS # show :: SemanticTokenTypes -> String # showList :: [SemanticTokenTypes] -> ShowS #
Eq SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods (==) :: SemanticTokenTypes -> SemanticTokenTypes -> Bool # (/=) :: SemanticTokenTypes -> SemanticTokenTypes -> Bool #
Ord SemanticTokenTypes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes

Methods

compare :: SemanticTokenTypes -> SemanticTokenTypes -> Ordering #

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

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

(>) :: SemanticTokenTypes -> SemanticTokenTypes -> Bool #

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

max :: SemanticTokenTypes -> SemanticTokenTypes -> SemanticTokenTypes #

min :: SemanticTokenTypes -> SemanticTokenTypes -> SemanticTokenTypes #

Hashable SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods hashWithSalt :: Int -> SemanticTokenTypes -> Int # hash :: SemanticTokenTypes -> Int #
LspEnum SemanticTokenTypes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes

Associated Types

type EnumBaseType SemanticTokenTypes |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes type EnumBaseType SemanticTokenTypes = Text

Methods

knownValues :: Set SemanticTokenTypes #

toEnumBaseType :: SemanticTokenTypes -> EnumBaseType SemanticTokenTypes #

fromEnumBaseType :: EnumBaseType SemanticTokenTypes -> Maybe SemanticTokenTypes #

LspOpenEnum SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods fromOpenEnumBaseType :: EnumBaseType SemanticTokenTypes -> SemanticTokenTypes #
Pretty SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes Methods pretty :: SemanticTokenTypes -> Doc ann # prettyList :: [SemanticTokenTypes] -> Doc ann #
HasTokenType SemanticTokenAbsolute SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenType :: Lens' SemanticTokenAbsolute SemanticTokenTypes #
HasTokenType SemanticTokenRelative SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenType :: Lens' SemanticTokenRelative SemanticTokenTypes #
type Rep SemanticTokenTypes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes

type Rep SemanticTokenTypes = D1 ('MetaData "SemanticTokenTypes" "Language.LSP.Protocol.Internal.Types.SemanticTokenTypes" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((((C1 ('MetaCons "SemanticTokenTypes_Namespace" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Type" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Class" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Enum" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Interface" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Struct" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SemanticTokenTypes_TypeParameter" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Parameter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Variable" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Property" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_EnumMember" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Event" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SemanticTokenTypes_Function" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Method" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Macro" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Keyword" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Modifier" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Comment" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SemanticTokenTypes_String" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Number" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Regexp" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SemanticTokenTypes_Operator" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SemanticTokenTypes_Decorator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SemanticTokenTypes_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))))

type EnumBaseType SemanticTokenTypes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokenTypes type EnumBaseType SemanticTokenTypes = Text

data SemanticTokensDelta #

Since: 3.16.0

Constructors

SemanticTokensDelta |

Fields

- _resultId :: Maybe Text
- _edits :: [SemanticTokensEdit]

  The semantic token edits to transform a previous result into a new result.

#### Instances

Instances details

FromJSON SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods parseJSON :: Value -> Parser SemanticTokensDelta # parseJSONList :: Value -> Parser [SemanticTokensDelta] # omittedField :: Maybe SemanticTokensDelta #
ToJSON SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods toJSON :: SemanticTokensDelta -> Value # toEncoding :: SemanticTokensDelta -> Encoding # toJSONList :: [SemanticTokensDelta] -> Value # toEncodingList :: [SemanticTokensDelta] -> Encoding # omitField :: SemanticTokensDelta -> Bool #
NFData SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods rnf :: SemanticTokensDelta -> () #
Generic SemanticTokensDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta

Associated Types

type Rep SemanticTokensDelta |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta

type Rep SemanticTokensDelta = D1 ('MetaData "SemanticTokensDelta" "Language.LSP.Protocol.Internal.Types.SemanticTokensDelta" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensDelta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_edits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SemanticTokensEdit])))

Methods

from :: SemanticTokensDelta -> Rep SemanticTokensDelta x #

to :: Rep SemanticTokensDelta x -> SemanticTokensDelta #

Show SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods showsPrec :: Int -> SemanticTokensDelta -> ShowS # show :: SemanticTokensDelta -> String # showList :: [SemanticTokensDelta] -> ShowS #
Eq SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods (==) :: SemanticTokensDelta -> SemanticTokensDelta -> Bool # (/=) :: SemanticTokensDelta -> SemanticTokensDelta -> Bool #
Ord SemanticTokensDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta

Methods

compare :: SemanticTokensDelta -> SemanticTokensDelta -> Ordering #

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

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

(>) :: SemanticTokensDelta -> SemanticTokensDelta -> Bool #

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

max :: SemanticTokensDelta -> SemanticTokensDelta -> SemanticTokensDelta #

min :: SemanticTokensDelta -> SemanticTokensDelta -> SemanticTokensDelta #

Hashable SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods hashWithSalt :: Int -> SemanticTokensDelta -> Int # hash :: SemanticTokensDelta -> Int #
Pretty SemanticTokensDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta Methods pretty :: SemanticTokensDelta -> Doc ann # prettyList :: [SemanticTokensDelta] -> Doc ann #
HasEdits SemanticTokensDelta [SemanticTokensEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' SemanticTokensDelta [SemanticTokensEdit] #
HasResultId SemanticTokensDelta (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' SemanticTokensDelta (Maybe Text) #
type Rep SemanticTokensDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDelta

type Rep SemanticTokensDelta = D1 ('MetaData "SemanticTokensDelta" "Language.LSP.Protocol.Internal.Types.SemanticTokensDelta" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensDelta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_edits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SemanticTokensEdit])))

data SemanticTokensEdit #

Since: 3.16.0

Constructors

SemanticTokensEdit |

Fields

- _start :: UInt

  The start offset of the edit.

- _deleteCount :: UInt

  The count of elements to remove.

- _data_ :: Maybe [UInt]

  The elements to insert.

#### Instances

Instances details

FromJSON SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods parseJSON :: Value -> Parser SemanticTokensEdit # parseJSONList :: Value -> Parser [SemanticTokensEdit] # omittedField :: Maybe SemanticTokensEdit #
ToJSON SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods toJSON :: SemanticTokensEdit -> Value # toEncoding :: SemanticTokensEdit -> Encoding # toJSONList :: [SemanticTokensEdit] -> Value # toEncodingList :: [SemanticTokensEdit] -> Encoding # omitField :: SemanticTokensEdit -> Bool #
NFData SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods rnf :: SemanticTokensEdit -> () #
Generic SemanticTokensEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit

Associated Types

type Rep SemanticTokensEdit |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit

type Rep SemanticTokensEdit = D1 ('MetaData "SemanticTokensEdit" "Language.LSP.Protocol.Internal.Types.SemanticTokensEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: (S1 ('MetaSel ('Just "_deleteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UInt])))))

Methods

from :: SemanticTokensEdit -> Rep SemanticTokensEdit x #

to :: Rep SemanticTokensEdit x -> SemanticTokensEdit #

Show SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods showsPrec :: Int -> SemanticTokensEdit -> ShowS # show :: SemanticTokensEdit -> String # showList :: [SemanticTokensEdit] -> ShowS #
Eq SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods (==) :: SemanticTokensEdit -> SemanticTokensEdit -> Bool # (/=) :: SemanticTokensEdit -> SemanticTokensEdit -> Bool #
Ord SemanticTokensEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit

Methods

compare :: SemanticTokensEdit -> SemanticTokensEdit -> Ordering #

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

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

(>) :: SemanticTokensEdit -> SemanticTokensEdit -> Bool #

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

max :: SemanticTokensEdit -> SemanticTokensEdit -> SemanticTokensEdit #

min :: SemanticTokensEdit -> SemanticTokensEdit -> SemanticTokensEdit #

Hashable SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods hashWithSalt :: Int -> SemanticTokensEdit -> Int # hash :: SemanticTokensEdit -> Int #
Pretty SemanticTokensEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit Methods pretty :: SemanticTokensEdit -> Doc ann # prettyList :: [SemanticTokensEdit] -> Doc ann #
HasDeleteCount SemanticTokensEdit UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deleteCount :: Lens' SemanticTokensEdit UInt #
HasStart SemanticTokensEdit UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods start :: Lens' SemanticTokensEdit UInt #
HasData_ SemanticTokensEdit (Maybe [UInt]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' SemanticTokensEdit (Maybe [UInt]) #
HasEdits SemanticTokensDelta [SemanticTokensEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' SemanticTokensDelta [SemanticTokensEdit] #
HasEdits SemanticTokensDeltaPartialResult [SemanticTokensEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' SemanticTokensDeltaPartialResult [SemanticTokensEdit] #
type Rep SemanticTokensEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensEdit

type Rep SemanticTokensEdit = D1 ('MetaData "SemanticTokensEdit" "Language.LSP.Protocol.Internal.Types.SemanticTokensEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: (S1 ('MetaSel ('Just "_deleteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UInt])))))

data SemanticTokensLegend #

Since: 3.16.0

Constructors

SemanticTokensLegend |

Fields

- _tokenTypes :: [Text]

  The token types a server uses.

- _tokenModifiers :: [Text]

  The token modifiers a server uses.

#### Instances

Instances details

FromJSON SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods parseJSON :: Value -> Parser SemanticTokensLegend # parseJSONList :: Value -> Parser [SemanticTokensLegend] # omittedField :: Maybe SemanticTokensLegend #
ToJSON SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods toJSON :: SemanticTokensLegend -> Value # toEncoding :: SemanticTokensLegend -> Encoding # toJSONList :: [SemanticTokensLegend] -> Value # toEncodingList :: [SemanticTokensLegend] -> Encoding # omitField :: SemanticTokensLegend -> Bool #
NFData SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods rnf :: SemanticTokensLegend -> () #
Generic SemanticTokensLegend # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend

Associated Types

type Rep SemanticTokensLegend |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend

type Rep SemanticTokensLegend = D1 ('MetaData "SemanticTokensLegend" "Language.LSP.Protocol.Internal.Types.SemanticTokensLegend" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensLegend" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tokenTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_tokenModifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: SemanticTokensLegend -> Rep SemanticTokensLegend x #

to :: Rep SemanticTokensLegend x -> SemanticTokensLegend #

Show SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods showsPrec :: Int -> SemanticTokensLegend -> ShowS # show :: SemanticTokensLegend -> String # showList :: [SemanticTokensLegend] -> ShowS #
Eq SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods (==) :: SemanticTokensLegend -> SemanticTokensLegend -> Bool # (/=) :: SemanticTokensLegend -> SemanticTokensLegend -> Bool #
Ord SemanticTokensLegend # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend

Methods

compare :: SemanticTokensLegend -> SemanticTokensLegend -> Ordering #

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

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

(>) :: SemanticTokensLegend -> SemanticTokensLegend -> Bool #

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

max :: SemanticTokensLegend -> SemanticTokensLegend -> SemanticTokensLegend #

min :: SemanticTokensLegend -> SemanticTokensLegend -> SemanticTokensLegend #

Hashable SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods hashWithSalt :: Int -> SemanticTokensLegend -> Int # hash :: SemanticTokensLegend -> Int #
Pretty SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend Methods pretty :: SemanticTokensLegend -> Doc ann # prettyList :: [SemanticTokensLegend] -> Doc ann #
HasLegend SemanticTokensOptions SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods legend :: Lens' SemanticTokensOptions SemanticTokensLegend #
HasLegend SemanticTokensRegistrationOptions SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods legend :: Lens' SemanticTokensRegistrationOptions SemanticTokensLegend #
HasTokenModifiers SemanticTokensLegend [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenModifiers :: Lens' SemanticTokensLegend [Text] #
HasTokenTypes SemanticTokensLegend [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenTypes :: Lens' SemanticTokensLegend [Text] #
type Rep SemanticTokensLegend # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensLegend

type Rep SemanticTokensLegend = D1 ('MetaData "SemanticTokensLegend" "Language.LSP.Protocol.Internal.Types.SemanticTokensLegend" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensLegend" 'PrefixI 'True) (S1 ('MetaSel ('Just "_tokenTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_tokenModifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data WatchKind #

Constructors

WatchKind_Create | Interested in create events.
WatchKind_Change | Interested in change events
WatchKind_Delete | Interested in delete events
WatchKind_Custom UInt |

#### Instances

Instances details

FromJSON WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods parseJSON :: Value -> Parser WatchKind # parseJSONList :: Value -> Parser [WatchKind] # omittedField :: Maybe WatchKind #
ToJSON WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods toJSON :: WatchKind -> Value # toEncoding :: WatchKind -> Encoding # toJSONList :: [WatchKind] -> Value # toEncodingList :: [WatchKind] -> Encoding # omitField :: WatchKind -> Bool #
NFData WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods rnf :: WatchKind -> () #
Generic WatchKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WatchKind

Associated Types

type Rep WatchKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WatchKind

type Rep WatchKind = D1 ('MetaData "WatchKind" "Language.LSP.Protocol.Internal.Types.WatchKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "WatchKind_Create" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WatchKind_Change" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WatchKind_Delete" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WatchKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt))))

Methods

from :: WatchKind -> Rep WatchKind x #

to :: Rep WatchKind x -> WatchKind #

Show WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods showsPrec :: Int -> WatchKind -> ShowS # show :: WatchKind -> String # showList :: [WatchKind] -> ShowS #
Eq WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods (==) :: WatchKind -> WatchKind -> Bool # (/=) :: WatchKind -> WatchKind -> Bool #
Ord WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods compare :: WatchKind -> WatchKind -> Ordering # (<) :: WatchKind -> WatchKind -> Bool # (<=) :: WatchKind -> WatchKind -> Bool # (>) :: WatchKind -> WatchKind -> Bool # (>=) :: WatchKind -> WatchKind -> Bool # max :: WatchKind -> WatchKind -> WatchKind # min :: WatchKind -> WatchKind -> WatchKind #
Hashable WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods hashWithSalt :: Int -> WatchKind -> Int # hash :: WatchKind -> Int #
LspEnum WatchKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WatchKind

Associated Types

type EnumBaseType WatchKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind type EnumBaseType WatchKind = UInt

Methods

knownValues :: Set WatchKind #

toEnumBaseType :: WatchKind -> EnumBaseType WatchKind #

fromEnumBaseType :: EnumBaseType WatchKind -> Maybe WatchKind #

LspOpenEnum WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods fromOpenEnumBaseType :: EnumBaseType WatchKind -> WatchKind #
Pretty WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind Methods pretty :: WatchKind -> Doc ann # prettyList :: [WatchKind] -> Doc ann #
HasKind FileSystemWatcher (Maybe WatchKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' FileSystemWatcher (Maybe WatchKind) #
type Rep WatchKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WatchKind

type Rep WatchKind = D1 ('MetaData "WatchKind" "Language.LSP.Protocol.Internal.Types.WatchKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "WatchKind_Create" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WatchKind_Change" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "WatchKind_Delete" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WatchKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt))))

type EnumBaseType WatchKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WatchKind type EnumBaseType WatchKind = UInt

data ApplyWorkspaceEditParams #

The parameters passed via an apply workspace edit request.

Constructors

ApplyWorkspaceEditParams |

Fields

- _label :: Maybe Text

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

- _edit :: WorkspaceEdit

  The edits to apply.

#### Instances

Instances details

FromJSON ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods parseJSON :: Value -> Parser ApplyWorkspaceEditParams # parseJSONList :: Value -> Parser [ApplyWorkspaceEditParams] # omittedField :: Maybe ApplyWorkspaceEditParams #
ToJSON ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods toJSON :: ApplyWorkspaceEditParams -> Value # toEncoding :: ApplyWorkspaceEditParams -> Encoding # toJSONList :: [ApplyWorkspaceEditParams] -> Value # toEncodingList :: [ApplyWorkspaceEditParams] -> Encoding # omitField :: ApplyWorkspaceEditParams -> Bool #
NFData ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods rnf :: ApplyWorkspaceEditParams -> () #
Generic ApplyWorkspaceEditParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams

Associated Types

type Rep ApplyWorkspaceEditParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams

type Rep ApplyWorkspaceEditParams = D1 ('MetaData "ApplyWorkspaceEditParams" "Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ApplyWorkspaceEditParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_edit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceEdit)))

Methods

from :: ApplyWorkspaceEditParams -> Rep ApplyWorkspaceEditParams x #

to :: Rep ApplyWorkspaceEditParams x -> ApplyWorkspaceEditParams #

Show ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods showsPrec :: Int -> ApplyWorkspaceEditParams -> ShowS # show :: ApplyWorkspaceEditParams -> String # showList :: [ApplyWorkspaceEditParams] -> ShowS #
Eq ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods (==) :: ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams -> Bool # (/=) :: ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams -> Bool #
Ord ApplyWorkspaceEditParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams

Methods

compare :: ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams -> Ordering #

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

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

(>) :: ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams -> Bool #

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

max :: ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams #

min :: ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams -> ApplyWorkspaceEditParams #

Hashable ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods hashWithSalt :: Int -> ApplyWorkspaceEditParams -> Int # hash :: ApplyWorkspaceEditParams -> Int #
Pretty ApplyWorkspaceEditParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams Methods pretty :: ApplyWorkspaceEditParams -> Doc ann # prettyList :: [ApplyWorkspaceEditParams] -> Doc ann #
HasEdit ApplyWorkspaceEditParams WorkspaceEdit # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edit :: Lens' ApplyWorkspaceEditParams WorkspaceEdit #
HasLabel ApplyWorkspaceEditParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' ApplyWorkspaceEditParams (Maybe Text) #
type Rep ApplyWorkspaceEditParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams

type Rep ApplyWorkspaceEditParams = D1 ('MetaData "ApplyWorkspaceEditParams" "Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ApplyWorkspaceEditParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_edit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceEdit)))

data ApplyWorkspaceEditResult #

The result returned from the apply workspace edit request.

@since 3.17 renamed from ApplyWorkspaceEditResponse

Constructors

ApplyWorkspaceEditResult |

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 by the server for diagnostic logging or to provide a suitable error for a request that triggered the edit.

- _failedChange :: Maybe UInt

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

#### Instances

Instances details

FromJSON ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods parseJSON :: Value -> Parser ApplyWorkspaceEditResult # parseJSONList :: Value -> Parser [ApplyWorkspaceEditResult] # omittedField :: Maybe ApplyWorkspaceEditResult #
ToJSON ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods toJSON :: ApplyWorkspaceEditResult -> Value # toEncoding :: ApplyWorkspaceEditResult -> Encoding # toJSONList :: [ApplyWorkspaceEditResult] -> Value # toEncodingList :: [ApplyWorkspaceEditResult] -> Encoding # omitField :: ApplyWorkspaceEditResult -> Bool #
NFData ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods rnf :: ApplyWorkspaceEditResult -> () #
Generic ApplyWorkspaceEditResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult

Associated Types

type Rep ApplyWorkspaceEditResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult

type Rep ApplyWorkspaceEditResult = D1 ('MetaData "ApplyWorkspaceEditResult" "Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ApplyWorkspaceEditResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_applied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_failedChange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)))))

Methods

from :: ApplyWorkspaceEditResult -> Rep ApplyWorkspaceEditResult x #

to :: Rep ApplyWorkspaceEditResult x -> ApplyWorkspaceEditResult #

Show ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods showsPrec :: Int -> ApplyWorkspaceEditResult -> ShowS # show :: ApplyWorkspaceEditResult -> String # showList :: [ApplyWorkspaceEditResult] -> ShowS #
Eq ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods (==) :: ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult -> Bool # (/=) :: ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult -> Bool #
Ord ApplyWorkspaceEditResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult

Methods

compare :: ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult -> Ordering #

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

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

(>) :: ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult -> Bool #

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

max :: ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult #

min :: ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult -> ApplyWorkspaceEditResult #

Hashable ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods hashWithSalt :: Int -> ApplyWorkspaceEditResult -> Int # hash :: ApplyWorkspaceEditResult -> Int #
Pretty ApplyWorkspaceEditResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult Methods pretty :: ApplyWorkspaceEditResult -> Doc ann # prettyList :: [ApplyWorkspaceEditResult] -> Doc ann #
HasApplied ApplyWorkspaceEditResult Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods applied :: Lens' ApplyWorkspaceEditResult Bool #
HasFailedChange ApplyWorkspaceEditResult (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods failedChange :: Lens' ApplyWorkspaceEditResult (Maybe UInt) #
HasFailureReason ApplyWorkspaceEditResult (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods failureReason :: Lens' ApplyWorkspaceEditResult (Maybe Text) #
type Rep ApplyWorkspaceEditResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult

type Rep ApplyWorkspaceEditResult = D1 ('MetaData "ApplyWorkspaceEditResult" "Language.LSP.Protocol.Internal.Types.ApplyWorkspaceEditResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ApplyWorkspaceEditResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_applied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_failureReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_failedChange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)))))

data CallHierarchyIncomingCall #

Represents an incoming call, e.g. a caller of a method or constructor.

Since: 3.16.0

Constructors

CallHierarchyIncomingCall |

Fields

- _from :: CallHierarchyItem

  The item that makes the call.

- _fromRanges :: [Range]

  The ranges at which the calls appear. This is relative to the caller denoted by `from`.

#### Instances

Instances details

FromJSON CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods parseJSON :: Value -> Parser CallHierarchyIncomingCall # parseJSONList :: Value -> Parser [CallHierarchyIncomingCall] # omittedField :: Maybe CallHierarchyIncomingCall #
ToJSON CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods toJSON :: CallHierarchyIncomingCall -> Value # toEncoding :: CallHierarchyIncomingCall -> Encoding # toJSONList :: [CallHierarchyIncomingCall] -> Value # toEncodingList :: [CallHierarchyIncomingCall] -> Encoding # omitField :: CallHierarchyIncomingCall -> Bool #
NFData CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods rnf :: CallHierarchyIncomingCall -> () #
Generic CallHierarchyIncomingCall # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall

Associated Types

type Rep CallHierarchyIncomingCall |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall

type Rep CallHierarchyIncomingCall = D1 ('MetaData "CallHierarchyIncomingCall" "Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyIncomingCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "_from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem) :*: S1 ('MetaSel ('Just "_fromRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Range])))

Methods

from :: CallHierarchyIncomingCall -> Rep CallHierarchyIncomingCall x #

to :: Rep CallHierarchyIncomingCall x -> CallHierarchyIncomingCall #

Show CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods showsPrec :: Int -> CallHierarchyIncomingCall -> ShowS # show :: CallHierarchyIncomingCall -> String # showList :: [CallHierarchyIncomingCall] -> ShowS #
Eq CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods (==) :: CallHierarchyIncomingCall -> CallHierarchyIncomingCall -> Bool # (/=) :: CallHierarchyIncomingCall -> CallHierarchyIncomingCall -> Bool #
Ord CallHierarchyIncomingCall # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall

Methods

compare :: CallHierarchyIncomingCall -> CallHierarchyIncomingCall -> Ordering #

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

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

(>) :: CallHierarchyIncomingCall -> CallHierarchyIncomingCall -> Bool #

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

max :: CallHierarchyIncomingCall -> CallHierarchyIncomingCall -> CallHierarchyIncomingCall #

min :: CallHierarchyIncomingCall -> CallHierarchyIncomingCall -> CallHierarchyIncomingCall #

Hashable CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods hashWithSalt :: Int -> CallHierarchyIncomingCall -> Int # hash :: CallHierarchyIncomingCall -> Int #
Pretty CallHierarchyIncomingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall Methods pretty :: CallHierarchyIncomingCall -> Doc ann # prettyList :: [CallHierarchyIncomingCall] -> Doc ann #
HasFrom CallHierarchyIncomingCall CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods from :: Lens' CallHierarchyIncomingCall CallHierarchyItem #
HasFromRanges CallHierarchyIncomingCall [Range] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fromRanges :: Lens' CallHierarchyIncomingCall [Range] #
type Rep CallHierarchyIncomingCall # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall

type Rep CallHierarchyIncomingCall = D1 ('MetaData "CallHierarchyIncomingCall" "Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCall" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyIncomingCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "_from") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem) :*: S1 ('MetaSel ('Just "_fromRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Range])))

data CallHierarchyIncomingCallsParams #

The parameter of a `callHierarchy/incomingCalls` request.

Since: 3.16.0

Constructors

CallHierarchyIncomingCallsParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _item :: CallHierarchyItem

#### Instances

Instances details

FromJSON CallHierarchyIncomingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams Methods parseJSON :: Value -> Parser CallHierarchyIncomingCallsParams # parseJSONList :: Value -> Parser [CallHierarchyIncomingCallsParams] # omittedField :: Maybe CallHierarchyIncomingCallsParams #
ToJSON CallHierarchyIncomingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams

Methods

toJSON :: CallHierarchyIncomingCallsParams -> Value #

toEncoding :: CallHierarchyIncomingCallsParams -> Encoding #

toJSONList :: [CallHierarchyIncomingCallsParams] -> Value #

toEncodingList :: [CallHierarchyIncomingCallsParams] -> Encoding #

omitField :: CallHierarchyIncomingCallsParams -> Bool #

NFData CallHierarchyIncomingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams Methods rnf :: CallHierarchyIncomingCallsParams -> () #
Generic CallHierarchyIncomingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams

Associated Types

type Rep CallHierarchyIncomingCallsParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams

type Rep CallHierarchyIncomingCallsParams = D1 ('MetaData "CallHierarchyIncomingCallsParams" "Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyIncomingCallsParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem))))

Methods

from :: CallHierarchyIncomingCallsParams -> Rep CallHierarchyIncomingCallsParams x #

to :: Rep CallHierarchyIncomingCallsParams x -> CallHierarchyIncomingCallsParams #

Show CallHierarchyIncomingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams Methods showsPrec :: Int -> CallHierarchyIncomingCallsParams -> ShowS # show :: CallHierarchyIncomingCallsParams -> String # showList :: [CallHierarchyIncomingCallsParams] -> ShowS #
Eq CallHierarchyIncomingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams Methods (==) :: CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams -> Bool # (/=) :: CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams -> Bool #
Ord CallHierarchyIncomingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams

Methods

compare :: CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams -> Ordering #

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

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

(>) :: CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams -> Bool #

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

max :: CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams #

min :: CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams -> CallHierarchyIncomingCallsParams #

Hashable CallHierarchyIncomingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams Methods hashWithSalt :: Int -> CallHierarchyIncomingCallsParams -> Int # hash :: CallHierarchyIncomingCallsParams -> Int #
Pretty CallHierarchyIncomingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams Methods pretty :: CallHierarchyIncomingCallsParams -> Doc ann # prettyList :: [CallHierarchyIncomingCallsParams] -> Doc ann #
HasItem CallHierarchyIncomingCallsParams CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' CallHierarchyIncomingCallsParams CallHierarchyItem #
HasPartialResultToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CallHierarchyIncomingCallsParams (Maybe ProgressToken) #
HasWorkDoneToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CallHierarchyIncomingCallsParams (Maybe ProgressToken) #
type Rep CallHierarchyIncomingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams

type Rep CallHierarchyIncomingCallsParams = D1 ('MetaData "CallHierarchyIncomingCallsParams" "Language.LSP.Protocol.Internal.Types.CallHierarchyIncomingCallsParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyIncomingCallsParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem))))

data CallHierarchyItem #

Represents programming constructs like functions or constructors in the context of call hierarchy.

Since: 3.16.0

Constructors

CallHierarchyItem |

Fields

- _name :: Text

  The name of this item.

- _kind :: SymbolKind

  The kind of this item.

- _tags :: Maybe [SymbolTag]

  Tags for this item.

- _detail :: Maybe Text

  More detail for this item, e.g. the signature of a function.

- _uri :: Uri

  The resource identifier of this item.

- _range :: Range

  The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

- _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 `range`.

- _data_ :: Maybe Value

  A data entry field that is preserved between a call hierarchy prepare and incoming calls or outgoing calls requests.

#### Instances

Instances details

FromJSON CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods parseJSON :: Value -> Parser CallHierarchyItem # parseJSONList :: Value -> Parser [CallHierarchyItem] # omittedField :: Maybe CallHierarchyItem #
ToJSON CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods toJSON :: CallHierarchyItem -> Value # toEncoding :: CallHierarchyItem -> Encoding # toJSONList :: [CallHierarchyItem] -> Value # toEncodingList :: [CallHierarchyItem] -> Encoding # omitField :: CallHierarchyItem -> Bool #
NFData CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods rnf :: CallHierarchyItem -> () #
Generic CallHierarchyItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem

Associated Types

type Rep CallHierarchyItem |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem

type Rep CallHierarchyItem = D1 ('MetaData "CallHierarchyItem" "Language.LSP.Protocol.Internal.Types.CallHierarchyItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyItem" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])) :*: S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: CallHierarchyItem -> Rep CallHierarchyItem x #

to :: Rep CallHierarchyItem x -> CallHierarchyItem #

Show CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods showsPrec :: Int -> CallHierarchyItem -> ShowS # show :: CallHierarchyItem -> String # showList :: [CallHierarchyItem] -> ShowS #
Eq CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods (==) :: CallHierarchyItem -> CallHierarchyItem -> Bool # (/=) :: CallHierarchyItem -> CallHierarchyItem -> Bool #
Ord CallHierarchyItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem

Methods

compare :: CallHierarchyItem -> CallHierarchyItem -> Ordering #

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

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

(>) :: CallHierarchyItem -> CallHierarchyItem -> Bool #

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

max :: CallHierarchyItem -> CallHierarchyItem -> CallHierarchyItem #

min :: CallHierarchyItem -> CallHierarchyItem -> CallHierarchyItem #

Hashable CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods hashWithSalt :: Int -> CallHierarchyItem -> Int # hash :: CallHierarchyItem -> Int #
Pretty CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem Methods pretty :: CallHierarchyItem -> Doc ann # prettyList :: [CallHierarchyItem] -> Doc ann #
HasFrom CallHierarchyIncomingCall CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods from :: Lens' CallHierarchyIncomingCall CallHierarchyItem #
HasItem CallHierarchyIncomingCallsParams CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' CallHierarchyIncomingCallsParams CallHierarchyItem #
HasItem CallHierarchyOutgoingCallsParams CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' CallHierarchyOutgoingCallsParams CallHierarchyItem #
HasKind CallHierarchyItem SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CallHierarchyItem SymbolKind #
HasName CallHierarchyItem Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' CallHierarchyItem Text #
HasRange CallHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' CallHierarchyItem Range #
HasSelectionRange CallHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' CallHierarchyItem Range #
HasTo CallHierarchyOutgoingCall CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods to :: Lens' CallHierarchyOutgoingCall CallHierarchyItem #
HasUri CallHierarchyItem Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' CallHierarchyItem Uri #
HasData_ CallHierarchyItem (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' CallHierarchyItem (Maybe Value) #
HasDetail CallHierarchyItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods detail :: Lens' CallHierarchyItem (Maybe Text) #
HasTags CallHierarchyItem (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' CallHierarchyItem (Maybe [SymbolTag]) #
type Rep CallHierarchyItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyItem

type Rep CallHierarchyItem = D1 ('MetaData "CallHierarchyItem" "Language.LSP.Protocol.Internal.Types.CallHierarchyItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyItem" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])) :*: S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data CallHierarchyOutgoingCall #

Represents an outgoing call, e.g. calling a getter from a method or a method from a constructor etc.

Since: 3.16.0

Constructors

CallHierarchyOutgoingCall |

Fields

- _to :: CallHierarchyItem

  The item that is called.

- _fromRanges :: [Range]

  The range at which this item is called. This is the range relative to the caller, e.g the item passed to `provideCallHierarchyOutgoingCalls` and not `to`.

#### Instances

Instances details

FromJSON CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods parseJSON :: Value -> Parser CallHierarchyOutgoingCall # parseJSONList :: Value -> Parser [CallHierarchyOutgoingCall] # omittedField :: Maybe CallHierarchyOutgoingCall #
ToJSON CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods toJSON :: CallHierarchyOutgoingCall -> Value # toEncoding :: CallHierarchyOutgoingCall -> Encoding # toJSONList :: [CallHierarchyOutgoingCall] -> Value # toEncodingList :: [CallHierarchyOutgoingCall] -> Encoding # omitField :: CallHierarchyOutgoingCall -> Bool #
NFData CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods rnf :: CallHierarchyOutgoingCall -> () #
Generic CallHierarchyOutgoingCall # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall

Associated Types

type Rep CallHierarchyOutgoingCall |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall

type Rep CallHierarchyOutgoingCall = D1 ('MetaData "CallHierarchyOutgoingCall" "Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyOutgoingCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "_to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem) :*: S1 ('MetaSel ('Just "_fromRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Range])))

Methods

from :: CallHierarchyOutgoingCall -> Rep CallHierarchyOutgoingCall x #

to :: Rep CallHierarchyOutgoingCall x -> CallHierarchyOutgoingCall #

Show CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods showsPrec :: Int -> CallHierarchyOutgoingCall -> ShowS # show :: CallHierarchyOutgoingCall -> String # showList :: [CallHierarchyOutgoingCall] -> ShowS #
Eq CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods (==) :: CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall -> Bool # (/=) :: CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall -> Bool #
Ord CallHierarchyOutgoingCall # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall

Methods

compare :: CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall -> Ordering #

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

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

(>) :: CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall -> Bool #

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

max :: CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall #

min :: CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall -> CallHierarchyOutgoingCall #

Hashable CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods hashWithSalt :: Int -> CallHierarchyOutgoingCall -> Int # hash :: CallHierarchyOutgoingCall -> Int #
Pretty CallHierarchyOutgoingCall # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall Methods pretty :: CallHierarchyOutgoingCall -> Doc ann # prettyList :: [CallHierarchyOutgoingCall] -> Doc ann #
HasTo CallHierarchyOutgoingCall CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods to :: Lens' CallHierarchyOutgoingCall CallHierarchyItem #
HasFromRanges CallHierarchyOutgoingCall [Range] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fromRanges :: Lens' CallHierarchyOutgoingCall [Range] #
type Rep CallHierarchyOutgoingCall # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall

type Rep CallHierarchyOutgoingCall = D1 ('MetaData "CallHierarchyOutgoingCall" "Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCall" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyOutgoingCall" 'PrefixI 'True) (S1 ('MetaSel ('Just "_to") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem) :*: S1 ('MetaSel ('Just "_fromRanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Range])))

data CallHierarchyOutgoingCallsParams #

The parameter of a `callHierarchy/outgoingCalls` request.

Since: 3.16.0

Constructors

CallHierarchyOutgoingCallsParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _item :: CallHierarchyItem

#### Instances

Instances details

FromJSON CallHierarchyOutgoingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams Methods parseJSON :: Value -> Parser CallHierarchyOutgoingCallsParams # parseJSONList :: Value -> Parser [CallHierarchyOutgoingCallsParams] # omittedField :: Maybe CallHierarchyOutgoingCallsParams #
ToJSON CallHierarchyOutgoingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams

Methods

toJSON :: CallHierarchyOutgoingCallsParams -> Value #

toEncoding :: CallHierarchyOutgoingCallsParams -> Encoding #

toJSONList :: [CallHierarchyOutgoingCallsParams] -> Value #

toEncodingList :: [CallHierarchyOutgoingCallsParams] -> Encoding #

omitField :: CallHierarchyOutgoingCallsParams -> Bool #

NFData CallHierarchyOutgoingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams Methods rnf :: CallHierarchyOutgoingCallsParams -> () #
Generic CallHierarchyOutgoingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams

Associated Types

type Rep CallHierarchyOutgoingCallsParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams

type Rep CallHierarchyOutgoingCallsParams = D1 ('MetaData "CallHierarchyOutgoingCallsParams" "Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyOutgoingCallsParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem))))

Methods

from :: CallHierarchyOutgoingCallsParams -> Rep CallHierarchyOutgoingCallsParams x #

to :: Rep CallHierarchyOutgoingCallsParams x -> CallHierarchyOutgoingCallsParams #

Show CallHierarchyOutgoingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams Methods showsPrec :: Int -> CallHierarchyOutgoingCallsParams -> ShowS # show :: CallHierarchyOutgoingCallsParams -> String # showList :: [CallHierarchyOutgoingCallsParams] -> ShowS #
Eq CallHierarchyOutgoingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams Methods (==) :: CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams -> Bool # (/=) :: CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams -> Bool #
Ord CallHierarchyOutgoingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams

Methods

compare :: CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams -> Ordering #

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

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

(>) :: CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams -> Bool #

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

max :: CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams #

min :: CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams -> CallHierarchyOutgoingCallsParams #

Hashable CallHierarchyOutgoingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams Methods hashWithSalt :: Int -> CallHierarchyOutgoingCallsParams -> Int # hash :: CallHierarchyOutgoingCallsParams -> Int #
Pretty CallHierarchyOutgoingCallsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams Methods pretty :: CallHierarchyOutgoingCallsParams -> Doc ann # prettyList :: [CallHierarchyOutgoingCallsParams] -> Doc ann #
HasItem CallHierarchyOutgoingCallsParams CallHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' CallHierarchyOutgoingCallsParams CallHierarchyItem #
HasPartialResultToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CallHierarchyOutgoingCallsParams (Maybe ProgressToken) #
HasWorkDoneToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CallHierarchyOutgoingCallsParams (Maybe ProgressToken) #
type Rep CallHierarchyOutgoingCallsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams

type Rep CallHierarchyOutgoingCallsParams = D1 ('MetaData "CallHierarchyOutgoingCallsParams" "Language.LSP.Protocol.Internal.Types.CallHierarchyOutgoingCallsParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyOutgoingCallsParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CallHierarchyItem))))

data CallHierarchyPrepareParams #

The parameter of a `textDocument/prepareCallHierarchy` request.

Since: 3.16.0

Constructors

CallHierarchyPrepareParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

#### Instances

Instances details

FromJSON CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods parseJSON :: Value -> Parser CallHierarchyPrepareParams # parseJSONList :: Value -> Parser [CallHierarchyPrepareParams] # omittedField :: Maybe CallHierarchyPrepareParams #
ToJSON CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods toJSON :: CallHierarchyPrepareParams -> Value # toEncoding :: CallHierarchyPrepareParams -> Encoding # toJSONList :: [CallHierarchyPrepareParams] -> Value # toEncodingList :: [CallHierarchyPrepareParams] -> Encoding # omitField :: CallHierarchyPrepareParams -> Bool #
NFData CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods rnf :: CallHierarchyPrepareParams -> () #
Generic CallHierarchyPrepareParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams

Associated Types

type Rep CallHierarchyPrepareParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams

type Rep CallHierarchyPrepareParams = D1 ('MetaData "CallHierarchyPrepareParams" "Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyPrepareParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: CallHierarchyPrepareParams -> Rep CallHierarchyPrepareParams x #

to :: Rep CallHierarchyPrepareParams x -> CallHierarchyPrepareParams #

Show CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods showsPrec :: Int -> CallHierarchyPrepareParams -> ShowS # show :: CallHierarchyPrepareParams -> String # showList :: [CallHierarchyPrepareParams] -> ShowS #
Eq CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods (==) :: CallHierarchyPrepareParams -> CallHierarchyPrepareParams -> Bool # (/=) :: CallHierarchyPrepareParams -> CallHierarchyPrepareParams -> Bool #
Ord CallHierarchyPrepareParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams

Methods

compare :: CallHierarchyPrepareParams -> CallHierarchyPrepareParams -> Ordering #

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

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

(>) :: CallHierarchyPrepareParams -> CallHierarchyPrepareParams -> Bool #

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

max :: CallHierarchyPrepareParams -> CallHierarchyPrepareParams -> CallHierarchyPrepareParams #

min :: CallHierarchyPrepareParams -> CallHierarchyPrepareParams -> CallHierarchyPrepareParams #

Hashable CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods hashWithSalt :: Int -> CallHierarchyPrepareParams -> Int # hash :: CallHierarchyPrepareParams -> Int #
Pretty CallHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams Methods pretty :: CallHierarchyPrepareParams -> Doc ann # prettyList :: [CallHierarchyPrepareParams] -> Doc ann #
HasPosition CallHierarchyPrepareParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' CallHierarchyPrepareParams Position #
HasTextDocument CallHierarchyPrepareParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CallHierarchyPrepareParams TextDocumentIdentifier #
HasWorkDoneToken CallHierarchyPrepareParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CallHierarchyPrepareParams (Maybe ProgressToken) #
type Rep CallHierarchyPrepareParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams

type Rep CallHierarchyPrepareParams = D1 ('MetaData "CallHierarchyPrepareParams" "Language.LSP.Protocol.Internal.Types.CallHierarchyPrepareParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyPrepareParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data CallHierarchyRegistrationOptions #

Call hierarchy options used during static or dynamic registration.

Since: 3.16.0

Constructors

CallHierarchyRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON CallHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions Methods parseJSON :: Value -> Parser CallHierarchyRegistrationOptions # parseJSONList :: Value -> Parser [CallHierarchyRegistrationOptions] # omittedField :: Maybe CallHierarchyRegistrationOptions #
ToJSON CallHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions

Methods

toJSON :: CallHierarchyRegistrationOptions -> Value #

toEncoding :: CallHierarchyRegistrationOptions -> Encoding #

toJSONList :: [CallHierarchyRegistrationOptions] -> Value #

toEncodingList :: [CallHierarchyRegistrationOptions] -> Encoding #

omitField :: CallHierarchyRegistrationOptions -> Bool #

NFData CallHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions Methods rnf :: CallHierarchyRegistrationOptions -> () #
Generic CallHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions

Associated Types

type Rep CallHierarchyRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions

type Rep CallHierarchyRegistrationOptions = D1 ('MetaData "CallHierarchyRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: CallHierarchyRegistrationOptions -> Rep CallHierarchyRegistrationOptions x #

to :: Rep CallHierarchyRegistrationOptions x -> CallHierarchyRegistrationOptions #

Show CallHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions Methods showsPrec :: Int -> CallHierarchyRegistrationOptions -> ShowS # show :: CallHierarchyRegistrationOptions -> String # showList :: [CallHierarchyRegistrationOptions] -> ShowS #
Eq CallHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions Methods (==) :: CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions -> Bool # (/=) :: CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions -> Bool #
Ord CallHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions

Methods

compare :: CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions -> Ordering #

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

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

(>) :: CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions -> Bool #

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

max :: CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions #

min :: CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions -> CallHierarchyRegistrationOptions #

Hashable CallHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions Methods hashWithSalt :: Int -> CallHierarchyRegistrationOptions -> Int # hash :: CallHierarchyRegistrationOptions -> Int #
Pretty CallHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions Methods pretty :: CallHierarchyRegistrationOptions -> Doc ann # prettyList :: [CallHierarchyRegistrationOptions] -> Doc ann #
HasCallHierarchyProvider ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods callHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) #
HasId CallHierarchyRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' CallHierarchyRegistrationOptions (Maybe Text) #
HasWorkDoneProgress CallHierarchyRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CallHierarchyRegistrationOptions (Maybe Bool) #
HasDocumentSelector CallHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CallHierarchyRegistrationOptions (DocumentSelector |? Null) #
type Rep CallHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions

type Rep CallHierarchyRegistrationOptions = D1 ('MetaData "CallHierarchyRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CallHierarchyRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data CancelParams #

Constructors

CancelParams |

Fields

- _id :: Int32 |? Text

  The request id to cancel.

#### Instances

Instances details

FromJSON CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods parseJSON :: Value -> Parser CancelParams # parseJSONList :: Value -> Parser [CancelParams] # omittedField :: Maybe CancelParams #
ToJSON CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods toJSON :: CancelParams -> Value # toEncoding :: CancelParams -> Encoding # toJSONList :: [CancelParams] -> Value # toEncodingList :: [CancelParams] -> Encoding # omitField :: CancelParams -> Bool #
NFData CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods rnf :: CancelParams -> () #
Generic CancelParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CancelParams

Associated Types

type Rep CancelParams |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams type Rep CancelParams = D1 ('MetaData "CancelParams" "Language.LSP.Protocol.Internal.Types.CancelParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CancelParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Text))))

Methods

from :: CancelParams -> Rep CancelParams x #

to :: Rep CancelParams x -> CancelParams #

Show CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods showsPrec :: Int -> CancelParams -> ShowS # show :: CancelParams -> String # showList :: [CancelParams] -> ShowS #
Eq CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods (==) :: CancelParams -> CancelParams -> Bool # (/=) :: CancelParams -> CancelParams -> Bool #
Ord CancelParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CancelParams

Methods

compare :: CancelParams -> CancelParams -> Ordering #

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

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

(>) :: CancelParams -> CancelParams -> Bool #

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

max :: CancelParams -> CancelParams -> CancelParams #

min :: CancelParams -> CancelParams -> CancelParams #

Hashable CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods hashWithSalt :: Int -> CancelParams -> Int # hash :: CancelParams -> Int #
Pretty CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams Methods pretty :: CancelParams -> Doc ann # prettyList :: [CancelParams] -> Doc ann #
HasId CancelParams (Int32 |? Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' CancelParams (Int32 |? Text) #
type Rep CancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CancelParams type Rep CancelParams = D1 ('MetaData "CancelParams" "Language.LSP.Protocol.Internal.Types.CancelParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CancelParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Text))))

data CodeActionParams #

The parameters of a `CodeActionRequest`.

Constructors

CodeActionParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The document in which the command was invoked.

- _range :: Range

  The range for which the command was invoked.

- _context :: CodeActionContext

  Context carrying additional information.

#### Instances

Instances details

FromJSON CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods parseJSON :: Value -> Parser CodeActionParams # parseJSONList :: Value -> Parser [CodeActionParams] # omittedField :: Maybe CodeActionParams #
ToJSON CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods toJSON :: CodeActionParams -> Value # toEncoding :: CodeActionParams -> Encoding # toJSONList :: [CodeActionParams] -> Value # toEncodingList :: [CodeActionParams] -> Encoding # omitField :: CodeActionParams -> Bool #
NFData CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods rnf :: CodeActionParams -> () #
Generic CodeActionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams

Associated Types

type Rep CodeActionParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams

type Rep CodeActionParams = D1 ('MetaData "CodeActionParams" "Language.LSP.Protocol.Internal.Types.CodeActionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CodeActionContext)))))

Methods

from :: CodeActionParams -> Rep CodeActionParams x #

to :: Rep CodeActionParams x -> CodeActionParams #

Show CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods showsPrec :: Int -> CodeActionParams -> ShowS # show :: CodeActionParams -> String # showList :: [CodeActionParams] -> ShowS #
Eq CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods (==) :: CodeActionParams -> CodeActionParams -> Bool # (/=) :: CodeActionParams -> CodeActionParams -> Bool #
Ord CodeActionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams

Methods

compare :: CodeActionParams -> CodeActionParams -> Ordering #

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

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

(>) :: CodeActionParams -> CodeActionParams -> Bool #

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

max :: CodeActionParams -> CodeActionParams -> CodeActionParams #

min :: CodeActionParams -> CodeActionParams -> CodeActionParams #

Hashable CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods hashWithSalt :: Int -> CodeActionParams -> Int # hash :: CodeActionParams -> Int #
Pretty CodeActionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams Methods pretty :: CodeActionParams -> Doc ann # prettyList :: [CodeActionParams] -> Doc ann #
HasContext CodeActionParams CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' CodeActionParams CodeActionContext #
HasRange CodeActionParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' CodeActionParams Range #
HasTextDocument CodeActionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CodeActionParams TextDocumentIdentifier #
HasPartialResultToken CodeActionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CodeActionParams (Maybe ProgressToken) #
HasWorkDoneToken CodeActionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CodeActionParams (Maybe ProgressToken) #
type Rep CodeActionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionParams

type Rep CodeActionParams = D1 ('MetaData "CodeActionParams" "Language.LSP.Protocol.Internal.Types.CodeActionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CodeActionContext)))))

data CodeActionRegistrationOptions #

Registration options for a `CodeActionRequest`.

Constructors

CodeActionRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _codeActionKinds :: Maybe [CodeActionKind]

  CodeActionKinds that this server may return.

  The list of kinds may be generic, such as `Refactor`, or the server may list out every specific kind they provide.

- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for a code action.

  Since: 3.16.0

#### Instances

Instances details

FromJSON CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods parseJSON :: Value -> Parser CodeActionRegistrationOptions # parseJSONList :: Value -> Parser [CodeActionRegistrationOptions] # omittedField :: Maybe CodeActionRegistrationOptions #
ToJSON CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods toJSON :: CodeActionRegistrationOptions -> Value # toEncoding :: CodeActionRegistrationOptions -> Encoding # toJSONList :: [CodeActionRegistrationOptions] -> Value # toEncodingList :: [CodeActionRegistrationOptions] -> Encoding # omitField :: CodeActionRegistrationOptions -> Bool #
NFData CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods rnf :: CodeActionRegistrationOptions -> () #
Generic CodeActionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions

Associated Types

type Rep CodeActionRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions

type Rep CodeActionRegistrationOptions = D1 ('MetaData "CodeActionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_codeActionKinds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeActionKind])) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: CodeActionRegistrationOptions -> Rep CodeActionRegistrationOptions x #

to :: Rep CodeActionRegistrationOptions x -> CodeActionRegistrationOptions #

Show CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods showsPrec :: Int -> CodeActionRegistrationOptions -> ShowS # show :: CodeActionRegistrationOptions -> String # showList :: [CodeActionRegistrationOptions] -> ShowS #
Eq CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods (==) :: CodeActionRegistrationOptions -> CodeActionRegistrationOptions -> Bool # (/=) :: CodeActionRegistrationOptions -> CodeActionRegistrationOptions -> Bool #
Ord CodeActionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions

Methods

compare :: CodeActionRegistrationOptions -> CodeActionRegistrationOptions -> Ordering #

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

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

(>) :: CodeActionRegistrationOptions -> CodeActionRegistrationOptions -> Bool #

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

max :: CodeActionRegistrationOptions -> CodeActionRegistrationOptions -> CodeActionRegistrationOptions #

min :: CodeActionRegistrationOptions -> CodeActionRegistrationOptions -> CodeActionRegistrationOptions #

Hashable CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods hashWithSalt :: Int -> CodeActionRegistrationOptions -> Int # hash :: CodeActionRegistrationOptions -> Int #
Pretty CodeActionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions Methods pretty :: CodeActionRegistrationOptions -> Doc ann # prettyList :: [CodeActionRegistrationOptions] -> Doc ann #
HasCodeActionKinds CodeActionRegistrationOptions (Maybe [CodeActionKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionKinds :: Lens' CodeActionRegistrationOptions (Maybe [CodeActionKind]) #
HasResolveProvider CodeActionRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' CodeActionRegistrationOptions (Maybe Bool) #
HasWorkDoneProgress CodeActionRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CodeActionRegistrationOptions (Maybe Bool) #
HasDocumentSelector CodeActionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeActionRegistrationOptions (DocumentSelector |? Null) #
type Rep CodeActionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions

type Rep CodeActionRegistrationOptions = D1 ('MetaData "CodeActionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CodeActionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_codeActionKinds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeActionKind])) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data CodeLens #

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.

- _data_ :: Maybe Value

  A data entry field that is preserved on a code lens item between a `CodeLensRequest`

#### Instances

Instances details

FromJSON CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods parseJSON :: Value -> Parser CodeLens # parseJSONList :: Value -> Parser [CodeLens] # omittedField :: Maybe CodeLens #
ToJSON CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods toJSON :: CodeLens -> Value # toEncoding :: CodeLens -> Encoding # toJSONList :: [CodeLens] -> Value # toEncodingList :: [CodeLens] -> Encoding # omitField :: CodeLens -> Bool #
NFData CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods rnf :: CodeLens -> () #
Generic CodeLens # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLens

Associated Types

type Rep CodeLens |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLens

type Rep CodeLens = D1 ('MetaData "CodeLens" "Language.LSP.Protocol.Internal.Types.CodeLens" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLens" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

Methods

from :: CodeLens -> Rep CodeLens x #

to :: Rep CodeLens x -> CodeLens #

Show CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods showsPrec :: Int -> CodeLens -> ShowS # show :: CodeLens -> String # showList :: [CodeLens] -> ShowS #
Eq CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods (==) :: CodeLens -> CodeLens -> Bool # (/=) :: CodeLens -> CodeLens -> Bool #
Ord CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods compare :: CodeLens -> CodeLens -> Ordering # (<) :: CodeLens -> CodeLens -> Bool # (<=) :: CodeLens -> CodeLens -> Bool # (>) :: CodeLens -> CodeLens -> Bool # (>=) :: CodeLens -> CodeLens -> Bool # max :: CodeLens -> CodeLens -> CodeLens # min :: CodeLens -> CodeLens -> CodeLens #
Hashable CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods hashWithSalt :: Int -> CodeLens -> Int # hash :: CodeLens -> Int #
Pretty CodeLens # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLens Methods pretty :: CodeLens -> Doc ann # prettyList :: [CodeLens] -> Doc ann #
HasRange CodeLens Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' CodeLens Range #
HasCommand CodeLens (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' CodeLens (Maybe Command) #
HasData_ CodeLens (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' CodeLens (Maybe Value) #
type Rep CodeLens # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLens

type Rep CodeLens = D1 ('MetaData "CodeLens" "Language.LSP.Protocol.Internal.Types.CodeLens" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLens" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

data CodeLensParams #

The parameters of a `CodeLensRequest`.

Constructors

CodeLensParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The document to request code lens for.

#### Instances

Instances details

FromJSON CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods parseJSON :: Value -> Parser CodeLensParams # parseJSONList :: Value -> Parser [CodeLensParams] # omittedField :: Maybe CodeLensParams #
ToJSON CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods toJSON :: CodeLensParams -> Value # toEncoding :: CodeLensParams -> Encoding # toJSONList :: [CodeLensParams] -> Value # toEncodingList :: [CodeLensParams] -> Encoding # omitField :: CodeLensParams -> Bool #
NFData CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods rnf :: CodeLensParams -> () #
Generic CodeLensParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams

Associated Types

type Rep CodeLensParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams

type Rep CodeLensParams = D1 ('MetaData "CodeLensParams" "Language.LSP.Protocol.Internal.Types.CodeLensParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

Methods

from :: CodeLensParams -> Rep CodeLensParams x #

to :: Rep CodeLensParams x -> CodeLensParams #

Show CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods showsPrec :: Int -> CodeLensParams -> ShowS # show :: CodeLensParams -> String # showList :: [CodeLensParams] -> ShowS #
Eq CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods (==) :: CodeLensParams -> CodeLensParams -> Bool # (/=) :: CodeLensParams -> CodeLensParams -> Bool #
Ord CodeLensParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams

Methods

compare :: CodeLensParams -> CodeLensParams -> Ordering #

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

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

(>) :: CodeLensParams -> CodeLensParams -> Bool #

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

max :: CodeLensParams -> CodeLensParams -> CodeLensParams #

min :: CodeLensParams -> CodeLensParams -> CodeLensParams #

Hashable CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods hashWithSalt :: Int -> CodeLensParams -> Int # hash :: CodeLensParams -> Int #
Pretty CodeLensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams Methods pretty :: CodeLensParams -> Doc ann # prettyList :: [CodeLensParams] -> Doc ann #
HasTextDocument CodeLensParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CodeLensParams TextDocumentIdentifier #
HasPartialResultToken CodeLensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CodeLensParams (Maybe ProgressToken) #
HasWorkDoneToken CodeLensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CodeLensParams (Maybe ProgressToken) #
type Rep CodeLensParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensParams

type Rep CodeLensParams = D1 ('MetaData "CodeLensParams" "Language.LSP.Protocol.Internal.Types.CodeLensParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

data CodeLensRegistrationOptions #

Registration options for a `CodeLensRequest`.

Constructors

CodeLensRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  Code lens has a resolve provider as well.

#### Instances

Instances details

FromJSON CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods parseJSON :: Value -> Parser CodeLensRegistrationOptions # parseJSONList :: Value -> Parser [CodeLensRegistrationOptions] # omittedField :: Maybe CodeLensRegistrationOptions #
ToJSON CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods toJSON :: CodeLensRegistrationOptions -> Value # toEncoding :: CodeLensRegistrationOptions -> Encoding # toJSONList :: [CodeLensRegistrationOptions] -> Value # toEncodingList :: [CodeLensRegistrationOptions] -> Encoding # omitField :: CodeLensRegistrationOptions -> Bool #
NFData CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods rnf :: CodeLensRegistrationOptions -> () #
Generic CodeLensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions

Associated Types

type Rep CodeLensRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions

type Rep CodeLensRegistrationOptions = D1 ('MetaData "CodeLensRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: CodeLensRegistrationOptions -> Rep CodeLensRegistrationOptions x #

to :: Rep CodeLensRegistrationOptions x -> CodeLensRegistrationOptions #

Show CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods showsPrec :: Int -> CodeLensRegistrationOptions -> ShowS # show :: CodeLensRegistrationOptions -> String # showList :: [CodeLensRegistrationOptions] -> ShowS #
Eq CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods (==) :: CodeLensRegistrationOptions -> CodeLensRegistrationOptions -> Bool # (/=) :: CodeLensRegistrationOptions -> CodeLensRegistrationOptions -> Bool #
Ord CodeLensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions

Methods

compare :: CodeLensRegistrationOptions -> CodeLensRegistrationOptions -> Ordering #

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

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

(>) :: CodeLensRegistrationOptions -> CodeLensRegistrationOptions -> Bool #

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

max :: CodeLensRegistrationOptions -> CodeLensRegistrationOptions -> CodeLensRegistrationOptions #

min :: CodeLensRegistrationOptions -> CodeLensRegistrationOptions -> CodeLensRegistrationOptions #

Hashable CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods hashWithSalt :: Int -> CodeLensRegistrationOptions -> Int # hash :: CodeLensRegistrationOptions -> Int #
Pretty CodeLensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions Methods pretty :: CodeLensRegistrationOptions -> Doc ann # prettyList :: [CodeLensRegistrationOptions] -> Doc ann #
HasResolveProvider CodeLensRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' CodeLensRegistrationOptions (Maybe Bool) #
HasWorkDoneProgress CodeLensRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CodeLensRegistrationOptions (Maybe Bool) #
HasDocumentSelector CodeLensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeLensRegistrationOptions (DocumentSelector |? Null) #
type Rep CodeLensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions

type Rep CodeLensRegistrationOptions = D1 ('MetaData "CodeLensRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CodeLensRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data ColorInformation #

Represents a color range from a document.

Constructors

ColorInformation |

Fields

- _range :: Range

  The range in the document where this color appears.

- _color :: Color

  The actual color value for this color range.

#### Instances

Instances details

FromJSON ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods parseJSON :: Value -> Parser ColorInformation # parseJSONList :: Value -> Parser [ColorInformation] # omittedField :: Maybe ColorInformation #
ToJSON ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods toJSON :: ColorInformation -> Value # toEncoding :: ColorInformation -> Encoding # toJSONList :: [ColorInformation] -> Value # toEncodingList :: [ColorInformation] -> Encoding # omitField :: ColorInformation -> Bool #
NFData ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods rnf :: ColorInformation -> () #
Generic ColorInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorInformation

Associated Types

type Rep ColorInformation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorInformation

type Rep ColorInformation = D1 ('MetaData "ColorInformation" "Language.LSP.Protocol.Internal.Types.ColorInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ColorInformation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Color)))

Methods

from :: ColorInformation -> Rep ColorInformation x #

to :: Rep ColorInformation x -> ColorInformation #

Show ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods showsPrec :: Int -> ColorInformation -> ShowS # show :: ColorInformation -> String # showList :: [ColorInformation] -> ShowS #
Eq ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods (==) :: ColorInformation -> ColorInformation -> Bool # (/=) :: ColorInformation -> ColorInformation -> Bool #
Ord ColorInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorInformation

Methods

compare :: ColorInformation -> ColorInformation -> Ordering #

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

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

(>) :: ColorInformation -> ColorInformation -> Bool #

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

max :: ColorInformation -> ColorInformation -> ColorInformation #

min :: ColorInformation -> ColorInformation -> ColorInformation #

Hashable ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods hashWithSalt :: Int -> ColorInformation -> Int # hash :: ColorInformation -> Int #
Pretty ColorInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorInformation Methods pretty :: ColorInformation -> Doc ann # prettyList :: [ColorInformation] -> Doc ann #
HasColor ColorInformation Color # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods color :: Lens' ColorInformation Color #
HasRange ColorInformation Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' ColorInformation Range #
type Rep ColorInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorInformation

type Rep ColorInformation = D1 ('MetaData "ColorInformation" "Language.LSP.Protocol.Internal.Types.ColorInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ColorInformation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Color)))

data ColorPresentation #

Constructors

ColorPresentation |

Fields

- _label :: Text

  The label of this color presentation. It will be shown on the color picker header. By default this is also the text that is inserted when selecting this color presentation.

- _textEdit :: Maybe TextEdit

  An `TextEdit` which is applied to a document when selecting this presentation for the color. When `falsy` the `label` is used.

- _additionalTextEdits :: Maybe [TextEdit]

  An optional array of additional `TextEdit` that are applied when selecting this color presentation. Edits must not overlap with the main `textEdit` nor with themselves.

#### Instances

Instances details

FromJSON ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods parseJSON :: Value -> Parser ColorPresentation # parseJSONList :: Value -> Parser [ColorPresentation] # omittedField :: Maybe ColorPresentation #
ToJSON ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods toJSON :: ColorPresentation -> Value # toEncoding :: ColorPresentation -> Encoding # toJSONList :: [ColorPresentation] -> Value # toEncodingList :: [ColorPresentation] -> Encoding # omitField :: ColorPresentation -> Bool #
NFData ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods rnf :: ColorPresentation -> () #
Generic ColorPresentation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation

Associated Types

type Rep ColorPresentation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation

type Rep ColorPresentation = D1 ('MetaData "ColorPresentation" "Language.LSP.Protocol.Internal.Types.ColorPresentation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ColorPresentation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_textEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextEdit)) :*: S1 ('MetaSel ('Just "_additionalTextEdits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextEdit])))))

Methods

from :: ColorPresentation -> Rep ColorPresentation x #

to :: Rep ColorPresentation x -> ColorPresentation #

Show ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods showsPrec :: Int -> ColorPresentation -> ShowS # show :: ColorPresentation -> String # showList :: [ColorPresentation] -> ShowS #
Eq ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods (==) :: ColorPresentation -> ColorPresentation -> Bool # (/=) :: ColorPresentation -> ColorPresentation -> Bool #
Ord ColorPresentation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation

Methods

compare :: ColorPresentation -> ColorPresentation -> Ordering #

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

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

(>) :: ColorPresentation -> ColorPresentation -> Bool #

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

max :: ColorPresentation -> ColorPresentation -> ColorPresentation #

min :: ColorPresentation -> ColorPresentation -> ColorPresentation #

Hashable ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods hashWithSalt :: Int -> ColorPresentation -> Int # hash :: ColorPresentation -> Int #
Pretty ColorPresentation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation Methods pretty :: ColorPresentation -> Doc ann # prettyList :: [ColorPresentation] -> Doc ann #
HasLabel ColorPresentation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' ColorPresentation Text #
HasAdditionalTextEdits ColorPresentation (Maybe [TextEdit]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods additionalTextEdits :: Lens' ColorPresentation (Maybe [TextEdit]) #
HasTextEdit ColorPresentation (Maybe TextEdit) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdit :: Lens' ColorPresentation (Maybe TextEdit) #
type Rep ColorPresentation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentation

type Rep ColorPresentation = D1 ('MetaData "ColorPresentation" "Language.LSP.Protocol.Internal.Types.ColorPresentation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ColorPresentation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_textEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextEdit)) :*: S1 ('MetaSel ('Just "_additionalTextEdits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextEdit])))))

data ColorPresentationParams #

Parameters for a `ColorPresentationRequest`.

Constructors

ColorPresentationParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _color :: Color

  The color to request presentations for.

- _range :: Range

  The range where the color would be inserted. Serves as a context.

#### Instances

Instances details

FromJSON ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods parseJSON :: Value -> Parser ColorPresentationParams # parseJSONList :: Value -> Parser [ColorPresentationParams] # omittedField :: Maybe ColorPresentationParams #
ToJSON ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods toJSON :: ColorPresentationParams -> Value # toEncoding :: ColorPresentationParams -> Encoding # toJSONList :: [ColorPresentationParams] -> Value # toEncodingList :: [ColorPresentationParams] -> Encoding # omitField :: ColorPresentationParams -> Bool #
NFData ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods rnf :: ColorPresentationParams -> () #
Generic ColorPresentationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams

Associated Types

type Rep ColorPresentationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams

type Rep ColorPresentationParams = D1 ('MetaData "ColorPresentationParams" "Language.LSP.Protocol.Internal.Types.ColorPresentationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ColorPresentationParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Color) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))))

Methods

from :: ColorPresentationParams -> Rep ColorPresentationParams x #

to :: Rep ColorPresentationParams x -> ColorPresentationParams #

Show ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods showsPrec :: Int -> ColorPresentationParams -> ShowS # show :: ColorPresentationParams -> String # showList :: [ColorPresentationParams] -> ShowS #
Eq ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods (==) :: ColorPresentationParams -> ColorPresentationParams -> Bool # (/=) :: ColorPresentationParams -> ColorPresentationParams -> Bool #
Ord ColorPresentationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams

Methods

compare :: ColorPresentationParams -> ColorPresentationParams -> Ordering #

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

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

(>) :: ColorPresentationParams -> ColorPresentationParams -> Bool #

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

max :: ColorPresentationParams -> ColorPresentationParams -> ColorPresentationParams #

min :: ColorPresentationParams -> ColorPresentationParams -> ColorPresentationParams #

Hashable ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods hashWithSalt :: Int -> ColorPresentationParams -> Int # hash :: ColorPresentationParams -> Int #
Pretty ColorPresentationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams Methods pretty :: ColorPresentationParams -> Doc ann # prettyList :: [ColorPresentationParams] -> Doc ann #
HasColor ColorPresentationParams Color # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods color :: Lens' ColorPresentationParams Color #
HasRange ColorPresentationParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' ColorPresentationParams Range #
HasTextDocument ColorPresentationParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ColorPresentationParams TextDocumentIdentifier #
HasPartialResultToken ColorPresentationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' ColorPresentationParams (Maybe ProgressToken) #
HasWorkDoneToken ColorPresentationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ColorPresentationParams (Maybe ProgressToken) #
type Rep ColorPresentationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ColorPresentationParams

type Rep ColorPresentationParams = D1 ('MetaData "ColorPresentationParams" "Language.LSP.Protocol.Internal.Types.ColorPresentationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ColorPresentationParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Color) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))))

data Command #

Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

Constructors

Command |

Fields

- _title :: Text

  Title of the command, like `save`.

- _command :: Text

  The identifier of the actual command handler.

- _arguments :: Maybe [Value]

  Arguments that the command handler should be invoked with.

#### Instances

Instances details

FromJSON Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods parseJSON :: Value -> Parser Command # parseJSONList :: Value -> Parser [Command] # omittedField :: Maybe Command #
ToJSON Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods toJSON :: Command -> Value # toEncoding :: Command -> Encoding # toJSONList :: [Command] -> Value # toEncodingList :: [Command] -> Encoding # omitField :: Command -> Bool #
NFData Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods rnf :: Command -> () #
Generic Command # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Command

Associated Types

type Rep Command |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Command

type Rep Command = D1 ('MetaData "Command" "Language.LSP.Protocol.Internal.Types.Command" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Command" 'PrefixI 'True) (S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Value])))))

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

Show Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods showsPrec :: Int -> Command -> ShowS # show :: Command -> String # showList :: [Command] -> ShowS #
Eq Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods (==) :: Command -> Command -> Bool # (/=) :: Command -> Command -> Bool #
Ord Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods compare :: Command -> Command -> Ordering # (<) :: Command -> Command -> Bool # (<=) :: Command -> Command -> Bool # (>) :: Command -> Command -> Bool # (>=) :: Command -> Command -> Bool # max :: Command -> Command -> Command # min :: Command -> Command -> Command #
Hashable Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods hashWithSalt :: Int -> Command -> Int # hash :: Command -> Int #
Pretty Command # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Command Methods pretty :: Command -> Doc ann # prettyList :: [Command] -> Doc ann #
HasCommand Command Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' Command Text #
HasTitle Command Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods title :: Lens' Command Text #
HasArguments Command (Maybe [Value]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods arguments :: Lens' Command (Maybe [Value]) #
HasCommand CodeAction (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' CodeAction (Maybe Command) #
HasCommand CodeLens (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' CodeLens (Maybe Command) #
HasCommand CompletionItem (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' CompletionItem (Maybe Command) #
HasCommand InlayHintLabelPart (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' InlayHintLabelPart (Maybe Command) #
type Rep Command # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Command

type Rep Command = D1 ('MetaData "Command" "Language.LSP.Protocol.Internal.Types.Command" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Command" 'PrefixI 'True) (S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Value])))))

data CompletionItem #

A completion item represents a text snippet that is proposed to complete text that is being typed.

Constructors

CompletionItem |

Fields

- _label :: Text

  The label of this completion item.

  The label property is also by default the text that is inserted when selecting this completion.

  If label details are provided the label itself should be an unqualified name of the completion item.

- _labelDetails :: Maybe CompletionItemLabelDetails

  Additional details for the label

  Since: 3.17.0

- _kind :: Maybe CompletionItemKind

  The kind of this completion item. Based of the kind an icon is chosen by the editor.

- _tags :: Maybe [CompletionItemTag]

  Tags for this completion item.

  Since: 3.15.0

- _detail :: Maybe Text

  A human-readable string with additional information about this item, like type or symbol information.

- _documentation :: Maybe (Text |? MarkupContent)

  A human-readable string that represents a doc-comment.

- _deprecated :: Maybe Bool

  Indicates if this item is deprecated. @deprecated Use `tags` instead.

- _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 comparing this item with other 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 into a document when selecting this completion. When `falsy` the `label` is used.

  The `insertText` is subject to interpretation by the client side. Some tools might not take the string literally. For example VS Code when code complete is requested in this example `conposition` and a completion item with an `insertText` of `console` is provided it will only insert `sole`. Therefore it is recommended to use `textEdit` instead since it avoids additional client side interpretation.

- _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`. If omitted defaults to `PlainText`.

  Please note that the insertTextFormat doesn't apply to `additionalTextEdits`.

- _insertTextMode :: Maybe InsertTextMode

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

  Since: 3.16.0

- _textEdit :: Maybe (TextEdit |? InsertReplaceEdit)

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

  Most editors support two different operations when accepting a completion item. One is to insert a completion text and the other is to replace an existing text with a completion text. Since this can usually not be predetermined by a server it can report both ranges. Clients need to signal support for `InsertReplaceEdits` via the `textDocument.completion.insertReplaceSupport` client capability property.

  - Note 1:* The text edit's range as well as both ranges from an insert replace edit must be a [single line] and they must contain the position at which completion has been requested.
  - Note 2:* If an `InsertReplaceEdit` is returned the edit's insert range must be a prefix of the edit's replace range, that means it must be contained and starting at the same position.

  @since 3.16.0 additional type `InsertReplaceEdit`

- _textEditText :: Maybe Text

  The edit text used if the completion item is part of a CompletionList and CompletionList defines an item default for the text edit range.

  Clients will only honor this property if they opt into completion list item defaults using the capability `completionList.itemDefaults`.

  If not provided and a list's default range is provided the label property is used as a text.

  Since: 3.17.0

- _additionalTextEdits :: Maybe [TextEdit]

  An optional array of additional `TextEdit` that are applied when selecting this completion. Edits must not overlap (including the same insert position) with the main `textEdit` nor with themselves.

  Additional text edits should be used to change text unrelated to the current cursor position (for example adding an import statement at the top of the file if the completion item will insert an unqualified type).

- _commitCharacters :: Maybe [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.

- _data_ :: Maybe Value

  A data entry field that is preserved on a completion item between a `CompletionRequest`.

#### Instances

Instances details

FromJSON CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods parseJSON :: Value -> Parser CompletionItem # parseJSONList :: Value -> Parser [CompletionItem] # omittedField :: Maybe CompletionItem #
ToJSON CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods toJSON :: CompletionItem -> Value # toEncoding :: CompletionItem -> Encoding # toJSONList :: [CompletionItem] -> Value # toEncodingList :: [CompletionItem] -> Encoding # omitField :: CompletionItem -> Bool #
NFData CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods rnf :: CompletionItem -> () #
Generic CompletionItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItem

Associated Types

type Rep CompletionItem |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItem

type Rep CompletionItem = D1 ('MetaData "CompletionItem" "Language.LSP.Protocol.Internal.Types.CompletionItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItem" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_labelDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemLabelDetails))) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemKind)) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompletionItemTag])))) :*: ((S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_documentation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))) :*: (S1 ('MetaSel ('Just "_deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_preselect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_sortText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "_filterText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_insertText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_insertTextFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextFormat)) :*: (S1 ('MetaSel ('Just "_insertTextMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextMode)) :*: S1 ('MetaSel ('Just "_textEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (TextEdit |? InsertReplaceEdit)))))) :*: ((S1 ('MetaSel ('Just "_textEditText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_additionalTextEdits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextEdit]))) :*: (S1 ('MetaSel ('Just "_commitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))))

Methods

from :: CompletionItem -> Rep CompletionItem x #

to :: Rep CompletionItem x -> CompletionItem #

Show CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods showsPrec :: Int -> CompletionItem -> ShowS # show :: CompletionItem -> String # showList :: [CompletionItem] -> ShowS #
Eq CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods (==) :: CompletionItem -> CompletionItem -> Bool # (/=) :: CompletionItem -> CompletionItem -> Bool #
Ord CompletionItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItem

Methods

compare :: CompletionItem -> CompletionItem -> Ordering #

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

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

(>) :: CompletionItem -> CompletionItem -> Bool #

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

max :: CompletionItem -> CompletionItem -> CompletionItem #

min :: CompletionItem -> CompletionItem -> CompletionItem #

Hashable CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods hashWithSalt :: Int -> CompletionItem -> Int # hash :: CompletionItem -> Int #
Pretty CompletionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItem Methods pretty :: CompletionItem -> Doc ann # prettyList :: [CompletionItem] -> Doc ann #
HasLabel CompletionItem Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' CompletionItem Text #
HasAdditionalTextEdits CompletionItem (Maybe [TextEdit]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods additionalTextEdits :: Lens' CompletionItem (Maybe [TextEdit]) #
HasCommand CompletionItem (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' CompletionItem (Maybe Command) #
HasCommitCharacters CompletionItem (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods commitCharacters :: Lens' CompletionItem (Maybe [Text]) #
HasData_ CompletionItem (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' CompletionItem (Maybe Value) #
HasDeprecated CompletionItem (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deprecated :: Lens' CompletionItem (Maybe Bool) #
HasDetail CompletionItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods detail :: Lens' CompletionItem (Maybe Text) #
HasDocumentation CompletionItem (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' CompletionItem (Maybe (Text |? MarkupContent)) #
HasFilterText CompletionItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods filterText :: Lens' CompletionItem (Maybe Text) #
HasInsertText CompletionItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertText :: Lens' CompletionItem (Maybe Text) #
HasInsertTextFormat CompletionItem (Maybe InsertTextFormat) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextFormat :: Lens' CompletionItem (Maybe InsertTextFormat) #
HasInsertTextMode CompletionItem (Maybe InsertTextMode) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextMode :: Lens' CompletionItem (Maybe InsertTextMode) #
HasItems CompletionList [CompletionItem] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' CompletionList [CompletionItem] #
HasKind CompletionItem (Maybe CompletionItemKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CompletionItem (Maybe CompletionItemKind) #
HasLabelDetails CompletionItem (Maybe CompletionItemLabelDetails) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods labelDetails :: Lens' CompletionItem (Maybe CompletionItemLabelDetails) #
HasPreselect CompletionItem (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods preselect :: Lens' CompletionItem (Maybe Bool) #
HasSortText CompletionItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods sortText :: Lens' CompletionItem (Maybe Text) #
HasTags CompletionItem (Maybe [CompletionItemTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' CompletionItem (Maybe [CompletionItemTag]) #
HasTextEdit CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdit :: Lens' CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) #
HasTextEditText CompletionItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEditText :: Lens' CompletionItem (Maybe Text) #
type Rep CompletionItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItem

type Rep CompletionItem = D1 ('MetaData "CompletionItem" "Language.LSP.Protocol.Internal.Types.CompletionItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItem" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_labelDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemLabelDetails))) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemKind)) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompletionItemTag])))) :*: ((S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_documentation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))) :*: (S1 ('MetaSel ('Just "_deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_preselect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_sortText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "_filterText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_insertText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_insertTextFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextFormat)) :*: (S1 ('MetaSel ('Just "_insertTextMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextMode)) :*: S1 ('MetaSel ('Just "_textEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (TextEdit |? InsertReplaceEdit)))))) :*: ((S1 ('MetaSel ('Just "_textEditText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_additionalTextEdits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextEdit]))) :*: (S1 ('MetaSel ('Just "_commitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))))

data CompletionList #

Represents a collection of `CompletionItem` to be presented in the editor.

Constructors

CompletionList |

Fields

- _isIncomplete :: Bool

  This list it not complete. Further typing results in recomputing this list.

  Recomputed lists have all their items replaced (not appended) in the incomplete completion sessions.

- _itemDefaults :: Maybe CompletionItemDefaults

  In many cases the items of an actual completion result share the same value for properties like `commitCharacters` or the range of a text edit. A completion list can therefore define item defaults which will be used if a completion item itself doesn't specify the value.

  If a completion list specifies a default value and a completion item also specifies a corresponding value the one from the item is used.

  Servers are only allowed to return default values if the client signals support for this via the `completionList.itemDefaults` capability.

  Since: 3.17.0

- _items :: [CompletionItem]

  The completion items.

#### Instances

Instances details

FromJSON CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods parseJSON :: Value -> Parser CompletionList # parseJSONList :: Value -> Parser [CompletionList] # omittedField :: Maybe CompletionList #
ToJSON CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods toJSON :: CompletionList -> Value # toEncoding :: CompletionList -> Encoding # toJSONList :: [CompletionList] -> Value # toEncodingList :: [CompletionList] -> Encoding # omitField :: CompletionList -> Bool #
NFData CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods rnf :: CompletionList -> () #
Generic CompletionList # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionList

Associated Types

type Rep CompletionList |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionList

type Rep CompletionList = D1 ('MetaData "CompletionList" "Language.LSP.Protocol.Internal.Types.CompletionList" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionList" 'PrefixI 'True) (S1 ('MetaSel ('Just "_isIncomplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_itemDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemDefaults)) :*: S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CompletionItem]))))

Methods

from :: CompletionList -> Rep CompletionList x #

to :: Rep CompletionList x -> CompletionList #

Show CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods showsPrec :: Int -> CompletionList -> ShowS # show :: CompletionList -> String # showList :: [CompletionList] -> ShowS #
Eq CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods (==) :: CompletionList -> CompletionList -> Bool # (/=) :: CompletionList -> CompletionList -> Bool #
Ord CompletionList # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionList

Methods

compare :: CompletionList -> CompletionList -> Ordering #

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

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

(>) :: CompletionList -> CompletionList -> Bool #

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

max :: CompletionList -> CompletionList -> CompletionList #

min :: CompletionList -> CompletionList -> CompletionList #

Hashable CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods hashWithSalt :: Int -> CompletionList -> Int # hash :: CompletionList -> Int #
Pretty CompletionList # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionList Methods pretty :: CompletionList -> Doc ann # prettyList :: [CompletionList] -> Doc ann #
HasIsIncomplete CompletionList Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods isIncomplete :: Lens' CompletionList Bool #
HasItemDefaults CompletionList (Maybe CompletionItemDefaults) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods itemDefaults :: Lens' CompletionList (Maybe CompletionItemDefaults) #
HasItems CompletionList [CompletionItem] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' CompletionList [CompletionItem] #
type Rep CompletionList # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionList

type Rep CompletionList = D1 ('MetaData "CompletionList" "Language.LSP.Protocol.Internal.Types.CompletionList" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionList" 'PrefixI 'True) (S1 ('MetaSel ('Just "_isIncomplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_itemDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemDefaults)) :*: S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CompletionItem]))))

data CompletionParams #

Completion parameters

Constructors

CompletionParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _context :: Maybe CompletionContext

  The completion context. This is only available it the client specifies to send this using the client capability `textDocument.completion.contextSupport === true`

#### Instances

Instances details

FromJSON CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods parseJSON :: Value -> Parser CompletionParams # parseJSONList :: Value -> Parser [CompletionParams] # omittedField :: Maybe CompletionParams #
ToJSON CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods toJSON :: CompletionParams -> Value # toEncoding :: CompletionParams -> Encoding # toJSONList :: [CompletionParams] -> Value # toEncodingList :: [CompletionParams] -> Encoding # omitField :: CompletionParams -> Bool #
NFData CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods rnf :: CompletionParams -> () #
Generic CompletionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionParams

Associated Types

type Rep CompletionParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionParams

type Rep CompletionParams = D1 ('MetaData "CompletionParams" "Language.LSP.Protocol.Internal.Types.CompletionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionContext))))))

Methods

from :: CompletionParams -> Rep CompletionParams x #

to :: Rep CompletionParams x -> CompletionParams #

Show CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods showsPrec :: Int -> CompletionParams -> ShowS # show :: CompletionParams -> String # showList :: [CompletionParams] -> ShowS #
Eq CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods (==) :: CompletionParams -> CompletionParams -> Bool # (/=) :: CompletionParams -> CompletionParams -> Bool #
Ord CompletionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionParams

Methods

compare :: CompletionParams -> CompletionParams -> Ordering #

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

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

(>) :: CompletionParams -> CompletionParams -> Bool #

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

max :: CompletionParams -> CompletionParams -> CompletionParams #

min :: CompletionParams -> CompletionParams -> CompletionParams #

Hashable CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods hashWithSalt :: Int -> CompletionParams -> Int # hash :: CompletionParams -> Int #
Pretty CompletionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionParams Methods pretty :: CompletionParams -> Doc ann # prettyList :: [CompletionParams] -> Doc ann #
HasPosition CompletionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' CompletionParams Position #
HasTextDocument CompletionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CompletionParams TextDocumentIdentifier #
HasContext CompletionParams (Maybe CompletionContext) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' CompletionParams (Maybe CompletionContext) #
HasPartialResultToken CompletionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CompletionParams (Maybe ProgressToken) #
HasWorkDoneToken CompletionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CompletionParams (Maybe ProgressToken) #
type Rep CompletionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionParams

type Rep CompletionParams = D1 ('MetaData "CompletionParams" "Language.LSP.Protocol.Internal.Types.CompletionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionContext))))))

data CompletionRegistrationOptions #

Registration options for a `CompletionRequest`.

Constructors

CompletionRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _triggerCharacters :: Maybe [Text]

  Most tools trigger completion request automatically without explicitly requesting it using a keyboard shortcut (e.g. Ctrl+Space). Typically they do so when the user starts to type an identifier. For example if the user types `c` in a JavaScript file code complete will automatically pop up present `console` besides others as a completion item. Characters that make up identifiers don't need to be listed here.

  If code complete should automatically be trigger on characters not being valid inside an identifier (for example `.` in JavaScript) list them in `triggerCharacters`.

- _allCommitCharacters :: Maybe [Text]

  The list of all possible characters that commit a completion. This field can be used if clients don't support individual commit characters per completion item. See `ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport`

  If a server provides both `allCommitCharacters` and commit characters on an individual completion item the ones on the completion item win.

  Since: 3.2.0

- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for a completion item.

- _completionItem :: Maybe ServerCompletionItemOptions

  The server supports the following `CompletionItem` specific capabilities.

  Since: 3.17.0

#### Instances

Instances details

FromJSON CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods parseJSON :: Value -> Parser CompletionRegistrationOptions # parseJSONList :: Value -> Parser [CompletionRegistrationOptions] # omittedField :: Maybe CompletionRegistrationOptions #
ToJSON CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods toJSON :: CompletionRegistrationOptions -> Value # toEncoding :: CompletionRegistrationOptions -> Encoding # toJSONList :: [CompletionRegistrationOptions] -> Value # toEncodingList :: [CompletionRegistrationOptions] -> Encoding # omitField :: CompletionRegistrationOptions -> Bool #
NFData CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods rnf :: CompletionRegistrationOptions -> () #
Generic CompletionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions

Associated Types

type Rep CompletionRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions

type Rep CompletionRegistrationOptions = D1 ('MetaData "CompletionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "_allCommitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_completionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerCompletionItemOptions))))))

Methods

from :: CompletionRegistrationOptions -> Rep CompletionRegistrationOptions x #

to :: Rep CompletionRegistrationOptions x -> CompletionRegistrationOptions #

Show CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods showsPrec :: Int -> CompletionRegistrationOptions -> ShowS # show :: CompletionRegistrationOptions -> String # showList :: [CompletionRegistrationOptions] -> ShowS #
Eq CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods (==) :: CompletionRegistrationOptions -> CompletionRegistrationOptions -> Bool # (/=) :: CompletionRegistrationOptions -> CompletionRegistrationOptions -> Bool #
Ord CompletionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions

Methods

compare :: CompletionRegistrationOptions -> CompletionRegistrationOptions -> Ordering #

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

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

(>) :: CompletionRegistrationOptions -> CompletionRegistrationOptions -> Bool #

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

max :: CompletionRegistrationOptions -> CompletionRegistrationOptions -> CompletionRegistrationOptions #

min :: CompletionRegistrationOptions -> CompletionRegistrationOptions -> CompletionRegistrationOptions #

Hashable CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods hashWithSalt :: Int -> CompletionRegistrationOptions -> Int # hash :: CompletionRegistrationOptions -> Int #
Pretty CompletionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions Methods pretty :: CompletionRegistrationOptions -> Doc ann # prettyList :: [CompletionRegistrationOptions] -> Doc ann #
HasAllCommitCharacters CompletionRegistrationOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods allCommitCharacters :: Lens' CompletionRegistrationOptions (Maybe [Text]) #
HasCompletionItem CompletionRegistrationOptions (Maybe ServerCompletionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItem :: Lens' CompletionRegistrationOptions (Maybe ServerCompletionItemOptions) #
HasResolveProvider CompletionRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' CompletionRegistrationOptions (Maybe Bool) #
HasTriggerCharacters CompletionRegistrationOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerCharacters :: Lens' CompletionRegistrationOptions (Maybe [Text]) #
HasWorkDoneProgress CompletionRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CompletionRegistrationOptions (Maybe Bool) #
HasDocumentSelector CompletionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CompletionRegistrationOptions (DocumentSelector |? Null) #
type Rep CompletionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions

type Rep CompletionRegistrationOptions = D1 ('MetaData "CompletionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.CompletionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 ('MetaSel ('Just "_allCommitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_completionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerCompletionItemOptions))))))

data ConfigurationParams #

The parameters of a configuration request.

Constructors

ConfigurationParams |

Fields

- _items :: [ConfigurationItem]

#### Instances

Instances details

FromJSON ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods parseJSON :: Value -> Parser ConfigurationParams # parseJSONList :: Value -> Parser [ConfigurationParams] # omittedField :: Maybe ConfigurationParams #
ToJSON ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods toJSON :: ConfigurationParams -> Value # toEncoding :: ConfigurationParams -> Encoding # toJSONList :: [ConfigurationParams] -> Value # toEncodingList :: [ConfigurationParams] -> Encoding # omitField :: ConfigurationParams -> Bool #
NFData ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods rnf :: ConfigurationParams -> () #
Generic ConfigurationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams

Associated Types

type Rep ConfigurationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams

type Rep ConfigurationParams = D1 ('MetaData "ConfigurationParams" "Language.LSP.Protocol.Internal.Types.ConfigurationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ConfigurationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ConfigurationItem])))

Methods

from :: ConfigurationParams -> Rep ConfigurationParams x #

to :: Rep ConfigurationParams x -> ConfigurationParams #

Show ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods showsPrec :: Int -> ConfigurationParams -> ShowS # show :: ConfigurationParams -> String # showList :: [ConfigurationParams] -> ShowS #
Eq ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods (==) :: ConfigurationParams -> ConfigurationParams -> Bool # (/=) :: ConfigurationParams -> ConfigurationParams -> Bool #
Ord ConfigurationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams

Methods

compare :: ConfigurationParams -> ConfigurationParams -> Ordering #

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

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

(>) :: ConfigurationParams -> ConfigurationParams -> Bool #

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

max :: ConfigurationParams -> ConfigurationParams -> ConfigurationParams #

min :: ConfigurationParams -> ConfigurationParams -> ConfigurationParams #

Hashable ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods hashWithSalt :: Int -> ConfigurationParams -> Int # hash :: ConfigurationParams -> Int #
Pretty ConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams Methods pretty :: ConfigurationParams -> Doc ann # prettyList :: [ConfigurationParams] -> Doc ann #
HasItems ConfigurationParams [ConfigurationItem] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' ConfigurationParams [ConfigurationItem] #
type Rep ConfigurationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationParams

type Rep ConfigurationParams = D1 ('MetaData "ConfigurationParams" "Language.LSP.Protocol.Internal.Types.ConfigurationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ConfigurationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ConfigurationItem])))

data CreateFilesParams #

The parameters sent in notifications/requests for user-initiated creation of files.

Since: 3.16.0

Constructors

CreateFilesParams |

Fields

- _files :: [FileCreate]

  An array of all files/folders created in this operation.

#### Instances

Instances details

FromJSON CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods parseJSON :: Value -> Parser CreateFilesParams # parseJSONList :: Value -> Parser [CreateFilesParams] # omittedField :: Maybe CreateFilesParams #
ToJSON CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods toJSON :: CreateFilesParams -> Value # toEncoding :: CreateFilesParams -> Encoding # toJSONList :: [CreateFilesParams] -> Value # toEncodingList :: [CreateFilesParams] -> Encoding # omitField :: CreateFilesParams -> Bool #
NFData CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods rnf :: CreateFilesParams -> () #
Generic CreateFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams

Associated Types

type Rep CreateFilesParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams

type Rep CreateFilesParams = D1 ('MetaData "CreateFilesParams" "Language.LSP.Protocol.Internal.Types.CreateFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CreateFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileCreate])))

Methods

from :: CreateFilesParams -> Rep CreateFilesParams x #

to :: Rep CreateFilesParams x -> CreateFilesParams #

Show CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods showsPrec :: Int -> CreateFilesParams -> ShowS # show :: CreateFilesParams -> String # showList :: [CreateFilesParams] -> ShowS #
Eq CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods (==) :: CreateFilesParams -> CreateFilesParams -> Bool # (/=) :: CreateFilesParams -> CreateFilesParams -> Bool #
Ord CreateFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams

Methods

compare :: CreateFilesParams -> CreateFilesParams -> Ordering #

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

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

(>) :: CreateFilesParams -> CreateFilesParams -> Bool #

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

max :: CreateFilesParams -> CreateFilesParams -> CreateFilesParams #

min :: CreateFilesParams -> CreateFilesParams -> CreateFilesParams #

Hashable CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods hashWithSalt :: Int -> CreateFilesParams -> Int # hash :: CreateFilesParams -> Int #
Pretty CreateFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams Methods pretty :: CreateFilesParams -> Doc ann # prettyList :: [CreateFilesParams] -> Doc ann #
HasFiles CreateFilesParams [FileCreate] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods files :: Lens' CreateFilesParams [FileCreate] #
type Rep CreateFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFilesParams

type Rep CreateFilesParams = D1 ('MetaData "CreateFilesParams" "Language.LSP.Protocol.Internal.Types.CreateFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CreateFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileCreate])))

newtype Declaration #

The declaration of a symbol representation as one or many `Location`.

Constructors

Declaration (Location |? [Location]) |

#### Instances

Instances details

FromJSON Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods parseJSON :: Value -> Parser Declaration # parseJSONList :: Value -> Parser [Declaration] # omittedField :: Maybe Declaration #
ToJSON Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods toJSON :: Declaration -> Value # toEncoding :: Declaration -> Encoding # toJSONList :: [Declaration] -> Value # toEncodingList :: [Declaration] -> Encoding # omitField :: Declaration -> Bool #
NFData Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods rnf :: Declaration -> () #
Generic Declaration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Declaration

Associated Types

type Rep Declaration |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Declaration

type Rep Declaration = D1 ('MetaData "Declaration" "Language.LSP.Protocol.Internal.Types.Declaration" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Declaration" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Location |? [Location]))))

Methods

from :: Declaration -> Rep Declaration x #

to :: Rep Declaration x -> Declaration #

Show Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods showsPrec :: Int -> Declaration -> ShowS # show :: Declaration -> String # showList :: [Declaration] -> ShowS #
Eq Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods (==) :: Declaration -> Declaration -> Bool # (/=) :: Declaration -> Declaration -> Bool #
Ord Declaration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Declaration

Methods

compare :: Declaration -> Declaration -> Ordering #

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

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

(>) :: Declaration -> Declaration -> Bool #

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

max :: Declaration -> Declaration -> Declaration #

min :: Declaration -> Declaration -> Declaration #

Hashable Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods hashWithSalt :: Int -> Declaration -> Int # hash :: Declaration -> Int #
Pretty Declaration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Declaration Methods pretty :: Declaration -> Doc ann # prettyList :: [Declaration] -> Doc ann #
type Rep Declaration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Declaration

type Rep Declaration = D1 ('MetaData "Declaration" "Language.LSP.Protocol.Internal.Types.Declaration" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Declaration" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Location |? [Location]))))

newtype DeclarationLink #

Information about where a symbol is declared.

Provides additional metadata over normal `Location` declarations, including the range of the declaring symbol.

Servers should prefer returning `DeclarationLink` over `Declaration` if supported by the client.

Constructors

DeclarationLink LocationLink |

#### Instances

Instances details

FromJSON DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods parseJSON :: Value -> Parser DeclarationLink # parseJSONList :: Value -> Parser [DeclarationLink] # omittedField :: Maybe DeclarationLink #
ToJSON DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods toJSON :: DeclarationLink -> Value # toEncoding :: DeclarationLink -> Encoding # toJSONList :: [DeclarationLink] -> Value # toEncodingList :: [DeclarationLink] -> Encoding # omitField :: DeclarationLink -> Bool #
NFData DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods rnf :: DeclarationLink -> () #
Generic DeclarationLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink

Associated Types

type Rep DeclarationLink |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink

type Rep DeclarationLink = D1 ('MetaData "DeclarationLink" "Language.LSP.Protocol.Internal.Types.DeclarationLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DeclarationLink" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocationLink)))

Methods

from :: DeclarationLink -> Rep DeclarationLink x #

to :: Rep DeclarationLink x -> DeclarationLink #

Show DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods showsPrec :: Int -> DeclarationLink -> ShowS # show :: DeclarationLink -> String # showList :: [DeclarationLink] -> ShowS #
Eq DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods (==) :: DeclarationLink -> DeclarationLink -> Bool # (/=) :: DeclarationLink -> DeclarationLink -> Bool #
Ord DeclarationLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink

Methods

compare :: DeclarationLink -> DeclarationLink -> Ordering #

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

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

(>) :: DeclarationLink -> DeclarationLink -> Bool #

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

max :: DeclarationLink -> DeclarationLink -> DeclarationLink #

min :: DeclarationLink -> DeclarationLink -> DeclarationLink #

Hashable DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods hashWithSalt :: Int -> DeclarationLink -> Int # hash :: DeclarationLink -> Int #
Pretty DeclarationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink Methods pretty :: DeclarationLink -> Doc ann # prettyList :: [DeclarationLink] -> Doc ann #
type Rep DeclarationLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationLink

type Rep DeclarationLink = D1 ('MetaData "DeclarationLink" "Language.LSP.Protocol.Internal.Types.DeclarationLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DeclarationLink" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocationLink)))

data DeclarationParams #

Constructors

DeclarationParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods parseJSON :: Value -> Parser DeclarationParams # parseJSONList :: Value -> Parser [DeclarationParams] # omittedField :: Maybe DeclarationParams #
ToJSON DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods toJSON :: DeclarationParams -> Value # toEncoding :: DeclarationParams -> Encoding # toJSONList :: [DeclarationParams] -> Value # toEncodingList :: [DeclarationParams] -> Encoding # omitField :: DeclarationParams -> Bool #
NFData DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods rnf :: DeclarationParams -> () #
Generic DeclarationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams

Associated Types

type Rep DeclarationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams

type Rep DeclarationParams = D1 ('MetaData "DeclarationParams" "Language.LSP.Protocol.Internal.Types.DeclarationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: DeclarationParams -> Rep DeclarationParams x #

to :: Rep DeclarationParams x -> DeclarationParams #

Show DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods showsPrec :: Int -> DeclarationParams -> ShowS # show :: DeclarationParams -> String # showList :: [DeclarationParams] -> ShowS #
Eq DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods (==) :: DeclarationParams -> DeclarationParams -> Bool # (/=) :: DeclarationParams -> DeclarationParams -> Bool #
Ord DeclarationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams

Methods

compare :: DeclarationParams -> DeclarationParams -> Ordering #

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

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

(>) :: DeclarationParams -> DeclarationParams -> Bool #

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

max :: DeclarationParams -> DeclarationParams -> DeclarationParams #

min :: DeclarationParams -> DeclarationParams -> DeclarationParams #

Hashable DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods hashWithSalt :: Int -> DeclarationParams -> Int # hash :: DeclarationParams -> Int #
Pretty DeclarationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams Methods pretty :: DeclarationParams -> Doc ann # prettyList :: [DeclarationParams] -> Doc ann #
HasPosition DeclarationParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DeclarationParams Position #
HasTextDocument DeclarationParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DeclarationParams TextDocumentIdentifier #
HasPartialResultToken DeclarationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DeclarationParams (Maybe ProgressToken) #
HasWorkDoneToken DeclarationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DeclarationParams (Maybe ProgressToken) #
type Rep DeclarationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationParams

type Rep DeclarationParams = D1 ('MetaData "DeclarationParams" "Language.LSP.Protocol.Internal.Types.DeclarationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data DeclarationRegistrationOptions #

Constructors

DeclarationRegistrationOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods parseJSON :: Value -> Parser DeclarationRegistrationOptions # parseJSONList :: Value -> Parser [DeclarationRegistrationOptions] # omittedField :: Maybe DeclarationRegistrationOptions #
ToJSON DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods toJSON :: DeclarationRegistrationOptions -> Value # toEncoding :: DeclarationRegistrationOptions -> Encoding # toJSONList :: [DeclarationRegistrationOptions] -> Value # toEncodingList :: [DeclarationRegistrationOptions] -> Encoding # omitField :: DeclarationRegistrationOptions -> Bool #
NFData DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods rnf :: DeclarationRegistrationOptions -> () #
Generic DeclarationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions

Associated Types

type Rep DeclarationRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions

type Rep DeclarationRegistrationOptions = D1 ('MetaData "DeclarationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: DeclarationRegistrationOptions -> Rep DeclarationRegistrationOptions x #

to :: Rep DeclarationRegistrationOptions x -> DeclarationRegistrationOptions #

Show DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods showsPrec :: Int -> DeclarationRegistrationOptions -> ShowS # show :: DeclarationRegistrationOptions -> String # showList :: [DeclarationRegistrationOptions] -> ShowS #
Eq DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods (==) :: DeclarationRegistrationOptions -> DeclarationRegistrationOptions -> Bool # (/=) :: DeclarationRegistrationOptions -> DeclarationRegistrationOptions -> Bool #
Ord DeclarationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions

Methods

compare :: DeclarationRegistrationOptions -> DeclarationRegistrationOptions -> Ordering #

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

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

(>) :: DeclarationRegistrationOptions -> DeclarationRegistrationOptions -> Bool #

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

max :: DeclarationRegistrationOptions -> DeclarationRegistrationOptions -> DeclarationRegistrationOptions #

min :: DeclarationRegistrationOptions -> DeclarationRegistrationOptions -> DeclarationRegistrationOptions #

Hashable DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods hashWithSalt :: Int -> DeclarationRegistrationOptions -> Int # hash :: DeclarationRegistrationOptions -> Int #
Pretty DeclarationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions Methods pretty :: DeclarationRegistrationOptions -> Doc ann # prettyList :: [DeclarationRegistrationOptions] -> Doc ann #
HasDeclarationProvider ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods declarationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) #
HasId DeclarationRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' DeclarationRegistrationOptions (Maybe Text) #
HasWorkDoneProgress DeclarationRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DeclarationRegistrationOptions (Maybe Bool) #
HasDocumentSelector DeclarationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DeclarationRegistrationOptions (DocumentSelector |? Null) #
type Rep DeclarationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions

type Rep DeclarationRegistrationOptions = D1 ('MetaData "DeclarationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DeclarationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newtype Definition #

The definition of a symbol represented as one or many `Location`. For most programming languages there is only one location at which a symbol is defined.

Servers should prefer returning `DefinitionLink` over `Definition` if supported by the client.

Constructors

Definition (Location |? [Location]) |

#### Instances

Instances details

FromJSON Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods parseJSON :: Value -> Parser Definition # parseJSONList :: Value -> Parser [Definition] # omittedField :: Maybe Definition #
ToJSON Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods toJSON :: Definition -> Value # toEncoding :: Definition -> Encoding # toJSONList :: [Definition] -> Value # toEncodingList :: [Definition] -> Encoding # omitField :: Definition -> Bool #
NFData Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods rnf :: Definition -> () #
Generic Definition # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Definition

Associated Types

type Rep Definition |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition type Rep Definition = D1 ('MetaData "Definition" "Language.LSP.Protocol.Internal.Types.Definition" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Definition" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Location |? [Location]))))

Methods

from :: Definition -> Rep Definition x #

to :: Rep Definition x -> Definition #

Show Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods showsPrec :: Int -> Definition -> ShowS # show :: Definition -> String # showList :: [Definition] -> ShowS #
Eq Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods (==) :: Definition -> Definition -> Bool # (/=) :: Definition -> Definition -> Bool #
Ord Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods compare :: Definition -> Definition -> Ordering # (<) :: Definition -> Definition -> Bool # (<=) :: Definition -> Definition -> Bool # (>) :: Definition -> Definition -> Bool # (>=) :: Definition -> Definition -> Bool # max :: Definition -> Definition -> Definition # min :: Definition -> Definition -> Definition #
Hashable Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods hashWithSalt :: Int -> Definition -> Int # hash :: Definition -> Int #
Pretty Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition Methods pretty :: Definition -> Doc ann # prettyList :: [Definition] -> Doc ann #
type Rep Definition # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Definition type Rep Definition = D1 ('MetaData "Definition" "Language.LSP.Protocol.Internal.Types.Definition" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Definition" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Location |? [Location]))))

newtype DefinitionLink #

Information about where a symbol is defined.

Provides additional metadata over normal `Location` definitions, including the range of the defining symbol

Constructors

DefinitionLink LocationLink |

#### Instances

Instances details

FromJSON DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods parseJSON :: Value -> Parser DefinitionLink # parseJSONList :: Value -> Parser [DefinitionLink] # omittedField :: Maybe DefinitionLink #
ToJSON DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods toJSON :: DefinitionLink -> Value # toEncoding :: DefinitionLink -> Encoding # toJSONList :: [DefinitionLink] -> Value # toEncodingList :: [DefinitionLink] -> Encoding # omitField :: DefinitionLink -> Bool #
NFData DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods rnf :: DefinitionLink -> () #
Generic DefinitionLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink

Associated Types

type Rep DefinitionLink |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink

type Rep DefinitionLink = D1 ('MetaData "DefinitionLink" "Language.LSP.Protocol.Internal.Types.DefinitionLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DefinitionLink" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocationLink)))

Methods

from :: DefinitionLink -> Rep DefinitionLink x #

to :: Rep DefinitionLink x -> DefinitionLink #

Show DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods showsPrec :: Int -> DefinitionLink -> ShowS # show :: DefinitionLink -> String # showList :: [DefinitionLink] -> ShowS #
Eq DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods (==) :: DefinitionLink -> DefinitionLink -> Bool # (/=) :: DefinitionLink -> DefinitionLink -> Bool #
Ord DefinitionLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink

Methods

compare :: DefinitionLink -> DefinitionLink -> Ordering #

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

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

(>) :: DefinitionLink -> DefinitionLink -> Bool #

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

max :: DefinitionLink -> DefinitionLink -> DefinitionLink #

min :: DefinitionLink -> DefinitionLink -> DefinitionLink #

Hashable DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods hashWithSalt :: Int -> DefinitionLink -> Int # hash :: DefinitionLink -> Int #
Pretty DefinitionLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink Methods pretty :: DefinitionLink -> Doc ann # prettyList :: [DefinitionLink] -> Doc ann #
type Rep DefinitionLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionLink

type Rep DefinitionLink = D1 ('MetaData "DefinitionLink" "Language.LSP.Protocol.Internal.Types.DefinitionLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DefinitionLink" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LocationLink)))

data DefinitionParams #

Parameters for a `DefinitionRequest`.

Constructors

DefinitionParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods parseJSON :: Value -> Parser DefinitionParams # parseJSONList :: Value -> Parser [DefinitionParams] # omittedField :: Maybe DefinitionParams #
ToJSON DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods toJSON :: DefinitionParams -> Value # toEncoding :: DefinitionParams -> Encoding # toJSONList :: [DefinitionParams] -> Value # toEncodingList :: [DefinitionParams] -> Encoding # omitField :: DefinitionParams -> Bool #
NFData DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods rnf :: DefinitionParams -> () #
Generic DefinitionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams

Associated Types

type Rep DefinitionParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams

type Rep DefinitionParams = D1 ('MetaData "DefinitionParams" "Language.LSP.Protocol.Internal.Types.DefinitionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: DefinitionParams -> Rep DefinitionParams x #

to :: Rep DefinitionParams x -> DefinitionParams #

Show DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods showsPrec :: Int -> DefinitionParams -> ShowS # show :: DefinitionParams -> String # showList :: [DefinitionParams] -> ShowS #
Eq DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods (==) :: DefinitionParams -> DefinitionParams -> Bool # (/=) :: DefinitionParams -> DefinitionParams -> Bool #
Ord DefinitionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams

Methods

compare :: DefinitionParams -> DefinitionParams -> Ordering #

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

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

(>) :: DefinitionParams -> DefinitionParams -> Bool #

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

max :: DefinitionParams -> DefinitionParams -> DefinitionParams #

min :: DefinitionParams -> DefinitionParams -> DefinitionParams #

Hashable DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods hashWithSalt :: Int -> DefinitionParams -> Int # hash :: DefinitionParams -> Int #
Pretty DefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams Methods pretty :: DefinitionParams -> Doc ann # prettyList :: [DefinitionParams] -> Doc ann #
HasPosition DefinitionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DefinitionParams Position #
HasTextDocument DefinitionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DefinitionParams TextDocumentIdentifier #
HasPartialResultToken DefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DefinitionParams (Maybe ProgressToken) #
HasWorkDoneToken DefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DefinitionParams (Maybe ProgressToken) #
type Rep DefinitionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionParams

type Rep DefinitionParams = D1 ('MetaData "DefinitionParams" "Language.LSP.Protocol.Internal.Types.DefinitionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data DefinitionRegistrationOptions #

Registration options for a `DefinitionRequest`.

Constructors

DefinitionRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods parseJSON :: Value -> Parser DefinitionRegistrationOptions # parseJSONList :: Value -> Parser [DefinitionRegistrationOptions] # omittedField :: Maybe DefinitionRegistrationOptions #
ToJSON DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods toJSON :: DefinitionRegistrationOptions -> Value # toEncoding :: DefinitionRegistrationOptions -> Encoding # toJSONList :: [DefinitionRegistrationOptions] -> Value # toEncodingList :: [DefinitionRegistrationOptions] -> Encoding # omitField :: DefinitionRegistrationOptions -> Bool #
NFData DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods rnf :: DefinitionRegistrationOptions -> () #
Generic DefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions

Associated Types

type Rep DefinitionRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions

type Rep DefinitionRegistrationOptions = D1 ('MetaData "DefinitionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DefinitionRegistrationOptions -> Rep DefinitionRegistrationOptions x #

to :: Rep DefinitionRegistrationOptions x -> DefinitionRegistrationOptions #

Show DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods showsPrec :: Int -> DefinitionRegistrationOptions -> ShowS # show :: DefinitionRegistrationOptions -> String # showList :: [DefinitionRegistrationOptions] -> ShowS #
Eq DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods (==) :: DefinitionRegistrationOptions -> DefinitionRegistrationOptions -> Bool # (/=) :: DefinitionRegistrationOptions -> DefinitionRegistrationOptions -> Bool #
Ord DefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions

Methods

compare :: DefinitionRegistrationOptions -> DefinitionRegistrationOptions -> Ordering #

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

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

(>) :: DefinitionRegistrationOptions -> DefinitionRegistrationOptions -> Bool #

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

max :: DefinitionRegistrationOptions -> DefinitionRegistrationOptions -> DefinitionRegistrationOptions #

min :: DefinitionRegistrationOptions -> DefinitionRegistrationOptions -> DefinitionRegistrationOptions #

Hashable DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods hashWithSalt :: Int -> DefinitionRegistrationOptions -> Int # hash :: DefinitionRegistrationOptions -> Int #
Pretty DefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions Methods pretty :: DefinitionRegistrationOptions -> Doc ann # prettyList :: [DefinitionRegistrationOptions] -> Doc ann #
HasWorkDoneProgress DefinitionRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DefinitionRegistrationOptions (Maybe Bool) #
HasDocumentSelector DefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DefinitionRegistrationOptions (DocumentSelector |? Null) #
type Rep DefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions

type Rep DefinitionRegistrationOptions = D1 ('MetaData "DefinitionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DefinitionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DeleteFilesParams #

The parameters sent in notifications/requests for user-initiated deletes of files.

Since: 3.16.0

Constructors

DeleteFilesParams |

Fields

- _files :: [FileDelete]

  An array of all files/folders deleted in this operation.

#### Instances

Instances details

FromJSON DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods parseJSON :: Value -> Parser DeleteFilesParams # parseJSONList :: Value -> Parser [DeleteFilesParams] # omittedField :: Maybe DeleteFilesParams #
ToJSON DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods toJSON :: DeleteFilesParams -> Value # toEncoding :: DeleteFilesParams -> Encoding # toJSONList :: [DeleteFilesParams] -> Value # toEncodingList :: [DeleteFilesParams] -> Encoding # omitField :: DeleteFilesParams -> Bool #
NFData DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods rnf :: DeleteFilesParams -> () #
Generic DeleteFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams

Associated Types

type Rep DeleteFilesParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams

type Rep DeleteFilesParams = D1 ('MetaData "DeleteFilesParams" "Language.LSP.Protocol.Internal.Types.DeleteFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeleteFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileDelete])))

Methods

from :: DeleteFilesParams -> Rep DeleteFilesParams x #

to :: Rep DeleteFilesParams x -> DeleteFilesParams #

Show DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods showsPrec :: Int -> DeleteFilesParams -> ShowS # show :: DeleteFilesParams -> String # showList :: [DeleteFilesParams] -> ShowS #
Eq DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods (==) :: DeleteFilesParams -> DeleteFilesParams -> Bool # (/=) :: DeleteFilesParams -> DeleteFilesParams -> Bool #
Ord DeleteFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams

Methods

compare :: DeleteFilesParams -> DeleteFilesParams -> Ordering #

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

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

(>) :: DeleteFilesParams -> DeleteFilesParams -> Bool #

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

max :: DeleteFilesParams -> DeleteFilesParams -> DeleteFilesParams #

min :: DeleteFilesParams -> DeleteFilesParams -> DeleteFilesParams #

Hashable DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods hashWithSalt :: Int -> DeleteFilesParams -> Int # hash :: DeleteFilesParams -> Int #
Pretty DeleteFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams Methods pretty :: DeleteFilesParams -> Doc ann # prettyList :: [DeleteFilesParams] -> Doc ann #
HasFiles DeleteFilesParams [FileDelete] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods files :: Lens' DeleteFilesParams [FileDelete] #
type Rep DeleteFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFilesParams

type Rep DeleteFilesParams = D1 ('MetaData "DeleteFilesParams" "Language.LSP.Protocol.Internal.Types.DeleteFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeleteFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileDelete])))

data DiagnosticRegistrationOptions #

Diagnostic registration options.

Since: 3.17.0

Constructors

DiagnosticRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _identifier :: Maybe Text

  An optional identifier under which the diagnostics are managed by the client.

- _interFileDependencies :: Bool

  Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.

- _workspaceDiagnostics :: Bool

  The server provides support for workspace diagnostics as well.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods parseJSON :: Value -> Parser DiagnosticRegistrationOptions # parseJSONList :: Value -> Parser [DiagnosticRegistrationOptions] # omittedField :: Maybe DiagnosticRegistrationOptions #
ToJSON DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods toJSON :: DiagnosticRegistrationOptions -> Value # toEncoding :: DiagnosticRegistrationOptions -> Encoding # toJSONList :: [DiagnosticRegistrationOptions] -> Value # toEncodingList :: [DiagnosticRegistrationOptions] -> Encoding # omitField :: DiagnosticRegistrationOptions -> Bool #
NFData DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods rnf :: DiagnosticRegistrationOptions -> () #
Generic DiagnosticRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions

Associated Types

type Rep DiagnosticRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions

type Rep DiagnosticRegistrationOptions = D1 ('MetaData "DiagnosticRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "_interFileDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_workspaceDiagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

Methods

from :: DiagnosticRegistrationOptions -> Rep DiagnosticRegistrationOptions x #

to :: Rep DiagnosticRegistrationOptions x -> DiagnosticRegistrationOptions #

Show DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods showsPrec :: Int -> DiagnosticRegistrationOptions -> ShowS # show :: DiagnosticRegistrationOptions -> String # showList :: [DiagnosticRegistrationOptions] -> ShowS #
Eq DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods (==) :: DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions -> Bool # (/=) :: DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions -> Bool #
Ord DiagnosticRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions

Methods

compare :: DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions -> Ordering #

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

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

(>) :: DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions -> Bool #

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

max :: DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions #

min :: DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions -> DiagnosticRegistrationOptions #

Hashable DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods hashWithSalt :: Int -> DiagnosticRegistrationOptions -> Int # hash :: DiagnosticRegistrationOptions -> Int #
Pretty DiagnosticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions Methods pretty :: DiagnosticRegistrationOptions -> Doc ann # prettyList :: [DiagnosticRegistrationOptions] -> Doc ann #
HasInterFileDependencies DiagnosticRegistrationOptions Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods interFileDependencies :: Lens' DiagnosticRegistrationOptions Bool #
HasWorkspaceDiagnostics DiagnosticRegistrationOptions Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceDiagnostics :: Lens' DiagnosticRegistrationOptions Bool #
HasDiagnosticProvider ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnosticProvider :: Lens' ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) #
HasId DiagnosticRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' DiagnosticRegistrationOptions (Maybe Text) #
HasIdentifier DiagnosticRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods identifier :: Lens' DiagnosticRegistrationOptions (Maybe Text) #
HasWorkDoneProgress DiagnosticRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DiagnosticRegistrationOptions (Maybe Bool) #
HasDocumentSelector DiagnosticRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DiagnosticRegistrationOptions (DocumentSelector |? Null) #
type Rep DiagnosticRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions

type Rep DiagnosticRegistrationOptions = D1 ('MetaData "DiagnosticRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DiagnosticRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "_interFileDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: (S1 ('MetaSel ('Just "_workspaceDiagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

data DiagnosticServerCancellationData #

Cancellation data returned from a diagnostic request.

Since: 3.17.0

Constructors

DiagnosticServerCancellationData |

Fields

- _retriggerRequest :: Bool

#### Instances

Instances details

FromJSON DiagnosticServerCancellationData # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData Methods parseJSON :: Value -> Parser DiagnosticServerCancellationData # parseJSONList :: Value -> Parser [DiagnosticServerCancellationData] # omittedField :: Maybe DiagnosticServerCancellationData #
ToJSON DiagnosticServerCancellationData # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData

Methods

toJSON :: DiagnosticServerCancellationData -> Value #

toEncoding :: DiagnosticServerCancellationData -> Encoding #

toJSONList :: [DiagnosticServerCancellationData] -> Value #

toEncodingList :: [DiagnosticServerCancellationData] -> Encoding #

omitField :: DiagnosticServerCancellationData -> Bool #

NFData DiagnosticServerCancellationData # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData Methods rnf :: DiagnosticServerCancellationData -> () #
Generic DiagnosticServerCancellationData # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData

Associated Types

type Rep DiagnosticServerCancellationData |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData

type Rep DiagnosticServerCancellationData = D1 ('MetaData "DiagnosticServerCancellationData" "Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticServerCancellationData" 'PrefixI 'True) (S1 ('MetaSel ('Just "_retriggerRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

Methods

from :: DiagnosticServerCancellationData -> Rep DiagnosticServerCancellationData x #

to :: Rep DiagnosticServerCancellationData x -> DiagnosticServerCancellationData #

Show DiagnosticServerCancellationData # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData Methods showsPrec :: Int -> DiagnosticServerCancellationData -> ShowS # show :: DiagnosticServerCancellationData -> String # showList :: [DiagnosticServerCancellationData] -> ShowS #
Eq DiagnosticServerCancellationData # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData Methods (==) :: DiagnosticServerCancellationData -> DiagnosticServerCancellationData -> Bool # (/=) :: DiagnosticServerCancellationData -> DiagnosticServerCancellationData -> Bool #
Ord DiagnosticServerCancellationData # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData

Methods

compare :: DiagnosticServerCancellationData -> DiagnosticServerCancellationData -> Ordering #

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

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

(>) :: DiagnosticServerCancellationData -> DiagnosticServerCancellationData -> Bool #

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

max :: DiagnosticServerCancellationData -> DiagnosticServerCancellationData -> DiagnosticServerCancellationData #

min :: DiagnosticServerCancellationData -> DiagnosticServerCancellationData -> DiagnosticServerCancellationData #

Hashable DiagnosticServerCancellationData # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData Methods hashWithSalt :: Int -> DiagnosticServerCancellationData -> Int # hash :: DiagnosticServerCancellationData -> Int #
Pretty DiagnosticServerCancellationData # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData Methods pretty :: DiagnosticServerCancellationData -> Doc ann # prettyList :: [DiagnosticServerCancellationData] -> Doc ann #
HasRetriggerRequest DiagnosticServerCancellationData Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods retriggerRequest :: Lens' DiagnosticServerCancellationData Bool #
type Rep DiagnosticServerCancellationData # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData

type Rep DiagnosticServerCancellationData = D1 ('MetaData "DiagnosticServerCancellationData" "Language.LSP.Protocol.Internal.Types.DiagnosticServerCancellationData" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticServerCancellationData" 'PrefixI 'True) (S1 ('MetaSel ('Just "_retriggerRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data DidChangeConfigurationParams #

The parameters of a change configuration notification.

Constructors

DidChangeConfigurationParams |

Fields

- _settings :: Value

  The actual changed settings

#### Instances

Instances details

FromJSON DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods parseJSON :: Value -> Parser DidChangeConfigurationParams # parseJSONList :: Value -> Parser [DidChangeConfigurationParams] # omittedField :: Maybe DidChangeConfigurationParams #
ToJSON DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods toJSON :: DidChangeConfigurationParams -> Value # toEncoding :: DidChangeConfigurationParams -> Encoding # toJSONList :: [DidChangeConfigurationParams] -> Value # toEncodingList :: [DidChangeConfigurationParams] -> Encoding # omitField :: DidChangeConfigurationParams -> Bool #
NFData DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods rnf :: DidChangeConfigurationParams -> () #
Generic DidChangeConfigurationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams

Associated Types

type Rep DidChangeConfigurationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams

type Rep DidChangeConfigurationParams = D1 ('MetaData "DidChangeConfigurationParams" "Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeConfigurationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)))

Methods

from :: DidChangeConfigurationParams -> Rep DidChangeConfigurationParams x #

to :: Rep DidChangeConfigurationParams x -> DidChangeConfigurationParams #

Show DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods showsPrec :: Int -> DidChangeConfigurationParams -> ShowS # show :: DidChangeConfigurationParams -> String # showList :: [DidChangeConfigurationParams] -> ShowS #
Eq DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods (==) :: DidChangeConfigurationParams -> DidChangeConfigurationParams -> Bool # (/=) :: DidChangeConfigurationParams -> DidChangeConfigurationParams -> Bool #
Ord DidChangeConfigurationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams

Methods

compare :: DidChangeConfigurationParams -> DidChangeConfigurationParams -> Ordering #

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

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

(>) :: DidChangeConfigurationParams -> DidChangeConfigurationParams -> Bool #

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

max :: DidChangeConfigurationParams -> DidChangeConfigurationParams -> DidChangeConfigurationParams #

min :: DidChangeConfigurationParams -> DidChangeConfigurationParams -> DidChangeConfigurationParams #

Hashable DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods hashWithSalt :: Int -> DidChangeConfigurationParams -> Int # hash :: DidChangeConfigurationParams -> Int #
Pretty DidChangeConfigurationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams Methods pretty :: DidChangeConfigurationParams -> Doc ann # prettyList :: [DidChangeConfigurationParams] -> Doc ann #
HasSettings DidChangeConfigurationParams Value # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods settings :: Lens' DidChangeConfigurationParams Value #
type Rep DidChangeConfigurationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams

type Rep DidChangeConfigurationParams = D1 ('MetaData "DidChangeConfigurationParams" "Language.LSP.Protocol.Internal.Types.DidChangeConfigurationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeConfigurationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_settings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)))

data DidChangeConfigurationRegistrationOptions #

Constructors

DidChangeConfigurationRegistrationOptions |

Fields

- _section :: Maybe (Text |? [Text])

#### Instances

Instances details

FromJSON DidChangeConfigurationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions Methods parseJSON :: Value -> Parser DidChangeConfigurationRegistrationOptions # parseJSONList :: Value -> Parser [DidChangeConfigurationRegistrationOptions] # omittedField :: Maybe DidChangeConfigurationRegistrationOptions #
ToJSON DidChangeConfigurationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions

Methods

toJSON :: DidChangeConfigurationRegistrationOptions -> Value #

toEncoding :: DidChangeConfigurationRegistrationOptions -> Encoding #

toJSONList :: [DidChangeConfigurationRegistrationOptions] -> Value #

toEncodingList :: [DidChangeConfigurationRegistrationOptions] -> Encoding #

omitField :: DidChangeConfigurationRegistrationOptions -> Bool #

NFData DidChangeConfigurationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions Methods rnf :: DidChangeConfigurationRegistrationOptions -> () #
Generic DidChangeConfigurationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions

Associated Types

type Rep DidChangeConfigurationRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions

type Rep DidChangeConfigurationRegistrationOptions = D1 ('MetaData "DidChangeConfigurationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeConfigurationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_section") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? [Text])))))

Methods

from :: DidChangeConfigurationRegistrationOptions -> Rep DidChangeConfigurationRegistrationOptions x #

to :: Rep DidChangeConfigurationRegistrationOptions x -> DidChangeConfigurationRegistrationOptions #

Show DidChangeConfigurationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions Methods showsPrec :: Int -> DidChangeConfigurationRegistrationOptions -> ShowS # show :: DidChangeConfigurationRegistrationOptions -> String # showList :: [DidChangeConfigurationRegistrationOptions] -> ShowS #
Eq DidChangeConfigurationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions Methods (==) :: DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions -> Bool # (/=) :: DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions -> Bool #
Ord DidChangeConfigurationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions

Methods

compare :: DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions -> Ordering #

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

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

(>) :: DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions -> Bool #

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

max :: DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions #

min :: DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions -> DidChangeConfigurationRegistrationOptions #

Hashable DidChangeConfigurationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions Methods hashWithSalt :: Int -> DidChangeConfigurationRegistrationOptions -> Int # hash :: DidChangeConfigurationRegistrationOptions -> Int #
Pretty DidChangeConfigurationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions Methods pretty :: DidChangeConfigurationRegistrationOptions -> Doc ann # prettyList :: [DidChangeConfigurationRegistrationOptions] -> Doc ann #
HasSection DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods section :: Lens' DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text])) #
type Rep DidChangeConfigurationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions

type Rep DidChangeConfigurationRegistrationOptions = D1 ('MetaData "DidChangeConfigurationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DidChangeConfigurationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeConfigurationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_section") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? [Text])))))

data DidChangeNotebookDocumentParams #

The params sent in a change notebook document notification.

Since: 3.17.0

Constructors

DidChangeNotebookDocumentParams |

Fields

- _notebookDocument :: VersionedNotebookDocumentIdentifier

  The notebook document that did change. The version number points to the version after all provided changes have been applied. If only the text document content of a cell changes the notebook version doesn't necessarily have to change.

- _change :: NotebookDocumentChangeEvent

  The actual changes to the notebook document.

  The changes describe single state changes to the notebook document. So if there are two changes c1 (at array index 0) and c2 (at array index 1) for a notebook in state S then c1 moves the notebook 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 notebook using change events use the following approach: - start with the same initial content - apply the 'notebookDocument/didChange' notifications in the order you receive them. - apply the `NotebookChangeEvent`s in a single notification in the order you receive them.

#### Instances

Instances details

FromJSON DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods parseJSON :: Value -> Parser DidChangeNotebookDocumentParams # parseJSONList :: Value -> Parser [DidChangeNotebookDocumentParams] # omittedField :: Maybe DidChangeNotebookDocumentParams #
ToJSON DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods toJSON :: DidChangeNotebookDocumentParams -> Value # toEncoding :: DidChangeNotebookDocumentParams -> Encoding # toJSONList :: [DidChangeNotebookDocumentParams] -> Value # toEncodingList :: [DidChangeNotebookDocumentParams] -> Encoding # omitField :: DidChangeNotebookDocumentParams -> Bool #
NFData DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods rnf :: DidChangeNotebookDocumentParams -> () #
Generic DidChangeNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams

Associated Types

type Rep DidChangeNotebookDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams

type Rep DidChangeNotebookDocumentParams = D1 ('MetaData "DidChangeNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VersionedNotebookDocumentIdentifier) :*: S1 ('MetaSel ('Just "_change") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentChangeEvent)))

Methods

from :: DidChangeNotebookDocumentParams -> Rep DidChangeNotebookDocumentParams x #

to :: Rep DidChangeNotebookDocumentParams x -> DidChangeNotebookDocumentParams #

Show DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods showsPrec :: Int -> DidChangeNotebookDocumentParams -> ShowS # show :: DidChangeNotebookDocumentParams -> String # showList :: [DidChangeNotebookDocumentParams] -> ShowS #
Eq DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods (==) :: DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams -> Bool # (/=) :: DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams -> Bool #
Ord DidChangeNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams

Methods

compare :: DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams -> Ordering #

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

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

(>) :: DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams -> Bool #

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

max :: DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams #

min :: DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams -> DidChangeNotebookDocumentParams #

Hashable DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods hashWithSalt :: Int -> DidChangeNotebookDocumentParams -> Int # hash :: DidChangeNotebookDocumentParams -> Int #
Pretty DidChangeNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams Methods pretty :: DidChangeNotebookDocumentParams -> Doc ann # prettyList :: [DidChangeNotebookDocumentParams] -> Doc ann #
HasChange DidChangeNotebookDocumentParams NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods change :: Lens' DidChangeNotebookDocumentParams NotebookDocumentChangeEvent #
HasNotebookDocument DidChangeNotebookDocumentParams VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidChangeNotebookDocumentParams VersionedNotebookDocumentIdentifier #
type Rep DidChangeNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams

type Rep DidChangeNotebookDocumentParams = D1 ('MetaData "DidChangeNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidChangeNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VersionedNotebookDocumentIdentifier) :*: S1 ('MetaSel ('Just "_change") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentChangeEvent)))

data DidChangeTextDocumentParams #

The change text document notification's parameters.

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 :: [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 receive them. - apply the `TextDocumentContentChangeEvent`s in a single notification in the order you receive them.

#### Instances

Instances details

FromJSON DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods parseJSON :: Value -> Parser DidChangeTextDocumentParams # parseJSONList :: Value -> Parser [DidChangeTextDocumentParams] # omittedField :: Maybe DidChangeTextDocumentParams #
ToJSON DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods toJSON :: DidChangeTextDocumentParams -> Value # toEncoding :: DidChangeTextDocumentParams -> Encoding # toJSONList :: [DidChangeTextDocumentParams] -> Value # toEncodingList :: [DidChangeTextDocumentParams] -> Encoding # omitField :: DidChangeTextDocumentParams -> Bool #
NFData DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods rnf :: DidChangeTextDocumentParams -> () #
Generic DidChangeTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams

Associated Types

type Rep DidChangeTextDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams

type Rep DidChangeTextDocumentParams = D1 ('MetaData "DidChangeTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VersionedTextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_contentChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentContentChangeEvent])))

Methods

from :: DidChangeTextDocumentParams -> Rep DidChangeTextDocumentParams x #

to :: Rep DidChangeTextDocumentParams x -> DidChangeTextDocumentParams #

Show DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods showsPrec :: Int -> DidChangeTextDocumentParams -> ShowS # show :: DidChangeTextDocumentParams -> String # showList :: [DidChangeTextDocumentParams] -> ShowS #
Eq DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods (==) :: DidChangeTextDocumentParams -> DidChangeTextDocumentParams -> Bool # (/=) :: DidChangeTextDocumentParams -> DidChangeTextDocumentParams -> Bool #
Ord DidChangeTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams

Methods

compare :: DidChangeTextDocumentParams -> DidChangeTextDocumentParams -> Ordering #

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

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

(>) :: DidChangeTextDocumentParams -> DidChangeTextDocumentParams -> Bool #

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

max :: DidChangeTextDocumentParams -> DidChangeTextDocumentParams -> DidChangeTextDocumentParams #

min :: DidChangeTextDocumentParams -> DidChangeTextDocumentParams -> DidChangeTextDocumentParams #

Hashable DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods hashWithSalt :: Int -> DidChangeTextDocumentParams -> Int # hash :: DidChangeTextDocumentParams -> Int #
Pretty DidChangeTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams Methods pretty :: DidChangeTextDocumentParams -> Doc ann # prettyList :: [DidChangeTextDocumentParams] -> Doc ann #
HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidChangeTextDocumentParams VersionedTextDocumentIdentifier #
HasContentChanges DidChangeTextDocumentParams [TextDocumentContentChangeEvent] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contentChanges :: Lens' DidChangeTextDocumentParams [TextDocumentContentChangeEvent] #
type Rep DidChangeTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams

type Rep DidChangeTextDocumentParams = D1 ('MetaData "DidChangeTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidChangeTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VersionedTextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_contentChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentContentChangeEvent])))

data DidChangeWatchedFilesParams #

The watched files change notification's parameters.

Constructors

DidChangeWatchedFilesParams |

Fields

- _changes :: [FileEvent]

  The actual file events.

#### Instances

Instances details

FromJSON DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods parseJSON :: Value -> Parser DidChangeWatchedFilesParams # parseJSONList :: Value -> Parser [DidChangeWatchedFilesParams] # omittedField :: Maybe DidChangeWatchedFilesParams #
ToJSON DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods toJSON :: DidChangeWatchedFilesParams -> Value # toEncoding :: DidChangeWatchedFilesParams -> Encoding # toJSONList :: [DidChangeWatchedFilesParams] -> Value # toEncodingList :: [DidChangeWatchedFilesParams] -> Encoding # omitField :: DidChangeWatchedFilesParams -> Bool #
NFData DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods rnf :: DidChangeWatchedFilesParams -> () #
Generic DidChangeWatchedFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams

Associated Types

type Rep DidChangeWatchedFilesParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams

type Rep DidChangeWatchedFilesParams = D1 ('MetaData "DidChangeWatchedFilesParams" "Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWatchedFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileEvent])))

Methods

from :: DidChangeWatchedFilesParams -> Rep DidChangeWatchedFilesParams x #

to :: Rep DidChangeWatchedFilesParams x -> DidChangeWatchedFilesParams #

Show DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods showsPrec :: Int -> DidChangeWatchedFilesParams -> ShowS # show :: DidChangeWatchedFilesParams -> String # showList :: [DidChangeWatchedFilesParams] -> ShowS #
Eq DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods (==) :: DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams -> Bool # (/=) :: DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams -> Bool #
Ord DidChangeWatchedFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams

Methods

compare :: DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams -> Ordering #

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

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

(>) :: DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams -> Bool #

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

max :: DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams #

min :: DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams -> DidChangeWatchedFilesParams #

Hashable DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods hashWithSalt :: Int -> DidChangeWatchedFilesParams -> Int # hash :: DidChangeWatchedFilesParams -> Int #
Pretty DidChangeWatchedFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams Methods pretty :: DidChangeWatchedFilesParams -> Doc ann # prettyList :: [DidChangeWatchedFilesParams] -> Doc ann #
HasChanges DidChangeWatchedFilesParams [FileEvent] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' DidChangeWatchedFilesParams [FileEvent] #
type Rep DidChangeWatchedFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams

type Rep DidChangeWatchedFilesParams = D1 ('MetaData "DidChangeWatchedFilesParams" "Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWatchedFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileEvent])))

data DidChangeWatchedFilesRegistrationOptions #

Describe options to be used when registered for text document change events.

Constructors

DidChangeWatchedFilesRegistrationOptions |

Fields

- _watchers :: [FileSystemWatcher]

  The watchers to register.

#### Instances

Instances details

FromJSON DidChangeWatchedFilesRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions Methods parseJSON :: Value -> Parser DidChangeWatchedFilesRegistrationOptions # parseJSONList :: Value -> Parser [DidChangeWatchedFilesRegistrationOptions] # omittedField :: Maybe DidChangeWatchedFilesRegistrationOptions #
ToJSON DidChangeWatchedFilesRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions

Methods

toJSON :: DidChangeWatchedFilesRegistrationOptions -> Value #

toEncoding :: DidChangeWatchedFilesRegistrationOptions -> Encoding #

toJSONList :: [DidChangeWatchedFilesRegistrationOptions] -> Value #

toEncodingList :: [DidChangeWatchedFilesRegistrationOptions] -> Encoding #

omitField :: DidChangeWatchedFilesRegistrationOptions -> Bool #

NFData DidChangeWatchedFilesRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions Methods rnf :: DidChangeWatchedFilesRegistrationOptions -> () #
Generic DidChangeWatchedFilesRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions

Associated Types

type Rep DidChangeWatchedFilesRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions

type Rep DidChangeWatchedFilesRegistrationOptions = D1 ('MetaData "DidChangeWatchedFilesRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWatchedFilesRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_watchers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileSystemWatcher])))

Methods

from :: DidChangeWatchedFilesRegistrationOptions -> Rep DidChangeWatchedFilesRegistrationOptions x #

to :: Rep DidChangeWatchedFilesRegistrationOptions x -> DidChangeWatchedFilesRegistrationOptions #

Show DidChangeWatchedFilesRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions Methods showsPrec :: Int -> DidChangeWatchedFilesRegistrationOptions -> ShowS # show :: DidChangeWatchedFilesRegistrationOptions -> String # showList :: [DidChangeWatchedFilesRegistrationOptions] -> ShowS #
Eq DidChangeWatchedFilesRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions Methods (==) :: DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions -> Bool # (/=) :: DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions -> Bool #
Ord DidChangeWatchedFilesRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions

Methods

compare :: DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions -> Ordering #

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

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

(>) :: DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions -> Bool #

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

max :: DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions #

min :: DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions -> DidChangeWatchedFilesRegistrationOptions #

Hashable DidChangeWatchedFilesRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions Methods hashWithSalt :: Int -> DidChangeWatchedFilesRegistrationOptions -> Int # hash :: DidChangeWatchedFilesRegistrationOptions -> Int #
Pretty DidChangeWatchedFilesRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions Methods pretty :: DidChangeWatchedFilesRegistrationOptions -> Doc ann # prettyList :: [DidChangeWatchedFilesRegistrationOptions] -> Doc ann #
HasWatchers DidChangeWatchedFilesRegistrationOptions [FileSystemWatcher] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods watchers :: Lens' DidChangeWatchedFilesRegistrationOptions [FileSystemWatcher] #
type Rep DidChangeWatchedFilesRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions

type Rep DidChangeWatchedFilesRegistrationOptions = D1 ('MetaData "DidChangeWatchedFilesRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWatchedFilesRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_watchers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileSystemWatcher])))

data DidChangeWorkspaceFoldersParams #

The parameters of a `workspace/didChangeWorkspaceFolders` notification.

Constructors

DidChangeWorkspaceFoldersParams |

Fields

- _event :: WorkspaceFoldersChangeEvent

  The actual workspace folder change event.

#### Instances

Instances details

FromJSON DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods parseJSON :: Value -> Parser DidChangeWorkspaceFoldersParams # parseJSONList :: Value -> Parser [DidChangeWorkspaceFoldersParams] # omittedField :: Maybe DidChangeWorkspaceFoldersParams #
ToJSON DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods toJSON :: DidChangeWorkspaceFoldersParams -> Value # toEncoding :: DidChangeWorkspaceFoldersParams -> Encoding # toJSONList :: [DidChangeWorkspaceFoldersParams] -> Value # toEncodingList :: [DidChangeWorkspaceFoldersParams] -> Encoding # omitField :: DidChangeWorkspaceFoldersParams -> Bool #
NFData DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods rnf :: DidChangeWorkspaceFoldersParams -> () #
Generic DidChangeWorkspaceFoldersParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams

Associated Types

type Rep DidChangeWorkspaceFoldersParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams

type Rep DidChangeWorkspaceFoldersParams = D1 ('MetaData "DidChangeWorkspaceFoldersParams" "Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWorkspaceFoldersParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceFoldersChangeEvent)))

Methods

from :: DidChangeWorkspaceFoldersParams -> Rep DidChangeWorkspaceFoldersParams x #

to :: Rep DidChangeWorkspaceFoldersParams x -> DidChangeWorkspaceFoldersParams #

Show DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods showsPrec :: Int -> DidChangeWorkspaceFoldersParams -> ShowS # show :: DidChangeWorkspaceFoldersParams -> String # showList :: [DidChangeWorkspaceFoldersParams] -> ShowS #
Eq DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods (==) :: DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams -> Bool # (/=) :: DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams -> Bool #
Ord DidChangeWorkspaceFoldersParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams

Methods

compare :: DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams -> Ordering #

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

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

(>) :: DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams -> Bool #

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

max :: DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams #

min :: DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams -> DidChangeWorkspaceFoldersParams #

Hashable DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods hashWithSalt :: Int -> DidChangeWorkspaceFoldersParams -> Int # hash :: DidChangeWorkspaceFoldersParams -> Int #
Pretty DidChangeWorkspaceFoldersParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams Methods pretty :: DidChangeWorkspaceFoldersParams -> Doc ann # prettyList :: [DidChangeWorkspaceFoldersParams] -> Doc ann #
HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods event :: Lens' DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent #
type Rep DidChangeWorkspaceFoldersParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams

type Rep DidChangeWorkspaceFoldersParams = D1 ('MetaData "DidChangeWorkspaceFoldersParams" "Language.LSP.Protocol.Internal.Types.DidChangeWorkspaceFoldersParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWorkspaceFoldersParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_event") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 WorkspaceFoldersChangeEvent)))

data DidCloseNotebookDocumentParams #

The params sent in a close notebook document notification.

Since: 3.17.0

Constructors

DidCloseNotebookDocumentParams |

Fields

- _notebookDocument :: NotebookDocumentIdentifier

  The notebook document that got closed.

- _cellTextDocuments :: [TextDocumentIdentifier]

  The text documents that represent the content of a notebook cell that got closed.

#### Instances

Instances details

FromJSON DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods parseJSON :: Value -> Parser DidCloseNotebookDocumentParams # parseJSONList :: Value -> Parser [DidCloseNotebookDocumentParams] # omittedField :: Maybe DidCloseNotebookDocumentParams #
ToJSON DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods toJSON :: DidCloseNotebookDocumentParams -> Value # toEncoding :: DidCloseNotebookDocumentParams -> Encoding # toJSONList :: [DidCloseNotebookDocumentParams] -> Value # toEncodingList :: [DidCloseNotebookDocumentParams] -> Encoding # omitField :: DidCloseNotebookDocumentParams -> Bool #
NFData DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods rnf :: DidCloseNotebookDocumentParams -> () #
Generic DidCloseNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams

Associated Types

type Rep DidCloseNotebookDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams

type Rep DidCloseNotebookDocumentParams = D1 ('MetaData "DidCloseNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidCloseNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentIdentifier) :*: S1 ('MetaSel ('Just "_cellTextDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentIdentifier])))

Methods

from :: DidCloseNotebookDocumentParams -> Rep DidCloseNotebookDocumentParams x #

to :: Rep DidCloseNotebookDocumentParams x -> DidCloseNotebookDocumentParams #

Show DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods showsPrec :: Int -> DidCloseNotebookDocumentParams -> ShowS # show :: DidCloseNotebookDocumentParams -> String # showList :: [DidCloseNotebookDocumentParams] -> ShowS #
Eq DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods (==) :: DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams -> Bool # (/=) :: DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams -> Bool #
Ord DidCloseNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams

Methods

compare :: DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams -> Ordering #

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

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

(>) :: DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams -> Bool #

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

max :: DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams #

min :: DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams -> DidCloseNotebookDocumentParams #

Hashable DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods hashWithSalt :: Int -> DidCloseNotebookDocumentParams -> Int # hash :: DidCloseNotebookDocumentParams -> Int #
Pretty DidCloseNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams Methods pretty :: DidCloseNotebookDocumentParams -> Doc ann # prettyList :: [DidCloseNotebookDocumentParams] -> Doc ann #
HasNotebookDocument DidCloseNotebookDocumentParams NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidCloseNotebookDocumentParams NotebookDocumentIdentifier #
HasCellTextDocuments DidCloseNotebookDocumentParams [TextDocumentIdentifier] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cellTextDocuments :: Lens' DidCloseNotebookDocumentParams [TextDocumentIdentifier] #
type Rep DidCloseNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams

type Rep DidCloseNotebookDocumentParams = D1 ('MetaData "DidCloseNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidCloseNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidCloseNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentIdentifier) :*: S1 ('MetaSel ('Just "_cellTextDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentIdentifier])))

data DidCloseTextDocumentParams #

The parameters sent in a close text document notification

Constructors

DidCloseTextDocumentParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The document that was closed.

#### Instances

Instances details

FromJSON DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods parseJSON :: Value -> Parser DidCloseTextDocumentParams # parseJSONList :: Value -> Parser [DidCloseTextDocumentParams] # omittedField :: Maybe DidCloseTextDocumentParams #
ToJSON DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods toJSON :: DidCloseTextDocumentParams -> Value # toEncoding :: DidCloseTextDocumentParams -> Encoding # toJSONList :: [DidCloseTextDocumentParams] -> Value # toEncodingList :: [DidCloseTextDocumentParams] -> Encoding # omitField :: DidCloseTextDocumentParams -> Bool #
NFData DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods rnf :: DidCloseTextDocumentParams -> () #
Generic DidCloseTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams

Associated Types

type Rep DidCloseTextDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams

type Rep DidCloseTextDocumentParams = D1 ('MetaData "DidCloseTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidCloseTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)))

Methods

from :: DidCloseTextDocumentParams -> Rep DidCloseTextDocumentParams x #

to :: Rep DidCloseTextDocumentParams x -> DidCloseTextDocumentParams #

Show DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods showsPrec :: Int -> DidCloseTextDocumentParams -> ShowS # show :: DidCloseTextDocumentParams -> String # showList :: [DidCloseTextDocumentParams] -> ShowS #
Eq DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods (==) :: DidCloseTextDocumentParams -> DidCloseTextDocumentParams -> Bool # (/=) :: DidCloseTextDocumentParams -> DidCloseTextDocumentParams -> Bool #
Ord DidCloseTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams

Methods

compare :: DidCloseTextDocumentParams -> DidCloseTextDocumentParams -> Ordering #

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

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

(>) :: DidCloseTextDocumentParams -> DidCloseTextDocumentParams -> Bool #

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

max :: DidCloseTextDocumentParams -> DidCloseTextDocumentParams -> DidCloseTextDocumentParams #

min :: DidCloseTextDocumentParams -> DidCloseTextDocumentParams -> DidCloseTextDocumentParams #

Hashable DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods hashWithSalt :: Int -> DidCloseTextDocumentParams -> Int # hash :: DidCloseTextDocumentParams -> Int #
Pretty DidCloseTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams Methods pretty :: DidCloseTextDocumentParams -> Doc ann # prettyList :: [DidCloseTextDocumentParams] -> Doc ann #
HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidCloseTextDocumentParams TextDocumentIdentifier #
type Rep DidCloseTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams

type Rep DidCloseTextDocumentParams = D1 ('MetaData "DidCloseTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidCloseTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidCloseTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)))

data DidOpenNotebookDocumentParams #

The params sent in an open notebook document notification.

Since: 3.17.0

Constructors

DidOpenNotebookDocumentParams |

Fields

- _notebookDocument :: NotebookDocument

  The notebook document that got opened.

- _cellTextDocuments :: [TextDocumentItem]

  The text documents that represent the content of a notebook cell.

#### Instances

Instances details

FromJSON DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods parseJSON :: Value -> Parser DidOpenNotebookDocumentParams # parseJSONList :: Value -> Parser [DidOpenNotebookDocumentParams] # omittedField :: Maybe DidOpenNotebookDocumentParams #
ToJSON DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods toJSON :: DidOpenNotebookDocumentParams -> Value # toEncoding :: DidOpenNotebookDocumentParams -> Encoding # toJSONList :: [DidOpenNotebookDocumentParams] -> Value # toEncodingList :: [DidOpenNotebookDocumentParams] -> Encoding # omitField :: DidOpenNotebookDocumentParams -> Bool #
NFData DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods rnf :: DidOpenNotebookDocumentParams -> () #
Generic DidOpenNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams

Associated Types

type Rep DidOpenNotebookDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams

type Rep DidOpenNotebookDocumentParams = D1 ('MetaData "DidOpenNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidOpenNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocument) :*: S1 ('MetaSel ('Just "_cellTextDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentItem])))

Methods

from :: DidOpenNotebookDocumentParams -> Rep DidOpenNotebookDocumentParams x #

to :: Rep DidOpenNotebookDocumentParams x -> DidOpenNotebookDocumentParams #

Show DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods showsPrec :: Int -> DidOpenNotebookDocumentParams -> ShowS # show :: DidOpenNotebookDocumentParams -> String # showList :: [DidOpenNotebookDocumentParams] -> ShowS #
Eq DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods (==) :: DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams -> Bool # (/=) :: DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams -> Bool #
Ord DidOpenNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams

Methods

compare :: DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams -> Ordering #

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

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

(>) :: DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams -> Bool #

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

max :: DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams #

min :: DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams -> DidOpenNotebookDocumentParams #

Hashable DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods hashWithSalt :: Int -> DidOpenNotebookDocumentParams -> Int # hash :: DidOpenNotebookDocumentParams -> Int #
Pretty DidOpenNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams Methods pretty :: DidOpenNotebookDocumentParams -> Doc ann # prettyList :: [DidOpenNotebookDocumentParams] -> Doc ann #
HasNotebookDocument DidOpenNotebookDocumentParams NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidOpenNotebookDocumentParams NotebookDocument #
HasCellTextDocuments DidOpenNotebookDocumentParams [TextDocumentItem] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cellTextDocuments :: Lens' DidOpenNotebookDocumentParams [TextDocumentItem] #
type Rep DidOpenNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams

type Rep DidOpenNotebookDocumentParams = D1 ('MetaData "DidOpenNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidOpenNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidOpenNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocument) :*: S1 ('MetaSel ('Just "_cellTextDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentItem])))

data DidOpenTextDocumentParams #

The parameters sent in an open text document notification

Constructors

DidOpenTextDocumentParams |

Fields

- _textDocument :: TextDocumentItem

  The document that was opened.

#### Instances

Instances details

FromJSON DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods parseJSON :: Value -> Parser DidOpenTextDocumentParams # parseJSONList :: Value -> Parser [DidOpenTextDocumentParams] # omittedField :: Maybe DidOpenTextDocumentParams #
ToJSON DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods toJSON :: DidOpenTextDocumentParams -> Value # toEncoding :: DidOpenTextDocumentParams -> Encoding # toJSONList :: [DidOpenTextDocumentParams] -> Value # toEncodingList :: [DidOpenTextDocumentParams] -> Encoding # omitField :: DidOpenTextDocumentParams -> Bool #
NFData DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods rnf :: DidOpenTextDocumentParams -> () #
Generic DidOpenTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams

Associated Types

type Rep DidOpenTextDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams

type Rep DidOpenTextDocumentParams = D1 ('MetaData "DidOpenTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidOpenTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentItem)))

Methods

from :: DidOpenTextDocumentParams -> Rep DidOpenTextDocumentParams x #

to :: Rep DidOpenTextDocumentParams x -> DidOpenTextDocumentParams #

Show DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods showsPrec :: Int -> DidOpenTextDocumentParams -> ShowS # show :: DidOpenTextDocumentParams -> String # showList :: [DidOpenTextDocumentParams] -> ShowS #
Eq DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods (==) :: DidOpenTextDocumentParams -> DidOpenTextDocumentParams -> Bool # (/=) :: DidOpenTextDocumentParams -> DidOpenTextDocumentParams -> Bool #
Ord DidOpenTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams

Methods

compare :: DidOpenTextDocumentParams -> DidOpenTextDocumentParams -> Ordering #

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

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

(>) :: DidOpenTextDocumentParams -> DidOpenTextDocumentParams -> Bool #

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

max :: DidOpenTextDocumentParams -> DidOpenTextDocumentParams -> DidOpenTextDocumentParams #

min :: DidOpenTextDocumentParams -> DidOpenTextDocumentParams -> DidOpenTextDocumentParams #

Hashable DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods hashWithSalt :: Int -> DidOpenTextDocumentParams -> Int # hash :: DidOpenTextDocumentParams -> Int #
Pretty DidOpenTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams Methods pretty :: DidOpenTextDocumentParams -> Doc ann # prettyList :: [DidOpenTextDocumentParams] -> Doc ann #
HasTextDocument DidOpenTextDocumentParams TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidOpenTextDocumentParams TextDocumentItem #
type Rep DidOpenTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams

type Rep DidOpenTextDocumentParams = D1 ('MetaData "DidOpenTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidOpenTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidOpenTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentItem)))

data DidSaveNotebookDocumentParams #

The params sent in a save notebook document notification.

Since: 3.17.0

Constructors

DidSaveNotebookDocumentParams |

Fields

- _notebookDocument :: NotebookDocumentIdentifier

  The notebook document that got saved.

#### Instances

Instances details

FromJSON DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods parseJSON :: Value -> Parser DidSaveNotebookDocumentParams # parseJSONList :: Value -> Parser [DidSaveNotebookDocumentParams] # omittedField :: Maybe DidSaveNotebookDocumentParams #
ToJSON DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods toJSON :: DidSaveNotebookDocumentParams -> Value # toEncoding :: DidSaveNotebookDocumentParams -> Encoding # toJSONList :: [DidSaveNotebookDocumentParams] -> Value # toEncodingList :: [DidSaveNotebookDocumentParams] -> Encoding # omitField :: DidSaveNotebookDocumentParams -> Bool #
NFData DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods rnf :: DidSaveNotebookDocumentParams -> () #
Generic DidSaveNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams

Associated Types

type Rep DidSaveNotebookDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams

type Rep DidSaveNotebookDocumentParams = D1 ('MetaData "DidSaveNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidSaveNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentIdentifier)))

Methods

from :: DidSaveNotebookDocumentParams -> Rep DidSaveNotebookDocumentParams x #

to :: Rep DidSaveNotebookDocumentParams x -> DidSaveNotebookDocumentParams #

Show DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods showsPrec :: Int -> DidSaveNotebookDocumentParams -> ShowS # show :: DidSaveNotebookDocumentParams -> String # showList :: [DidSaveNotebookDocumentParams] -> ShowS #
Eq DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods (==) :: DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams -> Bool # (/=) :: DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams -> Bool #
Ord DidSaveNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams

Methods

compare :: DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams -> Ordering #

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

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

(>) :: DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams -> Bool #

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

max :: DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams #

min :: DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams -> DidSaveNotebookDocumentParams #

Hashable DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods hashWithSalt :: Int -> DidSaveNotebookDocumentParams -> Int # hash :: DidSaveNotebookDocumentParams -> Int #
Pretty DidSaveNotebookDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams Methods pretty :: DidSaveNotebookDocumentParams -> Doc ann # prettyList :: [DidSaveNotebookDocumentParams] -> Doc ann #
HasNotebookDocument DidSaveNotebookDocumentParams NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidSaveNotebookDocumentParams NotebookDocumentIdentifier #
type Rep DidSaveNotebookDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams

type Rep DidSaveNotebookDocumentParams = D1 ('MetaData "DidSaveNotebookDocumentParams" "Language.LSP.Protocol.Internal.Types.DidSaveNotebookDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidSaveNotebookDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentIdentifier)))

data DidSaveTextDocumentParams #

The parameters sent in a save text document notification

Constructors

DidSaveTextDocumentParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The document that was saved.

- _text :: Maybe Text

  Optional the content when saved. Depends on the includeText value when the save notification was requested.

#### Instances

Instances details

FromJSON DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods parseJSON :: Value -> Parser DidSaveTextDocumentParams # parseJSONList :: Value -> Parser [DidSaveTextDocumentParams] # omittedField :: Maybe DidSaveTextDocumentParams #
ToJSON DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods toJSON :: DidSaveTextDocumentParams -> Value # toEncoding :: DidSaveTextDocumentParams -> Encoding # toJSONList :: [DidSaveTextDocumentParams] -> Value # toEncodingList :: [DidSaveTextDocumentParams] -> Encoding # omitField :: DidSaveTextDocumentParams -> Bool #
NFData DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods rnf :: DidSaveTextDocumentParams -> () #
Generic DidSaveTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams

Associated Types

type Rep DidSaveTextDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams

type Rep DidSaveTextDocumentParams = D1 ('MetaData "DidSaveTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidSaveTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: DidSaveTextDocumentParams -> Rep DidSaveTextDocumentParams x #

to :: Rep DidSaveTextDocumentParams x -> DidSaveTextDocumentParams #

Show DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods showsPrec :: Int -> DidSaveTextDocumentParams -> ShowS # show :: DidSaveTextDocumentParams -> String # showList :: [DidSaveTextDocumentParams] -> ShowS #
Eq DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods (==) :: DidSaveTextDocumentParams -> DidSaveTextDocumentParams -> Bool # (/=) :: DidSaveTextDocumentParams -> DidSaveTextDocumentParams -> Bool #
Ord DidSaveTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams

Methods

compare :: DidSaveTextDocumentParams -> DidSaveTextDocumentParams -> Ordering #

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

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

(>) :: DidSaveTextDocumentParams -> DidSaveTextDocumentParams -> Bool #

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

max :: DidSaveTextDocumentParams -> DidSaveTextDocumentParams -> DidSaveTextDocumentParams #

min :: DidSaveTextDocumentParams -> DidSaveTextDocumentParams -> DidSaveTextDocumentParams #

Hashable DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods hashWithSalt :: Int -> DidSaveTextDocumentParams -> Int # hash :: DidSaveTextDocumentParams -> Int #
Pretty DidSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams Methods pretty :: DidSaveTextDocumentParams -> Doc ann # prettyList :: [DidSaveTextDocumentParams] -> Doc ann #
HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidSaveTextDocumentParams TextDocumentIdentifier #
HasText DidSaveTextDocumentParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods text :: Lens' DidSaveTextDocumentParams (Maybe Text) #
type Rep DidSaveTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams

type Rep DidSaveTextDocumentParams = D1 ('MetaData "DidSaveTextDocumentParams" "Language.LSP.Protocol.Internal.Types.DidSaveTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidSaveTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data DocumentColorParams #

Parameters for a `DocumentColorRequest`.

Constructors

DocumentColorParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

#### Instances

Instances details

FromJSON DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods parseJSON :: Value -> Parser DocumentColorParams # parseJSONList :: Value -> Parser [DocumentColorParams] # omittedField :: Maybe DocumentColorParams #
ToJSON DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods toJSON :: DocumentColorParams -> Value # toEncoding :: DocumentColorParams -> Encoding # toJSONList :: [DocumentColorParams] -> Value # toEncodingList :: [DocumentColorParams] -> Encoding # omitField :: DocumentColorParams -> Bool #
NFData DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods rnf :: DocumentColorParams -> () #
Generic DocumentColorParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams

Associated Types

type Rep DocumentColorParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams

type Rep DocumentColorParams = D1 ('MetaData "DocumentColorParams" "Language.LSP.Protocol.Internal.Types.DocumentColorParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

Methods

from :: DocumentColorParams -> Rep DocumentColorParams x #

to :: Rep DocumentColorParams x -> DocumentColorParams #

Show DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods showsPrec :: Int -> DocumentColorParams -> ShowS # show :: DocumentColorParams -> String # showList :: [DocumentColorParams] -> ShowS #
Eq DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods (==) :: DocumentColorParams -> DocumentColorParams -> Bool # (/=) :: DocumentColorParams -> DocumentColorParams -> Bool #
Ord DocumentColorParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams

Methods

compare :: DocumentColorParams -> DocumentColorParams -> Ordering #

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

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

(>) :: DocumentColorParams -> DocumentColorParams -> Bool #

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

max :: DocumentColorParams -> DocumentColorParams -> DocumentColorParams #

min :: DocumentColorParams -> DocumentColorParams -> DocumentColorParams #

Hashable DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods hashWithSalt :: Int -> DocumentColorParams -> Int # hash :: DocumentColorParams -> Int #
Pretty DocumentColorParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams Methods pretty :: DocumentColorParams -> Doc ann # prettyList :: [DocumentColorParams] -> Doc ann #
HasTextDocument DocumentColorParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentColorParams TextDocumentIdentifier #
HasPartialResultToken DocumentColorParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentColorParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentColorParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentColorParams (Maybe ProgressToken) #
type Rep DocumentColorParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorParams

type Rep DocumentColorParams = D1 ('MetaData "DocumentColorParams" "Language.LSP.Protocol.Internal.Types.DocumentColorParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

data DocumentColorRegistrationOptions #

Constructors

DocumentColorRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON DocumentColorRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions Methods parseJSON :: Value -> Parser DocumentColorRegistrationOptions # parseJSONList :: Value -> Parser [DocumentColorRegistrationOptions] # omittedField :: Maybe DocumentColorRegistrationOptions #
ToJSON DocumentColorRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions

Methods

toJSON :: DocumentColorRegistrationOptions -> Value #

toEncoding :: DocumentColorRegistrationOptions -> Encoding #

toJSONList :: [DocumentColorRegistrationOptions] -> Value #

toEncodingList :: [DocumentColorRegistrationOptions] -> Encoding #

omitField :: DocumentColorRegistrationOptions -> Bool #

NFData DocumentColorRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions Methods rnf :: DocumentColorRegistrationOptions -> () #
Generic DocumentColorRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions

Associated Types

type Rep DocumentColorRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions

type Rep DocumentColorRegistrationOptions = D1 ('MetaData "DocumentColorRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: DocumentColorRegistrationOptions -> Rep DocumentColorRegistrationOptions x #

to :: Rep DocumentColorRegistrationOptions x -> DocumentColorRegistrationOptions #

Show DocumentColorRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions Methods showsPrec :: Int -> DocumentColorRegistrationOptions -> ShowS # show :: DocumentColorRegistrationOptions -> String # showList :: [DocumentColorRegistrationOptions] -> ShowS #
Eq DocumentColorRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions Methods (==) :: DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions -> Bool # (/=) :: DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions -> Bool #
Ord DocumentColorRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions

Methods

compare :: DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions -> Ordering #

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

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

(>) :: DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions -> Bool #

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

max :: DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions #

min :: DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions -> DocumentColorRegistrationOptions #

Hashable DocumentColorRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions Methods hashWithSalt :: Int -> DocumentColorRegistrationOptions -> Int # hash :: DocumentColorRegistrationOptions -> Int #
Pretty DocumentColorRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions Methods pretty :: DocumentColorRegistrationOptions -> Doc ann # prettyList :: [DocumentColorRegistrationOptions] -> Doc ann #
HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods colorProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) #
HasId DocumentColorRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' DocumentColorRegistrationOptions (Maybe Text) #
HasWorkDoneProgress DocumentColorRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentColorRegistrationOptions (Maybe Bool) #
HasDocumentSelector DocumentColorRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentColorRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentColorRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions

type Rep DocumentColorRegistrationOptions = D1 ('MetaData "DocumentColorRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentColorRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data DocumentDiagnosticParams #

Parameters of the document diagnostic request.

Since: 3.17.0

Constructors

DocumentDiagnosticParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _identifier :: Maybe Text

  The additional identifier provided during registration.

- _previousResultId :: Maybe Text

  The result id of a previous response if provided.

#### Instances

Instances details

FromJSON DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods parseJSON :: Value -> Parser DocumentDiagnosticParams # parseJSONList :: Value -> Parser [DocumentDiagnosticParams] # omittedField :: Maybe DocumentDiagnosticParams #
ToJSON DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods toJSON :: DocumentDiagnosticParams -> Value # toEncoding :: DocumentDiagnosticParams -> Encoding # toJSONList :: [DocumentDiagnosticParams] -> Value # toEncodingList :: [DocumentDiagnosticParams] -> Encoding # omitField :: DocumentDiagnosticParams -> Bool #
NFData DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods rnf :: DocumentDiagnosticParams -> () #
Generic DocumentDiagnosticParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams

Associated Types

type Rep DocumentDiagnosticParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams

type Rep DocumentDiagnosticParams = D1 ('MetaData "DocumentDiagnosticParams" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentDiagnosticParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_previousResultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

Methods

from :: DocumentDiagnosticParams -> Rep DocumentDiagnosticParams x #

to :: Rep DocumentDiagnosticParams x -> DocumentDiagnosticParams #

Show DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods showsPrec :: Int -> DocumentDiagnosticParams -> ShowS # show :: DocumentDiagnosticParams -> String # showList :: [DocumentDiagnosticParams] -> ShowS #
Eq DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods (==) :: DocumentDiagnosticParams -> DocumentDiagnosticParams -> Bool # (/=) :: DocumentDiagnosticParams -> DocumentDiagnosticParams -> Bool #
Ord DocumentDiagnosticParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams

Methods

compare :: DocumentDiagnosticParams -> DocumentDiagnosticParams -> Ordering #

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

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

(>) :: DocumentDiagnosticParams -> DocumentDiagnosticParams -> Bool #

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

max :: DocumentDiagnosticParams -> DocumentDiagnosticParams -> DocumentDiagnosticParams #

min :: DocumentDiagnosticParams -> DocumentDiagnosticParams -> DocumentDiagnosticParams #

Hashable DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods hashWithSalt :: Int -> DocumentDiagnosticParams -> Int # hash :: DocumentDiagnosticParams -> Int #
Pretty DocumentDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams Methods pretty :: DocumentDiagnosticParams -> Doc ann # prettyList :: [DocumentDiagnosticParams] -> Doc ann #
HasTextDocument DocumentDiagnosticParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentDiagnosticParams TextDocumentIdentifier #
HasIdentifier DocumentDiagnosticParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods identifier :: Lens' DocumentDiagnosticParams (Maybe Text) #
HasPartialResultToken DocumentDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentDiagnosticParams (Maybe ProgressToken) #
HasPreviousResultId DocumentDiagnosticParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods previousResultId :: Lens' DocumentDiagnosticParams (Maybe Text) #
HasWorkDoneToken DocumentDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentDiagnosticParams (Maybe ProgressToken) #
type Rep DocumentDiagnosticParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams

type Rep DocumentDiagnosticParams = D1 ('MetaData "DocumentDiagnosticParams" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentDiagnosticParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_previousResultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newtype DocumentDiagnosticReport #

The result of a document diagnostic pull request. A report can either be a full report containing all diagnostics for the requested document or an unchanged report indicating that nothing has changed in terms of diagnostics in comparison to the last pull request.

Since: 3.17.0

Constructors

DocumentDiagnosticReport (RelatedFullDocumentDiagnosticReport |? RelatedUnchangedDocumentDiagnosticReport) |

#### Instances

Instances details

FromJSON DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods parseJSON :: Value -> Parser DocumentDiagnosticReport # parseJSONList :: Value -> Parser [DocumentDiagnosticReport] # omittedField :: Maybe DocumentDiagnosticReport #
ToJSON DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods toJSON :: DocumentDiagnosticReport -> Value # toEncoding :: DocumentDiagnosticReport -> Encoding # toJSONList :: [DocumentDiagnosticReport] -> Value # toEncodingList :: [DocumentDiagnosticReport] -> Encoding # omitField :: DocumentDiagnosticReport -> Bool #
NFData DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods rnf :: DocumentDiagnosticReport -> () #
Generic DocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport

Associated Types

type Rep DocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport

type Rep DocumentDiagnosticReport = D1 ('MetaData "DocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DocumentDiagnosticReport" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RelatedFullDocumentDiagnosticReport |? RelatedUnchangedDocumentDiagnosticReport))))

Methods

from :: DocumentDiagnosticReport -> Rep DocumentDiagnosticReport x #

to :: Rep DocumentDiagnosticReport x -> DocumentDiagnosticReport #

Show DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods showsPrec :: Int -> DocumentDiagnosticReport -> ShowS # show :: DocumentDiagnosticReport -> String # showList :: [DocumentDiagnosticReport] -> ShowS #
Eq DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods (==) :: DocumentDiagnosticReport -> DocumentDiagnosticReport -> Bool # (/=) :: DocumentDiagnosticReport -> DocumentDiagnosticReport -> Bool #
Ord DocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport

Methods

compare :: DocumentDiagnosticReport -> DocumentDiagnosticReport -> Ordering #

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

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

(>) :: DocumentDiagnosticReport -> DocumentDiagnosticReport -> Bool #

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

max :: DocumentDiagnosticReport -> DocumentDiagnosticReport -> DocumentDiagnosticReport #

min :: DocumentDiagnosticReport -> DocumentDiagnosticReport -> DocumentDiagnosticReport #

Hashable DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods hashWithSalt :: Int -> DocumentDiagnosticReport -> Int # hash :: DocumentDiagnosticReport -> Int #
Pretty DocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport Methods pretty :: DocumentDiagnosticReport -> Doc ann # prettyList :: [DocumentDiagnosticReport] -> Doc ann #
type Rep DocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport

type Rep DocumentDiagnosticReport = D1 ('MetaData "DocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DocumentDiagnosticReport" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (RelatedFullDocumentDiagnosticReport |? RelatedUnchangedDocumentDiagnosticReport))))

data DocumentFormattingParams #

The parameters of a `DocumentFormattingRequest`.

Constructors

DocumentFormattingParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _textDocument :: TextDocumentIdentifier

  The document to format.

- _options :: FormattingOptions

  The format options.

#### Instances

Instances details

FromJSON DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods parseJSON :: Value -> Parser DocumentFormattingParams # parseJSONList :: Value -> Parser [DocumentFormattingParams] # omittedField :: Maybe DocumentFormattingParams #
ToJSON DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods toJSON :: DocumentFormattingParams -> Value # toEncoding :: DocumentFormattingParams -> Encoding # toJSONList :: [DocumentFormattingParams] -> Value # toEncodingList :: [DocumentFormattingParams] -> Encoding # omitField :: DocumentFormattingParams -> Bool #
NFData DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods rnf :: DocumentFormattingParams -> () #
Generic DocumentFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams

Associated Types

type Rep DocumentFormattingParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams

type Rep DocumentFormattingParams = D1 ('MetaData "DocumentFormattingParams" "Language.LSP.Protocol.Internal.Types.DocumentFormattingParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FormattingOptions))))

Methods

from :: DocumentFormattingParams -> Rep DocumentFormattingParams x #

to :: Rep DocumentFormattingParams x -> DocumentFormattingParams #

Show DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods showsPrec :: Int -> DocumentFormattingParams -> ShowS # show :: DocumentFormattingParams -> String # showList :: [DocumentFormattingParams] -> ShowS #
Eq DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods (==) :: DocumentFormattingParams -> DocumentFormattingParams -> Bool # (/=) :: DocumentFormattingParams -> DocumentFormattingParams -> Bool #
Ord DocumentFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams

Methods

compare :: DocumentFormattingParams -> DocumentFormattingParams -> Ordering #

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

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

(>) :: DocumentFormattingParams -> DocumentFormattingParams -> Bool #

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

max :: DocumentFormattingParams -> DocumentFormattingParams -> DocumentFormattingParams #

min :: DocumentFormattingParams -> DocumentFormattingParams -> DocumentFormattingParams #

Hashable DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods hashWithSalt :: Int -> DocumentFormattingParams -> Int # hash :: DocumentFormattingParams -> Int #
Pretty DocumentFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams Methods pretty :: DocumentFormattingParams -> Doc ann # prettyList :: [DocumentFormattingParams] -> Doc ann #
HasOptions DocumentFormattingParams FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DocumentFormattingParams FormattingOptions #
HasTextDocument DocumentFormattingParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentFormattingParams TextDocumentIdentifier #
HasWorkDoneToken DocumentFormattingParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentFormattingParams (Maybe ProgressToken) #
type Rep DocumentFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingParams

type Rep DocumentFormattingParams = D1 ('MetaData "DocumentFormattingParams" "Language.LSP.Protocol.Internal.Types.DocumentFormattingParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FormattingOptions))))

data DocumentFormattingRegistrationOptions #

Registration options for a `DocumentFormattingRequest`.

Constructors

DocumentFormattingRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions Methods parseJSON :: Value -> Parser DocumentFormattingRegistrationOptions # parseJSONList :: Value -> Parser [DocumentFormattingRegistrationOptions] # omittedField :: Maybe DocumentFormattingRegistrationOptions #
ToJSON DocumentFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions

Methods

toJSON :: DocumentFormattingRegistrationOptions -> Value #

toEncoding :: DocumentFormattingRegistrationOptions -> Encoding #

toJSONList :: [DocumentFormattingRegistrationOptions] -> Value #

toEncodingList :: [DocumentFormattingRegistrationOptions] -> Encoding #

omitField :: DocumentFormattingRegistrationOptions -> Bool #

NFData DocumentFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions Methods rnf :: DocumentFormattingRegistrationOptions -> () #
Generic DocumentFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions

Associated Types

type Rep DocumentFormattingRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions

type Rep DocumentFormattingRegistrationOptions = D1 ('MetaData "DocumentFormattingRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentFormattingRegistrationOptions -> Rep DocumentFormattingRegistrationOptions x #

to :: Rep DocumentFormattingRegistrationOptions x -> DocumentFormattingRegistrationOptions #

Show DocumentFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions Methods showsPrec :: Int -> DocumentFormattingRegistrationOptions -> ShowS # show :: DocumentFormattingRegistrationOptions -> String # showList :: [DocumentFormattingRegistrationOptions] -> ShowS #
Eq DocumentFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions Methods (==) :: DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions -> Bool # (/=) :: DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions -> Bool #
Ord DocumentFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions

Methods

compare :: DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions -> Ordering #

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

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

(>) :: DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions -> Bool #

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

max :: DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions #

min :: DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions -> DocumentFormattingRegistrationOptions #

Hashable DocumentFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions Methods hashWithSalt :: Int -> DocumentFormattingRegistrationOptions -> Int # hash :: DocumentFormattingRegistrationOptions -> Int #
Pretty DocumentFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions Methods pretty :: DocumentFormattingRegistrationOptions -> Doc ann # prettyList :: [DocumentFormattingRegistrationOptions] -> Doc ann #
HasWorkDoneProgress DocumentFormattingRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentFormattingRegistrationOptions (Maybe Bool) #
HasDocumentSelector DocumentFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentFormattingRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions

type Rep DocumentFormattingRegistrationOptions = D1 ('MetaData "DocumentFormattingRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentFormattingRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentHighlight #

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

- _range :: Range

  The range this highlight applies to.

- _kind :: Maybe DocumentHighlightKind

  The highlight kind, default is `Text`.

#### Instances

Instances details

FromJSON DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods parseJSON :: Value -> Parser DocumentHighlight # parseJSONList :: Value -> Parser [DocumentHighlight] # omittedField :: Maybe DocumentHighlight #
ToJSON DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods toJSON :: DocumentHighlight -> Value # toEncoding :: DocumentHighlight -> Encoding # toJSONList :: [DocumentHighlight] -> Value # toEncodingList :: [DocumentHighlight] -> Encoding # omitField :: DocumentHighlight -> Bool #
NFData DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods rnf :: DocumentHighlight -> () #
Generic DocumentHighlight # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight

Associated Types

type Rep DocumentHighlight |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight

type Rep DocumentHighlight = D1 ('MetaData "DocumentHighlight" "Language.LSP.Protocol.Internal.Types.DocumentHighlight" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlight" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentHighlightKind))))

Methods

from :: DocumentHighlight -> Rep DocumentHighlight x #

to :: Rep DocumentHighlight x -> DocumentHighlight #

Show DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods showsPrec :: Int -> DocumentHighlight -> ShowS # show :: DocumentHighlight -> String # showList :: [DocumentHighlight] -> ShowS #
Eq DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods (==) :: DocumentHighlight -> DocumentHighlight -> Bool # (/=) :: DocumentHighlight -> DocumentHighlight -> Bool #
Ord DocumentHighlight # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight

Methods

compare :: DocumentHighlight -> DocumentHighlight -> Ordering #

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

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

(>) :: DocumentHighlight -> DocumentHighlight -> Bool #

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

max :: DocumentHighlight -> DocumentHighlight -> DocumentHighlight #

min :: DocumentHighlight -> DocumentHighlight -> DocumentHighlight #

Hashable DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods hashWithSalt :: Int -> DocumentHighlight -> Int # hash :: DocumentHighlight -> Int #
Pretty DocumentHighlight # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight Methods pretty :: DocumentHighlight -> Doc ann # prettyList :: [DocumentHighlight] -> Doc ann #
HasRange DocumentHighlight Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentHighlight Range #
HasKind DocumentHighlight (Maybe DocumentHighlightKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' DocumentHighlight (Maybe DocumentHighlightKind) #
type Rep DocumentHighlight # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlight

type Rep DocumentHighlight = D1 ('MetaData "DocumentHighlight" "Language.LSP.Protocol.Internal.Types.DocumentHighlight" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlight" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentHighlightKind))))

data DocumentHighlightParams #

Parameters for a `DocumentHighlightRequest`.

Constructors

DocumentHighlightParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods parseJSON :: Value -> Parser DocumentHighlightParams # parseJSONList :: Value -> Parser [DocumentHighlightParams] # omittedField :: Maybe DocumentHighlightParams #
ToJSON DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods toJSON :: DocumentHighlightParams -> Value # toEncoding :: DocumentHighlightParams -> Encoding # toJSONList :: [DocumentHighlightParams] -> Value # toEncodingList :: [DocumentHighlightParams] -> Encoding # omitField :: DocumentHighlightParams -> Bool #
NFData DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods rnf :: DocumentHighlightParams -> () #
Generic DocumentHighlightParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams

Associated Types

type Rep DocumentHighlightParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams

type Rep DocumentHighlightParams = D1 ('MetaData "DocumentHighlightParams" "Language.LSP.Protocol.Internal.Types.DocumentHighlightParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: DocumentHighlightParams -> Rep DocumentHighlightParams x #

to :: Rep DocumentHighlightParams x -> DocumentHighlightParams #

Show DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods showsPrec :: Int -> DocumentHighlightParams -> ShowS # show :: DocumentHighlightParams -> String # showList :: [DocumentHighlightParams] -> ShowS #
Eq DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods (==) :: DocumentHighlightParams -> DocumentHighlightParams -> Bool # (/=) :: DocumentHighlightParams -> DocumentHighlightParams -> Bool #
Ord DocumentHighlightParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams

Methods

compare :: DocumentHighlightParams -> DocumentHighlightParams -> Ordering #

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

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

(>) :: DocumentHighlightParams -> DocumentHighlightParams -> Bool #

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

max :: DocumentHighlightParams -> DocumentHighlightParams -> DocumentHighlightParams #

min :: DocumentHighlightParams -> DocumentHighlightParams -> DocumentHighlightParams #

Hashable DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods hashWithSalt :: Int -> DocumentHighlightParams -> Int # hash :: DocumentHighlightParams -> Int #
Pretty DocumentHighlightParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams Methods pretty :: DocumentHighlightParams -> Doc ann # prettyList :: [DocumentHighlightParams] -> Doc ann #
HasPosition DocumentHighlightParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DocumentHighlightParams Position #
HasTextDocument DocumentHighlightParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentHighlightParams TextDocumentIdentifier #
HasPartialResultToken DocumentHighlightParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentHighlightParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentHighlightParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentHighlightParams (Maybe ProgressToken) #
type Rep DocumentHighlightParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightParams

type Rep DocumentHighlightParams = D1 ('MetaData "DocumentHighlightParams" "Language.LSP.Protocol.Internal.Types.DocumentHighlightParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data DocumentHighlightRegistrationOptions #

Registration options for a `DocumentHighlightRequest`.

Constructors

DocumentHighlightRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentHighlightRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions Methods parseJSON :: Value -> Parser DocumentHighlightRegistrationOptions # parseJSONList :: Value -> Parser [DocumentHighlightRegistrationOptions] # omittedField :: Maybe DocumentHighlightRegistrationOptions #
ToJSON DocumentHighlightRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions

Methods

toJSON :: DocumentHighlightRegistrationOptions -> Value #

toEncoding :: DocumentHighlightRegistrationOptions -> Encoding #

toJSONList :: [DocumentHighlightRegistrationOptions] -> Value #

toEncodingList :: [DocumentHighlightRegistrationOptions] -> Encoding #

omitField :: DocumentHighlightRegistrationOptions -> Bool #

NFData DocumentHighlightRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions Methods rnf :: DocumentHighlightRegistrationOptions -> () #
Generic DocumentHighlightRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions

Associated Types

type Rep DocumentHighlightRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions

type Rep DocumentHighlightRegistrationOptions = D1 ('MetaData "DocumentHighlightRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentHighlightRegistrationOptions -> Rep DocumentHighlightRegistrationOptions x #

to :: Rep DocumentHighlightRegistrationOptions x -> DocumentHighlightRegistrationOptions #

Show DocumentHighlightRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions Methods showsPrec :: Int -> DocumentHighlightRegistrationOptions -> ShowS # show :: DocumentHighlightRegistrationOptions -> String # showList :: [DocumentHighlightRegistrationOptions] -> ShowS #
Eq DocumentHighlightRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions Methods (==) :: DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions -> Bool # (/=) :: DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions -> Bool #
Ord DocumentHighlightRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions

Methods

compare :: DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions -> Ordering #

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

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

(>) :: DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions -> Bool #

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

max :: DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions #

min :: DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions -> DocumentHighlightRegistrationOptions #

Hashable DocumentHighlightRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions Methods hashWithSalt :: Int -> DocumentHighlightRegistrationOptions -> Int # hash :: DocumentHighlightRegistrationOptions -> Int #
Pretty DocumentHighlightRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions Methods pretty :: DocumentHighlightRegistrationOptions -> Doc ann # prettyList :: [DocumentHighlightRegistrationOptions] -> Doc ann #
HasWorkDoneProgress DocumentHighlightRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentHighlightRegistrationOptions (Maybe Bool) #
HasDocumentSelector DocumentHighlightRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentHighlightRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentHighlightRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions

type Rep DocumentHighlightRegistrationOptions = D1 ('MetaData "DocumentHighlightRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentHighlightRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentLink #

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

Constructors

DocumentLink |

Fields

- _range :: Range

  The range this link applies to.

- _target :: Maybe Uri

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

- _tooltip :: Maybe Text

  The tooltip text when you hover over this link.

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

  Since: 3.15.0

- _data_ :: Maybe Value

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

#### Instances

Instances details

FromJSON DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods parseJSON :: Value -> Parser DocumentLink # parseJSONList :: Value -> Parser [DocumentLink] # omittedField :: Maybe DocumentLink #
ToJSON DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods toJSON :: DocumentLink -> Value # toEncoding :: DocumentLink -> Encoding # toJSONList :: [DocumentLink] -> Value # toEncodingList :: [DocumentLink] -> Encoding # omitField :: DocumentLink -> Bool #
NFData DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods rnf :: DocumentLink -> () #
Generic DocumentLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLink

Associated Types

type Rep DocumentLink |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLink

type Rep DocumentLink = D1 ('MetaData "DocumentLink" "Language.LSP.Protocol.Internal.Types.DocumentLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLink" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Uri))) :*: (S1 ('MetaSel ('Just "_tooltip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

Methods

from :: DocumentLink -> Rep DocumentLink x #

to :: Rep DocumentLink x -> DocumentLink #

Show DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods showsPrec :: Int -> DocumentLink -> ShowS # show :: DocumentLink -> String # showList :: [DocumentLink] -> ShowS #
Eq DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods (==) :: DocumentLink -> DocumentLink -> Bool # (/=) :: DocumentLink -> DocumentLink -> Bool #
Ord DocumentLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLink

Methods

compare :: DocumentLink -> DocumentLink -> Ordering #

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

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

(>) :: DocumentLink -> DocumentLink -> Bool #

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

max :: DocumentLink -> DocumentLink -> DocumentLink #

min :: DocumentLink -> DocumentLink -> DocumentLink #

Hashable DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods hashWithSalt :: Int -> DocumentLink -> Int # hash :: DocumentLink -> Int #
Pretty DocumentLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLink Methods pretty :: DocumentLink -> Doc ann # prettyList :: [DocumentLink] -> Doc ann #
HasRange DocumentLink Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentLink Range #
HasData_ DocumentLink (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' DocumentLink (Maybe Value) #
HasTarget DocumentLink (Maybe Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods target :: Lens' DocumentLink (Maybe Uri) #
HasTooltip DocumentLink (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' DocumentLink (Maybe Text) #
type Rep DocumentLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLink

type Rep DocumentLink = D1 ('MetaData "DocumentLink" "Language.LSP.Protocol.Internal.Types.DocumentLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLink" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Uri))) :*: (S1 ('MetaSel ('Just "_tooltip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))

data DocumentLinkParams #

The parameters of a `DocumentLinkRequest`.

Constructors

DocumentLinkParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The document to provide document links for.

#### Instances

Instances details

FromJSON DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods parseJSON :: Value -> Parser DocumentLinkParams # parseJSONList :: Value -> Parser [DocumentLinkParams] # omittedField :: Maybe DocumentLinkParams #
ToJSON DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods toJSON :: DocumentLinkParams -> Value # toEncoding :: DocumentLinkParams -> Encoding # toJSONList :: [DocumentLinkParams] -> Value # toEncodingList :: [DocumentLinkParams] -> Encoding # omitField :: DocumentLinkParams -> Bool #
NFData DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods rnf :: DocumentLinkParams -> () #
Generic DocumentLinkParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams

Associated Types

type Rep DocumentLinkParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams

type Rep DocumentLinkParams = D1 ('MetaData "DocumentLinkParams" "Language.LSP.Protocol.Internal.Types.DocumentLinkParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

Methods

from :: DocumentLinkParams -> Rep DocumentLinkParams x #

to :: Rep DocumentLinkParams x -> DocumentLinkParams #

Show DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods showsPrec :: Int -> DocumentLinkParams -> ShowS # show :: DocumentLinkParams -> String # showList :: [DocumentLinkParams] -> ShowS #
Eq DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods (==) :: DocumentLinkParams -> DocumentLinkParams -> Bool # (/=) :: DocumentLinkParams -> DocumentLinkParams -> Bool #
Ord DocumentLinkParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams

Methods

compare :: DocumentLinkParams -> DocumentLinkParams -> Ordering #

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

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

(>) :: DocumentLinkParams -> DocumentLinkParams -> Bool #

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

max :: DocumentLinkParams -> DocumentLinkParams -> DocumentLinkParams #

min :: DocumentLinkParams -> DocumentLinkParams -> DocumentLinkParams #

Hashable DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods hashWithSalt :: Int -> DocumentLinkParams -> Int # hash :: DocumentLinkParams -> Int #
Pretty DocumentLinkParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams Methods pretty :: DocumentLinkParams -> Doc ann # prettyList :: [DocumentLinkParams] -> Doc ann #
HasTextDocument DocumentLinkParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentLinkParams TextDocumentIdentifier #
HasPartialResultToken DocumentLinkParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentLinkParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentLinkParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentLinkParams (Maybe ProgressToken) #
type Rep DocumentLinkParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkParams

type Rep DocumentLinkParams = D1 ('MetaData "DocumentLinkParams" "Language.LSP.Protocol.Internal.Types.DocumentLinkParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

data DocumentLinkRegistrationOptions #

Registration options for a `DocumentLinkRequest`.

Constructors

DocumentLinkRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  Document links have a resolve provider as well.

#### Instances

Instances details

FromJSON DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods parseJSON :: Value -> Parser DocumentLinkRegistrationOptions # parseJSONList :: Value -> Parser [DocumentLinkRegistrationOptions] # omittedField :: Maybe DocumentLinkRegistrationOptions #
ToJSON DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods toJSON :: DocumentLinkRegistrationOptions -> Value # toEncoding :: DocumentLinkRegistrationOptions -> Encoding # toJSONList :: [DocumentLinkRegistrationOptions] -> Value # toEncodingList :: [DocumentLinkRegistrationOptions] -> Encoding # omitField :: DocumentLinkRegistrationOptions -> Bool #
NFData DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods rnf :: DocumentLinkRegistrationOptions -> () #
Generic DocumentLinkRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions

Associated Types

type Rep DocumentLinkRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions

type Rep DocumentLinkRegistrationOptions = D1 ('MetaData "DocumentLinkRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: DocumentLinkRegistrationOptions -> Rep DocumentLinkRegistrationOptions x #

to :: Rep DocumentLinkRegistrationOptions x -> DocumentLinkRegistrationOptions #

Show DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods showsPrec :: Int -> DocumentLinkRegistrationOptions -> ShowS # show :: DocumentLinkRegistrationOptions -> String # showList :: [DocumentLinkRegistrationOptions] -> ShowS #
Eq DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods (==) :: DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions -> Bool # (/=) :: DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions -> Bool #
Ord DocumentLinkRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions

Methods

compare :: DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions -> Ordering #

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

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

(>) :: DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions -> Bool #

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

max :: DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions #

min :: DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions -> DocumentLinkRegistrationOptions #

Hashable DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods hashWithSalt :: Int -> DocumentLinkRegistrationOptions -> Int # hash :: DocumentLinkRegistrationOptions -> Int #
Pretty DocumentLinkRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions Methods pretty :: DocumentLinkRegistrationOptions -> Doc ann # prettyList :: [DocumentLinkRegistrationOptions] -> Doc ann #
HasResolveProvider DocumentLinkRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' DocumentLinkRegistrationOptions (Maybe Bool) #
HasWorkDoneProgress DocumentLinkRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentLinkRegistrationOptions (Maybe Bool) #
HasDocumentSelector DocumentLinkRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentLinkRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentLinkRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions

type Rep DocumentLinkRegistrationOptions = D1 ('MetaData "DocumentLinkRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentLinkRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data DocumentOnTypeFormattingParams #

The parameters of a `DocumentOnTypeFormattingRequest`.

Constructors

DocumentOnTypeFormattingParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The document to format.

- _position :: Position

  The position around which the on type formatting should happen. This is not necessarily the exact position where the character denoted by the property `ch` got typed.

- _ch :: Text

  The character that has been typed that triggered the formatting on type request. That is not necessarily the last character that got inserted into the document since the client could auto insert characters as well (e.g. like automatic brace completion).

- _options :: FormattingOptions

  The formatting options.

#### Instances

Instances details

FromJSON DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods parseJSON :: Value -> Parser DocumentOnTypeFormattingParams # parseJSONList :: Value -> Parser [DocumentOnTypeFormattingParams] # omittedField :: Maybe DocumentOnTypeFormattingParams #
ToJSON DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods toJSON :: DocumentOnTypeFormattingParams -> Value # toEncoding :: DocumentOnTypeFormattingParams -> Encoding # toJSONList :: [DocumentOnTypeFormattingParams] -> Value # toEncodingList :: [DocumentOnTypeFormattingParams] -> Encoding # omitField :: DocumentOnTypeFormattingParams -> Bool #
NFData DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods rnf :: DocumentOnTypeFormattingParams -> () #
Generic DocumentOnTypeFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams

Associated Types

type Rep DocumentOnTypeFormattingParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams

type Rep DocumentOnTypeFormattingParams = D1 ('MetaData "DocumentOnTypeFormattingParams" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_ch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FormattingOptions))))

Methods

from :: DocumentOnTypeFormattingParams -> Rep DocumentOnTypeFormattingParams x #

to :: Rep DocumentOnTypeFormattingParams x -> DocumentOnTypeFormattingParams #

Show DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods showsPrec :: Int -> DocumentOnTypeFormattingParams -> ShowS # show :: DocumentOnTypeFormattingParams -> String # showList :: [DocumentOnTypeFormattingParams] -> ShowS #
Eq DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods (==) :: DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams -> Bool # (/=) :: DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams -> Bool #
Ord DocumentOnTypeFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams

Methods

compare :: DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams -> Ordering #

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

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

(>) :: DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams -> Bool #

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

max :: DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams #

min :: DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams -> DocumentOnTypeFormattingParams #

Hashable DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods hashWithSalt :: Int -> DocumentOnTypeFormattingParams -> Int # hash :: DocumentOnTypeFormattingParams -> Int #
Pretty DocumentOnTypeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams Methods pretty :: DocumentOnTypeFormattingParams -> Doc ann # prettyList :: [DocumentOnTypeFormattingParams] -> Doc ann #
HasCh DocumentOnTypeFormattingParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ch :: Lens' DocumentOnTypeFormattingParams Text #
HasOptions DocumentOnTypeFormattingParams FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DocumentOnTypeFormattingParams FormattingOptions #
HasPosition DocumentOnTypeFormattingParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' DocumentOnTypeFormattingParams Position #
HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentOnTypeFormattingParams TextDocumentIdentifier #
type Rep DocumentOnTypeFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams

type Rep DocumentOnTypeFormattingParams = D1 ('MetaData "DocumentOnTypeFormattingParams" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_ch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FormattingOptions))))

data DocumentOnTypeFormattingRegistrationOptions #

Registration options for a `DocumentOnTypeFormattingRequest`.

Constructors

DocumentOnTypeFormattingRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _firstTriggerCharacter :: Text

  A character on which formatting should be triggered, like `{`.

- _moreTriggerCharacter :: Maybe [Text]

  More trigger characters.

#### Instances

Instances details

FromJSON DocumentOnTypeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions Methods parseJSON :: Value -> Parser DocumentOnTypeFormattingRegistrationOptions # parseJSONList :: Value -> Parser [DocumentOnTypeFormattingRegistrationOptions] # omittedField :: Maybe DocumentOnTypeFormattingRegistrationOptions #
ToJSON DocumentOnTypeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions

Methods

toJSON :: DocumentOnTypeFormattingRegistrationOptions -> Value #

toEncoding :: DocumentOnTypeFormattingRegistrationOptions -> Encoding #

toJSONList :: [DocumentOnTypeFormattingRegistrationOptions] -> Value #

toEncodingList :: [DocumentOnTypeFormattingRegistrationOptions] -> Encoding #

omitField :: DocumentOnTypeFormattingRegistrationOptions -> Bool #

NFData DocumentOnTypeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions Methods rnf :: DocumentOnTypeFormattingRegistrationOptions -> () #
Generic DocumentOnTypeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions

Associated Types

type Rep DocumentOnTypeFormattingRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions

type Rep DocumentOnTypeFormattingRegistrationOptions = D1 ('MetaData "DocumentOnTypeFormattingRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_firstTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_moreTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

Methods

from :: DocumentOnTypeFormattingRegistrationOptions -> Rep DocumentOnTypeFormattingRegistrationOptions x #

to :: Rep DocumentOnTypeFormattingRegistrationOptions x -> DocumentOnTypeFormattingRegistrationOptions #

Show DocumentOnTypeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions Methods showsPrec :: Int -> DocumentOnTypeFormattingRegistrationOptions -> ShowS # show :: DocumentOnTypeFormattingRegistrationOptions -> String # showList :: [DocumentOnTypeFormattingRegistrationOptions] -> ShowS #
Eq DocumentOnTypeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions Methods (==) :: DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions -> Bool # (/=) :: DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions -> Bool #
Ord DocumentOnTypeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions

Methods

compare :: DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions -> Ordering #

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

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

(>) :: DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions -> Bool #

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

max :: DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions #

min :: DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions -> DocumentOnTypeFormattingRegistrationOptions #

Hashable DocumentOnTypeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions Methods hashWithSalt :: Int -> DocumentOnTypeFormattingRegistrationOptions -> Int # hash :: DocumentOnTypeFormattingRegistrationOptions -> Int #
Pretty DocumentOnTypeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions Methods pretty :: DocumentOnTypeFormattingRegistrationOptions -> Doc ann # prettyList :: [DocumentOnTypeFormattingRegistrationOptions] -> Doc ann #
HasFirstTriggerCharacter DocumentOnTypeFormattingRegistrationOptions Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods firstTriggerCharacter :: Lens' DocumentOnTypeFormattingRegistrationOptions Text #
HasMoreTriggerCharacter DocumentOnTypeFormattingRegistrationOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods moreTriggerCharacter :: Lens' DocumentOnTypeFormattingRegistrationOptions (Maybe [Text]) #
HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentOnTypeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions

type Rep DocumentOnTypeFormattingRegistrationOptions = D1 ('MetaData "DocumentOnTypeFormattingRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_firstTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_moreTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

data DocumentRangeFormattingParams #

The parameters of a `DocumentRangeFormattingRequest`.

Constructors

DocumentRangeFormattingParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _textDocument :: TextDocumentIdentifier

  The document to format.

- _range :: Range

  The range to format

- _options :: FormattingOptions

  The format options

#### Instances

Instances details

FromJSON DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods parseJSON :: Value -> Parser DocumentRangeFormattingParams # parseJSONList :: Value -> Parser [DocumentRangeFormattingParams] # omittedField :: Maybe DocumentRangeFormattingParams #
ToJSON DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods toJSON :: DocumentRangeFormattingParams -> Value # toEncoding :: DocumentRangeFormattingParams -> Encoding # toJSONList :: [DocumentRangeFormattingParams] -> Value # toEncodingList :: [DocumentRangeFormattingParams] -> Encoding # omitField :: DocumentRangeFormattingParams -> Bool #
NFData DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods rnf :: DocumentRangeFormattingParams -> () #
Generic DocumentRangeFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams

Associated Types

type Rep DocumentRangeFormattingParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams

type Rep DocumentRangeFormattingParams = D1 ('MetaData "DocumentRangeFormattingParams" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FormattingOptions))))

Methods

from :: DocumentRangeFormattingParams -> Rep DocumentRangeFormattingParams x #

to :: Rep DocumentRangeFormattingParams x -> DocumentRangeFormattingParams #

Show DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods showsPrec :: Int -> DocumentRangeFormattingParams -> ShowS # show :: DocumentRangeFormattingParams -> String # showList :: [DocumentRangeFormattingParams] -> ShowS #
Eq DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods (==) :: DocumentRangeFormattingParams -> DocumentRangeFormattingParams -> Bool # (/=) :: DocumentRangeFormattingParams -> DocumentRangeFormattingParams -> Bool #
Ord DocumentRangeFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams

Methods

compare :: DocumentRangeFormattingParams -> DocumentRangeFormattingParams -> Ordering #

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

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

(>) :: DocumentRangeFormattingParams -> DocumentRangeFormattingParams -> Bool #

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

max :: DocumentRangeFormattingParams -> DocumentRangeFormattingParams -> DocumentRangeFormattingParams #

min :: DocumentRangeFormattingParams -> DocumentRangeFormattingParams -> DocumentRangeFormattingParams #

Hashable DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods hashWithSalt :: Int -> DocumentRangeFormattingParams -> Int # hash :: DocumentRangeFormattingParams -> Int #
Pretty DocumentRangeFormattingParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams Methods pretty :: DocumentRangeFormattingParams -> Doc ann # prettyList :: [DocumentRangeFormattingParams] -> Doc ann #
HasOptions DocumentRangeFormattingParams FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DocumentRangeFormattingParams FormattingOptions #
HasRange DocumentRangeFormattingParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentRangeFormattingParams Range #
HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentRangeFormattingParams TextDocumentIdentifier #
HasWorkDoneToken DocumentRangeFormattingParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentRangeFormattingParams (Maybe ProgressToken) #
type Rep DocumentRangeFormattingParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams

type Rep DocumentRangeFormattingParams = D1 ('MetaData "DocumentRangeFormattingParams" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FormattingOptions))))

data DocumentRangeFormattingRegistrationOptions #

Registration options for a `DocumentRangeFormattingRequest`.

Constructors

DocumentRangeFormattingRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentRangeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions Methods parseJSON :: Value -> Parser DocumentRangeFormattingRegistrationOptions # parseJSONList :: Value -> Parser [DocumentRangeFormattingRegistrationOptions] # omittedField :: Maybe DocumentRangeFormattingRegistrationOptions #
ToJSON DocumentRangeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions

Methods

toJSON :: DocumentRangeFormattingRegistrationOptions -> Value #

toEncoding :: DocumentRangeFormattingRegistrationOptions -> Encoding #

toJSONList :: [DocumentRangeFormattingRegistrationOptions] -> Value #

toEncodingList :: [DocumentRangeFormattingRegistrationOptions] -> Encoding #

omitField :: DocumentRangeFormattingRegistrationOptions -> Bool #

NFData DocumentRangeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions Methods rnf :: DocumentRangeFormattingRegistrationOptions -> () #
Generic DocumentRangeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions

Associated Types

type Rep DocumentRangeFormattingRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions

type Rep DocumentRangeFormattingRegistrationOptions = D1 ('MetaData "DocumentRangeFormattingRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentRangeFormattingRegistrationOptions -> Rep DocumentRangeFormattingRegistrationOptions x #

to :: Rep DocumentRangeFormattingRegistrationOptions x -> DocumentRangeFormattingRegistrationOptions #

Show DocumentRangeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions Methods showsPrec :: Int -> DocumentRangeFormattingRegistrationOptions -> ShowS # show :: DocumentRangeFormattingRegistrationOptions -> String # showList :: [DocumentRangeFormattingRegistrationOptions] -> ShowS #
Eq DocumentRangeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions Methods (==) :: DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions -> Bool # (/=) :: DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions -> Bool #
Ord DocumentRangeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions

Methods

compare :: DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions -> Ordering #

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

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

(>) :: DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions -> Bool #

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

max :: DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions #

min :: DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions -> DocumentRangeFormattingRegistrationOptions #

Hashable DocumentRangeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions Methods hashWithSalt :: Int -> DocumentRangeFormattingRegistrationOptions -> Int # hash :: DocumentRangeFormattingRegistrationOptions -> Int #
Pretty DocumentRangeFormattingRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions Methods pretty :: DocumentRangeFormattingRegistrationOptions -> Doc ann # prettyList :: [DocumentRangeFormattingRegistrationOptions] -> Doc ann #
HasWorkDoneProgress DocumentRangeFormattingRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentRangeFormattingRegistrationOptions (Maybe Bool) #
HasDocumentSelector DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentRangeFormattingRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions

type Rep DocumentRangeFormattingRegistrationOptions = D1 ('MetaData "DocumentRangeFormattingRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newtype DocumentSelector #

A document selector is the combination of one or many document filters.

@sample `let sel:DocumentSelector = [{ language: `typescript` }, { language: `json`, pattern: '**∕tsconfig.json' }]`;

The use of a string as a document filter is deprecated @since 3.16.0.

Constructors

DocumentSelector [DocumentFilter] |

#### Instances

Instances details

FromJSON DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods parseJSON :: Value -> Parser DocumentSelector # parseJSONList :: Value -> Parser [DocumentSelector] # omittedField :: Maybe DocumentSelector #
ToJSON DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods toJSON :: DocumentSelector -> Value # toEncoding :: DocumentSelector -> Encoding # toJSONList :: [DocumentSelector] -> Value # toEncodingList :: [DocumentSelector] -> Encoding # omitField :: DocumentSelector -> Bool #
NFData DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods rnf :: DocumentSelector -> () #
Generic DocumentSelector # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector

Associated Types

type Rep DocumentSelector |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector

type Rep DocumentSelector = D1 ('MetaData "DocumentSelector" "Language.LSP.Protocol.Internal.Types.DocumentSelector" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DocumentSelector" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DocumentFilter])))

Methods

from :: DocumentSelector -> Rep DocumentSelector x #

to :: Rep DocumentSelector x -> DocumentSelector #

Show DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods showsPrec :: Int -> DocumentSelector -> ShowS # show :: DocumentSelector -> String # showList :: [DocumentSelector] -> ShowS #
Eq DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods (==) :: DocumentSelector -> DocumentSelector -> Bool # (/=) :: DocumentSelector -> DocumentSelector -> Bool #
Ord DocumentSelector # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector

Methods

compare :: DocumentSelector -> DocumentSelector -> Ordering #

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

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

(>) :: DocumentSelector -> DocumentSelector -> Bool #

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

max :: DocumentSelector -> DocumentSelector -> DocumentSelector #

min :: DocumentSelector -> DocumentSelector -> DocumentSelector #

Hashable DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods hashWithSalt :: Int -> DocumentSelector -> Int # hash :: DocumentSelector -> Int #
Pretty DocumentSelector # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector Methods pretty :: DocumentSelector -> Doc ann # prettyList :: [DocumentSelector] -> Doc ann #
HasDocumentSelector CallHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CallHierarchyRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CodeActionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeActionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CodeLensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CodeLensRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector CompletionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' CompletionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DeclarationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DeclarationRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DefinitionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DiagnosticRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DiagnosticRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentColorRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentColorRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentHighlightRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentHighlightRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentLinkRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentLinkRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentOnTypeFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentRangeFormattingRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector DocumentSymbolRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentSymbolRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector FoldingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' FoldingRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector HoverRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' HoverRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector ImplementationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ImplementationRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector InlayHintRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlayHintRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector InlineValueRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlineValueRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector MonikerRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' MonikerRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector ReferenceRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ReferenceRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector RenameRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' RenameRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SelectionRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SelectionRangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SemanticTokensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SemanticTokensRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector SignatureHelpRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SignatureHelpRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TypeDefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeDefinitionRegistrationOptions (DocumentSelector |? Null) #
HasDocumentSelector TypeHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeHierarchyRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentSelector # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSelector

type Rep DocumentSelector = D1 ('MetaData "DocumentSelector" "Language.LSP.Protocol.Internal.Types.DocumentSelector" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DocumentSelector" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [DocumentFilter])))

data DocumentSymbol #

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. Will be displayed in the user interface and therefore must not be an empty string or a string only consisting of white spaces.

- _detail :: Maybe Text

  More detail for this symbol, e.g the signature of a function.

- _kind :: SymbolKind

  The kind of this symbol.

- _tags :: Maybe [SymbolTag]

  Tags for this document symbol.

  Since: 3.16.0

- _deprecated :: Maybe Bool

  Indicates if this symbol is deprecated.

  @deprecated Use tags instead

- _range :: Range

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

- _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 `range`.

- _children :: Maybe [DocumentSymbol]

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

#### Instances

Instances details

FromJSON DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods parseJSON :: Value -> Parser DocumentSymbol # parseJSONList :: Value -> Parser [DocumentSymbol] # omittedField :: Maybe DocumentSymbol #
ToJSON DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods toJSON :: DocumentSymbol -> Value # toEncoding :: DocumentSymbol -> Encoding # toJSONList :: [DocumentSymbol] -> Value # toEncodingList :: [DocumentSymbol] -> Encoding # omitField :: DocumentSymbol -> Bool #
NFData DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods rnf :: DocumentSymbol -> () #
Generic DocumentSymbol # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol

Associated Types

type Rep DocumentSymbol |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol

type Rep DocumentSymbol = D1 ('MetaData "DocumentSymbol" "Language.LSP.Protocol.Internal.Types.DocumentSymbol" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbol" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])))) :*: ((S1 ('MetaSel ('Just "_deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_children") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentSymbol]))))))

Methods

from :: DocumentSymbol -> Rep DocumentSymbol x #

to :: Rep DocumentSymbol x -> DocumentSymbol #

Show DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods showsPrec :: Int -> DocumentSymbol -> ShowS # show :: DocumentSymbol -> String # showList :: [DocumentSymbol] -> ShowS #
Eq DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods (==) :: DocumentSymbol -> DocumentSymbol -> Bool # (/=) :: DocumentSymbol -> DocumentSymbol -> Bool #
Ord DocumentSymbol # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol

Methods

compare :: DocumentSymbol -> DocumentSymbol -> Ordering #

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

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

(>) :: DocumentSymbol -> DocumentSymbol -> Bool #

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

max :: DocumentSymbol -> DocumentSymbol -> DocumentSymbol #

min :: DocumentSymbol -> DocumentSymbol -> DocumentSymbol #

Hashable DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods hashWithSalt :: Int -> DocumentSymbol -> Int # hash :: DocumentSymbol -> Int #
Pretty DocumentSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol Methods pretty :: DocumentSymbol -> Doc ann # prettyList :: [DocumentSymbol] -> Doc ann #
HasKind DocumentSymbol SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' DocumentSymbol SymbolKind #
HasName DocumentSymbol Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' DocumentSymbol Text #
HasRange DocumentSymbol Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' DocumentSymbol Range #
HasSelectionRange DocumentSymbol Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' DocumentSymbol Range #
HasChildren DocumentSymbol (Maybe [DocumentSymbol]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods children :: Lens' DocumentSymbol (Maybe [DocumentSymbol]) #
HasDeprecated DocumentSymbol (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deprecated :: Lens' DocumentSymbol (Maybe Bool) #
HasDetail DocumentSymbol (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods detail :: Lens' DocumentSymbol (Maybe Text) #
HasTags DocumentSymbol (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' DocumentSymbol (Maybe [SymbolTag]) #
type Rep DocumentSymbol # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbol

type Rep DocumentSymbol = D1 ('MetaData "DocumentSymbol" "Language.LSP.Protocol.Internal.Types.DocumentSymbol" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbol" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])))) :*: ((S1 ('MetaSel ('Just "_deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_children") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DocumentSymbol]))))))

data DocumentSymbolParams #

Parameters for a `DocumentSymbolRequest`.

Constructors

DocumentSymbolParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

#### Instances

Instances details

FromJSON DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods parseJSON :: Value -> Parser DocumentSymbolParams # parseJSONList :: Value -> Parser [DocumentSymbolParams] # omittedField :: Maybe DocumentSymbolParams #
ToJSON DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods toJSON :: DocumentSymbolParams -> Value # toEncoding :: DocumentSymbolParams -> Encoding # toJSONList :: [DocumentSymbolParams] -> Value # toEncodingList :: [DocumentSymbolParams] -> Encoding # omitField :: DocumentSymbolParams -> Bool #
NFData DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods rnf :: DocumentSymbolParams -> () #
Generic DocumentSymbolParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams

Associated Types

type Rep DocumentSymbolParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams

type Rep DocumentSymbolParams = D1 ('MetaData "DocumentSymbolParams" "Language.LSP.Protocol.Internal.Types.DocumentSymbolParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

Methods

from :: DocumentSymbolParams -> Rep DocumentSymbolParams x #

to :: Rep DocumentSymbolParams x -> DocumentSymbolParams #

Show DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods showsPrec :: Int -> DocumentSymbolParams -> ShowS # show :: DocumentSymbolParams -> String # showList :: [DocumentSymbolParams] -> ShowS #
Eq DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods (==) :: DocumentSymbolParams -> DocumentSymbolParams -> Bool # (/=) :: DocumentSymbolParams -> DocumentSymbolParams -> Bool #
Ord DocumentSymbolParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams

Methods

compare :: DocumentSymbolParams -> DocumentSymbolParams -> Ordering #

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

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

(>) :: DocumentSymbolParams -> DocumentSymbolParams -> Bool #

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

max :: DocumentSymbolParams -> DocumentSymbolParams -> DocumentSymbolParams #

min :: DocumentSymbolParams -> DocumentSymbolParams -> DocumentSymbolParams #

Hashable DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods hashWithSalt :: Int -> DocumentSymbolParams -> Int # hash :: DocumentSymbolParams -> Int #
Pretty DocumentSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams Methods pretty :: DocumentSymbolParams -> Doc ann # prettyList :: [DocumentSymbolParams] -> Doc ann #
HasTextDocument DocumentSymbolParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentSymbolParams TextDocumentIdentifier #
HasPartialResultToken DocumentSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentSymbolParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentSymbolParams (Maybe ProgressToken) #
type Rep DocumentSymbolParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolParams

type Rep DocumentSymbolParams = D1 ('MetaData "DocumentSymbolParams" "Language.LSP.Protocol.Internal.Types.DocumentSymbolParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

data DocumentSymbolRegistrationOptions #

Registration options for a `DocumentSymbolRequest`.

Constructors

DocumentSymbolRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _label :: Maybe Text

  A human-readable string that is shown when multiple outlines trees are shown for the same document.

  Since: 3.16.0

#### Instances

Instances details

FromJSON DocumentSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions Methods parseJSON :: Value -> Parser DocumentSymbolRegistrationOptions # parseJSONList :: Value -> Parser [DocumentSymbolRegistrationOptions] # omittedField :: Maybe DocumentSymbolRegistrationOptions #
ToJSON DocumentSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions

Methods

toJSON :: DocumentSymbolRegistrationOptions -> Value #

toEncoding :: DocumentSymbolRegistrationOptions -> Encoding #

toJSONList :: [DocumentSymbolRegistrationOptions] -> Value #

toEncodingList :: [DocumentSymbolRegistrationOptions] -> Encoding #

omitField :: DocumentSymbolRegistrationOptions -> Bool #

NFData DocumentSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions Methods rnf :: DocumentSymbolRegistrationOptions -> () #
Generic DocumentSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions

Associated Types

type Rep DocumentSymbolRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions

type Rep DocumentSymbolRegistrationOptions = D1 ('MetaData "DocumentSymbolRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: DocumentSymbolRegistrationOptions -> Rep DocumentSymbolRegistrationOptions x #

to :: Rep DocumentSymbolRegistrationOptions x -> DocumentSymbolRegistrationOptions #

Show DocumentSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions Methods showsPrec :: Int -> DocumentSymbolRegistrationOptions -> ShowS # show :: DocumentSymbolRegistrationOptions -> String # showList :: [DocumentSymbolRegistrationOptions] -> ShowS #
Eq DocumentSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions Methods (==) :: DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions -> Bool # (/=) :: DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions -> Bool #
Ord DocumentSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions

Methods

compare :: DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions -> Ordering #

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

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

(>) :: DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions -> Bool #

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

max :: DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions #

min :: DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions -> DocumentSymbolRegistrationOptions #

Hashable DocumentSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions Methods hashWithSalt :: Int -> DocumentSymbolRegistrationOptions -> Int # hash :: DocumentSymbolRegistrationOptions -> Int #
Pretty DocumentSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions Methods pretty :: DocumentSymbolRegistrationOptions -> Doc ann # prettyList :: [DocumentSymbolRegistrationOptions] -> Doc ann #
HasLabel DocumentSymbolRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' DocumentSymbolRegistrationOptions (Maybe Text) #
HasWorkDoneProgress DocumentSymbolRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentSymbolRegistrationOptions (Maybe Bool) #
HasDocumentSelector DocumentSymbolRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' DocumentSymbolRegistrationOptions (DocumentSelector |? Null) #
type Rep DocumentSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions

type Rep DocumentSymbolRegistrationOptions = D1 ('MetaData "DocumentSymbolRegistrationOptions" "Language.LSP.Protocol.Internal.Types.DocumentSymbolRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data ExecuteCommandParams #

The parameters of a `ExecuteCommandRequest`.

Constructors

ExecuteCommandParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _command :: Text

  The identifier of the actual command handler.

- _arguments :: Maybe [Value]

  Arguments that the command should be invoked with.

#### Instances

Instances details

FromJSON ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods parseJSON :: Value -> Parser ExecuteCommandParams # parseJSONList :: Value -> Parser [ExecuteCommandParams] # omittedField :: Maybe ExecuteCommandParams #
ToJSON ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods toJSON :: ExecuteCommandParams -> Value # toEncoding :: ExecuteCommandParams -> Encoding # toJSONList :: [ExecuteCommandParams] -> Value # toEncodingList :: [ExecuteCommandParams] -> Encoding # omitField :: ExecuteCommandParams -> Bool #
NFData ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods rnf :: ExecuteCommandParams -> () #
Generic ExecuteCommandParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams

Associated Types

type Rep ExecuteCommandParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams

type Rep ExecuteCommandParams = D1 ('MetaData "ExecuteCommandParams" "Language.LSP.Protocol.Internal.Types.ExecuteCommandParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Value])))))

Methods

from :: ExecuteCommandParams -> Rep ExecuteCommandParams x #

to :: Rep ExecuteCommandParams x -> ExecuteCommandParams #

Show ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods showsPrec :: Int -> ExecuteCommandParams -> ShowS # show :: ExecuteCommandParams -> String # showList :: [ExecuteCommandParams] -> ShowS #
Eq ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods (==) :: ExecuteCommandParams -> ExecuteCommandParams -> Bool # (/=) :: ExecuteCommandParams -> ExecuteCommandParams -> Bool #
Ord ExecuteCommandParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams

Methods

compare :: ExecuteCommandParams -> ExecuteCommandParams -> Ordering #

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

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

(>) :: ExecuteCommandParams -> ExecuteCommandParams -> Bool #

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

max :: ExecuteCommandParams -> ExecuteCommandParams -> ExecuteCommandParams #

min :: ExecuteCommandParams -> ExecuteCommandParams -> ExecuteCommandParams #

Hashable ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods hashWithSalt :: Int -> ExecuteCommandParams -> Int # hash :: ExecuteCommandParams -> Int #
Pretty ExecuteCommandParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams Methods pretty :: ExecuteCommandParams -> Doc ann # prettyList :: [ExecuteCommandParams] -> Doc ann #
HasCommand ExecuteCommandParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' ExecuteCommandParams Text #
HasArguments ExecuteCommandParams (Maybe [Value]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods arguments :: Lens' ExecuteCommandParams (Maybe [Value]) #
HasWorkDoneToken ExecuteCommandParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ExecuteCommandParams (Maybe ProgressToken) #
type Rep ExecuteCommandParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandParams

type Rep ExecuteCommandParams = D1 ('MetaData "ExecuteCommandParams" "Language.LSP.Protocol.Internal.Types.ExecuteCommandParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_arguments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Value])))))

data ExecuteCommandRegistrationOptions #

Registration options for a `ExecuteCommandRequest`.

Constructors

ExecuteCommandRegistrationOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _commands :: [Text]

  The commands to be executed on the server

#### Instances

Instances details

FromJSON ExecuteCommandRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions Methods parseJSON :: Value -> Parser ExecuteCommandRegistrationOptions # parseJSONList :: Value -> Parser [ExecuteCommandRegistrationOptions] # omittedField :: Maybe ExecuteCommandRegistrationOptions #
ToJSON ExecuteCommandRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions

Methods

toJSON :: ExecuteCommandRegistrationOptions -> Value #

toEncoding :: ExecuteCommandRegistrationOptions -> Encoding #

toJSONList :: [ExecuteCommandRegistrationOptions] -> Value #

toEncodingList :: [ExecuteCommandRegistrationOptions] -> Encoding #

omitField :: ExecuteCommandRegistrationOptions -> Bool #

NFData ExecuteCommandRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions Methods rnf :: ExecuteCommandRegistrationOptions -> () #
Generic ExecuteCommandRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions

Associated Types

type Rep ExecuteCommandRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions

type Rep ExecuteCommandRegistrationOptions = D1 ('MetaData "ExecuteCommandRegistrationOptions" "Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_commands") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: ExecuteCommandRegistrationOptions -> Rep ExecuteCommandRegistrationOptions x #

to :: Rep ExecuteCommandRegistrationOptions x -> ExecuteCommandRegistrationOptions #

Show ExecuteCommandRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions Methods showsPrec :: Int -> ExecuteCommandRegistrationOptions -> ShowS # show :: ExecuteCommandRegistrationOptions -> String # showList :: [ExecuteCommandRegistrationOptions] -> ShowS #
Eq ExecuteCommandRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions Methods (==) :: ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions -> Bool # (/=) :: ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions -> Bool #
Ord ExecuteCommandRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions

Methods

compare :: ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions -> Ordering #

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

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

(>) :: ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions -> Bool #

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

max :: ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions #

min :: ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions -> ExecuteCommandRegistrationOptions #

Hashable ExecuteCommandRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions Methods hashWithSalt :: Int -> ExecuteCommandRegistrationOptions -> Int # hash :: ExecuteCommandRegistrationOptions -> Int #
Pretty ExecuteCommandRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions Methods pretty :: ExecuteCommandRegistrationOptions -> Doc ann # prettyList :: [ExecuteCommandRegistrationOptions] -> Doc ann #
HasCommands ExecuteCommandRegistrationOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods commands :: Lens' ExecuteCommandRegistrationOptions [Text] #
HasWorkDoneProgress ExecuteCommandRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' ExecuteCommandRegistrationOptions (Maybe Bool) #
type Rep ExecuteCommandRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions

type Rep ExecuteCommandRegistrationOptions = D1 ('MetaData "ExecuteCommandRegistrationOptions" "Language.LSP.Protocol.Internal.Types.ExecuteCommandRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_commands") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data FileOperationRegistrationOptions #

The options to register for file operations.

Since: 3.16.0

Constructors

FileOperationRegistrationOptions |

Fields

- _filters :: [FileOperationFilter]

  The actual filters.

#### Instances

Instances details

FromJSON FileOperationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions Methods parseJSON :: Value -> Parser FileOperationRegistrationOptions # parseJSONList :: Value -> Parser [FileOperationRegistrationOptions] # omittedField :: Maybe FileOperationRegistrationOptions #
ToJSON FileOperationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions

Methods

toJSON :: FileOperationRegistrationOptions -> Value #

toEncoding :: FileOperationRegistrationOptions -> Encoding #

toJSONList :: [FileOperationRegistrationOptions] -> Value #

toEncodingList :: [FileOperationRegistrationOptions] -> Encoding #

omitField :: FileOperationRegistrationOptions -> Bool #

NFData FileOperationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions Methods rnf :: FileOperationRegistrationOptions -> () #
Generic FileOperationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions

Associated Types

type Rep FileOperationRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions

type Rep FileOperationRegistrationOptions = D1 ('MetaData "FileOperationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileOperationFilter])))

Methods

from :: FileOperationRegistrationOptions -> Rep FileOperationRegistrationOptions x #

to :: Rep FileOperationRegistrationOptions x -> FileOperationRegistrationOptions #

Show FileOperationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions Methods showsPrec :: Int -> FileOperationRegistrationOptions -> ShowS # show :: FileOperationRegistrationOptions -> String # showList :: [FileOperationRegistrationOptions] -> ShowS #
Eq FileOperationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions Methods (==) :: FileOperationRegistrationOptions -> FileOperationRegistrationOptions -> Bool # (/=) :: FileOperationRegistrationOptions -> FileOperationRegistrationOptions -> Bool #
Ord FileOperationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions

Methods

compare :: FileOperationRegistrationOptions -> FileOperationRegistrationOptions -> Ordering #

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

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

(>) :: FileOperationRegistrationOptions -> FileOperationRegistrationOptions -> Bool #

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

max :: FileOperationRegistrationOptions -> FileOperationRegistrationOptions -> FileOperationRegistrationOptions #

min :: FileOperationRegistrationOptions -> FileOperationRegistrationOptions -> FileOperationRegistrationOptions #

Hashable FileOperationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions Methods hashWithSalt :: Int -> FileOperationRegistrationOptions -> Int # hash :: FileOperationRegistrationOptions -> Int #
Pretty FileOperationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions Methods pretty :: FileOperationRegistrationOptions -> Doc ann # prettyList :: [FileOperationRegistrationOptions] -> Doc ann #
HasDidCreate FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didCreate :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasDidDelete FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didDelete :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasDidRename FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didRename :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasFilters FileOperationRegistrationOptions [FileOperationFilter] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods filters :: Lens' FileOperationRegistrationOptions [FileOperationFilter] #
HasWillCreate FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willCreate :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasWillDelete FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willDelete :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasWillRename FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willRename :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
type Rep FileOperationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions

type Rep FileOperationRegistrationOptions = D1 ('MetaData "FileOperationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.FileOperationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileOperationFilter])))

data FoldingRange #

Represents a folding range. To be valid, start and end line must be bigger than zero and smaller than the number of lines in the document. Clients are free to ignore invalid ranges.

Constructors

FoldingRange |

Fields

- _startLine :: UInt

  The zero-based start line of the range to fold. The folded area starts after the line's last character. To be valid, the end must be zero or larger and smaller than the number of lines in the document.

- _startCharacter :: Maybe UInt

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

- _endLine :: UInt

  The zero-based end line of the range to fold. The folded area ends with the line's last character. To be valid, the end must be zero or larger and smaller than the number of lines in the document.

- _endCharacter :: Maybe UInt

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

- _kind :: Maybe FoldingRangeKind

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

- _collapsedText :: Maybe Text

  The text that the client should show when the specified range is collapsed. If not defined or not supported by the client, a default will be chosen by the client.

  Since: 3.17.0

#### Instances

Instances details

FromJSON FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods parseJSON :: Value -> Parser FoldingRange # parseJSONList :: Value -> Parser [FoldingRange] # omittedField :: Maybe FoldingRange #
ToJSON FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods toJSON :: FoldingRange -> Value # toEncoding :: FoldingRange -> Encoding # toJSONList :: [FoldingRange] -> Value # toEncodingList :: [FoldingRange] -> Encoding # omitField :: FoldingRange -> Bool #
NFData FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods rnf :: FoldingRange -> () #
Generic FoldingRange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRange

Associated Types

type Rep FoldingRange |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRange

type Rep FoldingRange = D1 ('MetaData "FoldingRange" "Language.LSP.Protocol.Internal.Types.FoldingRange" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRange" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_startLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: (S1 ('MetaSel ('Just "_startCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: S1 ('MetaSel ('Just "_endLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt))) :*: (S1 ('MetaSel ('Just "_endCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FoldingRangeKind)) :*: S1 ('MetaSel ('Just "_collapsedText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

Methods

from :: FoldingRange -> Rep FoldingRange x #

to :: Rep FoldingRange x -> FoldingRange #

Show FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods showsPrec :: Int -> FoldingRange -> ShowS # show :: FoldingRange -> String # showList :: [FoldingRange] -> ShowS #
Eq FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods (==) :: FoldingRange -> FoldingRange -> Bool # (/=) :: FoldingRange -> FoldingRange -> Bool #
Ord FoldingRange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRange

Methods

compare :: FoldingRange -> FoldingRange -> Ordering #

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

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

(>) :: FoldingRange -> FoldingRange -> Bool #

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

max :: FoldingRange -> FoldingRange -> FoldingRange #

min :: FoldingRange -> FoldingRange -> FoldingRange #

Hashable FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods hashWithSalt :: Int -> FoldingRange -> Int # hash :: FoldingRange -> Int #
Pretty FoldingRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRange Methods pretty :: FoldingRange -> Doc ann # prettyList :: [FoldingRange] -> Doc ann #
HasEndLine FoldingRange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods endLine :: Lens' FoldingRange UInt #
HasStartLine FoldingRange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods startLine :: Lens' FoldingRange UInt #
HasCollapsedText FoldingRange (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods collapsedText :: Lens' FoldingRange (Maybe Text) #
HasEndCharacter FoldingRange (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods endCharacter :: Lens' FoldingRange (Maybe UInt) #
HasKind FoldingRange (Maybe FoldingRangeKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' FoldingRange (Maybe FoldingRangeKind) #
HasStartCharacter FoldingRange (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods startCharacter :: Lens' FoldingRange (Maybe UInt) #
type Rep FoldingRange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRange

type Rep FoldingRange = D1 ('MetaData "FoldingRange" "Language.LSP.Protocol.Internal.Types.FoldingRange" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRange" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_startLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: (S1 ('MetaSel ('Just "_startCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: S1 ('MetaSel ('Just "_endLine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt))) :*: (S1 ('MetaSel ('Just "_endCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FoldingRangeKind)) :*: S1 ('MetaSel ('Just "_collapsedText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

data FoldingRangeParams #

Parameters for a `FoldingRangeRequest`.

Constructors

FoldingRangeParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

#### Instances

Instances details

FromJSON FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods parseJSON :: Value -> Parser FoldingRangeParams # parseJSONList :: Value -> Parser [FoldingRangeParams] # omittedField :: Maybe FoldingRangeParams #
ToJSON FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods toJSON :: FoldingRangeParams -> Value # toEncoding :: FoldingRangeParams -> Encoding # toJSONList :: [FoldingRangeParams] -> Value # toEncodingList :: [FoldingRangeParams] -> Encoding # omitField :: FoldingRangeParams -> Bool #
NFData FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods rnf :: FoldingRangeParams -> () #
Generic FoldingRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams

Associated Types

type Rep FoldingRangeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams

type Rep FoldingRangeParams = D1 ('MetaData "FoldingRangeParams" "Language.LSP.Protocol.Internal.Types.FoldingRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

Methods

from :: FoldingRangeParams -> Rep FoldingRangeParams x #

to :: Rep FoldingRangeParams x -> FoldingRangeParams #

Show FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods showsPrec :: Int -> FoldingRangeParams -> ShowS # show :: FoldingRangeParams -> String # showList :: [FoldingRangeParams] -> ShowS #
Eq FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods (==) :: FoldingRangeParams -> FoldingRangeParams -> Bool # (/=) :: FoldingRangeParams -> FoldingRangeParams -> Bool #
Ord FoldingRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams

Methods

compare :: FoldingRangeParams -> FoldingRangeParams -> Ordering #

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

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

(>) :: FoldingRangeParams -> FoldingRangeParams -> Bool #

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

max :: FoldingRangeParams -> FoldingRangeParams -> FoldingRangeParams #

min :: FoldingRangeParams -> FoldingRangeParams -> FoldingRangeParams #

Hashable FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods hashWithSalt :: Int -> FoldingRangeParams -> Int # hash :: FoldingRangeParams -> Int #
Pretty FoldingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams Methods pretty :: FoldingRangeParams -> Doc ann # prettyList :: [FoldingRangeParams] -> Doc ann #
HasTextDocument FoldingRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' FoldingRangeParams TextDocumentIdentifier #
HasPartialResultToken FoldingRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' FoldingRangeParams (Maybe ProgressToken) #
HasWorkDoneToken FoldingRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' FoldingRangeParams (Maybe ProgressToken) #
type Rep FoldingRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeParams

type Rep FoldingRangeParams = D1 ('MetaData "FoldingRangeParams" "Language.LSP.Protocol.Internal.Types.FoldingRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

data FoldingRangeRegistrationOptions #

Constructors

FoldingRangeRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods parseJSON :: Value -> Parser FoldingRangeRegistrationOptions # parseJSONList :: Value -> Parser [FoldingRangeRegistrationOptions] # omittedField :: Maybe FoldingRangeRegistrationOptions #
ToJSON FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods toJSON :: FoldingRangeRegistrationOptions -> Value # toEncoding :: FoldingRangeRegistrationOptions -> Encoding # toJSONList :: [FoldingRangeRegistrationOptions] -> Value # toEncodingList :: [FoldingRangeRegistrationOptions] -> Encoding # omitField :: FoldingRangeRegistrationOptions -> Bool #
NFData FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods rnf :: FoldingRangeRegistrationOptions -> () #
Generic FoldingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions

Associated Types

type Rep FoldingRangeRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions

type Rep FoldingRangeRegistrationOptions = D1 ('MetaData "FoldingRangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: FoldingRangeRegistrationOptions -> Rep FoldingRangeRegistrationOptions x #

to :: Rep FoldingRangeRegistrationOptions x -> FoldingRangeRegistrationOptions #

Show FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods showsPrec :: Int -> FoldingRangeRegistrationOptions -> ShowS # show :: FoldingRangeRegistrationOptions -> String # showList :: [FoldingRangeRegistrationOptions] -> ShowS #
Eq FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods (==) :: FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions -> Bool # (/=) :: FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions -> Bool #
Ord FoldingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions

Methods

compare :: FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions -> Ordering #

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

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

(>) :: FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions -> Bool #

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

max :: FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions #

min :: FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions -> FoldingRangeRegistrationOptions #

Hashable FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods hashWithSalt :: Int -> FoldingRangeRegistrationOptions -> Int # hash :: FoldingRangeRegistrationOptions -> Int #
Pretty FoldingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions Methods pretty :: FoldingRangeRegistrationOptions -> Doc ann # prettyList :: [FoldingRangeRegistrationOptions] -> Doc ann #
HasFoldingRangeProvider ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) #
HasId FoldingRangeRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' FoldingRangeRegistrationOptions (Maybe Text) #
HasWorkDoneProgress FoldingRangeRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' FoldingRangeRegistrationOptions (Maybe Bool) #
HasDocumentSelector FoldingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' FoldingRangeRegistrationOptions (DocumentSelector |? Null) #
type Rep FoldingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions

type Rep FoldingRangeRegistrationOptions = D1 ('MetaData "FoldingRangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.FoldingRangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data Hover #

The result of a hover request.

Constructors

Hover |

Fields

- _contents :: MarkupContent |? (MarkedString |? [MarkedString])

  The hover's content

- _range :: Maybe Range

  An optional range inside the text document that is used to visualize the hover, e.g. by changing the background color.

#### Instances

Instances details

FromJSON Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods parseJSON :: Value -> Parser Hover # parseJSONList :: Value -> Parser [Hover] # omittedField :: Maybe Hover #
ToJSON Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods toJSON :: Hover -> Value # toEncoding :: Hover -> Encoding # toJSONList :: [Hover] -> Value # toEncodingList :: [Hover] -> Encoding # omitField :: Hover -> Bool #
NFData Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods rnf :: Hover -> () #
Generic Hover # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Hover

Associated Types

type Rep Hover |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Hover

type Rep Hover = D1 ('MetaData "Hover" "Language.LSP.Protocol.Internal.Types.Hover" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Hover" 'PrefixI 'True) (S1 ('MetaSel ('Just "_contents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MarkupContent |? (MarkedString |? [MarkedString]))) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Range))))

Methods

from :: Hover -> Rep Hover x #

to :: Rep Hover x -> Hover #

Show Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods showsPrec :: Int -> Hover -> ShowS # show :: Hover -> String # showList :: [Hover] -> ShowS #
Eq Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods (==) :: Hover -> Hover -> Bool # (/=) :: Hover -> Hover -> Bool #
Ord Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods compare :: Hover -> Hover -> Ordering # (<) :: Hover -> Hover -> Bool # (<=) :: Hover -> Hover -> Bool # (>) :: Hover -> Hover -> Bool # (>=) :: Hover -> Hover -> Bool # max :: Hover -> Hover -> Hover # min :: Hover -> Hover -> Hover #
Hashable Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods hashWithSalt :: Int -> Hover -> Int # hash :: Hover -> Int #
Pretty Hover # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Hover Methods pretty :: Hover -> Doc ann # prettyList :: [Hover] -> Doc ann #
HasRange Hover (Maybe Range) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' Hover (Maybe Range) #
HasContents Hover (MarkupContent |? (MarkedString |? [MarkedString])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contents :: Lens' Hover (MarkupContent |? (MarkedString |? [MarkedString])) #
type Rep Hover # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Hover

type Rep Hover = D1 ('MetaData "Hover" "Language.LSP.Protocol.Internal.Types.Hover" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Hover" 'PrefixI 'True) (S1 ('MetaSel ('Just "_contents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (MarkupContent |? (MarkedString |? [MarkedString]))) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Range))))

data HoverParams #

Parameters for a `HoverRequest`.

Constructors

HoverParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

#### Instances

Instances details

FromJSON HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods parseJSON :: Value -> Parser HoverParams # parseJSONList :: Value -> Parser [HoverParams] # omittedField :: Maybe HoverParams #
ToJSON HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods toJSON :: HoverParams -> Value # toEncoding :: HoverParams -> Encoding # toJSONList :: [HoverParams] -> Value # toEncodingList :: [HoverParams] -> Encoding # omitField :: HoverParams -> Bool #
NFData HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods rnf :: HoverParams -> () #
Generic HoverParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverParams

Associated Types

type Rep HoverParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverParams

type Rep HoverParams = D1 ('MetaData "HoverParams" "Language.LSP.Protocol.Internal.Types.HoverParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: HoverParams -> Rep HoverParams x #

to :: Rep HoverParams x -> HoverParams #

Show HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods showsPrec :: Int -> HoverParams -> ShowS # show :: HoverParams -> String # showList :: [HoverParams] -> ShowS #
Eq HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods (==) :: HoverParams -> HoverParams -> Bool # (/=) :: HoverParams -> HoverParams -> Bool #
Ord HoverParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverParams

Methods

compare :: HoverParams -> HoverParams -> Ordering #

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

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

(>) :: HoverParams -> HoverParams -> Bool #

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

max :: HoverParams -> HoverParams -> HoverParams #

min :: HoverParams -> HoverParams -> HoverParams #

Hashable HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods hashWithSalt :: Int -> HoverParams -> Int # hash :: HoverParams -> Int #
Pretty HoverParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverParams Methods pretty :: HoverParams -> Doc ann # prettyList :: [HoverParams] -> Doc ann #
HasPosition HoverParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' HoverParams Position #
HasTextDocument HoverParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' HoverParams TextDocumentIdentifier #
HasWorkDoneToken HoverParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' HoverParams (Maybe ProgressToken) #
type Rep HoverParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverParams

type Rep HoverParams = D1 ('MetaData "HoverParams" "Language.LSP.Protocol.Internal.Types.HoverParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data HoverRegistrationOptions #

Registration options for a `HoverRequest`.

Constructors

HoverRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods parseJSON :: Value -> Parser HoverRegistrationOptions # parseJSONList :: Value -> Parser [HoverRegistrationOptions] # omittedField :: Maybe HoverRegistrationOptions #
ToJSON HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods toJSON :: HoverRegistrationOptions -> Value # toEncoding :: HoverRegistrationOptions -> Encoding # toJSONList :: [HoverRegistrationOptions] -> Value # toEncodingList :: [HoverRegistrationOptions] -> Encoding # omitField :: HoverRegistrationOptions -> Bool #
NFData HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods rnf :: HoverRegistrationOptions -> () #
Generic HoverRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions

Associated Types

type Rep HoverRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions

type Rep HoverRegistrationOptions = D1 ('MetaData "HoverRegistrationOptions" "Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: HoverRegistrationOptions -> Rep HoverRegistrationOptions x #

to :: Rep HoverRegistrationOptions x -> HoverRegistrationOptions #

Show HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods showsPrec :: Int -> HoverRegistrationOptions -> ShowS # show :: HoverRegistrationOptions -> String # showList :: [HoverRegistrationOptions] -> ShowS #
Eq HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods (==) :: HoverRegistrationOptions -> HoverRegistrationOptions -> Bool # (/=) :: HoverRegistrationOptions -> HoverRegistrationOptions -> Bool #
Ord HoverRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions

Methods

compare :: HoverRegistrationOptions -> HoverRegistrationOptions -> Ordering #

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

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

(>) :: HoverRegistrationOptions -> HoverRegistrationOptions -> Bool #

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

max :: HoverRegistrationOptions -> HoverRegistrationOptions -> HoverRegistrationOptions #

min :: HoverRegistrationOptions -> HoverRegistrationOptions -> HoverRegistrationOptions #

Hashable HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods hashWithSalt :: Int -> HoverRegistrationOptions -> Int # hash :: HoverRegistrationOptions -> Int #
Pretty HoverRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions Methods pretty :: HoverRegistrationOptions -> Doc ann # prettyList :: [HoverRegistrationOptions] -> Doc ann #
HasWorkDoneProgress HoverRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' HoverRegistrationOptions (Maybe Bool) #
HasDocumentSelector HoverRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' HoverRegistrationOptions (DocumentSelector |? Null) #
type Rep HoverRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions

type Rep HoverRegistrationOptions = D1 ('MetaData "HoverRegistrationOptions" "Language.LSP.Protocol.Internal.Types.HoverRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ImplementationParams #

Constructors

ImplementationParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods parseJSON :: Value -> Parser ImplementationParams # parseJSONList :: Value -> Parser [ImplementationParams] # omittedField :: Maybe ImplementationParams #
ToJSON ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods toJSON :: ImplementationParams -> Value # toEncoding :: ImplementationParams -> Encoding # toJSONList :: [ImplementationParams] -> Value # toEncodingList :: [ImplementationParams] -> Encoding # omitField :: ImplementationParams -> Bool #
NFData ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods rnf :: ImplementationParams -> () #
Generic ImplementationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams

Associated Types

type Rep ImplementationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams

type Rep ImplementationParams = D1 ('MetaData "ImplementationParams" "Language.LSP.Protocol.Internal.Types.ImplementationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: ImplementationParams -> Rep ImplementationParams x #

to :: Rep ImplementationParams x -> ImplementationParams #

Show ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods showsPrec :: Int -> ImplementationParams -> ShowS # show :: ImplementationParams -> String # showList :: [ImplementationParams] -> ShowS #
Eq ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods (==) :: ImplementationParams -> ImplementationParams -> Bool # (/=) :: ImplementationParams -> ImplementationParams -> Bool #
Ord ImplementationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams

Methods

compare :: ImplementationParams -> ImplementationParams -> Ordering #

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

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

(>) :: ImplementationParams -> ImplementationParams -> Bool #

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

max :: ImplementationParams -> ImplementationParams -> ImplementationParams #

min :: ImplementationParams -> ImplementationParams -> ImplementationParams #

Hashable ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods hashWithSalt :: Int -> ImplementationParams -> Int # hash :: ImplementationParams -> Int #
Pretty ImplementationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams Methods pretty :: ImplementationParams -> Doc ann # prettyList :: [ImplementationParams] -> Doc ann #
HasPosition ImplementationParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' ImplementationParams Position #
HasTextDocument ImplementationParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ImplementationParams TextDocumentIdentifier #
HasPartialResultToken ImplementationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' ImplementationParams (Maybe ProgressToken) #
HasWorkDoneToken ImplementationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ImplementationParams (Maybe ProgressToken) #
type Rep ImplementationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationParams

type Rep ImplementationParams = D1 ('MetaData "ImplementationParams" "Language.LSP.Protocol.Internal.Types.ImplementationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data ImplementationRegistrationOptions #

Constructors

ImplementationRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON ImplementationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions Methods parseJSON :: Value -> Parser ImplementationRegistrationOptions # parseJSONList :: Value -> Parser [ImplementationRegistrationOptions] # omittedField :: Maybe ImplementationRegistrationOptions #
ToJSON ImplementationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions

Methods

toJSON :: ImplementationRegistrationOptions -> Value #

toEncoding :: ImplementationRegistrationOptions -> Encoding #

toJSONList :: [ImplementationRegistrationOptions] -> Value #

toEncodingList :: [ImplementationRegistrationOptions] -> Encoding #

omitField :: ImplementationRegistrationOptions -> Bool #

NFData ImplementationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions Methods rnf :: ImplementationRegistrationOptions -> () #
Generic ImplementationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions

Associated Types

type Rep ImplementationRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions

type Rep ImplementationRegistrationOptions = D1 ('MetaData "ImplementationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: ImplementationRegistrationOptions -> Rep ImplementationRegistrationOptions x #

to :: Rep ImplementationRegistrationOptions x -> ImplementationRegistrationOptions #

Show ImplementationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions Methods showsPrec :: Int -> ImplementationRegistrationOptions -> ShowS # show :: ImplementationRegistrationOptions -> String # showList :: [ImplementationRegistrationOptions] -> ShowS #
Eq ImplementationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions Methods (==) :: ImplementationRegistrationOptions -> ImplementationRegistrationOptions -> Bool # (/=) :: ImplementationRegistrationOptions -> ImplementationRegistrationOptions -> Bool #
Ord ImplementationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions

Methods

compare :: ImplementationRegistrationOptions -> ImplementationRegistrationOptions -> Ordering #

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

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

(>) :: ImplementationRegistrationOptions -> ImplementationRegistrationOptions -> Bool #

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

max :: ImplementationRegistrationOptions -> ImplementationRegistrationOptions -> ImplementationRegistrationOptions #

min :: ImplementationRegistrationOptions -> ImplementationRegistrationOptions -> ImplementationRegistrationOptions #

Hashable ImplementationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions Methods hashWithSalt :: Int -> ImplementationRegistrationOptions -> Int # hash :: ImplementationRegistrationOptions -> Int #
Pretty ImplementationRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions Methods pretty :: ImplementationRegistrationOptions -> Doc ann # prettyList :: [ImplementationRegistrationOptions] -> Doc ann #
HasId ImplementationRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' ImplementationRegistrationOptions (Maybe Text) #
HasImplementationProvider ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods implementationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) #
HasWorkDoneProgress ImplementationRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' ImplementationRegistrationOptions (Maybe Bool) #
HasDocumentSelector ImplementationRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ImplementationRegistrationOptions (DocumentSelector |? Null) #
type Rep ImplementationRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions

type Rep ImplementationRegistrationOptions = D1 ('MetaData "ImplementationRegistrationOptions" "Language.LSP.Protocol.Internal.Types.ImplementationRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data InitializeError #

The data type of the ResponseError if the initialize request fails.

Constructors

InitializeError |

Fields

- _retry :: Bool

  Indicates whether the client execute the following retry logic: (1) show the message provided by the ResponseError to the user (2) user selects retry or cancel (3) if user selected retry the initialize method is sent again.

#### Instances

Instances details

FromJSON InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods parseJSON :: Value -> Parser InitializeError # parseJSONList :: Value -> Parser [InitializeError] # omittedField :: Maybe InitializeError #
ToJSON InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods toJSON :: InitializeError -> Value # toEncoding :: InitializeError -> Encoding # toJSONList :: [InitializeError] -> Value # toEncodingList :: [InitializeError] -> Encoding # omitField :: InitializeError -> Bool #
NFData InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods rnf :: InitializeError -> () #
Generic InitializeError # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeError

Associated Types

type Rep InitializeError |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError type Rep InitializeError = D1 ('MetaData "InitializeError" "Language.LSP.Protocol.Internal.Types.InitializeError" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializeError" 'PrefixI 'True) (S1 ('MetaSel ('Just "_retry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

Methods

from :: InitializeError -> Rep InitializeError x #

to :: Rep InitializeError x -> InitializeError #

Show InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods showsPrec :: Int -> InitializeError -> ShowS # show :: InitializeError -> String # showList :: [InitializeError] -> ShowS #
Eq InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods (==) :: InitializeError -> InitializeError -> Bool # (/=) :: InitializeError -> InitializeError -> Bool #
Ord InitializeError # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeError

Methods

compare :: InitializeError -> InitializeError -> Ordering #

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

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

(>) :: InitializeError -> InitializeError -> Bool #

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

max :: InitializeError -> InitializeError -> InitializeError #

min :: InitializeError -> InitializeError -> InitializeError #

Hashable InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods hashWithSalt :: Int -> InitializeError -> Int # hash :: InitializeError -> Int #
Pretty InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError Methods pretty :: InitializeError -> Doc ann # prettyList :: [InitializeError] -> Doc ann #
HasRetry InitializeError Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods retry :: Lens' InitializeError Bool #
type Rep InitializeError # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeError type Rep InitializeError = D1 ('MetaData "InitializeError" "Language.LSP.Protocol.Internal.Types.InitializeError" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializeError" 'PrefixI 'True) (S1 ('MetaSel ('Just "_retry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data InitializeParams #

Constructors

InitializeParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _processId :: Int32 |? Null

  The process Id of the parent process that started the server.

  Is `null` if the process has not been started by another process. If the parent process is not alive then the server should exit.

- _clientInfo :: Maybe ClientInfo

  Information about the client

  Since: 3.15.0

- _locale :: Maybe Text

  The locale the client is currently showing the user interface in. This must not necessarily be the locale of the operating system.

  Uses IETF language tags as the value's syntax (See https://en.wikipedia.org/wiki/IETF_language_tag)

  Since: 3.16.0

- _rootPath :: Maybe (Text |? Null)

  The rootPath of the workspace. Is null if no folder is open.

  @deprecated in favour of rootUri.

- _rootUri :: Uri |? Null

  The rootUri of the workspace. Is null if no folder is open. If both `rootPath` and `rootUri` are set `rootUri` wins.

  @deprecated in favour of workspaceFolders.

- _capabilities :: ClientCapabilities

  The capabilities provided by the client (editor or tool)

- _initializationOptions :: Maybe Value

  User provided initialization options.

- _trace :: Maybe TraceValue

  The initial trace setting. If omitted trace is disabled (`off`).

- _workspaceFolders :: Maybe ([WorkspaceFolder] |? Null)

  The workspace folders configured in the client when the server starts.

  This property is only available if the client supports workspace folders. It can be `null` if the client supports workspace folders but none are configured.

  Since: 3.6.0

#### Instances

Instances details

FromJSON InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods parseJSON :: Value -> Parser InitializeParams # parseJSONList :: Value -> Parser [InitializeParams] # omittedField :: Maybe InitializeParams #
ToJSON InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods toJSON :: InitializeParams -> Value # toEncoding :: InitializeParams -> Encoding # toJSONList :: [InitializeParams] -> Value # toEncodingList :: [InitializeParams] -> Encoding # omitField :: InitializeParams -> Bool #
NFData InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods rnf :: InitializeParams -> () #
Generic InitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeParams

Associated Types

type Rep InitializeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeParams

type Rep InitializeParams = D1 ('MetaData "InitializeParams" "Language.LSP.Protocol.Internal.Types.InitializeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializeParams" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_processId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))) :*: (S1 ('MetaSel ('Just "_clientInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientInfo)) :*: (S1 ('MetaSel ('Just "_locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_rootPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? Null)))))) :*: ((S1 ('MetaSel ('Just "_rootUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Uri |? Null)) :*: S1 ('MetaSel ('Just "_capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientCapabilities)) :*: (S1 ('MetaSel ('Just "_initializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "_trace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TraceValue)) :*: S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ([WorkspaceFolder] |? Null))))))))

Methods

from :: InitializeParams -> Rep InitializeParams x #

to :: Rep InitializeParams x -> InitializeParams #

Show InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods showsPrec :: Int -> InitializeParams -> ShowS # show :: InitializeParams -> String # showList :: [InitializeParams] -> ShowS #
Eq InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods (==) :: InitializeParams -> InitializeParams -> Bool # (/=) :: InitializeParams -> InitializeParams -> Bool #
Ord InitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeParams

Methods

compare :: InitializeParams -> InitializeParams -> Ordering #

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

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

(>) :: InitializeParams -> InitializeParams -> Bool #

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

max :: InitializeParams -> InitializeParams -> InitializeParams #

min :: InitializeParams -> InitializeParams -> InitializeParams #

Hashable InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods hashWithSalt :: Int -> InitializeParams -> Int # hash :: InitializeParams -> Int #
Pretty InitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeParams Methods pretty :: InitializeParams -> Doc ann # prettyList :: [InitializeParams] -> Doc ann #
HasCapabilities InitializeParams ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods capabilities :: Lens' InitializeParams ClientCapabilities #
HasClientInfo InitializeParams (Maybe ClientInfo) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods clientInfo :: Lens' InitializeParams (Maybe ClientInfo) #
HasInitializationOptions InitializeParams (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods initializationOptions :: Lens' InitializeParams (Maybe Value) #
HasLocale InitializeParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods locale :: Lens' InitializeParams (Maybe Text) #
HasRootPath InitializeParams (Maybe (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootPath :: Lens' InitializeParams (Maybe (Text |? Null)) #
HasTrace InitializeParams (Maybe TraceValue) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods trace :: Lens' InitializeParams (Maybe TraceValue) #
HasWorkDoneToken InitializeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' InitializeParams (Maybe ProgressToken) #
HasWorkspaceFolders InitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' InitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasProcessId InitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' InitializeParams (Int32 |? Null) #
HasRootUri InitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' InitializeParams (Uri |? Null) #
type Rep InitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeParams

type Rep InitializeParams = D1 ('MetaData "InitializeParams" "Language.LSP.Protocol.Internal.Types.InitializeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializeParams" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_processId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))) :*: (S1 ('MetaSel ('Just "_clientInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientInfo)) :*: (S1 ('MetaSel ('Just "_locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_rootPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? Null)))))) :*: ((S1 ('MetaSel ('Just "_rootUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Uri |? Null)) :*: S1 ('MetaSel ('Just "_capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientCapabilities)) :*: (S1 ('MetaSel ('Just "_initializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: (S1 ('MetaSel ('Just "_trace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TraceValue)) :*: S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ([WorkspaceFolder] |? Null))))))))

data InitializeResult #

The result returned from an initialize request.

Constructors

InitializeResult |

Fields

- _capabilities :: ServerCapabilities

  The capabilities the language server provides.

- _serverInfo :: Maybe ServerInfo

  Information about the server.

  Since: 3.15.0

#### Instances

Instances details

FromJSON InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods parseJSON :: Value -> Parser InitializeResult # parseJSONList :: Value -> Parser [InitializeResult] # omittedField :: Maybe InitializeResult #
ToJSON InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods toJSON :: InitializeResult -> Value # toEncoding :: InitializeResult -> Encoding # toJSONList :: [InitializeResult] -> Value # toEncodingList :: [InitializeResult] -> Encoding # omitField :: InitializeResult -> Bool #
NFData InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods rnf :: InitializeResult -> () #
Generic InitializeResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeResult

Associated Types

type Rep InitializeResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeResult

type Rep InitializeResult = D1 ('MetaData "InitializeResult" "Language.LSP.Protocol.Internal.Types.InitializeResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializeResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServerCapabilities) :*: S1 ('MetaSel ('Just "_serverInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerInfo))))

Methods

from :: InitializeResult -> Rep InitializeResult x #

to :: Rep InitializeResult x -> InitializeResult #

Show InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods showsPrec :: Int -> InitializeResult -> ShowS # show :: InitializeResult -> String # showList :: [InitializeResult] -> ShowS #
Eq InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods (==) :: InitializeResult -> InitializeResult -> Bool # (/=) :: InitializeResult -> InitializeResult -> Bool #
Ord InitializeResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeResult

Methods

compare :: InitializeResult -> InitializeResult -> Ordering #

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

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

(>) :: InitializeResult -> InitializeResult -> Bool #

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

max :: InitializeResult -> InitializeResult -> InitializeResult #

min :: InitializeResult -> InitializeResult -> InitializeResult #

Hashable InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods hashWithSalt :: Int -> InitializeResult -> Int # hash :: InitializeResult -> Int #
Pretty InitializeResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializeResult Methods pretty :: InitializeResult -> Doc ann # prettyList :: [InitializeResult] -> Doc ann #
HasCapabilities InitializeResult ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods capabilities :: Lens' InitializeResult ServerCapabilities #
HasServerInfo InitializeResult (Maybe ServerInfo) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods serverInfo :: Lens' InitializeResult (Maybe ServerInfo) #
type Rep InitializeResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializeResult

type Rep InitializeResult = D1 ('MetaData "InitializeResult" "Language.LSP.Protocol.Internal.Types.InitializeResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializeResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ServerCapabilities) :*: S1 ('MetaSel ('Just "_serverInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerInfo))))

data InitializedParams #

Constructors

InitializedParams |

#### Instances

Instances details

FromJSON InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods parseJSON :: Value -> Parser InitializedParams # parseJSONList :: Value -> Parser [InitializedParams] # omittedField :: Maybe InitializedParams #
ToJSON InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods toJSON :: InitializedParams -> Value # toEncoding :: InitializedParams -> Encoding # toJSONList :: [InitializedParams] -> Value # toEncodingList :: [InitializedParams] -> Encoding # omitField :: InitializedParams -> Bool #
NFData InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods rnf :: InitializedParams -> () #
Generic InitializedParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializedParams

Associated Types

type Rep InitializedParams |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams type Rep InitializedParams = D1 ('MetaData "InitializedParams" "Language.LSP.Protocol.Internal.Types.InitializedParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializedParams" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: InitializedParams -> Rep InitializedParams x #

to :: Rep InitializedParams x -> InitializedParams #

Show InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods showsPrec :: Int -> InitializedParams -> ShowS # show :: InitializedParams -> String # showList :: [InitializedParams] -> ShowS #
Eq InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods (==) :: InitializedParams -> InitializedParams -> Bool # (/=) :: InitializedParams -> InitializedParams -> Bool #
Ord InitializedParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InitializedParams

Methods

compare :: InitializedParams -> InitializedParams -> Ordering #

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

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

(>) :: InitializedParams -> InitializedParams -> Bool #

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

max :: InitializedParams -> InitializedParams -> InitializedParams #

min :: InitializedParams -> InitializedParams -> InitializedParams #

Hashable InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods hashWithSalt :: Int -> InitializedParams -> Int # hash :: InitializedParams -> Int #
Pretty InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams Methods pretty :: InitializedParams -> Doc ann # prettyList :: [InitializedParams] -> Doc ann #
type Rep InitializedParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InitializedParams type Rep InitializedParams = D1 ('MetaData "InitializedParams" "Language.LSP.Protocol.Internal.Types.InitializedParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InitializedParams" 'PrefixI 'False) (U1 :: Type -> Type))

data InlayHint #

Inlay hint information.

Since: 3.17.0

Constructors

InlayHint |

Fields

- _position :: Position

  The position of this hint.

  If multiple hints have the same position, they will be shown in the order they appear in the response.

- _label :: Text |? [InlayHintLabelPart]

  The label of this hint. A human readable string or an array of InlayHintLabelPart label parts.

  - Note* that neither the string nor the label part can be empty.
- _kind :: Maybe InlayHintKind

  The kind of this hint. Can be omitted in which case the client should fall back to a reasonable default.

- _textEdits :: Maybe [TextEdit]

  Optional text edits that are performed when accepting this inlay hint.

  - Note* that edits are expected to change the document so that the inlay hint (or its nearest variant) is now part of the document and the inlay hint itself is now obsolete.
- _tooltip :: Maybe (Text |? MarkupContent)

  The tooltip text when you hover over this item.

- _paddingLeft :: Maybe Bool

  Render padding before the hint.

  Note: Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

- _paddingRight :: Maybe Bool

  Render padding after the hint.

  Note: Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

- _data_ :: Maybe Value

  A data entry field that is preserved on an inlay hint between a `textDocumentinlayHint` and a `inlayHintresolve` request.

#### Instances

Instances details

FromJSON InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods parseJSON :: Value -> Parser InlayHint # parseJSONList :: Value -> Parser [InlayHint] # omittedField :: Maybe InlayHint #
ToJSON InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods toJSON :: InlayHint -> Value # toEncoding :: InlayHint -> Encoding # toJSONList :: [InlayHint] -> Value # toEncodingList :: [InlayHint] -> Encoding # omitField :: InlayHint -> Bool #
NFData InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods rnf :: InlayHint -> () #
Generic InlayHint # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHint

Associated Types

type Rep InlayHint |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHint

type Rep InlayHint = D1 ('MetaData "InlayHint" "Language.LSP.Protocol.Internal.Types.InlayHint" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHint" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? [InlayHintLabelPart]))) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlayHintKind)) :*: S1 ('MetaSel ('Just "_textEdits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextEdit])))) :*: ((S1 ('MetaSel ('Just "_tooltip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent))) :*: S1 ('MetaSel ('Just "_paddingLeft") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_paddingRight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: InlayHint -> Rep InlayHint x #

to :: Rep InlayHint x -> InlayHint #

Show InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods showsPrec :: Int -> InlayHint -> ShowS # show :: InlayHint -> String # showList :: [InlayHint] -> ShowS #
Eq InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods (==) :: InlayHint -> InlayHint -> Bool # (/=) :: InlayHint -> InlayHint -> Bool #
Ord InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods compare :: InlayHint -> InlayHint -> Ordering # (<) :: InlayHint -> InlayHint -> Bool # (<=) :: InlayHint -> InlayHint -> Bool # (>) :: InlayHint -> InlayHint -> Bool # (>=) :: InlayHint -> InlayHint -> Bool # max :: InlayHint -> InlayHint -> InlayHint # min :: InlayHint -> InlayHint -> InlayHint #
Hashable InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods hashWithSalt :: Int -> InlayHint -> Int # hash :: InlayHint -> Int #
Pretty InlayHint # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHint Methods pretty :: InlayHint -> Doc ann # prettyList :: [InlayHint] -> Doc ann #
HasPosition InlayHint Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' InlayHint Position #
HasData_ InlayHint (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' InlayHint (Maybe Value) #
HasKind InlayHint (Maybe InlayHintKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' InlayHint (Maybe InlayHintKind) #
HasPaddingLeft InlayHint (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods paddingLeft :: Lens' InlayHint (Maybe Bool) #
HasPaddingRight InlayHint (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods paddingRight :: Lens' InlayHint (Maybe Bool) #
HasTextEdits InlayHint (Maybe [TextEdit]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdits :: Lens' InlayHint (Maybe [TextEdit]) #
HasTooltip InlayHint (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' InlayHint (Maybe (Text |? MarkupContent)) #
HasLabel InlayHint (Text |? [InlayHintLabelPart]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' InlayHint (Text |? [InlayHintLabelPart]) #
type Rep InlayHint # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHint

type Rep InlayHint = D1 ('MetaData "InlayHint" "Language.LSP.Protocol.Internal.Types.InlayHint" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHint" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? [InlayHintLabelPart]))) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlayHintKind)) :*: S1 ('MetaSel ('Just "_textEdits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextEdit])))) :*: ((S1 ('MetaSel ('Just "_tooltip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent))) :*: S1 ('MetaSel ('Just "_paddingLeft") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_paddingRight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data InlayHintParams #

A parameter literal used in inlay hint requests.

Since: 3.17.0

Constructors

InlayHintParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _range :: Range

  The document range for which inlay hints should be computed.

#### Instances

Instances details

FromJSON InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods parseJSON :: Value -> Parser InlayHintParams # parseJSONList :: Value -> Parser [InlayHintParams] # omittedField :: Maybe InlayHintParams #
ToJSON InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods toJSON :: InlayHintParams -> Value # toEncoding :: InlayHintParams -> Encoding # toJSONList :: [InlayHintParams] -> Value # toEncodingList :: [InlayHintParams] -> Encoding # omitField :: InlayHintParams -> Bool #
NFData InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods rnf :: InlayHintParams -> () #
Generic InlayHintParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams

Associated Types

type Rep InlayHintParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams

type Rep InlayHintParams = D1 ('MetaData "InlayHintParams" "Language.LSP.Protocol.Internal.Types.InlayHintParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

Methods

from :: InlayHintParams -> Rep InlayHintParams x #

to :: Rep InlayHintParams x -> InlayHintParams #

Show InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods showsPrec :: Int -> InlayHintParams -> ShowS # show :: InlayHintParams -> String # showList :: [InlayHintParams] -> ShowS #
Eq InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods (==) :: InlayHintParams -> InlayHintParams -> Bool # (/=) :: InlayHintParams -> InlayHintParams -> Bool #
Ord InlayHintParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams

Methods

compare :: InlayHintParams -> InlayHintParams -> Ordering #

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

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

(>) :: InlayHintParams -> InlayHintParams -> Bool #

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

max :: InlayHintParams -> InlayHintParams -> InlayHintParams #

min :: InlayHintParams -> InlayHintParams -> InlayHintParams #

Hashable InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods hashWithSalt :: Int -> InlayHintParams -> Int # hash :: InlayHintParams -> Int #
Pretty InlayHintParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams Methods pretty :: InlayHintParams -> Doc ann # prettyList :: [InlayHintParams] -> Doc ann #
HasRange InlayHintParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlayHintParams Range #
HasTextDocument InlayHintParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' InlayHintParams TextDocumentIdentifier #
HasWorkDoneToken InlayHintParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' InlayHintParams (Maybe ProgressToken) #
type Rep InlayHintParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintParams

type Rep InlayHintParams = D1 ('MetaData "InlayHintParams" "Language.LSP.Protocol.Internal.Types.InlayHintParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

data InlayHintRegistrationOptions #

Inlay hint options used during static or dynamic registration.

Since: 3.17.0

Constructors

InlayHintRegistrationOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for an inlay hint item.

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods parseJSON :: Value -> Parser InlayHintRegistrationOptions # parseJSONList :: Value -> Parser [InlayHintRegistrationOptions] # omittedField :: Maybe InlayHintRegistrationOptions #
ToJSON InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods toJSON :: InlayHintRegistrationOptions -> Value # toEncoding :: InlayHintRegistrationOptions -> Encoding # toJSONList :: [InlayHintRegistrationOptions] -> Value # toEncodingList :: [InlayHintRegistrationOptions] -> Encoding # omitField :: InlayHintRegistrationOptions -> Bool #
NFData InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods rnf :: InlayHintRegistrationOptions -> () #
Generic InlayHintRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions

Associated Types

type Rep InlayHintRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions

type Rep InlayHintRegistrationOptions = D1 ('MetaData "InlayHintRegistrationOptions" "Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: InlayHintRegistrationOptions -> Rep InlayHintRegistrationOptions x #

to :: Rep InlayHintRegistrationOptions x -> InlayHintRegistrationOptions #

Show InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods showsPrec :: Int -> InlayHintRegistrationOptions -> ShowS # show :: InlayHintRegistrationOptions -> String # showList :: [InlayHintRegistrationOptions] -> ShowS #
Eq InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods (==) :: InlayHintRegistrationOptions -> InlayHintRegistrationOptions -> Bool # (/=) :: InlayHintRegistrationOptions -> InlayHintRegistrationOptions -> Bool #
Ord InlayHintRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions

Methods

compare :: InlayHintRegistrationOptions -> InlayHintRegistrationOptions -> Ordering #

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

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

(>) :: InlayHintRegistrationOptions -> InlayHintRegistrationOptions -> Bool #

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

max :: InlayHintRegistrationOptions -> InlayHintRegistrationOptions -> InlayHintRegistrationOptions #

min :: InlayHintRegistrationOptions -> InlayHintRegistrationOptions -> InlayHintRegistrationOptions #

Hashable InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods hashWithSalt :: Int -> InlayHintRegistrationOptions -> Int # hash :: InlayHintRegistrationOptions -> Int #
Pretty InlayHintRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions Methods pretty :: InlayHintRegistrationOptions -> Doc ann # prettyList :: [InlayHintRegistrationOptions] -> Doc ann #
HasId InlayHintRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' InlayHintRegistrationOptions (Maybe Text) #
HasInlayHintProvider ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHintProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) #
HasResolveProvider InlayHintRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' InlayHintRegistrationOptions (Maybe Bool) #
HasWorkDoneProgress InlayHintRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' InlayHintRegistrationOptions (Maybe Bool) #
HasDocumentSelector InlayHintRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlayHintRegistrationOptions (DocumentSelector |? Null) #
type Rep InlayHintRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions

type Rep InlayHintRegistrationOptions = D1 ('MetaData "InlayHintRegistrationOptions" "Language.LSP.Protocol.Internal.Types.InlayHintRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newtype InlineValue #

Inline value information can be provided by different means: - directly as a text value (class InlineValueText). - as a name to use for a variable lookup (class InlineValueVariableLookup) - as an evaluatable expression (class InlineValueEvaluatableExpression) The InlineValue types combines all inline value types into one type.

Since: 3.17.0

Constructors

InlineValue (InlineValueText |? (InlineValueVariableLookup |? InlineValueEvaluatableExpression)) |

#### Instances

Instances details

FromJSON InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods parseJSON :: Value -> Parser InlineValue # parseJSONList :: Value -> Parser [InlineValue] # omittedField :: Maybe InlineValue #
ToJSON InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods toJSON :: InlineValue -> Value # toEncoding :: InlineValue -> Encoding # toJSONList :: [InlineValue] -> Value # toEncodingList :: [InlineValue] -> Encoding # omitField :: InlineValue -> Bool #
NFData InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods rnf :: InlineValue -> () #
Generic InlineValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValue

Associated Types

type Rep InlineValue |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValue

type Rep InlineValue = D1 ('MetaData "InlineValue" "Language.LSP.Protocol.Internal.Types.InlineValue" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "InlineValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (InlineValueText |? (InlineValueVariableLookup |? InlineValueEvaluatableExpression)))))

Methods

from :: InlineValue -> Rep InlineValue x #

to :: Rep InlineValue x -> InlineValue #

Show InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods showsPrec :: Int -> InlineValue -> ShowS # show :: InlineValue -> String # showList :: [InlineValue] -> ShowS #
Eq InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods (==) :: InlineValue -> InlineValue -> Bool # (/=) :: InlineValue -> InlineValue -> Bool #
Ord InlineValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValue

Methods

compare :: InlineValue -> InlineValue -> Ordering #

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

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

(>) :: InlineValue -> InlineValue -> Bool #

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

max :: InlineValue -> InlineValue -> InlineValue #

min :: InlineValue -> InlineValue -> InlineValue #

Hashable InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods hashWithSalt :: Int -> InlineValue -> Int # hash :: InlineValue -> Int #
Pretty InlineValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValue Methods pretty :: InlineValue -> Doc ann # prettyList :: [InlineValue] -> Doc ann #
type Rep InlineValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValue

type Rep InlineValue = D1 ('MetaData "InlineValue" "Language.LSP.Protocol.Internal.Types.InlineValue" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "InlineValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (InlineValueText |? (InlineValueVariableLookup |? InlineValueEvaluatableExpression)))))

data InlineValueParams #

A parameter literal used in inline value requests.

Since: 3.17.0

Constructors

InlineValueParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _range :: Range

  The document range for which inline values should be computed.

- _context :: InlineValueContext

  Additional information about the context in which inline values were requested.

#### Instances

Instances details

FromJSON InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods parseJSON :: Value -> Parser InlineValueParams # parseJSONList :: Value -> Parser [InlineValueParams] # omittedField :: Maybe InlineValueParams #
ToJSON InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods toJSON :: InlineValueParams -> Value # toEncoding :: InlineValueParams -> Encoding # toJSONList :: [InlineValueParams] -> Value # toEncodingList :: [InlineValueParams] -> Encoding # omitField :: InlineValueParams -> Bool #
NFData InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods rnf :: InlineValueParams -> () #
Generic InlineValueParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams

Associated Types

type Rep InlineValueParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams

type Rep InlineValueParams = D1 ('MetaData "InlineValueParams" "Language.LSP.Protocol.Internal.Types.InlineValueParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InlineValueContext))))

Methods

from :: InlineValueParams -> Rep InlineValueParams x #

to :: Rep InlineValueParams x -> InlineValueParams #

Show InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods showsPrec :: Int -> InlineValueParams -> ShowS # show :: InlineValueParams -> String # showList :: [InlineValueParams] -> ShowS #
Eq InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods (==) :: InlineValueParams -> InlineValueParams -> Bool # (/=) :: InlineValueParams -> InlineValueParams -> Bool #
Ord InlineValueParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams

Methods

compare :: InlineValueParams -> InlineValueParams -> Ordering #

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

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

(>) :: InlineValueParams -> InlineValueParams -> Bool #

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

max :: InlineValueParams -> InlineValueParams -> InlineValueParams #

min :: InlineValueParams -> InlineValueParams -> InlineValueParams #

Hashable InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods hashWithSalt :: Int -> InlineValueParams -> Int # hash :: InlineValueParams -> Int #
Pretty InlineValueParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams Methods pretty :: InlineValueParams -> Doc ann # prettyList :: [InlineValueParams] -> Doc ann #
HasContext InlineValueParams InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' InlineValueParams InlineValueContext #
HasRange InlineValueParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueParams Range #
HasTextDocument InlineValueParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' InlineValueParams TextDocumentIdentifier #
HasWorkDoneToken InlineValueParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' InlineValueParams (Maybe ProgressToken) #
type Rep InlineValueParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueParams

type Rep InlineValueParams = D1 ('MetaData "InlineValueParams" "Language.LSP.Protocol.Internal.Types.InlineValueParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InlineValueContext))))

data InlineValueRegistrationOptions #

Inline value options used during static or dynamic registration.

Since: 3.17.0

Constructors

InlineValueRegistrationOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods parseJSON :: Value -> Parser InlineValueRegistrationOptions # parseJSONList :: Value -> Parser [InlineValueRegistrationOptions] # omittedField :: Maybe InlineValueRegistrationOptions #
ToJSON InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods toJSON :: InlineValueRegistrationOptions -> Value # toEncoding :: InlineValueRegistrationOptions -> Encoding # toJSONList :: [InlineValueRegistrationOptions] -> Value # toEncodingList :: [InlineValueRegistrationOptions] -> Encoding # omitField :: InlineValueRegistrationOptions -> Bool #
NFData InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods rnf :: InlineValueRegistrationOptions -> () #
Generic InlineValueRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions

Associated Types

type Rep InlineValueRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions

type Rep InlineValueRegistrationOptions = D1 ('MetaData "InlineValueRegistrationOptions" "Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: InlineValueRegistrationOptions -> Rep InlineValueRegistrationOptions x #

to :: Rep InlineValueRegistrationOptions x -> InlineValueRegistrationOptions #

Show InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods showsPrec :: Int -> InlineValueRegistrationOptions -> ShowS # show :: InlineValueRegistrationOptions -> String # showList :: [InlineValueRegistrationOptions] -> ShowS #
Eq InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods (==) :: InlineValueRegistrationOptions -> InlineValueRegistrationOptions -> Bool # (/=) :: InlineValueRegistrationOptions -> InlineValueRegistrationOptions -> Bool #
Ord InlineValueRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions

Methods

compare :: InlineValueRegistrationOptions -> InlineValueRegistrationOptions -> Ordering #

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

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

(>) :: InlineValueRegistrationOptions -> InlineValueRegistrationOptions -> Bool #

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

max :: InlineValueRegistrationOptions -> InlineValueRegistrationOptions -> InlineValueRegistrationOptions #

min :: InlineValueRegistrationOptions -> InlineValueRegistrationOptions -> InlineValueRegistrationOptions #

Hashable InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods hashWithSalt :: Int -> InlineValueRegistrationOptions -> Int # hash :: InlineValueRegistrationOptions -> Int #
Pretty InlineValueRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions Methods pretty :: InlineValueRegistrationOptions -> Doc ann # prettyList :: [InlineValueRegistrationOptions] -> Doc ann #
HasId InlineValueRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' InlineValueRegistrationOptions (Maybe Text) #
HasInlineValueProvider ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValueProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) #
HasWorkDoneProgress InlineValueRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' InlineValueRegistrationOptions (Maybe Bool) #
HasDocumentSelector InlineValueRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' InlineValueRegistrationOptions (DocumentSelector |? Null) #
type Rep InlineValueRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions

type Rep InlineValueRegistrationOptions = D1 ('MetaData "InlineValueRegistrationOptions" "Language.LSP.Protocol.Internal.Types.InlineValueRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data LinkedEditingRangeParams #

Constructors

LinkedEditingRangeParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

#### Instances

Instances details

FromJSON LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods parseJSON :: Value -> Parser LinkedEditingRangeParams # parseJSONList :: Value -> Parser [LinkedEditingRangeParams] # omittedField :: Maybe LinkedEditingRangeParams #
ToJSON LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods toJSON :: LinkedEditingRangeParams -> Value # toEncoding :: LinkedEditingRangeParams -> Encoding # toJSONList :: [LinkedEditingRangeParams] -> Value # toEncodingList :: [LinkedEditingRangeParams] -> Encoding # omitField :: LinkedEditingRangeParams -> Bool #
NFData LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods rnf :: LinkedEditingRangeParams -> () #
Generic LinkedEditingRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams

Associated Types

type Rep LinkedEditingRangeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams

type Rep LinkedEditingRangeParams = D1 ('MetaData "LinkedEditingRangeParams" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: LinkedEditingRangeParams -> Rep LinkedEditingRangeParams x #

to :: Rep LinkedEditingRangeParams x -> LinkedEditingRangeParams #

Show LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods showsPrec :: Int -> LinkedEditingRangeParams -> ShowS # show :: LinkedEditingRangeParams -> String # showList :: [LinkedEditingRangeParams] -> ShowS #
Eq LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods (==) :: LinkedEditingRangeParams -> LinkedEditingRangeParams -> Bool # (/=) :: LinkedEditingRangeParams -> LinkedEditingRangeParams -> Bool #
Ord LinkedEditingRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams

Methods

compare :: LinkedEditingRangeParams -> LinkedEditingRangeParams -> Ordering #

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

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

(>) :: LinkedEditingRangeParams -> LinkedEditingRangeParams -> Bool #

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

max :: LinkedEditingRangeParams -> LinkedEditingRangeParams -> LinkedEditingRangeParams #

min :: LinkedEditingRangeParams -> LinkedEditingRangeParams -> LinkedEditingRangeParams #

Hashable LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods hashWithSalt :: Int -> LinkedEditingRangeParams -> Int # hash :: LinkedEditingRangeParams -> Int #
Pretty LinkedEditingRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams Methods pretty :: LinkedEditingRangeParams -> Doc ann # prettyList :: [LinkedEditingRangeParams] -> Doc ann #
HasPosition LinkedEditingRangeParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' LinkedEditingRangeParams Position #
HasTextDocument LinkedEditingRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' LinkedEditingRangeParams TextDocumentIdentifier #
HasWorkDoneToken LinkedEditingRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' LinkedEditingRangeParams (Maybe ProgressToken) #
type Rep LinkedEditingRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams

type Rep LinkedEditingRangeParams = D1 ('MetaData "LinkedEditingRangeParams" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data LinkedEditingRangeRegistrationOptions #

Constructors

LinkedEditingRangeRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON LinkedEditingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions Methods parseJSON :: Value -> Parser LinkedEditingRangeRegistrationOptions # parseJSONList :: Value -> Parser [LinkedEditingRangeRegistrationOptions] # omittedField :: Maybe LinkedEditingRangeRegistrationOptions #
ToJSON LinkedEditingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions

Methods

toJSON :: LinkedEditingRangeRegistrationOptions -> Value #

toEncoding :: LinkedEditingRangeRegistrationOptions -> Encoding #

toJSONList :: [LinkedEditingRangeRegistrationOptions] -> Value #

toEncodingList :: [LinkedEditingRangeRegistrationOptions] -> Encoding #

omitField :: LinkedEditingRangeRegistrationOptions -> Bool #

NFData LinkedEditingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions Methods rnf :: LinkedEditingRangeRegistrationOptions -> () #
Generic LinkedEditingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions

Associated Types

type Rep LinkedEditingRangeRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions

type Rep LinkedEditingRangeRegistrationOptions = D1 ('MetaData "LinkedEditingRangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: LinkedEditingRangeRegistrationOptions -> Rep LinkedEditingRangeRegistrationOptions x #

to :: Rep LinkedEditingRangeRegistrationOptions x -> LinkedEditingRangeRegistrationOptions #

Show LinkedEditingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions Methods showsPrec :: Int -> LinkedEditingRangeRegistrationOptions -> ShowS # show :: LinkedEditingRangeRegistrationOptions -> String # showList :: [LinkedEditingRangeRegistrationOptions] -> ShowS #
Eq LinkedEditingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions Methods (==) :: LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions -> Bool # (/=) :: LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions -> Bool #
Ord LinkedEditingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions

Methods

compare :: LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions -> Ordering #

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

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

(>) :: LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions -> Bool #

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

max :: LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions #

min :: LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions -> LinkedEditingRangeRegistrationOptions #

Hashable LinkedEditingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions Methods hashWithSalt :: Int -> LinkedEditingRangeRegistrationOptions -> Int # hash :: LinkedEditingRangeRegistrationOptions -> Int #
Pretty LinkedEditingRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions Methods pretty :: LinkedEditingRangeRegistrationOptions -> Doc ann # prettyList :: [LinkedEditingRangeRegistrationOptions] -> Doc ann #
HasId LinkedEditingRangeRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' LinkedEditingRangeRegistrationOptions (Maybe Text) #
HasLinkedEditingRangeProvider ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkedEditingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) #
HasWorkDoneProgress LinkedEditingRangeRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' LinkedEditingRangeRegistrationOptions (Maybe Bool) #
HasDocumentSelector LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' LinkedEditingRangeRegistrationOptions (DocumentSelector |? Null) #
type Rep LinkedEditingRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions

type Rep LinkedEditingRangeRegistrationOptions = D1 ('MetaData "LinkedEditingRangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data LinkedEditingRanges #

The result of a linked editing range request.

Since: 3.16.0

Constructors

LinkedEditingRanges |

Fields

- _ranges :: [Range]

  A list of ranges that can be edited together. The ranges must have identical length and contain identical text content. The ranges cannot overlap.

- _wordPattern :: Maybe Text

  An optional word pattern (regular expression) that describes valid contents for the given ranges. If no pattern is provided, the client configuration's word pattern will be used.

#### Instances

Instances details

FromJSON LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods parseJSON :: Value -> Parser LinkedEditingRanges # parseJSONList :: Value -> Parser [LinkedEditingRanges] # omittedField :: Maybe LinkedEditingRanges #
ToJSON LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods toJSON :: LinkedEditingRanges -> Value # toEncoding :: LinkedEditingRanges -> Encoding # toJSONList :: [LinkedEditingRanges] -> Value # toEncodingList :: [LinkedEditingRanges] -> Encoding # omitField :: LinkedEditingRanges -> Bool #
NFData LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods rnf :: LinkedEditingRanges -> () #
Generic LinkedEditingRanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges

Associated Types

type Rep LinkedEditingRanges |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges

type Rep LinkedEditingRanges = D1 ('MetaData "LinkedEditingRanges" "Language.LSP.Protocol.Internal.Types.LinkedEditingRanges" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ranges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Range]) :*: S1 ('MetaSel ('Just "_wordPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: LinkedEditingRanges -> Rep LinkedEditingRanges x #

to :: Rep LinkedEditingRanges x -> LinkedEditingRanges #

Show LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods showsPrec :: Int -> LinkedEditingRanges -> ShowS # show :: LinkedEditingRanges -> String # showList :: [LinkedEditingRanges] -> ShowS #
Eq LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods (==) :: LinkedEditingRanges -> LinkedEditingRanges -> Bool # (/=) :: LinkedEditingRanges -> LinkedEditingRanges -> Bool #
Ord LinkedEditingRanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges

Methods

compare :: LinkedEditingRanges -> LinkedEditingRanges -> Ordering #

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

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

(>) :: LinkedEditingRanges -> LinkedEditingRanges -> Bool #

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

max :: LinkedEditingRanges -> LinkedEditingRanges -> LinkedEditingRanges #

min :: LinkedEditingRanges -> LinkedEditingRanges -> LinkedEditingRanges #

Hashable LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods hashWithSalt :: Int -> LinkedEditingRanges -> Int # hash :: LinkedEditingRanges -> Int #
Pretty LinkedEditingRanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges Methods pretty :: LinkedEditingRanges -> Doc ann # prettyList :: [LinkedEditingRanges] -> Doc ann #
HasRanges LinkedEditingRanges [Range] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ranges :: Lens' LinkedEditingRanges [Range] #
HasWordPattern LinkedEditingRanges (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods wordPattern :: Lens' LinkedEditingRanges (Maybe Text) #
type Rep LinkedEditingRanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRanges

type Rep LinkedEditingRanges = D1 ('MetaData "LinkedEditingRanges" "Language.LSP.Protocol.Internal.Types.LinkedEditingRanges" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ranges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Range]) :*: S1 ('MetaSel ('Just "_wordPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data LogMessageParams #

The log message parameters.

Constructors

LogMessageParams |

Fields

- _type_ :: MessageType

  The message type. See `MessageType`

- _message :: Text

  The actual message.

#### Instances

Instances details

FromJSON LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods parseJSON :: Value -> Parser LogMessageParams # parseJSONList :: Value -> Parser [LogMessageParams] # omittedField :: Maybe LogMessageParams #
ToJSON LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods toJSON :: LogMessageParams -> Value # toEncoding :: LogMessageParams -> Encoding # toJSONList :: [LogMessageParams] -> Value # toEncodingList :: [LogMessageParams] -> Encoding # omitField :: LogMessageParams -> Bool #
NFData LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods rnf :: LogMessageParams -> () #
Generic LogMessageParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams

Associated Types

type Rep LogMessageParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams

type Rep LogMessageParams = D1 ('MetaData "LogMessageParams" "Language.LSP.Protocol.Internal.Types.LogMessageParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LogMessageParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: LogMessageParams -> Rep LogMessageParams x #

to :: Rep LogMessageParams x -> LogMessageParams #

Show LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods showsPrec :: Int -> LogMessageParams -> ShowS # show :: LogMessageParams -> String # showList :: [LogMessageParams] -> ShowS #
Eq LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods (==) :: LogMessageParams -> LogMessageParams -> Bool # (/=) :: LogMessageParams -> LogMessageParams -> Bool #
Ord LogMessageParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams

Methods

compare :: LogMessageParams -> LogMessageParams -> Ordering #

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

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

(>) :: LogMessageParams -> LogMessageParams -> Bool #

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

max :: LogMessageParams -> LogMessageParams -> LogMessageParams #

min :: LogMessageParams -> LogMessageParams -> LogMessageParams #

Hashable LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods hashWithSalt :: Int -> LogMessageParams -> Int # hash :: LogMessageParams -> Int #
Pretty LogMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams Methods pretty :: LogMessageParams -> Doc ann # prettyList :: [LogMessageParams] -> Doc ann #
HasMessage LogMessageParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' LogMessageParams Text #
HasType_ LogMessageParams MessageType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' LogMessageParams MessageType #
type Rep LogMessageParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogMessageParams

type Rep LogMessageParams = D1 ('MetaData "LogMessageParams" "Language.LSP.Protocol.Internal.Types.LogMessageParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LogMessageParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data LogTraceParams #

Constructors

LogTraceParams |

Fields

- _message :: Text
- _verbose :: Maybe Text

#### Instances

Instances details

FromJSON LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods parseJSON :: Value -> Parser LogTraceParams # parseJSONList :: Value -> Parser [LogTraceParams] # omittedField :: Maybe LogTraceParams #
ToJSON LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods toJSON :: LogTraceParams -> Value # toEncoding :: LogTraceParams -> Encoding # toJSONList :: [LogTraceParams] -> Value # toEncodingList :: [LogTraceParams] -> Encoding # omitField :: LogTraceParams -> Bool #
NFData LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods rnf :: LogTraceParams -> () #
Generic LogTraceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams

Associated Types

type Rep LogTraceParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams

type Rep LogTraceParams = D1 ('MetaData "LogTraceParams" "Language.LSP.Protocol.Internal.Types.LogTraceParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LogTraceParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_verbose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: LogTraceParams -> Rep LogTraceParams x #

to :: Rep LogTraceParams x -> LogTraceParams #

Show LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods showsPrec :: Int -> LogTraceParams -> ShowS # show :: LogTraceParams -> String # showList :: [LogTraceParams] -> ShowS #
Eq LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods (==) :: LogTraceParams -> LogTraceParams -> Bool # (/=) :: LogTraceParams -> LogTraceParams -> Bool #
Ord LogTraceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams

Methods

compare :: LogTraceParams -> LogTraceParams -> Ordering #

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

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

(>) :: LogTraceParams -> LogTraceParams -> Bool #

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

max :: LogTraceParams -> LogTraceParams -> LogTraceParams #

min :: LogTraceParams -> LogTraceParams -> LogTraceParams #

Hashable LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods hashWithSalt :: Int -> LogTraceParams -> Int # hash :: LogTraceParams -> Int #
Pretty LogTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams Methods pretty :: LogTraceParams -> Doc ann # prettyList :: [LogTraceParams] -> Doc ann #
HasMessage LogTraceParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' LogTraceParams Text #
HasVerbose LogTraceParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods verbose :: Lens' LogTraceParams (Maybe Text) #
type Rep LogTraceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LogTraceParams

type Rep LogTraceParams = D1 ('MetaData "LogTraceParams" "Language.LSP.Protocol.Internal.Types.LogTraceParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LogTraceParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_verbose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data MessageActionItem #

Constructors

MessageActionItem |

Fields

- _title :: Text

  A short title like `Retry`, 'Open Log' etc.

#### Instances

Instances details

FromJSON MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods parseJSON :: Value -> Parser MessageActionItem # parseJSONList :: Value -> Parser [MessageActionItem] # omittedField :: Maybe MessageActionItem #
ToJSON MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods toJSON :: MessageActionItem -> Value # toEncoding :: MessageActionItem -> Encoding # toJSONList :: [MessageActionItem] -> Value # toEncodingList :: [MessageActionItem] -> Encoding # omitField :: MessageActionItem -> Bool #
NFData MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods rnf :: MessageActionItem -> () #
Generic MessageActionItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem

Associated Types

type Rep MessageActionItem |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem

type Rep MessageActionItem = D1 ('MetaData "MessageActionItem" "Language.LSP.Protocol.Internal.Types.MessageActionItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MessageActionItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: MessageActionItem -> Rep MessageActionItem x #

to :: Rep MessageActionItem x -> MessageActionItem #

Show MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods showsPrec :: Int -> MessageActionItem -> ShowS # show :: MessageActionItem -> String # showList :: [MessageActionItem] -> ShowS #
Eq MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods (==) :: MessageActionItem -> MessageActionItem -> Bool # (/=) :: MessageActionItem -> MessageActionItem -> Bool #
Ord MessageActionItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem

Methods

compare :: MessageActionItem -> MessageActionItem -> Ordering #

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

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

(>) :: MessageActionItem -> MessageActionItem -> Bool #

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

max :: MessageActionItem -> MessageActionItem -> MessageActionItem #

min :: MessageActionItem -> MessageActionItem -> MessageActionItem #

Hashable MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods hashWithSalt :: Int -> MessageActionItem -> Int # hash :: MessageActionItem -> Int #
Pretty MessageActionItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem Methods pretty :: MessageActionItem -> Doc ann # prettyList :: [MessageActionItem] -> Doc ann #
HasTitle MessageActionItem Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods title :: Lens' MessageActionItem Text #
HasActions ShowMessageRequestParams (Maybe [MessageActionItem]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods actions :: Lens' ShowMessageRequestParams (Maybe [MessageActionItem]) #
type Rep MessageActionItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageActionItem

type Rep MessageActionItem = D1 ('MetaData "MessageActionItem" "Language.LSP.Protocol.Internal.Types.MessageActionItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MessageActionItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "_title") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data Moniker #

Moniker definition to match LSIF 0.5 moniker definition.

Since: 3.16.0

Constructors

Moniker |

Fields

- _scheme :: Text

  The scheme of the moniker. For example tsc or .Net

- _identifier :: Text

  The identifier of the moniker. The value is opaque in LSIF however schema owners are allowed to define the structure if they want.

- _unique :: UniquenessLevel

  The scope in which the moniker is unique

- _kind :: Maybe MonikerKind

  The moniker kind if known.

#### Instances

Instances details

FromJSON Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods parseJSON :: Value -> Parser Moniker # parseJSONList :: Value -> Parser [Moniker] # omittedField :: Maybe Moniker #
ToJSON Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods toJSON :: Moniker -> Value # toEncoding :: Moniker -> Encoding # toJSONList :: [Moniker] -> Value # toEncodingList :: [Moniker] -> Encoding # omitField :: Moniker -> Bool #
NFData Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods rnf :: Moniker -> () #
Generic Moniker # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Moniker

Associated Types

type Rep Moniker |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Moniker

type Rep Moniker = D1 ('MetaData "Moniker" "Language.LSP.Protocol.Internal.Types.Moniker" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Moniker" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_unique") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UniquenessLevel) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonikerKind)))))

Methods

from :: Moniker -> Rep Moniker x #

to :: Rep Moniker x -> Moniker #

Show Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods showsPrec :: Int -> Moniker -> ShowS # show :: Moniker -> String # showList :: [Moniker] -> ShowS #
Eq Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods (==) :: Moniker -> Moniker -> Bool # (/=) :: Moniker -> Moniker -> Bool #
Ord Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods compare :: Moniker -> Moniker -> Ordering # (<) :: Moniker -> Moniker -> Bool # (<=) :: Moniker -> Moniker -> Bool # (>) :: Moniker -> Moniker -> Bool # (>=) :: Moniker -> Moniker -> Bool # max :: Moniker -> Moniker -> Moniker # min :: Moniker -> Moniker -> Moniker #
Hashable Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods hashWithSalt :: Int -> Moniker -> Int # hash :: Moniker -> Int #
Pretty Moniker # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Moniker Methods pretty :: Moniker -> Doc ann # prettyList :: [Moniker] -> Doc ann #
HasIdentifier Moniker Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods identifier :: Lens' Moniker Text #
HasScheme Moniker Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' Moniker Text #
HasUnique Moniker UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods unique :: Lens' Moniker UniquenessLevel #
HasKind Moniker (Maybe MonikerKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' Moniker (Maybe MonikerKind) #
type Rep Moniker # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Moniker

type Rep Moniker = D1 ('MetaData "Moniker" "Language.LSP.Protocol.Internal.Types.Moniker" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Moniker" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_unique") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UniquenessLevel) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonikerKind)))))

data MonikerParams #

Constructors

MonikerParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods parseJSON :: Value -> Parser MonikerParams # parseJSONList :: Value -> Parser [MonikerParams] # omittedField :: Maybe MonikerParams #
ToJSON MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods toJSON :: MonikerParams -> Value # toEncoding :: MonikerParams -> Encoding # toJSONList :: [MonikerParams] -> Value # toEncodingList :: [MonikerParams] -> Encoding # omitField :: MonikerParams -> Bool #
NFData MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods rnf :: MonikerParams -> () #
Generic MonikerParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerParams

Associated Types

type Rep MonikerParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerParams

type Rep MonikerParams = D1 ('MetaData "MonikerParams" "Language.LSP.Protocol.Internal.Types.MonikerParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: MonikerParams -> Rep MonikerParams x #

to :: Rep MonikerParams x -> MonikerParams #

Show MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods showsPrec :: Int -> MonikerParams -> ShowS # show :: MonikerParams -> String # showList :: [MonikerParams] -> ShowS #
Eq MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods (==) :: MonikerParams -> MonikerParams -> Bool # (/=) :: MonikerParams -> MonikerParams -> Bool #
Ord MonikerParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerParams

Methods

compare :: MonikerParams -> MonikerParams -> Ordering #

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

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

(>) :: MonikerParams -> MonikerParams -> Bool #

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

max :: MonikerParams -> MonikerParams -> MonikerParams #

min :: MonikerParams -> MonikerParams -> MonikerParams #

Hashable MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods hashWithSalt :: Int -> MonikerParams -> Int # hash :: MonikerParams -> Int #
Pretty MonikerParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerParams Methods pretty :: MonikerParams -> Doc ann # prettyList :: [MonikerParams] -> Doc ann #
HasPosition MonikerParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' MonikerParams Position #
HasTextDocument MonikerParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' MonikerParams TextDocumentIdentifier #
HasPartialResultToken MonikerParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' MonikerParams (Maybe ProgressToken) #
HasWorkDoneToken MonikerParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' MonikerParams (Maybe ProgressToken) #
type Rep MonikerParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerParams

type Rep MonikerParams = D1 ('MetaData "MonikerParams" "Language.LSP.Protocol.Internal.Types.MonikerParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data MonikerRegistrationOptions #

Constructors

MonikerRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods parseJSON :: Value -> Parser MonikerRegistrationOptions # parseJSONList :: Value -> Parser [MonikerRegistrationOptions] # omittedField :: Maybe MonikerRegistrationOptions #
ToJSON MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods toJSON :: MonikerRegistrationOptions -> Value # toEncoding :: MonikerRegistrationOptions -> Encoding # toJSONList :: [MonikerRegistrationOptions] -> Value # toEncodingList :: [MonikerRegistrationOptions] -> Encoding # omitField :: MonikerRegistrationOptions -> Bool #
NFData MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods rnf :: MonikerRegistrationOptions -> () #
Generic MonikerRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions

Associated Types

type Rep MonikerRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions

type Rep MonikerRegistrationOptions = D1 ('MetaData "MonikerRegistrationOptions" "Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: MonikerRegistrationOptions -> Rep MonikerRegistrationOptions x #

to :: Rep MonikerRegistrationOptions x -> MonikerRegistrationOptions #

Show MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods showsPrec :: Int -> MonikerRegistrationOptions -> ShowS # show :: MonikerRegistrationOptions -> String # showList :: [MonikerRegistrationOptions] -> ShowS #
Eq MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods (==) :: MonikerRegistrationOptions -> MonikerRegistrationOptions -> Bool # (/=) :: MonikerRegistrationOptions -> MonikerRegistrationOptions -> Bool #
Ord MonikerRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions

Methods

compare :: MonikerRegistrationOptions -> MonikerRegistrationOptions -> Ordering #

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

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

(>) :: MonikerRegistrationOptions -> MonikerRegistrationOptions -> Bool #

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

max :: MonikerRegistrationOptions -> MonikerRegistrationOptions -> MonikerRegistrationOptions #

min :: MonikerRegistrationOptions -> MonikerRegistrationOptions -> MonikerRegistrationOptions #

Hashable MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods hashWithSalt :: Int -> MonikerRegistrationOptions -> Int # hash :: MonikerRegistrationOptions -> Int #
Pretty MonikerRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions Methods pretty :: MonikerRegistrationOptions -> Doc ann # prettyList :: [MonikerRegistrationOptions] -> Doc ann #
HasMonikerProvider ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods monikerProvider :: Lens' ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) #
HasWorkDoneProgress MonikerRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' MonikerRegistrationOptions (Maybe Bool) #
HasDocumentSelector MonikerRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' MonikerRegistrationOptions (DocumentSelector |? Null) #
type Rep MonikerRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions

type Rep MonikerRegistrationOptions = D1 ('MetaData "MonikerRegistrationOptions" "Language.LSP.Protocol.Internal.Types.MonikerRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data NotebookDocumentSyncRegistrationOptions #

Registration options specific to a notebook.

Since: 3.17.0

Constructors

NotebookDocumentSyncRegistrationOptions |

Fields

- _notebookSelector :: [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]

  The notebooks to be synced

- _save :: Maybe Bool

  Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON NotebookDocumentSyncRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions Methods parseJSON :: Value -> Parser NotebookDocumentSyncRegistrationOptions # parseJSONList :: Value -> Parser [NotebookDocumentSyncRegistrationOptions] # omittedField :: Maybe NotebookDocumentSyncRegistrationOptions #
ToJSON NotebookDocumentSyncRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions

Methods

toJSON :: NotebookDocumentSyncRegistrationOptions -> Value #

toEncoding :: NotebookDocumentSyncRegistrationOptions -> Encoding #

toJSONList :: [NotebookDocumentSyncRegistrationOptions] -> Value #

toEncodingList :: [NotebookDocumentSyncRegistrationOptions] -> Encoding #

omitField :: NotebookDocumentSyncRegistrationOptions -> Bool #

NFData NotebookDocumentSyncRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions Methods rnf :: NotebookDocumentSyncRegistrationOptions -> () #
Generic NotebookDocumentSyncRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions

Associated Types

type Rep NotebookDocumentSyncRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions

type Rep NotebookDocumentSyncRegistrationOptions = D1 ('MetaData "NotebookDocumentSyncRegistrationOptions" "Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentSyncRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]) :*: (S1 ('MetaSel ('Just "_save") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: NotebookDocumentSyncRegistrationOptions -> Rep NotebookDocumentSyncRegistrationOptions x #

to :: Rep NotebookDocumentSyncRegistrationOptions x -> NotebookDocumentSyncRegistrationOptions #

Show NotebookDocumentSyncRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions Methods showsPrec :: Int -> NotebookDocumentSyncRegistrationOptions -> ShowS # show :: NotebookDocumentSyncRegistrationOptions -> String # showList :: [NotebookDocumentSyncRegistrationOptions] -> ShowS #
Eq NotebookDocumentSyncRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions Methods (==) :: NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions -> Bool # (/=) :: NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions -> Bool #
Ord NotebookDocumentSyncRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions

Methods

compare :: NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions -> Ordering #

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

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

(>) :: NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions -> Bool #

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

max :: NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions #

min :: NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions -> NotebookDocumentSyncRegistrationOptions #

Hashable NotebookDocumentSyncRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions Methods hashWithSalt :: Int -> NotebookDocumentSyncRegistrationOptions -> Int # hash :: NotebookDocumentSyncRegistrationOptions -> Int #
Pretty NotebookDocumentSyncRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions Methods pretty :: NotebookDocumentSyncRegistrationOptions -> Doc ann # prettyList :: [NotebookDocumentSyncRegistrationOptions] -> Doc ann #
HasId NotebookDocumentSyncRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' NotebookDocumentSyncRegistrationOptions (Maybe Text) #
HasNotebookDocumentSync ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocumentSync :: Lens' ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) #
HasNotebookSelector NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasSave NotebookDocumentSyncRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods save :: Lens' NotebookDocumentSyncRegistrationOptions (Maybe Bool) #
type Rep NotebookDocumentSyncRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions

type Rep NotebookDocumentSyncRegistrationOptions = D1 ('MetaData "NotebookDocumentSyncRegistrationOptions" "Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentSyncRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]) :*: (S1 ('MetaSel ('Just "_save") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data PrepareRenameParams #

Constructors

PrepareRenameParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

#### Instances

Instances details

FromJSON PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods parseJSON :: Value -> Parser PrepareRenameParams # parseJSONList :: Value -> Parser [PrepareRenameParams] # omittedField :: Maybe PrepareRenameParams #
ToJSON PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods toJSON :: PrepareRenameParams -> Value # toEncoding :: PrepareRenameParams -> Encoding # toJSONList :: [PrepareRenameParams] -> Value # toEncodingList :: [PrepareRenameParams] -> Encoding # omitField :: PrepareRenameParams -> Bool #
NFData PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods rnf :: PrepareRenameParams -> () #
Generic PrepareRenameParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams

Associated Types

type Rep PrepareRenameParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams

type Rep PrepareRenameParams = D1 ('MetaData "PrepareRenameParams" "Language.LSP.Protocol.Internal.Types.PrepareRenameParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareRenameParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: PrepareRenameParams -> Rep PrepareRenameParams x #

to :: Rep PrepareRenameParams x -> PrepareRenameParams #

Show PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods showsPrec :: Int -> PrepareRenameParams -> ShowS # show :: PrepareRenameParams -> String # showList :: [PrepareRenameParams] -> ShowS #
Eq PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods (==) :: PrepareRenameParams -> PrepareRenameParams -> Bool # (/=) :: PrepareRenameParams -> PrepareRenameParams -> Bool #
Ord PrepareRenameParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams

Methods

compare :: PrepareRenameParams -> PrepareRenameParams -> Ordering #

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

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

(>) :: PrepareRenameParams -> PrepareRenameParams -> Bool #

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

max :: PrepareRenameParams -> PrepareRenameParams -> PrepareRenameParams #

min :: PrepareRenameParams -> PrepareRenameParams -> PrepareRenameParams #

Hashable PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods hashWithSalt :: Int -> PrepareRenameParams -> Int # hash :: PrepareRenameParams -> Int #
Pretty PrepareRenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams Methods pretty :: PrepareRenameParams -> Doc ann # prettyList :: [PrepareRenameParams] -> Doc ann #
HasPosition PrepareRenameParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' PrepareRenameParams Position #
HasTextDocument PrepareRenameParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' PrepareRenameParams TextDocumentIdentifier #
HasWorkDoneToken PrepareRenameParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' PrepareRenameParams (Maybe ProgressToken) #
type Rep PrepareRenameParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameParams

type Rep PrepareRenameParams = D1 ('MetaData "PrepareRenameParams" "Language.LSP.Protocol.Internal.Types.PrepareRenameParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareRenameParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

newtype PrepareRenameResult #

Constructors

PrepareRenameResult (Range |? (PrepareRenamePlaceholder |? PrepareRenameDefaultBehavior)) |

#### Instances

Instances details

FromJSON PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods parseJSON :: Value -> Parser PrepareRenameResult # parseJSONList :: Value -> Parser [PrepareRenameResult] # omittedField :: Maybe PrepareRenameResult #
ToJSON PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods toJSON :: PrepareRenameResult -> Value # toEncoding :: PrepareRenameResult -> Encoding # toJSONList :: [PrepareRenameResult] -> Value # toEncodingList :: [PrepareRenameResult] -> Encoding # omitField :: PrepareRenameResult -> Bool #
NFData PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods rnf :: PrepareRenameResult -> () #
Generic PrepareRenameResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult

Associated Types

type Rep PrepareRenameResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult

type Rep PrepareRenameResult = D1 ('MetaData "PrepareRenameResult" "Language.LSP.Protocol.Internal.Types.PrepareRenameResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "PrepareRenameResult" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Range |? (PrepareRenamePlaceholder |? PrepareRenameDefaultBehavior)))))

Methods

from :: PrepareRenameResult -> Rep PrepareRenameResult x #

to :: Rep PrepareRenameResult x -> PrepareRenameResult #

Show PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods showsPrec :: Int -> PrepareRenameResult -> ShowS # show :: PrepareRenameResult -> String # showList :: [PrepareRenameResult] -> ShowS #
Eq PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods (==) :: PrepareRenameResult -> PrepareRenameResult -> Bool # (/=) :: PrepareRenameResult -> PrepareRenameResult -> Bool #
Ord PrepareRenameResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult

Methods

compare :: PrepareRenameResult -> PrepareRenameResult -> Ordering #

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

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

(>) :: PrepareRenameResult -> PrepareRenameResult -> Bool #

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

max :: PrepareRenameResult -> PrepareRenameResult -> PrepareRenameResult #

min :: PrepareRenameResult -> PrepareRenameResult -> PrepareRenameResult #

Hashable PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods hashWithSalt :: Int -> PrepareRenameResult -> Int # hash :: PrepareRenameResult -> Int #
Pretty PrepareRenameResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult Methods pretty :: PrepareRenameResult -> Doc ann # prettyList :: [PrepareRenameResult] -> Doc ann #
type Rep PrepareRenameResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameResult

type Rep PrepareRenameResult = D1 ('MetaData "PrepareRenameResult" "Language.LSP.Protocol.Internal.Types.PrepareRenameResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "PrepareRenameResult" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Range |? (PrepareRenamePlaceholder |? PrepareRenameDefaultBehavior)))))

data ProgressParams #

Constructors

ProgressParams |

Fields

- _token :: ProgressToken

  The progress token provided by the client or server.

- _value :: Value

  The progress data.

#### Instances

Instances details

FromJSON ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods parseJSON :: Value -> Parser ProgressParams # parseJSONList :: Value -> Parser [ProgressParams] # omittedField :: Maybe ProgressParams #
ToJSON ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods toJSON :: ProgressParams -> Value # toEncoding :: ProgressParams -> Encoding # toJSONList :: [ProgressParams] -> Value # toEncodingList :: [ProgressParams] -> Encoding # omitField :: ProgressParams -> Bool #
NFData ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods rnf :: ProgressParams -> () #
Generic ProgressParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressParams

Associated Types

type Rep ProgressParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressParams

type Rep ProgressParams = D1 ('MetaData "ProgressParams" "Language.LSP.Protocol.Internal.Types.ProgressParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ProgressParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProgressToken) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)))

Methods

from :: ProgressParams -> Rep ProgressParams x #

to :: Rep ProgressParams x -> ProgressParams #

Show ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods showsPrec :: Int -> ProgressParams -> ShowS # show :: ProgressParams -> String # showList :: [ProgressParams] -> ShowS #
Eq ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods (==) :: ProgressParams -> ProgressParams -> Bool # (/=) :: ProgressParams -> ProgressParams -> Bool #
Ord ProgressParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressParams

Methods

compare :: ProgressParams -> ProgressParams -> Ordering #

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

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

(>) :: ProgressParams -> ProgressParams -> Bool #

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

max :: ProgressParams -> ProgressParams -> ProgressParams #

min :: ProgressParams -> ProgressParams -> ProgressParams #

Hashable ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods hashWithSalt :: Int -> ProgressParams -> Int # hash :: ProgressParams -> Int #
Pretty ProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressParams Methods pretty :: ProgressParams -> Doc ann # prettyList :: [ProgressParams] -> Doc ann #
HasToken ProgressParams ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods token :: Lens' ProgressParams ProgressToken #
HasValue ProgressParams Value # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' ProgressParams Value #
type Rep ProgressParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressParams

type Rep ProgressParams = D1 ('MetaData "ProgressParams" "Language.LSP.Protocol.Internal.Types.ProgressParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ProgressParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProgressToken) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Value)))

data PublishDiagnosticsParams #

The publish diagnostic notification's parameters.

Constructors

PublishDiagnosticsParams |

Fields

- _uri :: Uri

  The URI for which diagnostic information is reported.

- _version :: Maybe Int32

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

  Since: 3.15.0

- _diagnostics :: [Diagnostic]

  An array of diagnostic information items.

#### Instances

Instances details

FromJSON PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods parseJSON :: Value -> Parser PublishDiagnosticsParams # parseJSONList :: Value -> Parser [PublishDiagnosticsParams] # omittedField :: Maybe PublishDiagnosticsParams #
ToJSON PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods toJSON :: PublishDiagnosticsParams -> Value # toEncoding :: PublishDiagnosticsParams -> Encoding # toJSONList :: [PublishDiagnosticsParams] -> Value # toEncodingList :: [PublishDiagnosticsParams] -> Encoding # omitField :: PublishDiagnosticsParams -> Bool #
NFData PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods rnf :: PublishDiagnosticsParams -> () #
Generic PublishDiagnosticsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams

Associated Types

type Rep PublishDiagnosticsParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams

type Rep PublishDiagnosticsParams = D1 ('MetaData "PublishDiagnosticsParams" "Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PublishDiagnosticsParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int32)) :*: S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]))))

Methods

from :: PublishDiagnosticsParams -> Rep PublishDiagnosticsParams x #

to :: Rep PublishDiagnosticsParams x -> PublishDiagnosticsParams #

Show PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods showsPrec :: Int -> PublishDiagnosticsParams -> ShowS # show :: PublishDiagnosticsParams -> String # showList :: [PublishDiagnosticsParams] -> ShowS #
Eq PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods (==) :: PublishDiagnosticsParams -> PublishDiagnosticsParams -> Bool # (/=) :: PublishDiagnosticsParams -> PublishDiagnosticsParams -> Bool #
Ord PublishDiagnosticsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams

Methods

compare :: PublishDiagnosticsParams -> PublishDiagnosticsParams -> Ordering #

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

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

(>) :: PublishDiagnosticsParams -> PublishDiagnosticsParams -> Bool #

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

max :: PublishDiagnosticsParams -> PublishDiagnosticsParams -> PublishDiagnosticsParams #

min :: PublishDiagnosticsParams -> PublishDiagnosticsParams -> PublishDiagnosticsParams #

Hashable PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods hashWithSalt :: Int -> PublishDiagnosticsParams -> Int # hash :: PublishDiagnosticsParams -> Int #
Pretty PublishDiagnosticsParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams Methods pretty :: PublishDiagnosticsParams -> Doc ann # prettyList :: [PublishDiagnosticsParams] -> Doc ann #
HasUri PublishDiagnosticsParams Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' PublishDiagnosticsParams Uri #
HasDiagnostics PublishDiagnosticsParams [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' PublishDiagnosticsParams [Diagnostic] #
HasVersion PublishDiagnosticsParams (Maybe Int32) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' PublishDiagnosticsParams (Maybe Int32) #
type Rep PublishDiagnosticsParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams

type Rep PublishDiagnosticsParams = D1 ('MetaData "PublishDiagnosticsParams" "Language.LSP.Protocol.Internal.Types.PublishDiagnosticsParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PublishDiagnosticsParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int32)) :*: S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]))))

data ReferenceParams #

Parameters for a `ReferencesRequest`.

Constructors

ReferenceParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _context :: ReferenceContext

#### Instances

Instances details

FromJSON ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods parseJSON :: Value -> Parser ReferenceParams # parseJSONList :: Value -> Parser [ReferenceParams] # omittedField :: Maybe ReferenceParams #
ToJSON ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods toJSON :: ReferenceParams -> Value # toEncoding :: ReferenceParams -> Encoding # toJSONList :: [ReferenceParams] -> Value # toEncodingList :: [ReferenceParams] -> Encoding # omitField :: ReferenceParams -> Bool #
NFData ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods rnf :: ReferenceParams -> () #
Generic ReferenceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams

Associated Types

type Rep ReferenceParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams

type Rep ReferenceParams = D1 ('MetaData "ReferenceParams" "Language.LSP.Protocol.Internal.Types.ReferenceParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReferenceContext)))))

Methods

from :: ReferenceParams -> Rep ReferenceParams x #

to :: Rep ReferenceParams x -> ReferenceParams #

Show ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods showsPrec :: Int -> ReferenceParams -> ShowS # show :: ReferenceParams -> String # showList :: [ReferenceParams] -> ShowS #
Eq ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods (==) :: ReferenceParams -> ReferenceParams -> Bool # (/=) :: ReferenceParams -> ReferenceParams -> Bool #
Ord ReferenceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams

Methods

compare :: ReferenceParams -> ReferenceParams -> Ordering #

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

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

(>) :: ReferenceParams -> ReferenceParams -> Bool #

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

max :: ReferenceParams -> ReferenceParams -> ReferenceParams #

min :: ReferenceParams -> ReferenceParams -> ReferenceParams #

Hashable ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods hashWithSalt :: Int -> ReferenceParams -> Int # hash :: ReferenceParams -> Int #
Pretty ReferenceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams Methods pretty :: ReferenceParams -> Doc ann # prettyList :: [ReferenceParams] -> Doc ann #
HasContext ReferenceParams ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' ReferenceParams ReferenceContext #
HasPosition ReferenceParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' ReferenceParams Position #
HasTextDocument ReferenceParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ReferenceParams TextDocumentIdentifier #
HasPartialResultToken ReferenceParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' ReferenceParams (Maybe ProgressToken) #
HasWorkDoneToken ReferenceParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ReferenceParams (Maybe ProgressToken) #
type Rep ReferenceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceParams

type Rep ReferenceParams = D1 ('MetaData "ReferenceParams" "Language.LSP.Protocol.Internal.Types.ReferenceParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ReferenceContext)))))

data ReferenceRegistrationOptions #

Registration options for a `ReferencesRequest`.

Constructors

ReferenceRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods parseJSON :: Value -> Parser ReferenceRegistrationOptions # parseJSONList :: Value -> Parser [ReferenceRegistrationOptions] # omittedField :: Maybe ReferenceRegistrationOptions #
ToJSON ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods toJSON :: ReferenceRegistrationOptions -> Value # toEncoding :: ReferenceRegistrationOptions -> Encoding # toJSONList :: [ReferenceRegistrationOptions] -> Value # toEncodingList :: [ReferenceRegistrationOptions] -> Encoding # omitField :: ReferenceRegistrationOptions -> Bool #
NFData ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods rnf :: ReferenceRegistrationOptions -> () #
Generic ReferenceRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions

Associated Types

type Rep ReferenceRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions

type Rep ReferenceRegistrationOptions = D1 ('MetaData "ReferenceRegistrationOptions" "Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ReferenceRegistrationOptions -> Rep ReferenceRegistrationOptions x #

to :: Rep ReferenceRegistrationOptions x -> ReferenceRegistrationOptions #

Show ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods showsPrec :: Int -> ReferenceRegistrationOptions -> ShowS # show :: ReferenceRegistrationOptions -> String # showList :: [ReferenceRegistrationOptions] -> ShowS #
Eq ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods (==) :: ReferenceRegistrationOptions -> ReferenceRegistrationOptions -> Bool # (/=) :: ReferenceRegistrationOptions -> ReferenceRegistrationOptions -> Bool #
Ord ReferenceRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions

Methods

compare :: ReferenceRegistrationOptions -> ReferenceRegistrationOptions -> Ordering #

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

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

(>) :: ReferenceRegistrationOptions -> ReferenceRegistrationOptions -> Bool #

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

max :: ReferenceRegistrationOptions -> ReferenceRegistrationOptions -> ReferenceRegistrationOptions #

min :: ReferenceRegistrationOptions -> ReferenceRegistrationOptions -> ReferenceRegistrationOptions #

Hashable ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods hashWithSalt :: Int -> ReferenceRegistrationOptions -> Int # hash :: ReferenceRegistrationOptions -> Int #
Pretty ReferenceRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions Methods pretty :: ReferenceRegistrationOptions -> Doc ann # prettyList :: [ReferenceRegistrationOptions] -> Doc ann #
HasWorkDoneProgress ReferenceRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' ReferenceRegistrationOptions (Maybe Bool) #
HasDocumentSelector ReferenceRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' ReferenceRegistrationOptions (DocumentSelector |? Null) #
type Rep ReferenceRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions

type Rep ReferenceRegistrationOptions = D1 ('MetaData "ReferenceRegistrationOptions" "Language.LSP.Protocol.Internal.Types.ReferenceRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data RegistrationParams #

Constructors

RegistrationParams |

Fields

- _registrations :: [Registration]

#### Instances

Instances details

FromJSON RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods parseJSON :: Value -> Parser RegistrationParams # parseJSONList :: Value -> Parser [RegistrationParams] # omittedField :: Maybe RegistrationParams #
ToJSON RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods toJSON :: RegistrationParams -> Value # toEncoding :: RegistrationParams -> Encoding # toJSONList :: [RegistrationParams] -> Value # toEncodingList :: [RegistrationParams] -> Encoding # omitField :: RegistrationParams -> Bool #
NFData RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods rnf :: RegistrationParams -> () #
Generic RegistrationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams

Associated Types

type Rep RegistrationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams

type Rep RegistrationParams = D1 ('MetaData "RegistrationParams" "Language.LSP.Protocol.Internal.Types.RegistrationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RegistrationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_registrations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Registration])))

Methods

from :: RegistrationParams -> Rep RegistrationParams x #

to :: Rep RegistrationParams x -> RegistrationParams #

Show RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods showsPrec :: Int -> RegistrationParams -> ShowS # show :: RegistrationParams -> String # showList :: [RegistrationParams] -> ShowS #
Eq RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods (==) :: RegistrationParams -> RegistrationParams -> Bool # (/=) :: RegistrationParams -> RegistrationParams -> Bool #
Ord RegistrationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams

Methods

compare :: RegistrationParams -> RegistrationParams -> Ordering #

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

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

(>) :: RegistrationParams -> RegistrationParams -> Bool #

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

max :: RegistrationParams -> RegistrationParams -> RegistrationParams #

min :: RegistrationParams -> RegistrationParams -> RegistrationParams #

Hashable RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods hashWithSalt :: Int -> RegistrationParams -> Int # hash :: RegistrationParams -> Int #
Pretty RegistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams Methods pretty :: RegistrationParams -> Doc ann # prettyList :: [RegistrationParams] -> Doc ann #
HasRegistrations RegistrationParams [Registration] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods registrations :: Lens' RegistrationParams [Registration] #
type Rep RegistrationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegistrationParams

type Rep RegistrationParams = D1 ('MetaData "RegistrationParams" "Language.LSP.Protocol.Internal.Types.RegistrationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RegistrationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_registrations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Registration])))

data RenameFilesParams #

The parameters sent in notifications/requests for user-initiated renames of files.

Since: 3.16.0

Constructors

RenameFilesParams |

Fields

- _files :: [FileRename]

  An array of all files/folders renamed in this operation. When a folder is renamed, only the folder will be included, and not its children.

#### Instances

Instances details

FromJSON RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods parseJSON :: Value -> Parser RenameFilesParams # parseJSONList :: Value -> Parser [RenameFilesParams] # omittedField :: Maybe RenameFilesParams #
ToJSON RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods toJSON :: RenameFilesParams -> Value # toEncoding :: RenameFilesParams -> Encoding # toJSONList :: [RenameFilesParams] -> Value # toEncodingList :: [RenameFilesParams] -> Encoding # omitField :: RenameFilesParams -> Bool #
NFData RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods rnf :: RenameFilesParams -> () #
Generic RenameFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams

Associated Types

type Rep RenameFilesParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams

type Rep RenameFilesParams = D1 ('MetaData "RenameFilesParams" "Language.LSP.Protocol.Internal.Types.RenameFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileRename])))

Methods

from :: RenameFilesParams -> Rep RenameFilesParams x #

to :: Rep RenameFilesParams x -> RenameFilesParams #

Show RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods showsPrec :: Int -> RenameFilesParams -> ShowS # show :: RenameFilesParams -> String # showList :: [RenameFilesParams] -> ShowS #
Eq RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods (==) :: RenameFilesParams -> RenameFilesParams -> Bool # (/=) :: RenameFilesParams -> RenameFilesParams -> Bool #
Ord RenameFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams

Methods

compare :: RenameFilesParams -> RenameFilesParams -> Ordering #

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

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

(>) :: RenameFilesParams -> RenameFilesParams -> Bool #

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

max :: RenameFilesParams -> RenameFilesParams -> RenameFilesParams #

min :: RenameFilesParams -> RenameFilesParams -> RenameFilesParams #

Hashable RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods hashWithSalt :: Int -> RenameFilesParams -> Int # hash :: RenameFilesParams -> Int #
Pretty RenameFilesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams Methods pretty :: RenameFilesParams -> Doc ann # prettyList :: [RenameFilesParams] -> Doc ann #
HasFiles RenameFilesParams [FileRename] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods files :: Lens' RenameFilesParams [FileRename] #
type Rep RenameFilesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFilesParams

type Rep RenameFilesParams = D1 ('MetaData "RenameFilesParams" "Language.LSP.Protocol.Internal.Types.RenameFilesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameFilesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_files") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [FileRename])))

data RenameParams #

The parameters of a `RenameRequest`.

Constructors

RenameParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _textDocument :: TextDocumentIdentifier

  The document to rename.

- _position :: Position

  The position at which this request was sent.

- _newName :: Text

  The new name of the symbol. If the given name is not valid the request must return a `ResponseError` with an appropriate message set.

#### Instances

Instances details

FromJSON RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods parseJSON :: Value -> Parser RenameParams # parseJSONList :: Value -> Parser [RenameParams] # omittedField :: Maybe RenameParams #
ToJSON RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods toJSON :: RenameParams -> Value # toEncoding :: RenameParams -> Encoding # toJSONList :: [RenameParams] -> Value # toEncodingList :: [RenameParams] -> Encoding # omitField :: RenameParams -> Bool #
NFData RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods rnf :: RenameParams -> () #
Generic RenameParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameParams

Associated Types

type Rep RenameParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameParams

type Rep RenameParams = D1 ('MetaData "RenameParams" "Language.LSP.Protocol.Internal.Types.RenameParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_newName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: RenameParams -> Rep RenameParams x #

to :: Rep RenameParams x -> RenameParams #

Show RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods showsPrec :: Int -> RenameParams -> ShowS # show :: RenameParams -> String # showList :: [RenameParams] -> ShowS #
Eq RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods (==) :: RenameParams -> RenameParams -> Bool # (/=) :: RenameParams -> RenameParams -> Bool #
Ord RenameParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameParams

Methods

compare :: RenameParams -> RenameParams -> Ordering #

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

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

(>) :: RenameParams -> RenameParams -> Bool #

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

max :: RenameParams -> RenameParams -> RenameParams #

min :: RenameParams -> RenameParams -> RenameParams #

Hashable RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods hashWithSalt :: Int -> RenameParams -> Int # hash :: RenameParams -> Int #
Pretty RenameParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameParams Methods pretty :: RenameParams -> Doc ann # prettyList :: [RenameParams] -> Doc ann #
HasNewName RenameParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newName :: Lens' RenameParams Text #
HasPosition RenameParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' RenameParams Position #
HasTextDocument RenameParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' RenameParams TextDocumentIdentifier #
HasWorkDoneToken RenameParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' RenameParams (Maybe ProgressToken) #
type Rep RenameParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameParams

type Rep RenameParams = D1 ('MetaData "RenameParams" "Language.LSP.Protocol.Internal.Types.RenameParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier)) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_newName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data RenameRegistrationOptions #

Registration options for a `RenameRequest`.

Constructors

RenameRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _prepareProvider :: Maybe Bool

  Renames should be checked and tested before being executed.

  @since version 3.12.0

#### Instances

Instances details

FromJSON RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods parseJSON :: Value -> Parser RenameRegistrationOptions # parseJSONList :: Value -> Parser [RenameRegistrationOptions] # omittedField :: Maybe RenameRegistrationOptions #
ToJSON RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods toJSON :: RenameRegistrationOptions -> Value # toEncoding :: RenameRegistrationOptions -> Encoding # toJSONList :: [RenameRegistrationOptions] -> Value # toEncodingList :: [RenameRegistrationOptions] -> Encoding # omitField :: RenameRegistrationOptions -> Bool #
NFData RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods rnf :: RenameRegistrationOptions -> () #
Generic RenameRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions

Associated Types

type Rep RenameRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions

type Rep RenameRegistrationOptions = D1 ('MetaData "RenameRegistrationOptions" "Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_prepareProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: RenameRegistrationOptions -> Rep RenameRegistrationOptions x #

to :: Rep RenameRegistrationOptions x -> RenameRegistrationOptions #

Show RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods showsPrec :: Int -> RenameRegistrationOptions -> ShowS # show :: RenameRegistrationOptions -> String # showList :: [RenameRegistrationOptions] -> ShowS #
Eq RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods (==) :: RenameRegistrationOptions -> RenameRegistrationOptions -> Bool # (/=) :: RenameRegistrationOptions -> RenameRegistrationOptions -> Bool #
Ord RenameRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions

Methods

compare :: RenameRegistrationOptions -> RenameRegistrationOptions -> Ordering #

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

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

(>) :: RenameRegistrationOptions -> RenameRegistrationOptions -> Bool #

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

max :: RenameRegistrationOptions -> RenameRegistrationOptions -> RenameRegistrationOptions #

min :: RenameRegistrationOptions -> RenameRegistrationOptions -> RenameRegistrationOptions #

Hashable RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods hashWithSalt :: Int -> RenameRegistrationOptions -> Int # hash :: RenameRegistrationOptions -> Int #
Pretty RenameRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions Methods pretty :: RenameRegistrationOptions -> Doc ann # prettyList :: [RenameRegistrationOptions] -> Doc ann #
HasPrepareProvider RenameRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods prepareProvider :: Lens' RenameRegistrationOptions (Maybe Bool) #
HasWorkDoneProgress RenameRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' RenameRegistrationOptions (Maybe Bool) #
HasDocumentSelector RenameRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' RenameRegistrationOptions (DocumentSelector |? Null) #
type Rep RenameRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions

type Rep RenameRegistrationOptions = D1 ('MetaData "RenameRegistrationOptions" "Language.LSP.Protocol.Internal.Types.RenameRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_prepareProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data SelectionRange #

A selection range represents a part of a selection hierarchy. A selection range may have a parent selection range that contains it.

Constructors

SelectionRange |

Fields

- _range :: Range

  The `Range` of this selection range.

- _parent :: Maybe SelectionRange

  The parent selection range containing this range. Therefore `parent.range` must contain `this.range`.

#### Instances

Instances details

FromJSON SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods parseJSON :: Value -> Parser SelectionRange # parseJSONList :: Value -> Parser [SelectionRange] # omittedField :: Maybe SelectionRange #
ToJSON SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods toJSON :: SelectionRange -> Value # toEncoding :: SelectionRange -> Encoding # toJSONList :: [SelectionRange] -> Value # toEncodingList :: [SelectionRange] -> Encoding # omitField :: SelectionRange -> Bool #
NFData SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods rnf :: SelectionRange -> () #
Generic SelectionRange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRange

Associated Types

type Rep SelectionRange |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRange

type Rep SelectionRange = D1 ('MetaData "SelectionRange" "Language.LSP.Protocol.Internal.Types.SelectionRange" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_parent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectionRange))))

Methods

from :: SelectionRange -> Rep SelectionRange x #

to :: Rep SelectionRange x -> SelectionRange #

Show SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods showsPrec :: Int -> SelectionRange -> ShowS # show :: SelectionRange -> String # showList :: [SelectionRange] -> ShowS #
Eq SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods (==) :: SelectionRange -> SelectionRange -> Bool # (/=) :: SelectionRange -> SelectionRange -> Bool #
Ord SelectionRange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRange

Methods

compare :: SelectionRange -> SelectionRange -> Ordering #

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

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

(>) :: SelectionRange -> SelectionRange -> Bool #

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

max :: SelectionRange -> SelectionRange -> SelectionRange #

min :: SelectionRange -> SelectionRange -> SelectionRange #

Hashable SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods hashWithSalt :: Int -> SelectionRange -> Int # hash :: SelectionRange -> Int #
Pretty SelectionRange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRange Methods pretty :: SelectionRange -> Doc ann # prettyList :: [SelectionRange] -> Doc ann #
HasRange SelectionRange Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SelectionRange Range #
HasParent SelectionRange (Maybe SelectionRange) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods parent :: Lens' SelectionRange (Maybe SelectionRange) #
type Rep SelectionRange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRange

type Rep SelectionRange = D1 ('MetaData "SelectionRange" "Language.LSP.Protocol.Internal.Types.SelectionRange" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRange" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_parent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectionRange))))

data SelectionRangeParams #

A parameter literal used in selection range requests.

Constructors

SelectionRangeParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _positions :: [Position]

  The positions inside the text document.

#### Instances

Instances details

FromJSON SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods parseJSON :: Value -> Parser SelectionRangeParams # parseJSONList :: Value -> Parser [SelectionRangeParams] # omittedField :: Maybe SelectionRangeParams #
ToJSON SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods toJSON :: SelectionRangeParams -> Value # toEncoding :: SelectionRangeParams -> Encoding # toJSONList :: [SelectionRangeParams] -> Value # toEncodingList :: [SelectionRangeParams] -> Encoding # omitField :: SelectionRangeParams -> Bool #
NFData SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods rnf :: SelectionRangeParams -> () #
Generic SelectionRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams

Associated Types

type Rep SelectionRangeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams

type Rep SelectionRangeParams = D1 ('MetaData "SelectionRangeParams" "Language.LSP.Protocol.Internal.Types.SelectionRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_positions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Position]))))

Methods

from :: SelectionRangeParams -> Rep SelectionRangeParams x #

to :: Rep SelectionRangeParams x -> SelectionRangeParams #

Show SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods showsPrec :: Int -> SelectionRangeParams -> ShowS # show :: SelectionRangeParams -> String # showList :: [SelectionRangeParams] -> ShowS #
Eq SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods (==) :: SelectionRangeParams -> SelectionRangeParams -> Bool # (/=) :: SelectionRangeParams -> SelectionRangeParams -> Bool #
Ord SelectionRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams

Methods

compare :: SelectionRangeParams -> SelectionRangeParams -> Ordering #

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

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

(>) :: SelectionRangeParams -> SelectionRangeParams -> Bool #

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

max :: SelectionRangeParams -> SelectionRangeParams -> SelectionRangeParams #

min :: SelectionRangeParams -> SelectionRangeParams -> SelectionRangeParams #

Hashable SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods hashWithSalt :: Int -> SelectionRangeParams -> Int # hash :: SelectionRangeParams -> Int #
Pretty SelectionRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams Methods pretty :: SelectionRangeParams -> Doc ann # prettyList :: [SelectionRangeParams] -> Doc ann #
HasTextDocument SelectionRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SelectionRangeParams TextDocumentIdentifier #
HasPartialResultToken SelectionRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SelectionRangeParams (Maybe ProgressToken) #
HasPositions SelectionRangeParams [Position] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods positions :: Lens' SelectionRangeParams [Position] #
HasWorkDoneToken SelectionRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SelectionRangeParams (Maybe ProgressToken) #
type Rep SelectionRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeParams

type Rep SelectionRangeParams = D1 ('MetaData "SelectionRangeParams" "Language.LSP.Protocol.Internal.Types.SelectionRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_positions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Position]))))

data SelectionRangeRegistrationOptions #

Constructors

SelectionRangeRegistrationOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON SelectionRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions Methods parseJSON :: Value -> Parser SelectionRangeRegistrationOptions # parseJSONList :: Value -> Parser [SelectionRangeRegistrationOptions] # omittedField :: Maybe SelectionRangeRegistrationOptions #
ToJSON SelectionRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions

Methods

toJSON :: SelectionRangeRegistrationOptions -> Value #

toEncoding :: SelectionRangeRegistrationOptions -> Encoding #

toJSONList :: [SelectionRangeRegistrationOptions] -> Value #

toEncodingList :: [SelectionRangeRegistrationOptions] -> Encoding #

omitField :: SelectionRangeRegistrationOptions -> Bool #

NFData SelectionRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions Methods rnf :: SelectionRangeRegistrationOptions -> () #
Generic SelectionRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions

Associated Types

type Rep SelectionRangeRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions

type Rep SelectionRangeRegistrationOptions = D1 ('MetaData "SelectionRangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: SelectionRangeRegistrationOptions -> Rep SelectionRangeRegistrationOptions x #

to :: Rep SelectionRangeRegistrationOptions x -> SelectionRangeRegistrationOptions #

Show SelectionRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions Methods showsPrec :: Int -> SelectionRangeRegistrationOptions -> ShowS # show :: SelectionRangeRegistrationOptions -> String # showList :: [SelectionRangeRegistrationOptions] -> ShowS #
Eq SelectionRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions Methods (==) :: SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions -> Bool # (/=) :: SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions -> Bool #
Ord SelectionRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions

Methods

compare :: SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions -> Ordering #

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

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

(>) :: SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions -> Bool #

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

max :: SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions #

min :: SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions -> SelectionRangeRegistrationOptions #

Hashable SelectionRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions Methods hashWithSalt :: Int -> SelectionRangeRegistrationOptions -> Int # hash :: SelectionRangeRegistrationOptions -> Int #
Pretty SelectionRangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions Methods pretty :: SelectionRangeRegistrationOptions -> Doc ann # prettyList :: [SelectionRangeRegistrationOptions] -> Doc ann #
HasId SelectionRangeRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' SelectionRangeRegistrationOptions (Maybe Text) #
HasSelectionRangeProvider ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) #
HasWorkDoneProgress SelectionRangeRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' SelectionRangeRegistrationOptions (Maybe Bool) #
HasDocumentSelector SelectionRangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SelectionRangeRegistrationOptions (DocumentSelector |? Null) #
type Rep SelectionRangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions

type Rep SelectionRangeRegistrationOptions = D1 ('MetaData "SelectionRangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.SelectionRangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data SemanticTokensDeltaParams #

Since: 3.16.0

Constructors

SemanticTokensDeltaParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _previousResultId :: Text

  The result id of a previous response. The result Id can either point to a full response or a delta response depending on what was received last.

#### Instances

Instances details

FromJSON SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods parseJSON :: Value -> Parser SemanticTokensDeltaParams # parseJSONList :: Value -> Parser [SemanticTokensDeltaParams] # omittedField :: Maybe SemanticTokensDeltaParams #
ToJSON SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods toJSON :: SemanticTokensDeltaParams -> Value # toEncoding :: SemanticTokensDeltaParams -> Encoding # toJSONList :: [SemanticTokensDeltaParams] -> Value # toEncodingList :: [SemanticTokensDeltaParams] -> Encoding # omitField :: SemanticTokensDeltaParams -> Bool #
NFData SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods rnf :: SemanticTokensDeltaParams -> () #
Generic SemanticTokensDeltaParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams

Associated Types

type Rep SemanticTokensDeltaParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams

type Rep SemanticTokensDeltaParams = D1 ('MetaData "SemanticTokensDeltaParams" "Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensDeltaParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_previousResultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: SemanticTokensDeltaParams -> Rep SemanticTokensDeltaParams x #

to :: Rep SemanticTokensDeltaParams x -> SemanticTokensDeltaParams #

Show SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods showsPrec :: Int -> SemanticTokensDeltaParams -> ShowS # show :: SemanticTokensDeltaParams -> String # showList :: [SemanticTokensDeltaParams] -> ShowS #
Eq SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods (==) :: SemanticTokensDeltaParams -> SemanticTokensDeltaParams -> Bool # (/=) :: SemanticTokensDeltaParams -> SemanticTokensDeltaParams -> Bool #
Ord SemanticTokensDeltaParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams

Methods

compare :: SemanticTokensDeltaParams -> SemanticTokensDeltaParams -> Ordering #

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

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

(>) :: SemanticTokensDeltaParams -> SemanticTokensDeltaParams -> Bool #

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

max :: SemanticTokensDeltaParams -> SemanticTokensDeltaParams -> SemanticTokensDeltaParams #

min :: SemanticTokensDeltaParams -> SemanticTokensDeltaParams -> SemanticTokensDeltaParams #

Hashable SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods hashWithSalt :: Int -> SemanticTokensDeltaParams -> Int # hash :: SemanticTokensDeltaParams -> Int #
Pretty SemanticTokensDeltaParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams Methods pretty :: SemanticTokensDeltaParams -> Doc ann # prettyList :: [SemanticTokensDeltaParams] -> Doc ann #
HasPreviousResultId SemanticTokensDeltaParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods previousResultId :: Lens' SemanticTokensDeltaParams Text #
HasTextDocument SemanticTokensDeltaParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SemanticTokensDeltaParams TextDocumentIdentifier #
HasPartialResultToken SemanticTokensDeltaParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SemanticTokensDeltaParams (Maybe ProgressToken) #
HasWorkDoneToken SemanticTokensDeltaParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SemanticTokensDeltaParams (Maybe ProgressToken) #
type Rep SemanticTokensDeltaParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams

type Rep SemanticTokensDeltaParams = D1 ('MetaData "SemanticTokensDeltaParams" "Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensDeltaParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_previousResultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data SemanticTokensParams #

Since: 3.16.0

Constructors

SemanticTokensParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

#### Instances

Instances details

FromJSON SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods parseJSON :: Value -> Parser SemanticTokensParams # parseJSONList :: Value -> Parser [SemanticTokensParams] # omittedField :: Maybe SemanticTokensParams #
ToJSON SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods toJSON :: SemanticTokensParams -> Value # toEncoding :: SemanticTokensParams -> Encoding # toJSONList :: [SemanticTokensParams] -> Value # toEncodingList :: [SemanticTokensParams] -> Encoding # omitField :: SemanticTokensParams -> Bool #
NFData SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods rnf :: SemanticTokensParams -> () #
Generic SemanticTokensParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams

Associated Types

type Rep SemanticTokensParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams

type Rep SemanticTokensParams = D1 ('MetaData "SemanticTokensParams" "Language.LSP.Protocol.Internal.Types.SemanticTokensParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

Methods

from :: SemanticTokensParams -> Rep SemanticTokensParams x #

to :: Rep SemanticTokensParams x -> SemanticTokensParams #

Show SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods showsPrec :: Int -> SemanticTokensParams -> ShowS # show :: SemanticTokensParams -> String # showList :: [SemanticTokensParams] -> ShowS #
Eq SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods (==) :: SemanticTokensParams -> SemanticTokensParams -> Bool # (/=) :: SemanticTokensParams -> SemanticTokensParams -> Bool #
Ord SemanticTokensParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams

Methods

compare :: SemanticTokensParams -> SemanticTokensParams -> Ordering #

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

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

(>) :: SemanticTokensParams -> SemanticTokensParams -> Bool #

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

max :: SemanticTokensParams -> SemanticTokensParams -> SemanticTokensParams #

min :: SemanticTokensParams -> SemanticTokensParams -> SemanticTokensParams #

Hashable SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods hashWithSalt :: Int -> SemanticTokensParams -> Int # hash :: SemanticTokensParams -> Int #
Pretty SemanticTokensParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams Methods pretty :: SemanticTokensParams -> Doc ann # prettyList :: [SemanticTokensParams] -> Doc ann #
HasTextDocument SemanticTokensParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SemanticTokensParams TextDocumentIdentifier #
HasPartialResultToken SemanticTokensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SemanticTokensParams (Maybe ProgressToken) #
HasWorkDoneToken SemanticTokensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SemanticTokensParams (Maybe ProgressToken) #
type Rep SemanticTokensParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensParams

type Rep SemanticTokensParams = D1 ('MetaData "SemanticTokensParams" "Language.LSP.Protocol.Internal.Types.SemanticTokensParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier))))

data SemanticTokensRangeParams #

Since: 3.16.0

Constructors

SemanticTokensRangeParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _textDocument :: TextDocumentIdentifier

  The text document.

- _range :: Range

  The range the semantic tokens are requested for.

#### Instances

Instances details

FromJSON SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods parseJSON :: Value -> Parser SemanticTokensRangeParams # parseJSONList :: Value -> Parser [SemanticTokensRangeParams] # omittedField :: Maybe SemanticTokensRangeParams #
ToJSON SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods toJSON :: SemanticTokensRangeParams -> Value # toEncoding :: SemanticTokensRangeParams -> Encoding # toJSONList :: [SemanticTokensRangeParams] -> Value # toEncodingList :: [SemanticTokensRangeParams] -> Encoding # omitField :: SemanticTokensRangeParams -> Bool #
NFData SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods rnf :: SemanticTokensRangeParams -> () #
Generic SemanticTokensRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams

Associated Types

type Rep SemanticTokensRangeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams

type Rep SemanticTokensRangeParams = D1 ('MetaData "SemanticTokensRangeParams" "Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensRangeParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

Methods

from :: SemanticTokensRangeParams -> Rep SemanticTokensRangeParams x #

to :: Rep SemanticTokensRangeParams x -> SemanticTokensRangeParams #

Show SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods showsPrec :: Int -> SemanticTokensRangeParams -> ShowS # show :: SemanticTokensRangeParams -> String # showList :: [SemanticTokensRangeParams] -> ShowS #
Eq SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods (==) :: SemanticTokensRangeParams -> SemanticTokensRangeParams -> Bool # (/=) :: SemanticTokensRangeParams -> SemanticTokensRangeParams -> Bool #
Ord SemanticTokensRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams

Methods

compare :: SemanticTokensRangeParams -> SemanticTokensRangeParams -> Ordering #

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

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

(>) :: SemanticTokensRangeParams -> SemanticTokensRangeParams -> Bool #

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

max :: SemanticTokensRangeParams -> SemanticTokensRangeParams -> SemanticTokensRangeParams #

min :: SemanticTokensRangeParams -> SemanticTokensRangeParams -> SemanticTokensRangeParams #

Hashable SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods hashWithSalt :: Int -> SemanticTokensRangeParams -> Int # hash :: SemanticTokensRangeParams -> Int #
Pretty SemanticTokensRangeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams Methods pretty :: SemanticTokensRangeParams -> Doc ann # prettyList :: [SemanticTokensRangeParams] -> Doc ann #
HasRange SemanticTokensRangeParams Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SemanticTokensRangeParams Range #
HasTextDocument SemanticTokensRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SemanticTokensRangeParams TextDocumentIdentifier #
HasPartialResultToken SemanticTokensRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SemanticTokensRangeParams (Maybe ProgressToken) #
HasWorkDoneToken SemanticTokensRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SemanticTokensRangeParams (Maybe ProgressToken) #
type Rep SemanticTokensRangeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams

type Rep SemanticTokensRangeParams = D1 ('MetaData "SemanticTokensRangeParams" "Language.LSP.Protocol.Internal.Types.SemanticTokensRangeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensRangeParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

data SemanticTokensRegistrationOptions #

Since: 3.16.0

Constructors

SemanticTokensRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _legend :: SemanticTokensLegend

  The legend used by the server

- _range :: Maybe (Bool |? Rec (Empty :: Row Type))

  Server supports providing semantic tokens for a specific range of a document.

- _full :: Maybe (Bool |? SemanticTokensFullDelta)

  Server supports providing semantic tokens for a full document.

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON SemanticTokensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions Methods parseJSON :: Value -> Parser SemanticTokensRegistrationOptions # parseJSONList :: Value -> Parser [SemanticTokensRegistrationOptions] # omittedField :: Maybe SemanticTokensRegistrationOptions #
ToJSON SemanticTokensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions

Methods

toJSON :: SemanticTokensRegistrationOptions -> Value #

toEncoding :: SemanticTokensRegistrationOptions -> Encoding #

toJSONList :: [SemanticTokensRegistrationOptions] -> Value #

toEncodingList :: [SemanticTokensRegistrationOptions] -> Encoding #

omitField :: SemanticTokensRegistrationOptions -> Bool #

NFData SemanticTokensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions Methods rnf :: SemanticTokensRegistrationOptions -> () #
Generic SemanticTokensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions

Associated Types

type Rep SemanticTokensRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions

type Rep SemanticTokensRegistrationOptions = D1 ('MetaData "SemanticTokensRegistrationOptions" "Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_legend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SemanticTokensLegend))) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? Rec (Empty :: Row Type)))) :*: (S1 ('MetaSel ('Just "_full") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? SemanticTokensFullDelta))) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

Methods

from :: SemanticTokensRegistrationOptions -> Rep SemanticTokensRegistrationOptions x #

to :: Rep SemanticTokensRegistrationOptions x -> SemanticTokensRegistrationOptions #

Show SemanticTokensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions Methods showsPrec :: Int -> SemanticTokensRegistrationOptions -> ShowS # show :: SemanticTokensRegistrationOptions -> String # showList :: [SemanticTokensRegistrationOptions] -> ShowS #
Eq SemanticTokensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions Methods (==) :: SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions -> Bool # (/=) :: SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions -> Bool #
Ord SemanticTokensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions

Methods

compare :: SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions -> Ordering #

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

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

(>) :: SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions -> Bool #

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

max :: SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions #

min :: SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions -> SemanticTokensRegistrationOptions #

Hashable SemanticTokensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions Methods hashWithSalt :: Int -> SemanticTokensRegistrationOptions -> Int # hash :: SemanticTokensRegistrationOptions -> Int #
Pretty SemanticTokensRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions Methods pretty :: SemanticTokensRegistrationOptions -> Doc ann # prettyList :: [SemanticTokensRegistrationOptions] -> Doc ann #
HasLegend SemanticTokensRegistrationOptions SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods legend :: Lens' SemanticTokensRegistrationOptions SemanticTokensLegend #
HasFull SemanticTokensRegistrationOptions (Maybe (Bool |? SemanticTokensFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' SemanticTokensRegistrationOptions (Maybe (Bool |? SemanticTokensFullDelta)) #
HasId SemanticTokensRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' SemanticTokensRegistrationOptions (Maybe Text) #
HasRange SemanticTokensRegistrationOptions (Maybe (Bool |? Rec (Empty :: Row Type))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SemanticTokensRegistrationOptions (Maybe (Bool |? Rec (Empty :: Row Type))) #
HasSemanticTokensProvider ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokensProvider :: Lens' ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) #
HasWorkDoneProgress SemanticTokensRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' SemanticTokensRegistrationOptions (Maybe Bool) #
HasDocumentSelector SemanticTokensRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SemanticTokensRegistrationOptions (DocumentSelector |? Null) #
type Rep SemanticTokensRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions

type Rep SemanticTokensRegistrationOptions = D1 ('MetaData "SemanticTokensRegistrationOptions" "Language.LSP.Protocol.Internal.Types.SemanticTokensRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_legend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SemanticTokensLegend))) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? Rec (Empty :: Row Type)))) :*: (S1 ('MetaSel ('Just "_full") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? SemanticTokensFullDelta))) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

data SetTraceParams #

Constructors

SetTraceParams |

Fields

- _value :: TraceValue

#### Instances

Instances details

FromJSON SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods parseJSON :: Value -> Parser SetTraceParams # parseJSONList :: Value -> Parser [SetTraceParams] # omittedField :: Maybe SetTraceParams #
ToJSON SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods toJSON :: SetTraceParams -> Value # toEncoding :: SetTraceParams -> Encoding # toJSONList :: [SetTraceParams] -> Value # toEncodingList :: [SetTraceParams] -> Encoding # omitField :: SetTraceParams -> Bool #
NFData SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods rnf :: SetTraceParams -> () #
Generic SetTraceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams

Associated Types

type Rep SetTraceParams |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams type Rep SetTraceParams = D1 ('MetaData "SetTraceParams" "Language.LSP.Protocol.Internal.Types.SetTraceParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SetTraceParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TraceValue)))

Methods

from :: SetTraceParams -> Rep SetTraceParams x #

to :: Rep SetTraceParams x -> SetTraceParams #

Show SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods showsPrec :: Int -> SetTraceParams -> ShowS # show :: SetTraceParams -> String # showList :: [SetTraceParams] -> ShowS #
Eq SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods (==) :: SetTraceParams -> SetTraceParams -> Bool # (/=) :: SetTraceParams -> SetTraceParams -> Bool #
Ord SetTraceParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams

Methods

compare :: SetTraceParams -> SetTraceParams -> Ordering #

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

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

(>) :: SetTraceParams -> SetTraceParams -> Bool #

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

max :: SetTraceParams -> SetTraceParams -> SetTraceParams #

min :: SetTraceParams -> SetTraceParams -> SetTraceParams #

Hashable SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods hashWithSalt :: Int -> SetTraceParams -> Int # hash :: SetTraceParams -> Int #
Pretty SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams Methods pretty :: SetTraceParams -> Doc ann # prettyList :: [SetTraceParams] -> Doc ann #
HasValue SetTraceParams TraceValue # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' SetTraceParams TraceValue #
type Rep SetTraceParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SetTraceParams type Rep SetTraceParams = D1 ('MetaData "SetTraceParams" "Language.LSP.Protocol.Internal.Types.SetTraceParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SetTraceParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TraceValue)))

data ShowDocumentParams #

Params to show a resource in the UI.

Since: 3.16.0

Constructors

ShowDocumentParams |

Fields

- _uri :: Uri

  The uri to show.

- _external :: Maybe Bool

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

- _takeFocus :: Maybe Bool

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

- _selection :: Maybe Range

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

#### Instances

Instances details

FromJSON ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods parseJSON :: Value -> Parser ShowDocumentParams # parseJSONList :: Value -> Parser [ShowDocumentParams] # omittedField :: Maybe ShowDocumentParams #
ToJSON ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods toJSON :: ShowDocumentParams -> Value # toEncoding :: ShowDocumentParams -> Encoding # toJSONList :: [ShowDocumentParams] -> Value # toEncodingList :: [ShowDocumentParams] -> Encoding # omitField :: ShowDocumentParams -> Bool #
NFData ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods rnf :: ShowDocumentParams -> () #
Generic ShowDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams

Associated Types

type Rep ShowDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams

type Rep ShowDocumentParams = D1 ('MetaData "ShowDocumentParams" "Language.LSP.Protocol.Internal.Types.ShowDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowDocumentParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_external") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_takeFocus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_selection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Range)))))

Methods

from :: ShowDocumentParams -> Rep ShowDocumentParams x #

to :: Rep ShowDocumentParams x -> ShowDocumentParams #

Show ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods showsPrec :: Int -> ShowDocumentParams -> ShowS # show :: ShowDocumentParams -> String # showList :: [ShowDocumentParams] -> ShowS #
Eq ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods (==) :: ShowDocumentParams -> ShowDocumentParams -> Bool # (/=) :: ShowDocumentParams -> ShowDocumentParams -> Bool #
Ord ShowDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams

Methods

compare :: ShowDocumentParams -> ShowDocumentParams -> Ordering #

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

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

(>) :: ShowDocumentParams -> ShowDocumentParams -> Bool #

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

max :: ShowDocumentParams -> ShowDocumentParams -> ShowDocumentParams #

min :: ShowDocumentParams -> ShowDocumentParams -> ShowDocumentParams #

Hashable ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods hashWithSalt :: Int -> ShowDocumentParams -> Int # hash :: ShowDocumentParams -> Int #
Pretty ShowDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams Methods pretty :: ShowDocumentParams -> Doc ann # prettyList :: [ShowDocumentParams] -> Doc ann #
HasUri ShowDocumentParams Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' ShowDocumentParams Uri #
HasExternal ShowDocumentParams (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods external :: Lens' ShowDocumentParams (Maybe Bool) #
HasSelection ShowDocumentParams (Maybe Range) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selection :: Lens' ShowDocumentParams (Maybe Range) #
HasTakeFocus ShowDocumentParams (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods takeFocus :: Lens' ShowDocumentParams (Maybe Bool) #
type Rep ShowDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentParams

type Rep ShowDocumentParams = D1 ('MetaData "ShowDocumentParams" "Language.LSP.Protocol.Internal.Types.ShowDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowDocumentParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_external") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_takeFocus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_selection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Range)))))

data ShowDocumentResult #

The result of a showDocument request.

Since: 3.16.0

Constructors

ShowDocumentResult |

Fields

- _success :: Bool

  A boolean indicating if the show was successful.

#### Instances

Instances details

FromJSON ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods parseJSON :: Value -> Parser ShowDocumentResult # parseJSONList :: Value -> Parser [ShowDocumentResult] # omittedField :: Maybe ShowDocumentResult #
ToJSON ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods toJSON :: ShowDocumentResult -> Value # toEncoding :: ShowDocumentResult -> Encoding # toJSONList :: [ShowDocumentResult] -> Value # toEncodingList :: [ShowDocumentResult] -> Encoding # omitField :: ShowDocumentResult -> Bool #
NFData ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods rnf :: ShowDocumentResult -> () #
Generic ShowDocumentResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult

Associated Types

type Rep ShowDocumentResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult

type Rep ShowDocumentResult = D1 ('MetaData "ShowDocumentResult" "Language.LSP.Protocol.Internal.Types.ShowDocumentResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowDocumentResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

Methods

from :: ShowDocumentResult -> Rep ShowDocumentResult x #

to :: Rep ShowDocumentResult x -> ShowDocumentResult #

Show ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods showsPrec :: Int -> ShowDocumentResult -> ShowS # show :: ShowDocumentResult -> String # showList :: [ShowDocumentResult] -> ShowS #
Eq ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods (==) :: ShowDocumentResult -> ShowDocumentResult -> Bool # (/=) :: ShowDocumentResult -> ShowDocumentResult -> Bool #
Ord ShowDocumentResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult

Methods

compare :: ShowDocumentResult -> ShowDocumentResult -> Ordering #

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

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

(>) :: ShowDocumentResult -> ShowDocumentResult -> Bool #

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

max :: ShowDocumentResult -> ShowDocumentResult -> ShowDocumentResult #

min :: ShowDocumentResult -> ShowDocumentResult -> ShowDocumentResult #

Hashable ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods hashWithSalt :: Int -> ShowDocumentResult -> Int # hash :: ShowDocumentResult -> Int #
Pretty ShowDocumentResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult Methods pretty :: ShowDocumentResult -> Doc ann # prettyList :: [ShowDocumentResult] -> Doc ann #
HasSuccess ShowDocumentResult Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods success :: Lens' ShowDocumentResult Bool #
type Rep ShowDocumentResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentResult

type Rep ShowDocumentResult = D1 ('MetaData "ShowDocumentResult" "Language.LSP.Protocol.Internal.Types.ShowDocumentResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowDocumentResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data ShowMessageParams #

The parameters of a notification message.

Constructors

ShowMessageParams |

Fields

- _type_ :: MessageType

  The message type. See `MessageType`

- _message :: Text

  The actual message.

#### Instances

Instances details

FromJSON ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods parseJSON :: Value -> Parser ShowMessageParams # parseJSONList :: Value -> Parser [ShowMessageParams] # omittedField :: Maybe ShowMessageParams #
ToJSON ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods toJSON :: ShowMessageParams -> Value # toEncoding :: ShowMessageParams -> Encoding # toJSONList :: [ShowMessageParams] -> Value # toEncodingList :: [ShowMessageParams] -> Encoding # omitField :: ShowMessageParams -> Bool #
NFData ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods rnf :: ShowMessageParams -> () #
Generic ShowMessageParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams

Associated Types

type Rep ShowMessageParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams

type Rep ShowMessageParams = D1 ('MetaData "ShowMessageParams" "Language.LSP.Protocol.Internal.Types.ShowMessageParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowMessageParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: ShowMessageParams -> Rep ShowMessageParams x #

to :: Rep ShowMessageParams x -> ShowMessageParams #

Show ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods showsPrec :: Int -> ShowMessageParams -> ShowS # show :: ShowMessageParams -> String # showList :: [ShowMessageParams] -> ShowS #
Eq ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods (==) :: ShowMessageParams -> ShowMessageParams -> Bool # (/=) :: ShowMessageParams -> ShowMessageParams -> Bool #
Ord ShowMessageParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams

Methods

compare :: ShowMessageParams -> ShowMessageParams -> Ordering #

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

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

(>) :: ShowMessageParams -> ShowMessageParams -> Bool #

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

max :: ShowMessageParams -> ShowMessageParams -> ShowMessageParams #

min :: ShowMessageParams -> ShowMessageParams -> ShowMessageParams #

Hashable ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods hashWithSalt :: Int -> ShowMessageParams -> Int # hash :: ShowMessageParams -> Int #
Pretty ShowMessageParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams Methods pretty :: ShowMessageParams -> Doc ann # prettyList :: [ShowMessageParams] -> Doc ann #
HasMessage ShowMessageParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' ShowMessageParams Text #
HasType_ ShowMessageParams MessageType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' ShowMessageParams MessageType #
type Rep ShowMessageParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageParams

type Rep ShowMessageParams = D1 ('MetaData "ShowMessageParams" "Language.LSP.Protocol.Internal.Types.ShowMessageParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowMessageParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data ShowMessageRequestParams #

Constructors

ShowMessageRequestParams |

Fields

- _type_ :: MessageType

  The message type. See `MessageType`

- _message :: Text

  The actual message.

- _actions :: Maybe [MessageActionItem]

  The message action items to present.

#### Instances

Instances details

FromJSON ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods parseJSON :: Value -> Parser ShowMessageRequestParams # parseJSONList :: Value -> Parser [ShowMessageRequestParams] # omittedField :: Maybe ShowMessageRequestParams #
ToJSON ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods toJSON :: ShowMessageRequestParams -> Value # toEncoding :: ShowMessageRequestParams -> Encoding # toJSONList :: [ShowMessageRequestParams] -> Value # toEncodingList :: [ShowMessageRequestParams] -> Encoding # omitField :: ShowMessageRequestParams -> Bool #
NFData ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods rnf :: ShowMessageRequestParams -> () #
Generic ShowMessageRequestParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams

Associated Types

type Rep ShowMessageRequestParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams

type Rep ShowMessageRequestParams = D1 ('MetaData "ShowMessageRequestParams" "Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowMessageRequestParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType) :*: (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MessageActionItem])))))

Methods

from :: ShowMessageRequestParams -> Rep ShowMessageRequestParams x #

to :: Rep ShowMessageRequestParams x -> ShowMessageRequestParams #

Show ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods showsPrec :: Int -> ShowMessageRequestParams -> ShowS # show :: ShowMessageRequestParams -> String # showList :: [ShowMessageRequestParams] -> ShowS #
Eq ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods (==) :: ShowMessageRequestParams -> ShowMessageRequestParams -> Bool # (/=) :: ShowMessageRequestParams -> ShowMessageRequestParams -> Bool #
Ord ShowMessageRequestParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams

Methods

compare :: ShowMessageRequestParams -> ShowMessageRequestParams -> Ordering #

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

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

(>) :: ShowMessageRequestParams -> ShowMessageRequestParams -> Bool #

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

max :: ShowMessageRequestParams -> ShowMessageRequestParams -> ShowMessageRequestParams #

min :: ShowMessageRequestParams -> ShowMessageRequestParams -> ShowMessageRequestParams #

Hashable ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods hashWithSalt :: Int -> ShowMessageRequestParams -> Int # hash :: ShowMessageRequestParams -> Int #
Pretty ShowMessageRequestParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams Methods pretty :: ShowMessageRequestParams -> Doc ann # prettyList :: [ShowMessageRequestParams] -> Doc ann #
HasMessage ShowMessageRequestParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' ShowMessageRequestParams Text #
HasType_ ShowMessageRequestParams MessageType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' ShowMessageRequestParams MessageType #
HasActions ShowMessageRequestParams (Maybe [MessageActionItem]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods actions :: Lens' ShowMessageRequestParams (Maybe [MessageActionItem]) #
type Rep ShowMessageRequestParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams

type Rep ShowMessageRequestParams = D1 ('MetaData "ShowMessageRequestParams" "Language.LSP.Protocol.Internal.Types.ShowMessageRequestParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowMessageRequestParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageType) :*: (S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MessageActionItem])))))

data SignatureHelp #

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

Constructors

SignatureHelp |

Fields

- _signatures :: [SignatureInformation]

  One or more signatures.

- _activeSignature :: Maybe UInt

  The active signature. If omitted or the value lies outside the range of `signatures` the value defaults to zero or is ignored if the `SignatureHelp` has no signatures.

  Whenever possible implementors should make an active decision about the active signature and shouldn't rely on a default value.

  In future version of the protocol this property might become mandatory to better express this.

- _activeParameter :: Maybe (UInt |? Null)

  The active parameter of the active signature.

  If `null`, no parameter of the signature is active (for example a named argument that does not match any declared parameters). This is only valid if the client specifies the client capability `textDocument.signatureHelp.noActiveParameterSupport === true`

  If omitted or the value lies outside the range of `signatures[activeSignature].parameters` defaults to 0 if the active signature has parameters.

  If the active signature has no parameters it is ignored.

  In future version of the protocol this property might become mandatory (but still nullable) to better express the active parameter if the active signature does have any.

#### Instances

Instances details

FromJSON SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods parseJSON :: Value -> Parser SignatureHelp # parseJSONList :: Value -> Parser [SignatureHelp] # omittedField :: Maybe SignatureHelp #
ToJSON SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods toJSON :: SignatureHelp -> Value # toEncoding :: SignatureHelp -> Encoding # toJSONList :: [SignatureHelp] -> Value # toEncodingList :: [SignatureHelp] -> Encoding # omitField :: SignatureHelp -> Bool #
NFData SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods rnf :: SignatureHelp -> () #
Generic SignatureHelp # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp

Associated Types

type Rep SignatureHelp |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp

type Rep SignatureHelp = D1 ('MetaData "SignatureHelp" "Language.LSP.Protocol.Internal.Types.SignatureHelp" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelp" 'PrefixI 'True) (S1 ('MetaSel ('Just "_signatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SignatureInformation]) :*: (S1 ('MetaSel ('Just "_activeSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: S1 ('MetaSel ('Just "_activeParameter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (UInt |? Null))))))

Methods

from :: SignatureHelp -> Rep SignatureHelp x #

to :: Rep SignatureHelp x -> SignatureHelp #

Show SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods showsPrec :: Int -> SignatureHelp -> ShowS # show :: SignatureHelp -> String # showList :: [SignatureHelp] -> ShowS #
Eq SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods (==) :: SignatureHelp -> SignatureHelp -> Bool # (/=) :: SignatureHelp -> SignatureHelp -> Bool #
Ord SignatureHelp # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp

Methods

compare :: SignatureHelp -> SignatureHelp -> Ordering #

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

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

(>) :: SignatureHelp -> SignatureHelp -> Bool #

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

max :: SignatureHelp -> SignatureHelp -> SignatureHelp #

min :: SignatureHelp -> SignatureHelp -> SignatureHelp #

Hashable SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods hashWithSalt :: Int -> SignatureHelp -> Int # hash :: SignatureHelp -> Int #
Pretty SignatureHelp # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp Methods pretty :: SignatureHelp -> Doc ann # prettyList :: [SignatureHelp] -> Doc ann #
HasActiveParameter SignatureHelp (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureHelp (Maybe (UInt |? Null)) #
HasActiveSignature SignatureHelp (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeSignature :: Lens' SignatureHelp (Maybe UInt) #
HasActiveSignatureHelp SignatureHelpContext (Maybe SignatureHelp) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeSignatureHelp :: Lens' SignatureHelpContext (Maybe SignatureHelp) #
HasSignatures SignatureHelp [SignatureInformation] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatures :: Lens' SignatureHelp [SignatureInformation] #
type Rep SignatureHelp # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelp

type Rep SignatureHelp = D1 ('MetaData "SignatureHelp" "Language.LSP.Protocol.Internal.Types.SignatureHelp" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelp" 'PrefixI 'True) (S1 ('MetaSel ('Just "_signatures") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SignatureInformation]) :*: (S1 ('MetaSel ('Just "_activeSignature") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: S1 ('MetaSel ('Just "_activeParameter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (UInt |? Null))))))

data SignatureHelpParams #

Parameters for a `SignatureHelpRequest`.

Constructors

SignatureHelpParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _context :: Maybe SignatureHelpContext

  The signature help context. This is only available if the client specifies to send this using the client capability `textDocument.signatureHelp.contextSupport === true`

  Since: 3.15.0

#### Instances

Instances details

FromJSON SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods parseJSON :: Value -> Parser SignatureHelpParams # parseJSONList :: Value -> Parser [SignatureHelpParams] # omittedField :: Maybe SignatureHelpParams #
ToJSON SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods toJSON :: SignatureHelpParams -> Value # toEncoding :: SignatureHelpParams -> Encoding # toJSONList :: [SignatureHelpParams] -> Value # toEncodingList :: [SignatureHelpParams] -> Encoding # omitField :: SignatureHelpParams -> Bool #
NFData SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods rnf :: SignatureHelpParams -> () #
Generic SignatureHelpParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams

Associated Types

type Rep SignatureHelpParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams

type Rep SignatureHelpParams = D1 ('MetaData "SignatureHelpParams" "Language.LSP.Protocol.Internal.Types.SignatureHelpParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelpContext)))))

Methods

from :: SignatureHelpParams -> Rep SignatureHelpParams x #

to :: Rep SignatureHelpParams x -> SignatureHelpParams #

Show SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods showsPrec :: Int -> SignatureHelpParams -> ShowS # show :: SignatureHelpParams -> String # showList :: [SignatureHelpParams] -> ShowS #
Eq SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods (==) :: SignatureHelpParams -> SignatureHelpParams -> Bool # (/=) :: SignatureHelpParams -> SignatureHelpParams -> Bool #
Ord SignatureHelpParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams

Methods

compare :: SignatureHelpParams -> SignatureHelpParams -> Ordering #

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

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

(>) :: SignatureHelpParams -> SignatureHelpParams -> Bool #

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

max :: SignatureHelpParams -> SignatureHelpParams -> SignatureHelpParams #

min :: SignatureHelpParams -> SignatureHelpParams -> SignatureHelpParams #

Hashable SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods hashWithSalt :: Int -> SignatureHelpParams -> Int # hash :: SignatureHelpParams -> Int #
Pretty SignatureHelpParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams Methods pretty :: SignatureHelpParams -> Doc ann # prettyList :: [SignatureHelpParams] -> Doc ann #
HasPosition SignatureHelpParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' SignatureHelpParams Position #
HasTextDocument SignatureHelpParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SignatureHelpParams TextDocumentIdentifier #
HasContext SignatureHelpParams (Maybe SignatureHelpContext) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' SignatureHelpParams (Maybe SignatureHelpContext) #
HasWorkDoneToken SignatureHelpParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SignatureHelpParams (Maybe ProgressToken) #
type Rep SignatureHelpParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpParams

type Rep SignatureHelpParams = D1 ('MetaData "SignatureHelpParams" "Language.LSP.Protocol.Internal.Types.SignatureHelpParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelpContext)))))

data SignatureHelpRegistrationOptions #

Registration options for a `SignatureHelpRequest`.

Constructors

SignatureHelpRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _triggerCharacters :: Maybe [Text]

  List of characters that trigger signature help automatically.

- _retriggerCharacters :: Maybe [Text]

  List of characters that re-trigger signature help.

  These trigger characters are only active when signature help is already showing. All trigger characters are also counted as re-trigger characters.

  Since: 3.15.0

#### Instances

Instances details

FromJSON SignatureHelpRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions Methods parseJSON :: Value -> Parser SignatureHelpRegistrationOptions # parseJSONList :: Value -> Parser [SignatureHelpRegistrationOptions] # omittedField :: Maybe SignatureHelpRegistrationOptions #
ToJSON SignatureHelpRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions

Methods

toJSON :: SignatureHelpRegistrationOptions -> Value #

toEncoding :: SignatureHelpRegistrationOptions -> Encoding #

toJSONList :: [SignatureHelpRegistrationOptions] -> Value #

toEncodingList :: [SignatureHelpRegistrationOptions] -> Encoding #

omitField :: SignatureHelpRegistrationOptions -> Bool #

NFData SignatureHelpRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions Methods rnf :: SignatureHelpRegistrationOptions -> () #
Generic SignatureHelpRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions

Associated Types

type Rep SignatureHelpRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions

type Rep SignatureHelpRegistrationOptions = D1 ('MetaData "SignatureHelpRegistrationOptions" "Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "_retriggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

Methods

from :: SignatureHelpRegistrationOptions -> Rep SignatureHelpRegistrationOptions x #

to :: Rep SignatureHelpRegistrationOptions x -> SignatureHelpRegistrationOptions #

Show SignatureHelpRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions Methods showsPrec :: Int -> SignatureHelpRegistrationOptions -> ShowS # show :: SignatureHelpRegistrationOptions -> String # showList :: [SignatureHelpRegistrationOptions] -> ShowS #
Eq SignatureHelpRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions Methods (==) :: SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions -> Bool # (/=) :: SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions -> Bool #
Ord SignatureHelpRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions

Methods

compare :: SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions -> Ordering #

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

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

(>) :: SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions -> Bool #

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

max :: SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions #

min :: SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions -> SignatureHelpRegistrationOptions #

Hashable SignatureHelpRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions Methods hashWithSalt :: Int -> SignatureHelpRegistrationOptions -> Int # hash :: SignatureHelpRegistrationOptions -> Int #
Pretty SignatureHelpRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions Methods pretty :: SignatureHelpRegistrationOptions -> Doc ann # prettyList :: [SignatureHelpRegistrationOptions] -> Doc ann #
HasRetriggerCharacters SignatureHelpRegistrationOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods retriggerCharacters :: Lens' SignatureHelpRegistrationOptions (Maybe [Text]) #
HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerCharacters :: Lens' SignatureHelpRegistrationOptions (Maybe [Text]) #
HasWorkDoneProgress SignatureHelpRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' SignatureHelpRegistrationOptions (Maybe Bool) #
HasDocumentSelector SignatureHelpRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' SignatureHelpRegistrationOptions (DocumentSelector |? Null) #
type Rep SignatureHelpRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions

type Rep SignatureHelpRegistrationOptions = D1 ('MetaData "SignatureHelpRegistrationOptions" "Language.LSP.Protocol.Internal.Types.SignatureHelpRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpRegistrationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "_retriggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

data SymbolInformation #

Represents information about programming constructs like variables, classes, interfaces etc.

Constructors

SymbolInformation |

Fields

- _name :: Text

  The name of this symbol.

- _kind :: SymbolKind

  The kind of this symbol.

- _tags :: Maybe [SymbolTag]

  Tags for this symbol.

  Since: 3.16.0

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

- _deprecated :: Maybe Bool

  Indicates if this symbol is deprecated.

  @deprecated Use tags instead

- _location :: Location

  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 than 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 an abstract syntax tree. It can therefore not be used to re-construct a hierarchy of the symbols.

#### Instances

Instances details

FromJSON SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods parseJSON :: Value -> Parser SymbolInformation # parseJSONList :: Value -> Parser [SymbolInformation] # omittedField :: Maybe SymbolInformation #
ToJSON SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods toJSON :: SymbolInformation -> Value # toEncoding :: SymbolInformation -> Encoding # toJSONList :: [SymbolInformation] -> Value # toEncodingList :: [SymbolInformation] -> Encoding # omitField :: SymbolInformation -> Bool #
NFData SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods rnf :: SymbolInformation -> () #
Generic SymbolInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation

Associated Types

type Rep SymbolInformation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation

type Rep SymbolInformation = D1 ('MetaData "SymbolInformation" "Language.LSP.Protocol.Internal.Types.SymbolInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SymbolInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])))) :*: (S1 ('MetaSel ('Just "_containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Location)))))

Methods

from :: SymbolInformation -> Rep SymbolInformation x #

to :: Rep SymbolInformation x -> SymbolInformation #

Show SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods showsPrec :: Int -> SymbolInformation -> ShowS # show :: SymbolInformation -> String # showList :: [SymbolInformation] -> ShowS #
Eq SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods (==) :: SymbolInformation -> SymbolInformation -> Bool # (/=) :: SymbolInformation -> SymbolInformation -> Bool #
Ord SymbolInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation

Methods

compare :: SymbolInformation -> SymbolInformation -> Ordering #

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

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

(>) :: SymbolInformation -> SymbolInformation -> Bool #

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

max :: SymbolInformation -> SymbolInformation -> SymbolInformation #

min :: SymbolInformation -> SymbolInformation -> SymbolInformation #

Hashable SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods hashWithSalt :: Int -> SymbolInformation -> Int # hash :: SymbolInformation -> Int #
Pretty SymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation Methods pretty :: SymbolInformation -> Doc ann # prettyList :: [SymbolInformation] -> Doc ann #
HasKind SymbolInformation SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' SymbolInformation SymbolKind #
HasLocation SymbolInformation Location # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' SymbolInformation Location #
HasName SymbolInformation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' SymbolInformation Text #
HasContainerName SymbolInformation (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods containerName :: Lens' SymbolInformation (Maybe Text) #
HasDeprecated SymbolInformation (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deprecated :: Lens' SymbolInformation (Maybe Bool) #
HasTags SymbolInformation (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' SymbolInformation (Maybe [SymbolTag]) #
type Rep SymbolInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolInformation

type Rep SymbolInformation = D1 ('MetaData "SymbolInformation" "Language.LSP.Protocol.Internal.Types.SymbolInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SymbolInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])))) :*: (S1 ('MetaSel ('Just "_containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_deprecated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Location)))))

data TextDocumentChangeRegistrationOptions #

Describe options to be used when registered for text document change events.

Constructors

TextDocumentChangeRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _syncKind :: TextDocumentSyncKind

  How documents are synced to the server.

#### Instances

Instances details

FromJSON TextDocumentChangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions Methods parseJSON :: Value -> Parser TextDocumentChangeRegistrationOptions # parseJSONList :: Value -> Parser [TextDocumentChangeRegistrationOptions] # omittedField :: Maybe TextDocumentChangeRegistrationOptions #
ToJSON TextDocumentChangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions

Methods

toJSON :: TextDocumentChangeRegistrationOptions -> Value #

toEncoding :: TextDocumentChangeRegistrationOptions -> Encoding #

toJSONList :: [TextDocumentChangeRegistrationOptions] -> Value #

toEncodingList :: [TextDocumentChangeRegistrationOptions] -> Encoding #

omitField :: TextDocumentChangeRegistrationOptions -> Bool #

NFData TextDocumentChangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions Methods rnf :: TextDocumentChangeRegistrationOptions -> () #
Generic TextDocumentChangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions

Associated Types

type Rep TextDocumentChangeRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions

type Rep TextDocumentChangeRegistrationOptions = D1 ('MetaData "TextDocumentChangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentChangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_syncKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentSyncKind)))

Methods

from :: TextDocumentChangeRegistrationOptions -> Rep TextDocumentChangeRegistrationOptions x #

to :: Rep TextDocumentChangeRegistrationOptions x -> TextDocumentChangeRegistrationOptions #

Show TextDocumentChangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions Methods showsPrec :: Int -> TextDocumentChangeRegistrationOptions -> ShowS # show :: TextDocumentChangeRegistrationOptions -> String # showList :: [TextDocumentChangeRegistrationOptions] -> ShowS #
Eq TextDocumentChangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions Methods (==) :: TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions -> Bool # (/=) :: TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions -> Bool #
Ord TextDocumentChangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions

Methods

compare :: TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions -> Ordering #

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

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

(>) :: TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions -> Bool #

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

max :: TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions #

min :: TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions -> TextDocumentChangeRegistrationOptions #

Hashable TextDocumentChangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions Methods hashWithSalt :: Int -> TextDocumentChangeRegistrationOptions -> Int # hash :: TextDocumentChangeRegistrationOptions -> Int #
Pretty TextDocumentChangeRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions Methods pretty :: TextDocumentChangeRegistrationOptions -> Doc ann # prettyList :: [TextDocumentChangeRegistrationOptions] -> Doc ann #
HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods syncKind :: Lens' TextDocumentChangeRegistrationOptions TextDocumentSyncKind #
HasDocumentSelector TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentChangeRegistrationOptions (DocumentSelector |? Null) #
type Rep TextDocumentChangeRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions

type Rep TextDocumentChangeRegistrationOptions = D1 ('MetaData "TextDocumentChangeRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentChangeRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentChangeRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_syncKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentSyncKind)))

data TextDocumentRegistrationOptions #

General text document registration options.

Constructors

TextDocumentRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

#### Instances

Instances details

FromJSON TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods parseJSON :: Value -> Parser TextDocumentRegistrationOptions # parseJSONList :: Value -> Parser [TextDocumentRegistrationOptions] # omittedField :: Maybe TextDocumentRegistrationOptions #
ToJSON TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods toJSON :: TextDocumentRegistrationOptions -> Value # toEncoding :: TextDocumentRegistrationOptions -> Encoding # toJSONList :: [TextDocumentRegistrationOptions] -> Value # toEncodingList :: [TextDocumentRegistrationOptions] -> Encoding # omitField :: TextDocumentRegistrationOptions -> Bool #
NFData TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods rnf :: TextDocumentRegistrationOptions -> () #
Generic TextDocumentRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions

Associated Types

type Rep TextDocumentRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions

type Rep TextDocumentRegistrationOptions = D1 ('MetaData "TextDocumentRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null))))

Methods

from :: TextDocumentRegistrationOptions -> Rep TextDocumentRegistrationOptions x #

to :: Rep TextDocumentRegistrationOptions x -> TextDocumentRegistrationOptions #

Show TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods showsPrec :: Int -> TextDocumentRegistrationOptions -> ShowS # show :: TextDocumentRegistrationOptions -> String # showList :: [TextDocumentRegistrationOptions] -> ShowS #
Eq TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods (==) :: TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions -> Bool # (/=) :: TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions -> Bool #
Ord TextDocumentRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions

Methods

compare :: TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions -> Ordering #

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

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

(>) :: TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions -> Bool #

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

max :: TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions #

min :: TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions -> TextDocumentRegistrationOptions #

Hashable TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods hashWithSalt :: Int -> TextDocumentRegistrationOptions -> Int # hash :: TextDocumentRegistrationOptions -> Int #
Pretty TextDocumentRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions Methods pretty :: TextDocumentRegistrationOptions -> Doc ann # prettyList :: [TextDocumentRegistrationOptions] -> Doc ann #
HasDocumentSelector TextDocumentRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentRegistrationOptions (DocumentSelector |? Null) #
type Rep TextDocumentRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions

type Rep TextDocumentRegistrationOptions = D1 ('MetaData "TextDocumentRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null))))

data TextDocumentSaveRegistrationOptions #

Save registration options.

Constructors

TextDocumentSaveRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _includeText :: Maybe Bool

  The client is supposed to include the content on save.

#### Instances

Instances details

FromJSON TextDocumentSaveRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions Methods parseJSON :: Value -> Parser TextDocumentSaveRegistrationOptions # parseJSONList :: Value -> Parser [TextDocumentSaveRegistrationOptions] # omittedField :: Maybe TextDocumentSaveRegistrationOptions #
ToJSON TextDocumentSaveRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions

Methods

toJSON :: TextDocumentSaveRegistrationOptions -> Value #

toEncoding :: TextDocumentSaveRegistrationOptions -> Encoding #

toJSONList :: [TextDocumentSaveRegistrationOptions] -> Value #

toEncodingList :: [TextDocumentSaveRegistrationOptions] -> Encoding #

omitField :: TextDocumentSaveRegistrationOptions -> Bool #

NFData TextDocumentSaveRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions Methods rnf :: TextDocumentSaveRegistrationOptions -> () #
Generic TextDocumentSaveRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions

Associated Types

type Rep TextDocumentSaveRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions

type Rep TextDocumentSaveRegistrationOptions = D1 ('MetaData "TextDocumentSaveRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSaveRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_includeText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: TextDocumentSaveRegistrationOptions -> Rep TextDocumentSaveRegistrationOptions x #

to :: Rep TextDocumentSaveRegistrationOptions x -> TextDocumentSaveRegistrationOptions #

Show TextDocumentSaveRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions Methods showsPrec :: Int -> TextDocumentSaveRegistrationOptions -> ShowS # show :: TextDocumentSaveRegistrationOptions -> String # showList :: [TextDocumentSaveRegistrationOptions] -> ShowS #
Eq TextDocumentSaveRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions Methods (==) :: TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions -> Bool # (/=) :: TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions -> Bool #
Ord TextDocumentSaveRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions

Methods

compare :: TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions -> Ordering #

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

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

(>) :: TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions -> Bool #

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

max :: TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions #

min :: TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions -> TextDocumentSaveRegistrationOptions #

Hashable TextDocumentSaveRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions Methods hashWithSalt :: Int -> TextDocumentSaveRegistrationOptions -> Int # hash :: TextDocumentSaveRegistrationOptions -> Int #
Pretty TextDocumentSaveRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions Methods pretty :: TextDocumentSaveRegistrationOptions -> Doc ann # prettyList :: [TextDocumentSaveRegistrationOptions] -> Doc ann #
HasIncludeText TextDocumentSaveRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods includeText :: Lens' TextDocumentSaveRegistrationOptions (Maybe Bool) #
HasDocumentSelector TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TextDocumentSaveRegistrationOptions (DocumentSelector |? Null) #
type Rep TextDocumentSaveRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions

type Rep TextDocumentSaveRegistrationOptions = D1 ('MetaData "TextDocumentSaveRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentSaveRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSaveRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: S1 ('MetaSel ('Just "_includeText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data TextEdit #

A text edit applicable to a text document.

Constructors

TextEdit |

Fields

- _range :: Range

  The range of the text document to be manipulated. To insert text into a document create a range where start === end.

- _newText :: Text

  The string to be inserted. For delete operations use an empty string.

#### Instances

Instances details

FromJSON TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods parseJSON :: Value -> Parser TextEdit # parseJSONList :: Value -> Parser [TextEdit] # omittedField :: Maybe TextEdit #
ToJSON TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods toJSON :: TextEdit -> Value # toEncoding :: TextEdit -> Encoding # toJSONList :: [TextEdit] -> Value # toEncodingList :: [TextEdit] -> Encoding # omitField :: TextEdit -> Bool #
NFData TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods rnf :: TextEdit -> () #
Generic TextEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextEdit

Associated Types

type Rep TextEdit |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextEdit

type Rep TextEdit = D1 ('MetaData "TextEdit" "Language.LSP.Protocol.Internal.Types.TextEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_newText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: TextEdit -> Rep TextEdit x #

to :: Rep TextEdit x -> TextEdit #

Show TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods showsPrec :: Int -> TextEdit -> ShowS # show :: TextEdit -> String # showList :: [TextEdit] -> ShowS #
Eq TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods (==) :: TextEdit -> TextEdit -> Bool # (/=) :: TextEdit -> TextEdit -> Bool #
Ord TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods compare :: TextEdit -> TextEdit -> Ordering # (<) :: TextEdit -> TextEdit -> Bool # (<=) :: TextEdit -> TextEdit -> Bool # (>) :: TextEdit -> TextEdit -> Bool # (>=) :: TextEdit -> TextEdit -> Bool # max :: TextEdit -> TextEdit -> TextEdit # min :: TextEdit -> TextEdit -> TextEdit #
Hashable TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods hashWithSalt :: Int -> TextEdit -> Int # hash :: TextEdit -> Int #
Pretty TextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextEdit Methods pretty :: TextEdit -> Doc ann # prettyList :: [TextEdit] -> Doc ann #
HasNewText TextEdit Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newText :: Lens' TextEdit Text #
HasRange TextEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' TextEdit Range #
HasAdditionalTextEdits ColorPresentation (Maybe [TextEdit]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods additionalTextEdits :: Lens' ColorPresentation (Maybe [TextEdit]) #
HasAdditionalTextEdits CompletionItem (Maybe [TextEdit]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods additionalTextEdits :: Lens' CompletionItem (Maybe [TextEdit]) #
HasChanges WorkspaceEdit (Maybe (Map Uri [TextEdit])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' WorkspaceEdit (Maybe (Map Uri [TextEdit])) #
HasEdits TextDocumentEdit [TextEdit |? AnnotatedTextEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' TextDocumentEdit [TextEdit |? AnnotatedTextEdit] #
HasTextEdit ColorPresentation (Maybe TextEdit) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdit :: Lens' ColorPresentation (Maybe TextEdit) #
HasTextEdit CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdit :: Lens' CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) #
HasTextEdits InlayHint (Maybe [TextEdit]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdits :: Lens' InlayHint (Maybe [TextEdit]) #
type Rep TextEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextEdit

type Rep TextEdit = D1 ('MetaData "TextEdit" "Language.LSP.Protocol.Internal.Types.TextEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_newText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data TypeDefinitionParams #

Constructors

TypeDefinitionParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods parseJSON :: Value -> Parser TypeDefinitionParams # parseJSONList :: Value -> Parser [TypeDefinitionParams] # omittedField :: Maybe TypeDefinitionParams #
ToJSON TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods toJSON :: TypeDefinitionParams -> Value # toEncoding :: TypeDefinitionParams -> Encoding # toJSONList :: [TypeDefinitionParams] -> Value # toEncodingList :: [TypeDefinitionParams] -> Encoding # omitField :: TypeDefinitionParams -> Bool #
NFData TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods rnf :: TypeDefinitionParams -> () #
Generic TypeDefinitionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams

Associated Types

type Rep TypeDefinitionParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams

type Rep TypeDefinitionParams = D1 ('MetaData "TypeDefinitionParams" "Language.LSP.Protocol.Internal.Types.TypeDefinitionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: TypeDefinitionParams -> Rep TypeDefinitionParams x #

to :: Rep TypeDefinitionParams x -> TypeDefinitionParams #

Show TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods showsPrec :: Int -> TypeDefinitionParams -> ShowS # show :: TypeDefinitionParams -> String # showList :: [TypeDefinitionParams] -> ShowS #
Eq TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods (==) :: TypeDefinitionParams -> TypeDefinitionParams -> Bool # (/=) :: TypeDefinitionParams -> TypeDefinitionParams -> Bool #
Ord TypeDefinitionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams

Methods

compare :: TypeDefinitionParams -> TypeDefinitionParams -> Ordering #

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

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

(>) :: TypeDefinitionParams -> TypeDefinitionParams -> Bool #

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

max :: TypeDefinitionParams -> TypeDefinitionParams -> TypeDefinitionParams #

min :: TypeDefinitionParams -> TypeDefinitionParams -> TypeDefinitionParams #

Hashable TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods hashWithSalt :: Int -> TypeDefinitionParams -> Int # hash :: TypeDefinitionParams -> Int #
Pretty TypeDefinitionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams Methods pretty :: TypeDefinitionParams -> Doc ann # prettyList :: [TypeDefinitionParams] -> Doc ann #
HasPosition TypeDefinitionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' TypeDefinitionParams Position #
HasTextDocument TypeDefinitionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TypeDefinitionParams TextDocumentIdentifier #
HasPartialResultToken TypeDefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' TypeDefinitionParams (Maybe ProgressToken) #
HasWorkDoneToken TypeDefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeDefinitionParams (Maybe ProgressToken) #
type Rep TypeDefinitionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionParams

type Rep TypeDefinitionParams = D1 ('MetaData "TypeDefinitionParams" "Language.LSP.Protocol.Internal.Types.TypeDefinitionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)) :*: (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data TypeDefinitionRegistrationOptions #

Constructors

TypeDefinitionRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON TypeDefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions Methods parseJSON :: Value -> Parser TypeDefinitionRegistrationOptions # parseJSONList :: Value -> Parser [TypeDefinitionRegistrationOptions] # omittedField :: Maybe TypeDefinitionRegistrationOptions #
ToJSON TypeDefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions

Methods

toJSON :: TypeDefinitionRegistrationOptions -> Value #

toEncoding :: TypeDefinitionRegistrationOptions -> Encoding #

toJSONList :: [TypeDefinitionRegistrationOptions] -> Value #

toEncodingList :: [TypeDefinitionRegistrationOptions] -> Encoding #

omitField :: TypeDefinitionRegistrationOptions -> Bool #

NFData TypeDefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions Methods rnf :: TypeDefinitionRegistrationOptions -> () #
Generic TypeDefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions

Associated Types

type Rep TypeDefinitionRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions

type Rep TypeDefinitionRegistrationOptions = D1 ('MetaData "TypeDefinitionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: TypeDefinitionRegistrationOptions -> Rep TypeDefinitionRegistrationOptions x #

to :: Rep TypeDefinitionRegistrationOptions x -> TypeDefinitionRegistrationOptions #

Show TypeDefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions Methods showsPrec :: Int -> TypeDefinitionRegistrationOptions -> ShowS # show :: TypeDefinitionRegistrationOptions -> String # showList :: [TypeDefinitionRegistrationOptions] -> ShowS #
Eq TypeDefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions Methods (==) :: TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions -> Bool # (/=) :: TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions -> Bool #
Ord TypeDefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions

Methods

compare :: TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions -> Ordering #

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

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

(>) :: TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions -> Bool #

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

max :: TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions #

min :: TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions -> TypeDefinitionRegistrationOptions #

Hashable TypeDefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions Methods hashWithSalt :: Int -> TypeDefinitionRegistrationOptions -> Int # hash :: TypeDefinitionRegistrationOptions -> Int #
Pretty TypeDefinitionRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions Methods pretty :: TypeDefinitionRegistrationOptions -> Doc ann # prettyList :: [TypeDefinitionRegistrationOptions] -> Doc ann #
HasId TypeDefinitionRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' TypeDefinitionRegistrationOptions (Maybe Text) #
HasTypeDefinitionProvider ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeDefinitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) #
HasWorkDoneProgress TypeDefinitionRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' TypeDefinitionRegistrationOptions (Maybe Bool) #
HasDocumentSelector TypeDefinitionRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeDefinitionRegistrationOptions (DocumentSelector |? Null) #
type Rep TypeDefinitionRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions

type Rep TypeDefinitionRegistrationOptions = D1 ('MetaData "TypeDefinitionRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TypeDefinitionRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data TypeHierarchyItem #

Since: 3.17.0

Constructors

TypeHierarchyItem |

Fields

- _name :: Text

  The name of this item.

- _kind :: SymbolKind

  The kind of this item.

- _tags :: Maybe [SymbolTag]

  Tags for this item.

- _detail :: Maybe Text

  More detail for this item, e.g. the signature of a function.

- _uri :: Uri

  The resource identifier of this item.

- _range :: Range

  The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

- _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 `range`.

- _data_ :: Maybe Value

  A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes.

#### Instances

Instances details

FromJSON TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods parseJSON :: Value -> Parser TypeHierarchyItem # parseJSONList :: Value -> Parser [TypeHierarchyItem] # omittedField :: Maybe TypeHierarchyItem #
ToJSON TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods toJSON :: TypeHierarchyItem -> Value # toEncoding :: TypeHierarchyItem -> Encoding # toJSONList :: [TypeHierarchyItem] -> Value # toEncodingList :: [TypeHierarchyItem] -> Encoding # omitField :: TypeHierarchyItem -> Bool #
NFData TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods rnf :: TypeHierarchyItem -> () #
Generic TypeHierarchyItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem

Associated Types

type Rep TypeHierarchyItem |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem

type Rep TypeHierarchyItem = D1 ('MetaData "TypeHierarchyItem" "Language.LSP.Protocol.Internal.Types.TypeHierarchyItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyItem" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])) :*: S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: TypeHierarchyItem -> Rep TypeHierarchyItem x #

to :: Rep TypeHierarchyItem x -> TypeHierarchyItem #

Show TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods showsPrec :: Int -> TypeHierarchyItem -> ShowS # show :: TypeHierarchyItem -> String # showList :: [TypeHierarchyItem] -> ShowS #
Eq TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods (==) :: TypeHierarchyItem -> TypeHierarchyItem -> Bool # (/=) :: TypeHierarchyItem -> TypeHierarchyItem -> Bool #
Ord TypeHierarchyItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem

Methods

compare :: TypeHierarchyItem -> TypeHierarchyItem -> Ordering #

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

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

(>) :: TypeHierarchyItem -> TypeHierarchyItem -> Bool #

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

max :: TypeHierarchyItem -> TypeHierarchyItem -> TypeHierarchyItem #

min :: TypeHierarchyItem -> TypeHierarchyItem -> TypeHierarchyItem #

Hashable TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods hashWithSalt :: Int -> TypeHierarchyItem -> Int # hash :: TypeHierarchyItem -> Int #
Pretty TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem Methods pretty :: TypeHierarchyItem -> Doc ann # prettyList :: [TypeHierarchyItem] -> Doc ann #
HasItem TypeHierarchySubtypesParams TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' TypeHierarchySubtypesParams TypeHierarchyItem #
HasItem TypeHierarchySupertypesParams TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' TypeHierarchySupertypesParams TypeHierarchyItem #
HasKind TypeHierarchyItem SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' TypeHierarchyItem SymbolKind #
HasName TypeHierarchyItem Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' TypeHierarchyItem Text #
HasRange TypeHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' TypeHierarchyItem Range #
HasSelectionRange TypeHierarchyItem Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' TypeHierarchyItem Range #
HasUri TypeHierarchyItem Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' TypeHierarchyItem Uri #
HasData_ TypeHierarchyItem (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' TypeHierarchyItem (Maybe Value) #
HasDetail TypeHierarchyItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods detail :: Lens' TypeHierarchyItem (Maybe Text) #
HasTags TypeHierarchyItem (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' TypeHierarchyItem (Maybe [SymbolTag]) #
type Rep TypeHierarchyItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyItem

type Rep TypeHierarchyItem = D1 ('MetaData "TypeHierarchyItem" "Language.LSP.Protocol.Internal.Types.TypeHierarchyItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyItem" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])) :*: S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data TypeHierarchyPrepareParams #

The parameter of a `textDocument/prepareTypeHierarchy` request.

Since: 3.17.0

Constructors

TypeHierarchyPrepareParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

#### Instances

Instances details

FromJSON TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods parseJSON :: Value -> Parser TypeHierarchyPrepareParams # parseJSONList :: Value -> Parser [TypeHierarchyPrepareParams] # omittedField :: Maybe TypeHierarchyPrepareParams #
ToJSON TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods toJSON :: TypeHierarchyPrepareParams -> Value # toEncoding :: TypeHierarchyPrepareParams -> Encoding # toJSONList :: [TypeHierarchyPrepareParams] -> Value # toEncodingList :: [TypeHierarchyPrepareParams] -> Encoding # omitField :: TypeHierarchyPrepareParams -> Bool #
NFData TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods rnf :: TypeHierarchyPrepareParams -> () #
Generic TypeHierarchyPrepareParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams

Associated Types

type Rep TypeHierarchyPrepareParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams

type Rep TypeHierarchyPrepareParams = D1 ('MetaData "TypeHierarchyPrepareParams" "Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyPrepareParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

Methods

from :: TypeHierarchyPrepareParams -> Rep TypeHierarchyPrepareParams x #

to :: Rep TypeHierarchyPrepareParams x -> TypeHierarchyPrepareParams #

Show TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods showsPrec :: Int -> TypeHierarchyPrepareParams -> ShowS # show :: TypeHierarchyPrepareParams -> String # showList :: [TypeHierarchyPrepareParams] -> ShowS #
Eq TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods (==) :: TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams -> Bool # (/=) :: TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams -> Bool #
Ord TypeHierarchyPrepareParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams

Methods

compare :: TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams -> Ordering #

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

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

(>) :: TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams -> Bool #

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

max :: TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams #

min :: TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams -> TypeHierarchyPrepareParams #

Hashable TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods hashWithSalt :: Int -> TypeHierarchyPrepareParams -> Int # hash :: TypeHierarchyPrepareParams -> Int #
Pretty TypeHierarchyPrepareParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams Methods pretty :: TypeHierarchyPrepareParams -> Doc ann # prettyList :: [TypeHierarchyPrepareParams] -> Doc ann #
HasPosition TypeHierarchyPrepareParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' TypeHierarchyPrepareParams Position #
HasTextDocument TypeHierarchyPrepareParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TypeHierarchyPrepareParams TextDocumentIdentifier #
HasWorkDoneToken TypeHierarchyPrepareParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeHierarchyPrepareParams (Maybe ProgressToken) #
type Rep TypeHierarchyPrepareParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams

type Rep TypeHierarchyPrepareParams = D1 ('MetaData "TypeHierarchyPrepareParams" "Language.LSP.Protocol.Internal.Types.TypeHierarchyPrepareParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyPrepareParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: (S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position) :*: S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)))))

data TypeHierarchyRegistrationOptions #

Type hierarchy options used during static or dynamic registration.

Since: 3.17.0

Constructors

TypeHierarchyRegistrationOptions |

Fields

- _documentSelector :: DocumentSelector |? Null

  A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

- _workDoneProgress :: Maybe Bool
- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON TypeHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions Methods parseJSON :: Value -> Parser TypeHierarchyRegistrationOptions # parseJSONList :: Value -> Parser [TypeHierarchyRegistrationOptions] # omittedField :: Maybe TypeHierarchyRegistrationOptions #
ToJSON TypeHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions

Methods

toJSON :: TypeHierarchyRegistrationOptions -> Value #

toEncoding :: TypeHierarchyRegistrationOptions -> Encoding #

toJSONList :: [TypeHierarchyRegistrationOptions] -> Value #

toEncodingList :: [TypeHierarchyRegistrationOptions] -> Encoding #

omitField :: TypeHierarchyRegistrationOptions -> Bool #

NFData TypeHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions Methods rnf :: TypeHierarchyRegistrationOptions -> () #
Generic TypeHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions

Associated Types

type Rep TypeHierarchyRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions

type Rep TypeHierarchyRegistrationOptions = D1 ('MetaData "TypeHierarchyRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: TypeHierarchyRegistrationOptions -> Rep TypeHierarchyRegistrationOptions x #

to :: Rep TypeHierarchyRegistrationOptions x -> TypeHierarchyRegistrationOptions #

Show TypeHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions Methods showsPrec :: Int -> TypeHierarchyRegistrationOptions -> ShowS # show :: TypeHierarchyRegistrationOptions -> String # showList :: [TypeHierarchyRegistrationOptions] -> ShowS #
Eq TypeHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions Methods (==) :: TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions -> Bool # (/=) :: TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions -> Bool #
Ord TypeHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions

Methods

compare :: TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions -> Ordering #

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

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

(>) :: TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions -> Bool #

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

max :: TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions #

min :: TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions -> TypeHierarchyRegistrationOptions #

Hashable TypeHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions Methods hashWithSalt :: Int -> TypeHierarchyRegistrationOptions -> Int # hash :: TypeHierarchyRegistrationOptions -> Int #
Pretty TypeHierarchyRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions Methods pretty :: TypeHierarchyRegistrationOptions -> Doc ann # prettyList :: [TypeHierarchyRegistrationOptions] -> Doc ann #
HasId TypeHierarchyRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' TypeHierarchyRegistrationOptions (Maybe Text) #
HasTypeHierarchyProvider ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) #
HasWorkDoneProgress TypeHierarchyRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' TypeHierarchyRegistrationOptions (Maybe Bool) #
HasDocumentSelector TypeHierarchyRegistrationOptions (DocumentSelector |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSelector :: Lens' TypeHierarchyRegistrationOptions (DocumentSelector |? Null) #
type Rep TypeHierarchyRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions

type Rep TypeHierarchyRegistrationOptions = D1 ('MetaData "TypeHierarchyRegistrationOptions" "Language.LSP.Protocol.Internal.Types.TypeHierarchyRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (DocumentSelector |? Null)) :*: (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data TypeHierarchySubtypesParams #

The parameter of a `typeHierarchy/subtypes` request.

Since: 3.17.0

Constructors

TypeHierarchySubtypesParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _item :: TypeHierarchyItem

#### Instances

Instances details

FromJSON TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods parseJSON :: Value -> Parser TypeHierarchySubtypesParams # parseJSONList :: Value -> Parser [TypeHierarchySubtypesParams] # omittedField :: Maybe TypeHierarchySubtypesParams #
ToJSON TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods toJSON :: TypeHierarchySubtypesParams -> Value # toEncoding :: TypeHierarchySubtypesParams -> Encoding # toJSONList :: [TypeHierarchySubtypesParams] -> Value # toEncodingList :: [TypeHierarchySubtypesParams] -> Encoding # omitField :: TypeHierarchySubtypesParams -> Bool #
NFData TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods rnf :: TypeHierarchySubtypesParams -> () #
Generic TypeHierarchySubtypesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams

Associated Types

type Rep TypeHierarchySubtypesParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams

type Rep TypeHierarchySubtypesParams = D1 ('MetaData "TypeHierarchySubtypesParams" "Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchySubtypesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TypeHierarchyItem))))

Methods

from :: TypeHierarchySubtypesParams -> Rep TypeHierarchySubtypesParams x #

to :: Rep TypeHierarchySubtypesParams x -> TypeHierarchySubtypesParams #

Show TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods showsPrec :: Int -> TypeHierarchySubtypesParams -> ShowS # show :: TypeHierarchySubtypesParams -> String # showList :: [TypeHierarchySubtypesParams] -> ShowS #
Eq TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods (==) :: TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams -> Bool # (/=) :: TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams -> Bool #
Ord TypeHierarchySubtypesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams

Methods

compare :: TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams -> Ordering #

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

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

(>) :: TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams -> Bool #

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

max :: TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams #

min :: TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams -> TypeHierarchySubtypesParams #

Hashable TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods hashWithSalt :: Int -> TypeHierarchySubtypesParams -> Int # hash :: TypeHierarchySubtypesParams -> Int #
Pretty TypeHierarchySubtypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams Methods pretty :: TypeHierarchySubtypesParams -> Doc ann # prettyList :: [TypeHierarchySubtypesParams] -> Doc ann #
HasItem TypeHierarchySubtypesParams TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' TypeHierarchySubtypesParams TypeHierarchyItem #
HasPartialResultToken TypeHierarchySubtypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' TypeHierarchySubtypesParams (Maybe ProgressToken) #
HasWorkDoneToken TypeHierarchySubtypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeHierarchySubtypesParams (Maybe ProgressToken) #
type Rep TypeHierarchySubtypesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams

type Rep TypeHierarchySubtypesParams = D1 ('MetaData "TypeHierarchySubtypesParams" "Language.LSP.Protocol.Internal.Types.TypeHierarchySubtypesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchySubtypesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TypeHierarchyItem))))

data TypeHierarchySupertypesParams #

The parameter of a `typeHierarchy/supertypes` request.

Since: 3.17.0

Constructors

TypeHierarchySupertypesParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _item :: TypeHierarchyItem

#### Instances

Instances details

FromJSON TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods parseJSON :: Value -> Parser TypeHierarchySupertypesParams # parseJSONList :: Value -> Parser [TypeHierarchySupertypesParams] # omittedField :: Maybe TypeHierarchySupertypesParams #
ToJSON TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods toJSON :: TypeHierarchySupertypesParams -> Value # toEncoding :: TypeHierarchySupertypesParams -> Encoding # toJSONList :: [TypeHierarchySupertypesParams] -> Value # toEncodingList :: [TypeHierarchySupertypesParams] -> Encoding # omitField :: TypeHierarchySupertypesParams -> Bool #
NFData TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods rnf :: TypeHierarchySupertypesParams -> () #
Generic TypeHierarchySupertypesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams

Associated Types

type Rep TypeHierarchySupertypesParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams

type Rep TypeHierarchySupertypesParams = D1 ('MetaData "TypeHierarchySupertypesParams" "Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchySupertypesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TypeHierarchyItem))))

Methods

from :: TypeHierarchySupertypesParams -> Rep TypeHierarchySupertypesParams x #

to :: Rep TypeHierarchySupertypesParams x -> TypeHierarchySupertypesParams #

Show TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods showsPrec :: Int -> TypeHierarchySupertypesParams -> ShowS # show :: TypeHierarchySupertypesParams -> String # showList :: [TypeHierarchySupertypesParams] -> ShowS #
Eq TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods (==) :: TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams -> Bool # (/=) :: TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams -> Bool #
Ord TypeHierarchySupertypesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams

Methods

compare :: TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams -> Ordering #

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

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

(>) :: TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams -> Bool #

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

max :: TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams #

min :: TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams -> TypeHierarchySupertypesParams #

Hashable TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods hashWithSalt :: Int -> TypeHierarchySupertypesParams -> Int # hash :: TypeHierarchySupertypesParams -> Int #
Pretty TypeHierarchySupertypesParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams Methods pretty :: TypeHierarchySupertypesParams -> Doc ann # prettyList :: [TypeHierarchySupertypesParams] -> Doc ann #
HasItem TypeHierarchySupertypesParams TypeHierarchyItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods item :: Lens' TypeHierarchySupertypesParams TypeHierarchyItem #
HasPartialResultToken TypeHierarchySupertypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' TypeHierarchySupertypesParams (Maybe ProgressToken) #
HasWorkDoneToken TypeHierarchySupertypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeHierarchySupertypesParams (Maybe ProgressToken) #
type Rep TypeHierarchySupertypesParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams

type Rep TypeHierarchySupertypesParams = D1 ('MetaData "TypeHierarchySupertypesParams" "Language.LSP.Protocol.Internal.Types.TypeHierarchySupertypesParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchySupertypesParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_item") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TypeHierarchyItem))))

data UnregistrationParams #

Constructors

UnregistrationParams |

Fields

- _unregisterations :: [Unregistration]

#### Instances

Instances details

FromJSON UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods parseJSON :: Value -> Parser UnregistrationParams # parseJSONList :: Value -> Parser [UnregistrationParams] # omittedField :: Maybe UnregistrationParams #
ToJSON UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods toJSON :: UnregistrationParams -> Value # toEncoding :: UnregistrationParams -> Encoding # toJSONList :: [UnregistrationParams] -> Value # toEncodingList :: [UnregistrationParams] -> Encoding # omitField :: UnregistrationParams -> Bool #
NFData UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods rnf :: UnregistrationParams -> () #
Generic UnregistrationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams

Associated Types

type Rep UnregistrationParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams

type Rep UnregistrationParams = D1 ('MetaData "UnregistrationParams" "Language.LSP.Protocol.Internal.Types.UnregistrationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "UnregistrationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unregisterations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Unregistration])))

Methods

from :: UnregistrationParams -> Rep UnregistrationParams x #

to :: Rep UnregistrationParams x -> UnregistrationParams #

Show UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods showsPrec :: Int -> UnregistrationParams -> ShowS # show :: UnregistrationParams -> String # showList :: [UnregistrationParams] -> ShowS #
Eq UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods (==) :: UnregistrationParams -> UnregistrationParams -> Bool # (/=) :: UnregistrationParams -> UnregistrationParams -> Bool #
Ord UnregistrationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams

Methods

compare :: UnregistrationParams -> UnregistrationParams -> Ordering #

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

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

(>) :: UnregistrationParams -> UnregistrationParams -> Bool #

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

max :: UnregistrationParams -> UnregistrationParams -> UnregistrationParams #

min :: UnregistrationParams -> UnregistrationParams -> UnregistrationParams #

Hashable UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods hashWithSalt :: Int -> UnregistrationParams -> Int # hash :: UnregistrationParams -> Int #
Pretty UnregistrationParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams Methods pretty :: UnregistrationParams -> Doc ann # prettyList :: [UnregistrationParams] -> Doc ann #
HasUnregisterations UnregistrationParams [Unregistration] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods unregisterations :: Lens' UnregistrationParams [Unregistration] #
type Rep UnregistrationParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnregistrationParams

type Rep UnregistrationParams = D1 ('MetaData "UnregistrationParams" "Language.LSP.Protocol.Internal.Types.UnregistrationParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "UnregistrationParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_unregisterations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Unregistration])))

data WillSaveTextDocumentParams #

The parameters sent in a will save text document notification.

Constructors

WillSaveTextDocumentParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The document that will be saved.

- _reason :: TextDocumentSaveReason

  The `TextDocumentSaveReason`.

#### Instances

Instances details

FromJSON WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods parseJSON :: Value -> Parser WillSaveTextDocumentParams # parseJSONList :: Value -> Parser [WillSaveTextDocumentParams] # omittedField :: Maybe WillSaveTextDocumentParams #
ToJSON WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods toJSON :: WillSaveTextDocumentParams -> Value # toEncoding :: WillSaveTextDocumentParams -> Encoding # toJSONList :: [WillSaveTextDocumentParams] -> Value # toEncodingList :: [WillSaveTextDocumentParams] -> Encoding # omitField :: WillSaveTextDocumentParams -> Bool #
NFData WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods rnf :: WillSaveTextDocumentParams -> () #
Generic WillSaveTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams

Associated Types

type Rep WillSaveTextDocumentParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams

type Rep WillSaveTextDocumentParams = D1 ('MetaData "WillSaveTextDocumentParams" "Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WillSaveTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentSaveReason)))

Methods

from :: WillSaveTextDocumentParams -> Rep WillSaveTextDocumentParams x #

to :: Rep WillSaveTextDocumentParams x -> WillSaveTextDocumentParams #

Show WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods showsPrec :: Int -> WillSaveTextDocumentParams -> ShowS # show :: WillSaveTextDocumentParams -> String # showList :: [WillSaveTextDocumentParams] -> ShowS #
Eq WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods (==) :: WillSaveTextDocumentParams -> WillSaveTextDocumentParams -> Bool # (/=) :: WillSaveTextDocumentParams -> WillSaveTextDocumentParams -> Bool #
Ord WillSaveTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams

Methods

compare :: WillSaveTextDocumentParams -> WillSaveTextDocumentParams -> Ordering #

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

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

(>) :: WillSaveTextDocumentParams -> WillSaveTextDocumentParams -> Bool #

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

max :: WillSaveTextDocumentParams -> WillSaveTextDocumentParams -> WillSaveTextDocumentParams #

min :: WillSaveTextDocumentParams -> WillSaveTextDocumentParams -> WillSaveTextDocumentParams #

Hashable WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods hashWithSalt :: Int -> WillSaveTextDocumentParams -> Int # hash :: WillSaveTextDocumentParams -> Int #
Pretty WillSaveTextDocumentParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams Methods pretty :: WillSaveTextDocumentParams -> Doc ann # prettyList :: [WillSaveTextDocumentParams] -> Doc ann #
HasReason WillSaveTextDocumentParams TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods reason :: Lens' WillSaveTextDocumentParams TextDocumentSaveReason #
HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' WillSaveTextDocumentParams TextDocumentIdentifier #
type Rep WillSaveTextDocumentParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams

type Rep WillSaveTextDocumentParams = D1 ('MetaData "WillSaveTextDocumentParams" "Language.LSP.Protocol.Internal.Types.WillSaveTextDocumentParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WillSaveTextDocumentParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentSaveReason)))

data WorkDoneProgressCancelParams #

Constructors

WorkDoneProgressCancelParams |

Fields

- _token :: ProgressToken

  The token to be used to report progress.

#### Instances

Instances details

FromJSON WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods parseJSON :: Value -> Parser WorkDoneProgressCancelParams # parseJSONList :: Value -> Parser [WorkDoneProgressCancelParams] # omittedField :: Maybe WorkDoneProgressCancelParams #
ToJSON WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods toJSON :: WorkDoneProgressCancelParams -> Value # toEncoding :: WorkDoneProgressCancelParams -> Encoding # toJSONList :: [WorkDoneProgressCancelParams] -> Value # toEncodingList :: [WorkDoneProgressCancelParams] -> Encoding # omitField :: WorkDoneProgressCancelParams -> Bool #
NFData WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods rnf :: WorkDoneProgressCancelParams -> () #
Generic WorkDoneProgressCancelParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams

Associated Types

type Rep WorkDoneProgressCancelParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams

type Rep WorkDoneProgressCancelParams = D1 ('MetaData "WorkDoneProgressCancelParams" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressCancelParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProgressToken)))

Methods

from :: WorkDoneProgressCancelParams -> Rep WorkDoneProgressCancelParams x #

to :: Rep WorkDoneProgressCancelParams x -> WorkDoneProgressCancelParams #

Show WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods showsPrec :: Int -> WorkDoneProgressCancelParams -> ShowS # show :: WorkDoneProgressCancelParams -> String # showList :: [WorkDoneProgressCancelParams] -> ShowS #
Eq WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods (==) :: WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams -> Bool # (/=) :: WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams -> Bool #
Ord WorkDoneProgressCancelParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams

Methods

compare :: WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams -> Ordering #

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

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

(>) :: WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams -> Bool #

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

max :: WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams #

min :: WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams -> WorkDoneProgressCancelParams #

Hashable WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods hashWithSalt :: Int -> WorkDoneProgressCancelParams -> Int # hash :: WorkDoneProgressCancelParams -> Int #
Pretty WorkDoneProgressCancelParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams Methods pretty :: WorkDoneProgressCancelParams -> Doc ann # prettyList :: [WorkDoneProgressCancelParams] -> Doc ann #
HasToken WorkDoneProgressCancelParams ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods token :: Lens' WorkDoneProgressCancelParams ProgressToken #
type Rep WorkDoneProgressCancelParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams

type Rep WorkDoneProgressCancelParams = D1 ('MetaData "WorkDoneProgressCancelParams" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressCancelParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressCancelParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProgressToken)))

data WorkDoneProgressCreateParams #

Constructors

WorkDoneProgressCreateParams |

Fields

- _token :: ProgressToken

  The token to be used to report progress.

#### Instances

Instances details

FromJSON WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods parseJSON :: Value -> Parser WorkDoneProgressCreateParams # parseJSONList :: Value -> Parser [WorkDoneProgressCreateParams] # omittedField :: Maybe WorkDoneProgressCreateParams #
ToJSON WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods toJSON :: WorkDoneProgressCreateParams -> Value # toEncoding :: WorkDoneProgressCreateParams -> Encoding # toJSONList :: [WorkDoneProgressCreateParams] -> Value # toEncodingList :: [WorkDoneProgressCreateParams] -> Encoding # omitField :: WorkDoneProgressCreateParams -> Bool #
NFData WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods rnf :: WorkDoneProgressCreateParams -> () #
Generic WorkDoneProgressCreateParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams

Associated Types

type Rep WorkDoneProgressCreateParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams

type Rep WorkDoneProgressCreateParams = D1 ('MetaData "WorkDoneProgressCreateParams" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressCreateParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProgressToken)))

Methods

from :: WorkDoneProgressCreateParams -> Rep WorkDoneProgressCreateParams x #

to :: Rep WorkDoneProgressCreateParams x -> WorkDoneProgressCreateParams #

Show WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods showsPrec :: Int -> WorkDoneProgressCreateParams -> ShowS # show :: WorkDoneProgressCreateParams -> String # showList :: [WorkDoneProgressCreateParams] -> ShowS #
Eq WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods (==) :: WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams -> Bool # (/=) :: WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams -> Bool #
Ord WorkDoneProgressCreateParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams

Methods

compare :: WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams -> Ordering #

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

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

(>) :: WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams -> Bool #

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

max :: WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams #

min :: WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams -> WorkDoneProgressCreateParams #

Hashable WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods hashWithSalt :: Int -> WorkDoneProgressCreateParams -> Int # hash :: WorkDoneProgressCreateParams -> Int #
Pretty WorkDoneProgressCreateParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams Methods pretty :: WorkDoneProgressCreateParams -> Doc ann # prettyList :: [WorkDoneProgressCreateParams] -> Doc ann #
HasToken WorkDoneProgressCreateParams ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods token :: Lens' WorkDoneProgressCreateParams ProgressToken #
type Rep WorkDoneProgressCreateParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams

type Rep WorkDoneProgressCreateParams = D1 ('MetaData "WorkDoneProgressCreateParams" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressCreateParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressCreateParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_token") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ProgressToken)))

data WorkspaceDiagnosticParams #

Parameters of the workspace diagnostic request.

Since: 3.17.0

Constructors

WorkspaceDiagnosticParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _identifier :: Maybe Text

  The additional identifier provided during registration.

- _previousResultIds :: [PreviousResultId]

  The currently known diagnostic reports with their previous result ids.

#### Instances

Instances details

FromJSON WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods parseJSON :: Value -> Parser WorkspaceDiagnosticParams # parseJSONList :: Value -> Parser [WorkspaceDiagnosticParams] # omittedField :: Maybe WorkspaceDiagnosticParams #
ToJSON WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods toJSON :: WorkspaceDiagnosticParams -> Value # toEncoding :: WorkspaceDiagnosticParams -> Encoding # toJSONList :: [WorkspaceDiagnosticParams] -> Value # toEncodingList :: [WorkspaceDiagnosticParams] -> Encoding # omitField :: WorkspaceDiagnosticParams -> Bool #
NFData WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods rnf :: WorkspaceDiagnosticParams -> () #
Generic WorkspaceDiagnosticParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams

Associated Types

type Rep WorkspaceDiagnosticParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams

type Rep WorkspaceDiagnosticParams = D1 ('MetaData "WorkspaceDiagnosticParams" "Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceDiagnosticParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_previousResultIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PreviousResultId]))))

Methods

from :: WorkspaceDiagnosticParams -> Rep WorkspaceDiagnosticParams x #

to :: Rep WorkspaceDiagnosticParams x -> WorkspaceDiagnosticParams #

Show WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods showsPrec :: Int -> WorkspaceDiagnosticParams -> ShowS # show :: WorkspaceDiagnosticParams -> String # showList :: [WorkspaceDiagnosticParams] -> ShowS #
Eq WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods (==) :: WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams -> Bool # (/=) :: WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams -> Bool #
Ord WorkspaceDiagnosticParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams

Methods

compare :: WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams -> Ordering #

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

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

(>) :: WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams -> Bool #

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

max :: WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams #

min :: WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams -> WorkspaceDiagnosticParams #

Hashable WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods hashWithSalt :: Int -> WorkspaceDiagnosticParams -> Int # hash :: WorkspaceDiagnosticParams -> Int #
Pretty WorkspaceDiagnosticParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams Methods pretty :: WorkspaceDiagnosticParams -> Doc ann # prettyList :: [WorkspaceDiagnosticParams] -> Doc ann #
HasIdentifier WorkspaceDiagnosticParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods identifier :: Lens' WorkspaceDiagnosticParams (Maybe Text) #
HasPartialResultToken WorkspaceDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' WorkspaceDiagnosticParams (Maybe ProgressToken) #
HasPreviousResultIds WorkspaceDiagnosticParams [PreviousResultId] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods previousResultIds :: Lens' WorkspaceDiagnosticParams [PreviousResultId] #
HasWorkDoneToken WorkspaceDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' WorkspaceDiagnosticParams (Maybe ProgressToken) #
type Rep WorkspaceDiagnosticParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams

type Rep WorkspaceDiagnosticParams = D1 ('MetaData "WorkspaceDiagnosticParams" "Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceDiagnosticParams" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))) :*: (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_previousResultIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PreviousResultId]))))

data WorkspaceDiagnosticReport #

A workspace diagnostic report.

Since: 3.17.0

Constructors

WorkspaceDiagnosticReport |

Fields

- _items :: [WorkspaceDocumentDiagnosticReport]

#### Instances

Instances details

FromJSON WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods parseJSON :: Value -> Parser WorkspaceDiagnosticReport # parseJSONList :: Value -> Parser [WorkspaceDiagnosticReport] # omittedField :: Maybe WorkspaceDiagnosticReport #
ToJSON WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods toJSON :: WorkspaceDiagnosticReport -> Value # toEncoding :: WorkspaceDiagnosticReport -> Encoding # toJSONList :: [WorkspaceDiagnosticReport] -> Value # toEncodingList :: [WorkspaceDiagnosticReport] -> Encoding # omitField :: WorkspaceDiagnosticReport -> Bool #
NFData WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods rnf :: WorkspaceDiagnosticReport -> () #
Generic WorkspaceDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport

Associated Types

type Rep WorkspaceDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport

type Rep WorkspaceDiagnosticReport = D1 ('MetaData "WorkspaceDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceDocumentDiagnosticReport])))

Methods

from :: WorkspaceDiagnosticReport -> Rep WorkspaceDiagnosticReport x #

to :: Rep WorkspaceDiagnosticReport x -> WorkspaceDiagnosticReport #

Show WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods showsPrec :: Int -> WorkspaceDiagnosticReport -> ShowS # show :: WorkspaceDiagnosticReport -> String # showList :: [WorkspaceDiagnosticReport] -> ShowS #
Eq WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods (==) :: WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport -> Bool # (/=) :: WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport -> Bool #
Ord WorkspaceDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport

Methods

compare :: WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport -> Ordering #

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

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

(>) :: WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport -> Bool #

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

max :: WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport #

min :: WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport -> WorkspaceDiagnosticReport #

Hashable WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods hashWithSalt :: Int -> WorkspaceDiagnosticReport -> Int # hash :: WorkspaceDiagnosticReport -> Int #
Pretty WorkspaceDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport Methods pretty :: WorkspaceDiagnosticReport -> Doc ann # prettyList :: [WorkspaceDiagnosticReport] -> Doc ann #
HasItems WorkspaceDiagnosticReport [WorkspaceDocumentDiagnosticReport] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' WorkspaceDiagnosticReport [WorkspaceDocumentDiagnosticReport] #
type Rep WorkspaceDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport

type Rep WorkspaceDiagnosticReport = D1 ('MetaData "WorkspaceDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceDocumentDiagnosticReport])))

data WorkspaceFolder #

A workspace folder inside a client.

Constructors

WorkspaceFolder |

Fields

- _uri :: Uri

  The associated URI for this workspace folder.

- _name :: Text

  The name of the workspace folder. Used to refer to this workspace folder in the user interface.

#### Instances

Instances details

FromJSON WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods parseJSON :: Value -> Parser WorkspaceFolder # parseJSONList :: Value -> Parser [WorkspaceFolder] # omittedField :: Maybe WorkspaceFolder #
ToJSON WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods toJSON :: WorkspaceFolder -> Value # toEncoding :: WorkspaceFolder -> Encoding # toJSONList :: [WorkspaceFolder] -> Value # toEncodingList :: [WorkspaceFolder] -> Encoding # omitField :: WorkspaceFolder -> Bool #
NFData WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods rnf :: WorkspaceFolder -> () #
Generic WorkspaceFolder # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder

Associated Types

type Rep WorkspaceFolder |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder

type Rep WorkspaceFolder = D1 ('MetaData "WorkspaceFolder" "Language.LSP.Protocol.Internal.Types.WorkspaceFolder" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFolder" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: WorkspaceFolder -> Rep WorkspaceFolder x #

to :: Rep WorkspaceFolder x -> WorkspaceFolder #

Show WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods showsPrec :: Int -> WorkspaceFolder -> ShowS # show :: WorkspaceFolder -> String # showList :: [WorkspaceFolder] -> ShowS #
Eq WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods (==) :: WorkspaceFolder -> WorkspaceFolder -> Bool # (/=) :: WorkspaceFolder -> WorkspaceFolder -> Bool #
Ord WorkspaceFolder # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder

Methods

compare :: WorkspaceFolder -> WorkspaceFolder -> Ordering #

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

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

(>) :: WorkspaceFolder -> WorkspaceFolder -> Bool #

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

max :: WorkspaceFolder -> WorkspaceFolder -> WorkspaceFolder #

min :: WorkspaceFolder -> WorkspaceFolder -> WorkspaceFolder #

Hashable WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods hashWithSalt :: Int -> WorkspaceFolder -> Int # hash :: WorkspaceFolder -> Int #
Pretty WorkspaceFolder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder Methods pretty :: WorkspaceFolder -> Doc ann # prettyList :: [WorkspaceFolder] -> Doc ann #
HasName WorkspaceFolder Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' WorkspaceFolder Text #
HasUri WorkspaceFolder Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' WorkspaceFolder Uri #
HasAdded WorkspaceFoldersChangeEvent [WorkspaceFolder] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods added :: Lens' WorkspaceFoldersChangeEvent [WorkspaceFolder] #
HasRemoved WorkspaceFoldersChangeEvent [WorkspaceFolder] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods removed :: Lens' WorkspaceFoldersChangeEvent [WorkspaceFolder] #
HasWorkspaceFolders InitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' InitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasWorkspaceFolders WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
HasBaseUri RelativePattern (WorkspaceFolder |? Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods baseUri :: Lens' RelativePattern (WorkspaceFolder |? Uri) #
type Rep WorkspaceFolder # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFolder

type Rep WorkspaceFolder = D1 ('MetaData "WorkspaceFolder" "Language.LSP.Protocol.Internal.Types.WorkspaceFolder" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFolder" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data WorkspaceSymbol #

A special workspace symbol that supports locations without a range.

See also SymbolInformation.

Since: 3.17.0

Constructors

WorkspaceSymbol |

Fields

- _name :: Text

  The name of this symbol.

- _kind :: SymbolKind

  The kind of this symbol.

- _tags :: Maybe [SymbolTag]

  Tags for this symbol.

  Since: 3.16.0

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

- _location :: Location |? LocationUriOnly

  The location of the symbol. Whether a server is allowed to return a location without a range depends on the client capability `workspace.symbol.resolveSupport`.

  See SymbolInformation#location for more details.

- _data_ :: Maybe Value

  A data entry field that is preserved on a workspace symbol between a workspace symbol request and a workspace symbol resolve request.

#### Instances

Instances details

FromJSON WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods parseJSON :: Value -> Parser WorkspaceSymbol # parseJSONList :: Value -> Parser [WorkspaceSymbol] # omittedField :: Maybe WorkspaceSymbol #
ToJSON WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods toJSON :: WorkspaceSymbol -> Value # toEncoding :: WorkspaceSymbol -> Encoding # toJSONList :: [WorkspaceSymbol] -> Value # toEncodingList :: [WorkspaceSymbol] -> Encoding # omitField :: WorkspaceSymbol -> Bool #
NFData WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods rnf :: WorkspaceSymbol -> () #
Generic WorkspaceSymbol # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol

Associated Types

type Rep WorkspaceSymbol |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol

type Rep WorkspaceSymbol = D1 ('MetaData "WorkspaceSymbol" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbol" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbol" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])))) :*: (S1 ('MetaSel ('Just "_containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Location |? LocationUriOnly)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: WorkspaceSymbol -> Rep WorkspaceSymbol x #

to :: Rep WorkspaceSymbol x -> WorkspaceSymbol #

Show WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods showsPrec :: Int -> WorkspaceSymbol -> ShowS # show :: WorkspaceSymbol -> String # showList :: [WorkspaceSymbol] -> ShowS #
Eq WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods (==) :: WorkspaceSymbol -> WorkspaceSymbol -> Bool # (/=) :: WorkspaceSymbol -> WorkspaceSymbol -> Bool #
Ord WorkspaceSymbol # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol

Methods

compare :: WorkspaceSymbol -> WorkspaceSymbol -> Ordering #

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

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

(>) :: WorkspaceSymbol -> WorkspaceSymbol -> Bool #

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

max :: WorkspaceSymbol -> WorkspaceSymbol -> WorkspaceSymbol #

min :: WorkspaceSymbol -> WorkspaceSymbol -> WorkspaceSymbol #

Hashable WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods hashWithSalt :: Int -> WorkspaceSymbol -> Int # hash :: WorkspaceSymbol -> Int #
Pretty WorkspaceSymbol # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol Methods pretty :: WorkspaceSymbol -> Doc ann # prettyList :: [WorkspaceSymbol] -> Doc ann #
HasKind WorkspaceSymbol SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkspaceSymbol SymbolKind #
HasName WorkspaceSymbol Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' WorkspaceSymbol Text #
HasContainerName WorkspaceSymbol (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods containerName :: Lens' WorkspaceSymbol (Maybe Text) #
HasData_ WorkspaceSymbol (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' WorkspaceSymbol (Maybe Value) #
HasTags WorkspaceSymbol (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' WorkspaceSymbol (Maybe [SymbolTag]) #
HasLocation WorkspaceSymbol (Location |? LocationUriOnly) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' WorkspaceSymbol (Location |? LocationUriOnly) #
type Rep WorkspaceSymbol # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbol

type Rep WorkspaceSymbol = D1 ('MetaData "WorkspaceSymbol" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbol" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbol" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind) :*: S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])))) :*: (S1 ('MetaSel ('Just "_containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Location |? LocationUriOnly)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data WorkspaceSymbolParams #

The parameters of a `WorkspaceSymbolRequest`.

Constructors

WorkspaceSymbolParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

- _query :: Text

  A query string to filter symbols by. Clients may send an empty string here to request all symbols.

#### Instances

Instances details

FromJSON WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods parseJSON :: Value -> Parser WorkspaceSymbolParams # parseJSONList :: Value -> Parser [WorkspaceSymbolParams] # omittedField :: Maybe WorkspaceSymbolParams #
ToJSON WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods toJSON :: WorkspaceSymbolParams -> Value # toEncoding :: WorkspaceSymbolParams -> Encoding # toJSONList :: [WorkspaceSymbolParams] -> Value # toEncodingList :: [WorkspaceSymbolParams] -> Encoding # omitField :: WorkspaceSymbolParams -> Bool #
NFData WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods rnf :: WorkspaceSymbolParams -> () #
Generic WorkspaceSymbolParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams

Associated Types

type Rep WorkspaceSymbolParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams

type Rep WorkspaceSymbolParams = D1 ('MetaData "WorkspaceSymbolParams" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: WorkspaceSymbolParams -> Rep WorkspaceSymbolParams x #

to :: Rep WorkspaceSymbolParams x -> WorkspaceSymbolParams #

Show WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods showsPrec :: Int -> WorkspaceSymbolParams -> ShowS # show :: WorkspaceSymbolParams -> String # showList :: [WorkspaceSymbolParams] -> ShowS #
Eq WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods (==) :: WorkspaceSymbolParams -> WorkspaceSymbolParams -> Bool # (/=) :: WorkspaceSymbolParams -> WorkspaceSymbolParams -> Bool #
Ord WorkspaceSymbolParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams

Methods

compare :: WorkspaceSymbolParams -> WorkspaceSymbolParams -> Ordering #

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

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

(>) :: WorkspaceSymbolParams -> WorkspaceSymbolParams -> Bool #

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

max :: WorkspaceSymbolParams -> WorkspaceSymbolParams -> WorkspaceSymbolParams #

min :: WorkspaceSymbolParams -> WorkspaceSymbolParams -> WorkspaceSymbolParams #

Hashable WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods hashWithSalt :: Int -> WorkspaceSymbolParams -> Int # hash :: WorkspaceSymbolParams -> Int #
Pretty WorkspaceSymbolParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams Methods pretty :: WorkspaceSymbolParams -> Doc ann # prettyList :: [WorkspaceSymbolParams] -> Doc ann #
HasQuery WorkspaceSymbolParams Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods query :: Lens' WorkspaceSymbolParams Text #
HasPartialResultToken WorkspaceSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' WorkspaceSymbolParams (Maybe ProgressToken) #
HasWorkDoneToken WorkspaceSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' WorkspaceSymbolParams (Maybe ProgressToken) #
type Rep WorkspaceSymbolParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams

type Rep WorkspaceSymbolParams = D1 ('MetaData "WorkspaceSymbolParams" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_query") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data WorkspaceSymbolRegistrationOptions #

Registration options for a `WorkspaceSymbolRequest`.

Constructors

WorkspaceSymbolRegistrationOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for a workspace symbol.

  Since: 3.17.0

#### Instances

Instances details

FromJSON WorkspaceSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions Methods parseJSON :: Value -> Parser WorkspaceSymbolRegistrationOptions # parseJSONList :: Value -> Parser [WorkspaceSymbolRegistrationOptions] # omittedField :: Maybe WorkspaceSymbolRegistrationOptions #
ToJSON WorkspaceSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions

Methods

toJSON :: WorkspaceSymbolRegistrationOptions -> Value #

toEncoding :: WorkspaceSymbolRegistrationOptions -> Encoding #

toJSONList :: [WorkspaceSymbolRegistrationOptions] -> Value #

toEncodingList :: [WorkspaceSymbolRegistrationOptions] -> Encoding #

omitField :: WorkspaceSymbolRegistrationOptions -> Bool #

NFData WorkspaceSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions Methods rnf :: WorkspaceSymbolRegistrationOptions -> () #
Generic WorkspaceSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions

Associated Types

type Rep WorkspaceSymbolRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions

type Rep WorkspaceSymbolRegistrationOptions = D1 ('MetaData "WorkspaceSymbolRegistrationOptions" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: WorkspaceSymbolRegistrationOptions -> Rep WorkspaceSymbolRegistrationOptions x #

to :: Rep WorkspaceSymbolRegistrationOptions x -> WorkspaceSymbolRegistrationOptions #

Show WorkspaceSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions Methods showsPrec :: Int -> WorkspaceSymbolRegistrationOptions -> ShowS # show :: WorkspaceSymbolRegistrationOptions -> String # showList :: [WorkspaceSymbolRegistrationOptions] -> ShowS #
Eq WorkspaceSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions Methods (==) :: WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions -> Bool # (/=) :: WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions -> Bool #
Ord WorkspaceSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions

Methods

compare :: WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions -> Ordering #

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

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

(>) :: WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions -> Bool #

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

max :: WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions #

min :: WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions -> WorkspaceSymbolRegistrationOptions #

Hashable WorkspaceSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions Methods hashWithSalt :: Int -> WorkspaceSymbolRegistrationOptions -> Int # hash :: WorkspaceSymbolRegistrationOptions -> Int #
Pretty WorkspaceSymbolRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions Methods pretty :: WorkspaceSymbolRegistrationOptions -> Doc ann # prettyList :: [WorkspaceSymbolRegistrationOptions] -> Doc ann #
HasResolveProvider WorkspaceSymbolRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' WorkspaceSymbolRegistrationOptions (Maybe Bool) #
HasWorkDoneProgress WorkspaceSymbolRegistrationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' WorkspaceSymbolRegistrationOptions (Maybe Bool) #
type Rep WorkspaceSymbolRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions

type Rep WorkspaceSymbolRegistrationOptions = D1 ('MetaData "WorkspaceSymbolRegistrationOptions" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data AnnotatedTextEdit #

A special text edit with an additional change annotation.

@since 3.16.0.

Constructors

AnnotatedTextEdit |

Fields

- _range :: Range

  The range of the text document to be manipulated. To insert text into a document create a range where start === end.

- _newText :: Text

  The string to be inserted. For delete operations use an empty string.

- _annotationId :: ChangeAnnotationIdentifier

  The actual identifier of the change annotation

#### Instances

Instances details

FromJSON AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods parseJSON :: Value -> Parser AnnotatedTextEdit # parseJSONList :: Value -> Parser [AnnotatedTextEdit] # omittedField :: Maybe AnnotatedTextEdit #
ToJSON AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods toJSON :: AnnotatedTextEdit -> Value # toEncoding :: AnnotatedTextEdit -> Encoding # toJSONList :: [AnnotatedTextEdit] -> Value # toEncodingList :: [AnnotatedTextEdit] -> Encoding # omitField :: AnnotatedTextEdit -> Bool #
NFData AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods rnf :: AnnotatedTextEdit -> () #
Generic AnnotatedTextEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit

Associated Types

type Rep AnnotatedTextEdit |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit

type Rep AnnotatedTextEdit = D1 ('MetaData "AnnotatedTextEdit" "Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "AnnotatedTextEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_newText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAnnotationIdentifier))))

Methods

from :: AnnotatedTextEdit -> Rep AnnotatedTextEdit x #

to :: Rep AnnotatedTextEdit x -> AnnotatedTextEdit #

Show AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods showsPrec :: Int -> AnnotatedTextEdit -> ShowS # show :: AnnotatedTextEdit -> String # showList :: [AnnotatedTextEdit] -> ShowS #
Eq AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods (==) :: AnnotatedTextEdit -> AnnotatedTextEdit -> Bool # (/=) :: AnnotatedTextEdit -> AnnotatedTextEdit -> Bool #
Ord AnnotatedTextEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit

Methods

compare :: AnnotatedTextEdit -> AnnotatedTextEdit -> Ordering #

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

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

(>) :: AnnotatedTextEdit -> AnnotatedTextEdit -> Bool #

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

max :: AnnotatedTextEdit -> AnnotatedTextEdit -> AnnotatedTextEdit #

min :: AnnotatedTextEdit -> AnnotatedTextEdit -> AnnotatedTextEdit #

Hashable AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods hashWithSalt :: Int -> AnnotatedTextEdit -> Int # hash :: AnnotatedTextEdit -> Int #
Pretty AnnotatedTextEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit Methods pretty :: AnnotatedTextEdit -> Doc ann # prettyList :: [AnnotatedTextEdit] -> Doc ann #
HasAnnotationId AnnotatedTextEdit ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' AnnotatedTextEdit ChangeAnnotationIdentifier #
HasNewText AnnotatedTextEdit Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newText :: Lens' AnnotatedTextEdit Text #
HasRange AnnotatedTextEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' AnnotatedTextEdit Range #
HasEdits TextDocumentEdit [TextEdit |? AnnotatedTextEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' TextDocumentEdit [TextEdit |? AnnotatedTextEdit] #
type Rep AnnotatedTextEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit

type Rep AnnotatedTextEdit = D1 ('MetaData "AnnotatedTextEdit" "Language.LSP.Protocol.Internal.Types.AnnotatedTextEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "AnnotatedTextEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_newText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeAnnotationIdentifier))))

data BaseSymbolInformation #

A base for all symbol information.

Constructors

BaseSymbolInformation |

Fields

- _name :: Text

  The name of this symbol.

- _kind :: SymbolKind

  The kind of this symbol.

- _tags :: Maybe [SymbolTag]

  Tags for this symbol.

  Since: 3.16.0

- _containerName :: Maybe Text

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

#### Instances

Instances details

FromJSON BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods parseJSON :: Value -> Parser BaseSymbolInformation # parseJSONList :: Value -> Parser [BaseSymbolInformation] # omittedField :: Maybe BaseSymbolInformation #
ToJSON BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods toJSON :: BaseSymbolInformation -> Value # toEncoding :: BaseSymbolInformation -> Encoding # toJSONList :: [BaseSymbolInformation] -> Value # toEncodingList :: [BaseSymbolInformation] -> Encoding # omitField :: BaseSymbolInformation -> Bool #
NFData BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods rnf :: BaseSymbolInformation -> () #
Generic BaseSymbolInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation

Associated Types

type Rep BaseSymbolInformation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation

type Rep BaseSymbolInformation = D1 ('MetaData "BaseSymbolInformation" "Language.LSP.Protocol.Internal.Types.BaseSymbolInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "BaseSymbolInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])) :*: S1 ('MetaSel ('Just "_containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: BaseSymbolInformation -> Rep BaseSymbolInformation x #

to :: Rep BaseSymbolInformation x -> BaseSymbolInformation #

Show BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods showsPrec :: Int -> BaseSymbolInformation -> ShowS # show :: BaseSymbolInformation -> String # showList :: [BaseSymbolInformation] -> ShowS #
Eq BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods (==) :: BaseSymbolInformation -> BaseSymbolInformation -> Bool # (/=) :: BaseSymbolInformation -> BaseSymbolInformation -> Bool #
Ord BaseSymbolInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation

Methods

compare :: BaseSymbolInformation -> BaseSymbolInformation -> Ordering #

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

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

(>) :: BaseSymbolInformation -> BaseSymbolInformation -> Bool #

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

max :: BaseSymbolInformation -> BaseSymbolInformation -> BaseSymbolInformation #

min :: BaseSymbolInformation -> BaseSymbolInformation -> BaseSymbolInformation #

Hashable BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods hashWithSalt :: Int -> BaseSymbolInformation -> Int # hash :: BaseSymbolInformation -> Int #
Pretty BaseSymbolInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation Methods pretty :: BaseSymbolInformation -> Doc ann # prettyList :: [BaseSymbolInformation] -> Doc ann #
HasKind BaseSymbolInformation SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' BaseSymbolInformation SymbolKind #
HasName BaseSymbolInformation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' BaseSymbolInformation Text #
HasContainerName BaseSymbolInformation (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods containerName :: Lens' BaseSymbolInformation (Maybe Text) #
HasTags BaseSymbolInformation (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' BaseSymbolInformation (Maybe [SymbolTag]) #
type Rep BaseSymbolInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.BaseSymbolInformation

type Rep BaseSymbolInformation = D1 ('MetaData "BaseSymbolInformation" "Language.LSP.Protocol.Internal.Types.BaseSymbolInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "BaseSymbolInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SymbolKind)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolTag])) :*: S1 ('MetaSel ('Just "_containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data CallHierarchyClientCapabilities #

Since: 3.16.0

Constructors

CallHierarchyClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

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

#### Instances

Instances details

FromJSON CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods parseJSON :: Value -> Parser CallHierarchyClientCapabilities # parseJSONList :: Value -> Parser [CallHierarchyClientCapabilities] # omittedField :: Maybe CallHierarchyClientCapabilities #
ToJSON CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods toJSON :: CallHierarchyClientCapabilities -> Value # toEncoding :: CallHierarchyClientCapabilities -> Encoding # toJSONList :: [CallHierarchyClientCapabilities] -> Value # toEncodingList :: [CallHierarchyClientCapabilities] -> Encoding # omitField :: CallHierarchyClientCapabilities -> Bool #
NFData CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods rnf :: CallHierarchyClientCapabilities -> () #
Generic CallHierarchyClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities

Associated Types

type Rep CallHierarchyClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities

type Rep CallHierarchyClientCapabilities = D1 ('MetaData "CallHierarchyClientCapabilities" "Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: CallHierarchyClientCapabilities -> Rep CallHierarchyClientCapabilities x #

to :: Rep CallHierarchyClientCapabilities x -> CallHierarchyClientCapabilities #

Show CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods showsPrec :: Int -> CallHierarchyClientCapabilities -> ShowS # show :: CallHierarchyClientCapabilities -> String # showList :: [CallHierarchyClientCapabilities] -> ShowS #
Eq CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods (==) :: CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities -> Bool # (/=) :: CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities -> Bool #
Ord CallHierarchyClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities

Methods

compare :: CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities -> Ordering #

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

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

(>) :: CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities -> Bool #

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

max :: CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities #

min :: CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities -> CallHierarchyClientCapabilities #

Hashable CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods hashWithSalt :: Int -> CallHierarchyClientCapabilities -> Int # hash :: CallHierarchyClientCapabilities -> Int #
Pretty CallHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities Methods pretty :: CallHierarchyClientCapabilities -> Doc ann # prettyList :: [CallHierarchyClientCapabilities] -> Doc ann #
HasCallHierarchy TextDocumentClientCapabilities (Maybe CallHierarchyClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods callHierarchy :: Lens' TextDocumentClientCapabilities (Maybe CallHierarchyClientCapabilities) #
HasDynamicRegistration CallHierarchyClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' CallHierarchyClientCapabilities (Maybe Bool) #
type Rep CallHierarchyClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities

type Rep CallHierarchyClientCapabilities = D1 ('MetaData "CallHierarchyClientCapabilities" "Language.LSP.Protocol.Internal.Types.CallHierarchyClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data CallHierarchyOptions #

Call hierarchy options used during static registration.

Since: 3.16.0

Constructors

CallHierarchyOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods parseJSON :: Value -> Parser CallHierarchyOptions # parseJSONList :: Value -> Parser [CallHierarchyOptions] # omittedField :: Maybe CallHierarchyOptions #
ToJSON CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods toJSON :: CallHierarchyOptions -> Value # toEncoding :: CallHierarchyOptions -> Encoding # toJSONList :: [CallHierarchyOptions] -> Value # toEncodingList :: [CallHierarchyOptions] -> Encoding # omitField :: CallHierarchyOptions -> Bool #
NFData CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods rnf :: CallHierarchyOptions -> () #
Generic CallHierarchyOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions

Associated Types

type Rep CallHierarchyOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions

type Rep CallHierarchyOptions = D1 ('MetaData "CallHierarchyOptions" "Language.LSP.Protocol.Internal.Types.CallHierarchyOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: CallHierarchyOptions -> Rep CallHierarchyOptions x #

to :: Rep CallHierarchyOptions x -> CallHierarchyOptions #

Show CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods showsPrec :: Int -> CallHierarchyOptions -> ShowS # show :: CallHierarchyOptions -> String # showList :: [CallHierarchyOptions] -> ShowS #
Eq CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods (==) :: CallHierarchyOptions -> CallHierarchyOptions -> Bool # (/=) :: CallHierarchyOptions -> CallHierarchyOptions -> Bool #
Ord CallHierarchyOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions

Methods

compare :: CallHierarchyOptions -> CallHierarchyOptions -> Ordering #

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

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

(>) :: CallHierarchyOptions -> CallHierarchyOptions -> Bool #

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

max :: CallHierarchyOptions -> CallHierarchyOptions -> CallHierarchyOptions #

min :: CallHierarchyOptions -> CallHierarchyOptions -> CallHierarchyOptions #

Hashable CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods hashWithSalt :: Int -> CallHierarchyOptions -> Int # hash :: CallHierarchyOptions -> Int #
Pretty CallHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions Methods pretty :: CallHierarchyOptions -> Doc ann # prettyList :: [CallHierarchyOptions] -> Doc ann #
HasCallHierarchyProvider ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods callHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) #
HasWorkDoneProgress CallHierarchyOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CallHierarchyOptions (Maybe Bool) #
type Rep CallHierarchyOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CallHierarchyOptions

type Rep CallHierarchyOptions = D1 ('MetaData "CallHierarchyOptions" "Language.LSP.Protocol.Internal.Types.CallHierarchyOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CallHierarchyOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ChangeAnnotation #

Additional information that describes document changes.

Since: 3.16.0

Constructors

ChangeAnnotation |

Fields

- _label :: Text

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

- _needsConfirmation :: Maybe Bool

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

- _description :: Maybe Text

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

#### Instances

Instances details

FromJSON ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods parseJSON :: Value -> Parser ChangeAnnotation # parseJSONList :: Value -> Parser [ChangeAnnotation] # omittedField :: Maybe ChangeAnnotation #
ToJSON ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods toJSON :: ChangeAnnotation -> Value # toEncoding :: ChangeAnnotation -> Encoding # toJSONList :: [ChangeAnnotation] -> Value # toEncodingList :: [ChangeAnnotation] -> Encoding # omitField :: ChangeAnnotation -> Bool #
NFData ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods rnf :: ChangeAnnotation -> () #
Generic ChangeAnnotation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation

Associated Types

type Rep ChangeAnnotation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation

type Rep ChangeAnnotation = D1 ('MetaData "ChangeAnnotation" "Language.LSP.Protocol.Internal.Types.ChangeAnnotation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ChangeAnnotation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_needsConfirmation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: ChangeAnnotation -> Rep ChangeAnnotation x #

to :: Rep ChangeAnnotation x -> ChangeAnnotation #

Show ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods showsPrec :: Int -> ChangeAnnotation -> ShowS # show :: ChangeAnnotation -> String # showList :: [ChangeAnnotation] -> ShowS #
Eq ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods (==) :: ChangeAnnotation -> ChangeAnnotation -> Bool # (/=) :: ChangeAnnotation -> ChangeAnnotation -> Bool #
Ord ChangeAnnotation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation

Methods

compare :: ChangeAnnotation -> ChangeAnnotation -> Ordering #

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

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

(>) :: ChangeAnnotation -> ChangeAnnotation -> Bool #

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

max :: ChangeAnnotation -> ChangeAnnotation -> ChangeAnnotation #

min :: ChangeAnnotation -> ChangeAnnotation -> ChangeAnnotation #

Hashable ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods hashWithSalt :: Int -> ChangeAnnotation -> Int # hash :: ChangeAnnotation -> Int #
Pretty ChangeAnnotation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation Methods pretty :: ChangeAnnotation -> Doc ann # prettyList :: [ChangeAnnotation] -> Doc ann #
HasLabel ChangeAnnotation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' ChangeAnnotation Text #
HasChangeAnnotations WorkspaceEdit (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeAnnotations :: Lens' WorkspaceEdit (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)) #
HasDescription ChangeAnnotation (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods description :: Lens' ChangeAnnotation (Maybe Text) #
HasNeedsConfirmation ChangeAnnotation (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods needsConfirmation :: Lens' ChangeAnnotation (Maybe Bool) #
type Rep ChangeAnnotation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotation

type Rep ChangeAnnotation = D1 ('MetaData "ChangeAnnotation" "Language.LSP.Protocol.Internal.Types.ChangeAnnotation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ChangeAnnotation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_needsConfirmation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newtype ChangeAnnotationIdentifier #

An identifier to refer to a change annotation stored with a workspace edit.

Constructors

ChangeAnnotationIdentifier Text |

#### Instances

Instances details

FromJSON ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods parseJSON :: Value -> Parser ChangeAnnotationIdentifier # parseJSONList :: Value -> Parser [ChangeAnnotationIdentifier] # omittedField :: Maybe ChangeAnnotationIdentifier #
FromJSONKey ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods fromJSONKey :: FromJSONKeyFunction ChangeAnnotationIdentifier # fromJSONKeyList :: FromJSONKeyFunction [ChangeAnnotationIdentifier] #
ToJSON ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods toJSON :: ChangeAnnotationIdentifier -> Value # toEncoding :: ChangeAnnotationIdentifier -> Encoding # toJSONList :: [ChangeAnnotationIdentifier] -> Value # toEncodingList :: [ChangeAnnotationIdentifier] -> Encoding # omitField :: ChangeAnnotationIdentifier -> Bool #
ToJSONKey ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods toJSONKey :: ToJSONKeyFunction ChangeAnnotationIdentifier # toJSONKeyList :: ToJSONKeyFunction [ChangeAnnotationIdentifier] #
NFData ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods rnf :: ChangeAnnotationIdentifier -> () #
Generic ChangeAnnotationIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier

Associated Types

type Rep ChangeAnnotationIdentifier |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier

type Rep ChangeAnnotationIdentifier = D1 ('MetaData "ChangeAnnotationIdentifier" "Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "ChangeAnnotationIdentifier" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: ChangeAnnotationIdentifier -> Rep ChangeAnnotationIdentifier x #

to :: Rep ChangeAnnotationIdentifier x -> ChangeAnnotationIdentifier #

Show ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods showsPrec :: Int -> ChangeAnnotationIdentifier -> ShowS # show :: ChangeAnnotationIdentifier -> String # showList :: [ChangeAnnotationIdentifier] -> ShowS #
Eq ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods (==) :: ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier -> Bool # (/=) :: ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier -> Bool #
Ord ChangeAnnotationIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier

Methods

compare :: ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier -> Ordering #

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

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

(>) :: ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier -> Bool #

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

max :: ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier #

min :: ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier -> ChangeAnnotationIdentifier #

Hashable ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods hashWithSalt :: Int -> ChangeAnnotationIdentifier -> Int # hash :: ChangeAnnotationIdentifier -> Int #
Pretty ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier Methods pretty :: ChangeAnnotationIdentifier -> Doc ann # prettyList :: [ChangeAnnotationIdentifier] -> Doc ann #
HasAnnotationId AnnotatedTextEdit ChangeAnnotationIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' AnnotatedTextEdit ChangeAnnotationIdentifier #
HasAnnotationId CreateFile (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' CreateFile (Maybe ChangeAnnotationIdentifier) #
HasAnnotationId DeleteFile (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' DeleteFile (Maybe ChangeAnnotationIdentifier) #
HasAnnotationId RenameFile (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' RenameFile (Maybe ChangeAnnotationIdentifier) #
HasAnnotationId ResourceOperation (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' ResourceOperation (Maybe ChangeAnnotationIdentifier) #
HasChangeAnnotations WorkspaceEdit (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeAnnotations :: Lens' WorkspaceEdit (Maybe (Map ChangeAnnotationIdentifier ChangeAnnotation)) #
type Rep ChangeAnnotationIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier

type Rep ChangeAnnotationIdentifier = D1 ('MetaData "ChangeAnnotationIdentifier" "Language.LSP.Protocol.Internal.Types.ChangeAnnotationIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "ChangeAnnotationIdentifier" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data ChangeAnnotationsSupportOptions #

@proposed

Since: 3.18.0

Constructors

ChangeAnnotationsSupportOptions |

Fields

- _groupsOnLabel :: Maybe Bool

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

#### Instances

Instances details

FromJSON ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods parseJSON :: Value -> Parser ChangeAnnotationsSupportOptions # parseJSONList :: Value -> Parser [ChangeAnnotationsSupportOptions] # omittedField :: Maybe ChangeAnnotationsSupportOptions #
ToJSON ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods toJSON :: ChangeAnnotationsSupportOptions -> Value # toEncoding :: ChangeAnnotationsSupportOptions -> Encoding # toJSONList :: [ChangeAnnotationsSupportOptions] -> Value # toEncodingList :: [ChangeAnnotationsSupportOptions] -> Encoding # omitField :: ChangeAnnotationsSupportOptions -> Bool #
NFData ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods rnf :: ChangeAnnotationsSupportOptions -> () #
Generic ChangeAnnotationsSupportOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions

Associated Types

type Rep ChangeAnnotationsSupportOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions

type Rep ChangeAnnotationsSupportOptions = D1 ('MetaData "ChangeAnnotationsSupportOptions" "Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ChangeAnnotationsSupportOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_groupsOnLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ChangeAnnotationsSupportOptions -> Rep ChangeAnnotationsSupportOptions x #

to :: Rep ChangeAnnotationsSupportOptions x -> ChangeAnnotationsSupportOptions #

Show ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods showsPrec :: Int -> ChangeAnnotationsSupportOptions -> ShowS # show :: ChangeAnnotationsSupportOptions -> String # showList :: [ChangeAnnotationsSupportOptions] -> ShowS #
Eq ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods (==) :: ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions -> Bool # (/=) :: ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions -> Bool #
Ord ChangeAnnotationsSupportOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions

Methods

compare :: ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions -> Ordering #

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

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

(>) :: ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions -> Bool #

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

max :: ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions #

min :: ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions -> ChangeAnnotationsSupportOptions #

Hashable ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods hashWithSalt :: Int -> ChangeAnnotationsSupportOptions -> Int # hash :: ChangeAnnotationsSupportOptions -> Int #
Pretty ChangeAnnotationsSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions Methods pretty :: ChangeAnnotationsSupportOptions -> Doc ann # prettyList :: [ChangeAnnotationsSupportOptions] -> Doc ann #
HasChangeAnnotationSupport WorkspaceEditClientCapabilities (Maybe ChangeAnnotationsSupportOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeAnnotationSupport :: Lens' WorkspaceEditClientCapabilities (Maybe ChangeAnnotationsSupportOptions) #
HasGroupsOnLabel ChangeAnnotationsSupportOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods groupsOnLabel :: Lens' ChangeAnnotationsSupportOptions (Maybe Bool) #
type Rep ChangeAnnotationsSupportOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions

type Rep ChangeAnnotationsSupportOptions = D1 ('MetaData "ChangeAnnotationsSupportOptions" "Language.LSP.Protocol.Internal.Types.ChangeAnnotationsSupportOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ChangeAnnotationsSupportOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_groupsOnLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ClientCapabilities #

Defines the capabilities provided by the client.

Constructors

ClientCapabilities |

Fields

- _workspace :: Maybe WorkspaceClientCapabilities

  Workspace specific client capabilities.

- _textDocument :: Maybe TextDocumentClientCapabilities

  Text document specific client capabilities.

- _notebookDocument :: Maybe NotebookDocumentClientCapabilities

  Capabilities specific to the notebook document support.

  Since: 3.17.0

- _window :: Maybe WindowClientCapabilities

  Window specific client capabilities.

- _general :: Maybe GeneralClientCapabilities

  General client capabilities.

  Since: 3.16.0

- _experimental :: Maybe Value

  Experimental client capabilities.

#### Instances

Instances details

FromJSON ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods parseJSON :: Value -> Parser ClientCapabilities # parseJSONList :: Value -> Parser [ClientCapabilities] # omittedField :: Maybe ClientCapabilities #
ToJSON ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods toJSON :: ClientCapabilities -> Value # toEncoding :: ClientCapabilities -> Encoding # toJSONList :: [ClientCapabilities] -> Value # toEncodingList :: [ClientCapabilities] -> Encoding # omitField :: ClientCapabilities -> Bool #
Default ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: ClientCapabilities #
NFData ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods rnf :: ClientCapabilities -> () #
Generic ClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities

Associated Types

type Rep ClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities

type Rep ClientCapabilities = D1 ('MetaData "ClientCapabilities" "Language.LSP.Protocol.Internal.Types.ClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceClientCapabilities)) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextDocumentClientCapabilities)) :*: S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookDocumentClientCapabilities)))) :*: (S1 ('MetaSel ('Just "_window") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WindowClientCapabilities)) :*: (S1 ('MetaSel ('Just "_general") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GeneralClientCapabilities)) :*: S1 ('MetaSel ('Just "_experimental") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: ClientCapabilities -> Rep ClientCapabilities x #

to :: Rep ClientCapabilities x -> ClientCapabilities #

Show ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods showsPrec :: Int -> ClientCapabilities -> ShowS # show :: ClientCapabilities -> String # showList :: [ClientCapabilities] -> ShowS #
Eq ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods (==) :: ClientCapabilities -> ClientCapabilities -> Bool # (/=) :: ClientCapabilities -> ClientCapabilities -> Bool #
Ord ClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities

Methods

compare :: ClientCapabilities -> ClientCapabilities -> Ordering #

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

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

(>) :: ClientCapabilities -> ClientCapabilities -> Bool #

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

max :: ClientCapabilities -> ClientCapabilities -> ClientCapabilities #

min :: ClientCapabilities -> ClientCapabilities -> ClientCapabilities #

Hashable ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods hashWithSalt :: Int -> ClientCapabilities -> Int # hash :: ClientCapabilities -> Int #
Pretty ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities Methods pretty :: ClientCapabilities -> Doc ann # prettyList :: [ClientCapabilities] -> Doc ann #
HasCapabilities InitializeParams ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods capabilities :: Lens' InitializeParams ClientCapabilities #
HasCapabilities UInitializeParams ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods capabilities :: Lens' UInitializeParams ClientCapabilities #
HasExperimental ClientCapabilities (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods experimental :: Lens' ClientCapabilities (Maybe Value) #
HasGeneral ClientCapabilities (Maybe GeneralClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods general :: Lens' ClientCapabilities (Maybe GeneralClientCapabilities) #
HasNotebookDocument ClientCapabilities (Maybe NotebookDocumentClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' ClientCapabilities (Maybe NotebookDocumentClientCapabilities) #
HasTextDocument ClientCapabilities (Maybe TextDocumentClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ClientCapabilities (Maybe TextDocumentClientCapabilities) #
HasWindow ClientCapabilities (Maybe WindowClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods window :: Lens' ClientCapabilities (Maybe WindowClientCapabilities) #
HasWorkspace ClientCapabilities (Maybe WorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspace :: Lens' ClientCapabilities (Maybe WorkspaceClientCapabilities) #
type Rep ClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCapabilities

type Rep ClientCapabilities = D1 ('MetaData "ClientCapabilities" "Language.LSP.Protocol.Internal.Types.ClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceClientCapabilities)) :*: (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextDocumentClientCapabilities)) :*: S1 ('MetaSel ('Just "_notebookDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookDocumentClientCapabilities)))) :*: (S1 ('MetaSel ('Just "_window") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WindowClientCapabilities)) :*: (S1 ('MetaSel ('Just "_general") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GeneralClientCapabilities)) :*: S1 ('MetaSel ('Just "_experimental") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data ClientCodeActionKindOptions #

@proposed

Since: 3.18.0

Constructors

ClientCodeActionKindOptions |

Fields

- _valueSet :: [CodeActionKind]

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

#### Instances

Instances details

FromJSON ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods parseJSON :: Value -> Parser ClientCodeActionKindOptions # parseJSONList :: Value -> Parser [ClientCodeActionKindOptions] # omittedField :: Maybe ClientCodeActionKindOptions #
ToJSON ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods toJSON :: ClientCodeActionKindOptions -> Value # toEncoding :: ClientCodeActionKindOptions -> Encoding # toJSONList :: [ClientCodeActionKindOptions] -> Value # toEncodingList :: [ClientCodeActionKindOptions] -> Encoding # omitField :: ClientCodeActionKindOptions -> Bool #
NFData ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods rnf :: ClientCodeActionKindOptions -> () #
Generic ClientCodeActionKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions

Associated Types

type Rep ClientCodeActionKindOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions

type Rep ClientCodeActionKindOptions = D1 ('MetaData "ClientCodeActionKindOptions" "Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCodeActionKindOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CodeActionKind])))

Methods

from :: ClientCodeActionKindOptions -> Rep ClientCodeActionKindOptions x #

to :: Rep ClientCodeActionKindOptions x -> ClientCodeActionKindOptions #

Show ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods showsPrec :: Int -> ClientCodeActionKindOptions -> ShowS # show :: ClientCodeActionKindOptions -> String # showList :: [ClientCodeActionKindOptions] -> ShowS #
Eq ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods (==) :: ClientCodeActionKindOptions -> ClientCodeActionKindOptions -> Bool # (/=) :: ClientCodeActionKindOptions -> ClientCodeActionKindOptions -> Bool #
Ord ClientCodeActionKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions

Methods

compare :: ClientCodeActionKindOptions -> ClientCodeActionKindOptions -> Ordering #

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

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

(>) :: ClientCodeActionKindOptions -> ClientCodeActionKindOptions -> Bool #

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

max :: ClientCodeActionKindOptions -> ClientCodeActionKindOptions -> ClientCodeActionKindOptions #

min :: ClientCodeActionKindOptions -> ClientCodeActionKindOptions -> ClientCodeActionKindOptions #

Hashable ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods hashWithSalt :: Int -> ClientCodeActionKindOptions -> Int # hash :: ClientCodeActionKindOptions -> Int #
Pretty ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions Methods pretty :: ClientCodeActionKindOptions -> Doc ann # prettyList :: [ClientCodeActionKindOptions] -> Doc ann #
HasCodeActionKind ClientCodeActionLiteralOptions ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionKind :: Lens' ClientCodeActionLiteralOptions ClientCodeActionKindOptions #
HasValueSet ClientCodeActionKindOptions [CodeActionKind] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientCodeActionKindOptions [CodeActionKind] #
type Rep ClientCodeActionKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions

type Rep ClientCodeActionKindOptions = D1 ('MetaData "ClientCodeActionKindOptions" "Language.LSP.Protocol.Internal.Types.ClientCodeActionKindOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCodeActionKindOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CodeActionKind])))

data ClientCodeActionLiteralOptions #

@proposed

Since: 3.18.0

Constructors

ClientCodeActionLiteralOptions |

Fields

- _codeActionKind :: ClientCodeActionKindOptions

  The code action kind is support with the following value set.

#### Instances

Instances details

FromJSON ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods parseJSON :: Value -> Parser ClientCodeActionLiteralOptions # parseJSONList :: Value -> Parser [ClientCodeActionLiteralOptions] # omittedField :: Maybe ClientCodeActionLiteralOptions #
ToJSON ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods toJSON :: ClientCodeActionLiteralOptions -> Value # toEncoding :: ClientCodeActionLiteralOptions -> Encoding # toJSONList :: [ClientCodeActionLiteralOptions] -> Value # toEncodingList :: [ClientCodeActionLiteralOptions] -> Encoding # omitField :: ClientCodeActionLiteralOptions -> Bool #
NFData ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods rnf :: ClientCodeActionLiteralOptions -> () #
Generic ClientCodeActionLiteralOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions

Associated Types

type Rep ClientCodeActionLiteralOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions

type Rep ClientCodeActionLiteralOptions = D1 ('MetaData "ClientCodeActionLiteralOptions" "Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCodeActionLiteralOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_codeActionKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientCodeActionKindOptions)))

Methods

from :: ClientCodeActionLiteralOptions -> Rep ClientCodeActionLiteralOptions x #

to :: Rep ClientCodeActionLiteralOptions x -> ClientCodeActionLiteralOptions #

Show ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods showsPrec :: Int -> ClientCodeActionLiteralOptions -> ShowS # show :: ClientCodeActionLiteralOptions -> String # showList :: [ClientCodeActionLiteralOptions] -> ShowS #
Eq ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods (==) :: ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions -> Bool # (/=) :: ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions -> Bool #
Ord ClientCodeActionLiteralOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions

Methods

compare :: ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions -> Ordering #

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

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

(>) :: ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions -> Bool #

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

max :: ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions #

min :: ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions -> ClientCodeActionLiteralOptions #

Hashable ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods hashWithSalt :: Int -> ClientCodeActionLiteralOptions -> Int # hash :: ClientCodeActionLiteralOptions -> Int #
Pretty ClientCodeActionLiteralOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions Methods pretty :: ClientCodeActionLiteralOptions -> Doc ann # prettyList :: [ClientCodeActionLiteralOptions] -> Doc ann #
HasCodeActionKind ClientCodeActionLiteralOptions ClientCodeActionKindOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionKind :: Lens' ClientCodeActionLiteralOptions ClientCodeActionKindOptions #
HasCodeActionLiteralSupport CodeActionClientCapabilities (Maybe ClientCodeActionLiteralOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionLiteralSupport :: Lens' CodeActionClientCapabilities (Maybe ClientCodeActionLiteralOptions) #
type Rep ClientCodeActionLiteralOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions

type Rep ClientCodeActionLiteralOptions = D1 ('MetaData "ClientCodeActionLiteralOptions" "Language.LSP.Protocol.Internal.Types.ClientCodeActionLiteralOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCodeActionLiteralOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_codeActionKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientCodeActionKindOptions)))

data ClientCodeActionResolveOptions #

@proposed

Since: 3.18.0

Constructors

ClientCodeActionResolveOptions |

Fields

- _properties :: [Text]

  The properties that a client can resolve lazily.

#### Instances

Instances details

FromJSON ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods parseJSON :: Value -> Parser ClientCodeActionResolveOptions # parseJSONList :: Value -> Parser [ClientCodeActionResolveOptions] # omittedField :: Maybe ClientCodeActionResolveOptions #
ToJSON ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods toJSON :: ClientCodeActionResolveOptions -> Value # toEncoding :: ClientCodeActionResolveOptions -> Encoding # toJSONList :: [ClientCodeActionResolveOptions] -> Value # toEncodingList :: [ClientCodeActionResolveOptions] -> Encoding # omitField :: ClientCodeActionResolveOptions -> Bool #
NFData ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods rnf :: ClientCodeActionResolveOptions -> () #
Generic ClientCodeActionResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions

Associated Types

type Rep ClientCodeActionResolveOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions

type Rep ClientCodeActionResolveOptions = D1 ('MetaData "ClientCodeActionResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCodeActionResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: ClientCodeActionResolveOptions -> Rep ClientCodeActionResolveOptions x #

to :: Rep ClientCodeActionResolveOptions x -> ClientCodeActionResolveOptions #

Show ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods showsPrec :: Int -> ClientCodeActionResolveOptions -> ShowS # show :: ClientCodeActionResolveOptions -> String # showList :: [ClientCodeActionResolveOptions] -> ShowS #
Eq ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods (==) :: ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions -> Bool # (/=) :: ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions -> Bool #
Ord ClientCodeActionResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions

Methods

compare :: ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions -> Ordering #

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

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

(>) :: ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions -> Bool #

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

max :: ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions #

min :: ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions -> ClientCodeActionResolveOptions #

Hashable ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods hashWithSalt :: Int -> ClientCodeActionResolveOptions -> Int # hash :: ClientCodeActionResolveOptions -> Int #
Pretty ClientCodeActionResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions Methods pretty :: ClientCodeActionResolveOptions -> Doc ann # prettyList :: [ClientCodeActionResolveOptions] -> Doc ann #
HasProperties ClientCodeActionResolveOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods properties :: Lens' ClientCodeActionResolveOptions [Text] #
HasResolveSupport CodeActionClientCapabilities (Maybe ClientCodeActionResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' CodeActionClientCapabilities (Maybe ClientCodeActionResolveOptions) #
type Rep ClientCodeActionResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions

type Rep ClientCodeActionResolveOptions = D1 ('MetaData "ClientCodeActionResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientCodeActionResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCodeActionResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data ClientCompletionItemInsertTextModeOptions #

@proposed

Since: 3.18.0

Constructors

ClientCompletionItemInsertTextModeOptions |

Fields

- _valueSet :: [InsertTextMode]

#### Instances

Instances details

FromJSON ClientCompletionItemInsertTextModeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions Methods parseJSON :: Value -> Parser ClientCompletionItemInsertTextModeOptions # parseJSONList :: Value -> Parser [ClientCompletionItemInsertTextModeOptions] # omittedField :: Maybe ClientCompletionItemInsertTextModeOptions #
ToJSON ClientCompletionItemInsertTextModeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions

Methods

toJSON :: ClientCompletionItemInsertTextModeOptions -> Value #

toEncoding :: ClientCompletionItemInsertTextModeOptions -> Encoding #

toJSONList :: [ClientCompletionItemInsertTextModeOptions] -> Value #

toEncodingList :: [ClientCompletionItemInsertTextModeOptions] -> Encoding #

omitField :: ClientCompletionItemInsertTextModeOptions -> Bool #

NFData ClientCompletionItemInsertTextModeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions Methods rnf :: ClientCompletionItemInsertTextModeOptions -> () #
Generic ClientCompletionItemInsertTextModeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions

Associated Types

type Rep ClientCompletionItemInsertTextModeOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions

type Rep ClientCompletionItemInsertTextModeOptions = D1 ('MetaData "ClientCompletionItemInsertTextModeOptions" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemInsertTextModeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InsertTextMode])))

Methods

from :: ClientCompletionItemInsertTextModeOptions -> Rep ClientCompletionItemInsertTextModeOptions x #

to :: Rep ClientCompletionItemInsertTextModeOptions x -> ClientCompletionItemInsertTextModeOptions #

Show ClientCompletionItemInsertTextModeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions Methods showsPrec :: Int -> ClientCompletionItemInsertTextModeOptions -> ShowS # show :: ClientCompletionItemInsertTextModeOptions -> String # showList :: [ClientCompletionItemInsertTextModeOptions] -> ShowS #
Eq ClientCompletionItemInsertTextModeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions Methods (==) :: ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions -> Bool # (/=) :: ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions -> Bool #
Ord ClientCompletionItemInsertTextModeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions

Methods

compare :: ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions -> Ordering #

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

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

(>) :: ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions -> Bool #

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

max :: ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions #

min :: ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions -> ClientCompletionItemInsertTextModeOptions #

Hashable ClientCompletionItemInsertTextModeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions Methods hashWithSalt :: Int -> ClientCompletionItemInsertTextModeOptions -> Int # hash :: ClientCompletionItemInsertTextModeOptions -> Int #
Pretty ClientCompletionItemInsertTextModeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions Methods pretty :: ClientCompletionItemInsertTextModeOptions -> Doc ann # prettyList :: [ClientCompletionItemInsertTextModeOptions] -> Doc ann #
HasInsertTextModeSupport ClientCompletionItemOptions (Maybe ClientCompletionItemInsertTextModeOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextModeSupport :: Lens' ClientCompletionItemOptions (Maybe ClientCompletionItemInsertTextModeOptions) #
HasValueSet ClientCompletionItemInsertTextModeOptions [InsertTextMode] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientCompletionItemInsertTextModeOptions [InsertTextMode] #
type Rep ClientCompletionItemInsertTextModeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions

type Rep ClientCompletionItemInsertTextModeOptions = D1 ('MetaData "ClientCompletionItemInsertTextModeOptions" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemInsertTextModeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemInsertTextModeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [InsertTextMode])))

data ClientCompletionItemOptions #

@proposed

Since: 3.18.0

Constructors

ClientCompletionItemOptions |

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 [MarkupKind]

  Client supports the following 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 CompletionItemTagOptions

  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.

  Since: 3.15.0

- _insertReplaceSupport :: Maybe Bool

  Client support insert replace edit to control different behavior if a completion item is inserted in the text or should replace text.

  Since: 3.16.0

- _resolveSupport :: Maybe ClientCompletionItemResolveOptions

  Indicates which properties a client can resolve lazily on a completion item. Before version 3.16.0 only the predefined properties `documentation` and `details` could be resolved lazily.

  Since: 3.16.0

- _insertTextModeSupport :: Maybe ClientCompletionItemInsertTextModeOptions

  The client supports the `insertTextMode` property on a completion item to override the whitespace handling mode as defined by the client (see `insertTextMode`).

  Since: 3.16.0

- _labelDetailsSupport :: Maybe Bool

  The client has support for completion item label details (see also `CompletionItemLabelDetails`).

  Since: 3.17.0

#### Instances

Instances details

FromJSON ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods parseJSON :: Value -> Parser ClientCompletionItemOptions # parseJSONList :: Value -> Parser [ClientCompletionItemOptions] # omittedField :: Maybe ClientCompletionItemOptions #
ToJSON ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods toJSON :: ClientCompletionItemOptions -> Value # toEncoding :: ClientCompletionItemOptions -> Encoding # toJSONList :: [ClientCompletionItemOptions] -> Value # toEncodingList :: [ClientCompletionItemOptions] -> Encoding # omitField :: ClientCompletionItemOptions -> Bool #
NFData ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods rnf :: ClientCompletionItemOptions -> () #
Generic ClientCompletionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions

Associated Types

type Rep ClientCompletionItemOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions

type Rep ClientCompletionItemOptions = D1 ('MetaData "ClientCompletionItemOptions" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_snippetSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_commitCharactersSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_documentationFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MarkupKind])) :*: (S1 ('MetaSel ('Just "_deprecatedSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_preselectSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemTagOptions)) :*: S1 ('MetaSel ('Just "_insertReplaceSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemResolveOptions)) :*: (S1 ('MetaSel ('Just "_insertTextModeSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemInsertTextModeOptions)) :*: S1 ('MetaSel ('Just "_labelDetailsSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

Methods

from :: ClientCompletionItemOptions -> Rep ClientCompletionItemOptions x #

to :: Rep ClientCompletionItemOptions x -> ClientCompletionItemOptions #

Show ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods showsPrec :: Int -> ClientCompletionItemOptions -> ShowS # show :: ClientCompletionItemOptions -> String # showList :: [ClientCompletionItemOptions] -> ShowS #
Eq ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods (==) :: ClientCompletionItemOptions -> ClientCompletionItemOptions -> Bool # (/=) :: ClientCompletionItemOptions -> ClientCompletionItemOptions -> Bool #
Ord ClientCompletionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions

Methods

compare :: ClientCompletionItemOptions -> ClientCompletionItemOptions -> Ordering #

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

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

(>) :: ClientCompletionItemOptions -> ClientCompletionItemOptions -> Bool #

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

max :: ClientCompletionItemOptions -> ClientCompletionItemOptions -> ClientCompletionItemOptions #

min :: ClientCompletionItemOptions -> ClientCompletionItemOptions -> ClientCompletionItemOptions #

Hashable ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods hashWithSalt :: Int -> ClientCompletionItemOptions -> Int # hash :: ClientCompletionItemOptions -> Int #
Pretty ClientCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions Methods pretty :: ClientCompletionItemOptions -> Doc ann # prettyList :: [ClientCompletionItemOptions] -> Doc ann #
HasCommitCharactersSupport ClientCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods commitCharactersSupport :: Lens' ClientCompletionItemOptions (Maybe Bool) #
HasCompletionItem CompletionClientCapabilities (Maybe ClientCompletionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItem :: Lens' CompletionClientCapabilities (Maybe ClientCompletionItemOptions) #
HasDeprecatedSupport ClientCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deprecatedSupport :: Lens' ClientCompletionItemOptions (Maybe Bool) #
HasDocumentationFormat ClientCompletionItemOptions (Maybe [MarkupKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentationFormat :: Lens' ClientCompletionItemOptions (Maybe [MarkupKind]) #
HasInsertReplaceSupport ClientCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertReplaceSupport :: Lens' ClientCompletionItemOptions (Maybe Bool) #
HasInsertTextModeSupport ClientCompletionItemOptions (Maybe ClientCompletionItemInsertTextModeOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextModeSupport :: Lens' ClientCompletionItemOptions (Maybe ClientCompletionItemInsertTextModeOptions) #
HasLabelDetailsSupport ClientCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods labelDetailsSupport :: Lens' ClientCompletionItemOptions (Maybe Bool) #
HasPreselectSupport ClientCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods preselectSupport :: Lens' ClientCompletionItemOptions (Maybe Bool) #
HasResolveSupport ClientCompletionItemOptions (Maybe ClientCompletionItemResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' ClientCompletionItemOptions (Maybe ClientCompletionItemResolveOptions) #
HasSnippetSupport ClientCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods snippetSupport :: Lens' ClientCompletionItemOptions (Maybe Bool) #
HasTagSupport ClientCompletionItemOptions (Maybe CompletionItemTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' ClientCompletionItemOptions (Maybe CompletionItemTagOptions) #
type Rep ClientCompletionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions

type Rep ClientCompletionItemOptions = D1 ('MetaData "ClientCompletionItemOptions" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_snippetSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_commitCharactersSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_documentationFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MarkupKind])) :*: (S1 ('MetaSel ('Just "_deprecatedSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_preselectSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionItemTagOptions)) :*: S1 ('MetaSel ('Just "_insertReplaceSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemResolveOptions)) :*: (S1 ('MetaSel ('Just "_insertTextModeSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemInsertTextModeOptions)) :*: S1 ('MetaSel ('Just "_labelDetailsSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

data ClientCompletionItemOptionsKind #

@proposed

Since: 3.18.0

Constructors

ClientCompletionItemOptionsKind |

Fields

- _valueSet :: Maybe [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.

  If this property is not present the client only supports the completion items kinds from `Text` to `Reference` as defined in the initial version of the protocol.

#### Instances

Instances details

FromJSON ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods parseJSON :: Value -> Parser ClientCompletionItemOptionsKind # parseJSONList :: Value -> Parser [ClientCompletionItemOptionsKind] # omittedField :: Maybe ClientCompletionItemOptionsKind #
ToJSON ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods toJSON :: ClientCompletionItemOptionsKind -> Value # toEncoding :: ClientCompletionItemOptionsKind -> Encoding # toJSONList :: [ClientCompletionItemOptionsKind] -> Value # toEncodingList :: [ClientCompletionItemOptionsKind] -> Encoding # omitField :: ClientCompletionItemOptionsKind -> Bool #
NFData ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods rnf :: ClientCompletionItemOptionsKind -> () #
Generic ClientCompletionItemOptionsKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind

Associated Types

type Rep ClientCompletionItemOptionsKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind

type Rep ClientCompletionItemOptionsKind = D1 ('MetaData "ClientCompletionItemOptionsKind" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemOptionsKind" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompletionItemKind]))))

Methods

from :: ClientCompletionItemOptionsKind -> Rep ClientCompletionItemOptionsKind x #

to :: Rep ClientCompletionItemOptionsKind x -> ClientCompletionItemOptionsKind #

Show ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods showsPrec :: Int -> ClientCompletionItemOptionsKind -> ShowS # show :: ClientCompletionItemOptionsKind -> String # showList :: [ClientCompletionItemOptionsKind] -> ShowS #
Eq ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods (==) :: ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind -> Bool # (/=) :: ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind -> Bool #
Ord ClientCompletionItemOptionsKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind

Methods

compare :: ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind -> Ordering #

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

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

(>) :: ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind -> Bool #

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

max :: ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind #

min :: ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind -> ClientCompletionItemOptionsKind #

Hashable ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods hashWithSalt :: Int -> ClientCompletionItemOptionsKind -> Int # hash :: ClientCompletionItemOptionsKind -> Int #
Pretty ClientCompletionItemOptionsKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind Methods pretty :: ClientCompletionItemOptionsKind -> Doc ann # prettyList :: [ClientCompletionItemOptionsKind] -> Doc ann #
HasCompletionItemKind CompletionClientCapabilities (Maybe ClientCompletionItemOptionsKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItemKind :: Lens' CompletionClientCapabilities (Maybe ClientCompletionItemOptionsKind) #
HasValueSet ClientCompletionItemOptionsKind (Maybe [CompletionItemKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientCompletionItemOptionsKind (Maybe [CompletionItemKind]) #
type Rep ClientCompletionItemOptionsKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind

type Rep ClientCompletionItemOptionsKind = D1 ('MetaData "ClientCompletionItemOptionsKind" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemOptionsKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemOptionsKind" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CompletionItemKind]))))

data ClientCompletionItemResolveOptions #

@proposed

Since: 3.18.0

Constructors

ClientCompletionItemResolveOptions |

Fields

- _properties :: [Text]

  The properties that a client can resolve lazily.

#### Instances

Instances details

FromJSON ClientCompletionItemResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions Methods parseJSON :: Value -> Parser ClientCompletionItemResolveOptions # parseJSONList :: Value -> Parser [ClientCompletionItemResolveOptions] # omittedField :: Maybe ClientCompletionItemResolveOptions #
ToJSON ClientCompletionItemResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions

Methods

toJSON :: ClientCompletionItemResolveOptions -> Value #

toEncoding :: ClientCompletionItemResolveOptions -> Encoding #

toJSONList :: [ClientCompletionItemResolveOptions] -> Value #

toEncodingList :: [ClientCompletionItemResolveOptions] -> Encoding #

omitField :: ClientCompletionItemResolveOptions -> Bool #

NFData ClientCompletionItemResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions Methods rnf :: ClientCompletionItemResolveOptions -> () #
Generic ClientCompletionItemResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions

Associated Types

type Rep ClientCompletionItemResolveOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions

type Rep ClientCompletionItemResolveOptions = D1 ('MetaData "ClientCompletionItemResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: ClientCompletionItemResolveOptions -> Rep ClientCompletionItemResolveOptions x #

to :: Rep ClientCompletionItemResolveOptions x -> ClientCompletionItemResolveOptions #

Show ClientCompletionItemResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions Methods showsPrec :: Int -> ClientCompletionItemResolveOptions -> ShowS # show :: ClientCompletionItemResolveOptions -> String # showList :: [ClientCompletionItemResolveOptions] -> ShowS #
Eq ClientCompletionItemResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions Methods (==) :: ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions -> Bool # (/=) :: ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions -> Bool #
Ord ClientCompletionItemResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions

Methods

compare :: ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions -> Ordering #

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

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

(>) :: ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions -> Bool #

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

max :: ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions #

min :: ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions -> ClientCompletionItemResolveOptions #

Hashable ClientCompletionItemResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions Methods hashWithSalt :: Int -> ClientCompletionItemResolveOptions -> Int # hash :: ClientCompletionItemResolveOptions -> Int #
Pretty ClientCompletionItemResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions Methods pretty :: ClientCompletionItemResolveOptions -> Doc ann # prettyList :: [ClientCompletionItemResolveOptions] -> Doc ann #
HasProperties ClientCompletionItemResolveOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods properties :: Lens' ClientCompletionItemResolveOptions [Text] #
HasResolveSupport ClientCompletionItemOptions (Maybe ClientCompletionItemResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' ClientCompletionItemOptions (Maybe ClientCompletionItemResolveOptions) #
type Rep ClientCompletionItemResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions

type Rep ClientCompletionItemResolveOptions = D1 ('MetaData "ClientCompletionItemResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientCompletionItemResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientCompletionItemResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data ClientDiagnosticsTagOptions #

@proposed

Since: 3.18.0

Constructors

ClientDiagnosticsTagOptions |

Fields

- _valueSet :: [DiagnosticTag]

  The tags supported by the client.

#### Instances

Instances details

FromJSON ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods parseJSON :: Value -> Parser ClientDiagnosticsTagOptions # parseJSONList :: Value -> Parser [ClientDiagnosticsTagOptions] # omittedField :: Maybe ClientDiagnosticsTagOptions #
ToJSON ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods toJSON :: ClientDiagnosticsTagOptions -> Value # toEncoding :: ClientDiagnosticsTagOptions -> Encoding # toJSONList :: [ClientDiagnosticsTagOptions] -> Value # toEncodingList :: [ClientDiagnosticsTagOptions] -> Encoding # omitField :: ClientDiagnosticsTagOptions -> Bool #
NFData ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods rnf :: ClientDiagnosticsTagOptions -> () #
Generic ClientDiagnosticsTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions

Associated Types

type Rep ClientDiagnosticsTagOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions

type Rep ClientDiagnosticsTagOptions = D1 ('MetaData "ClientDiagnosticsTagOptions" "Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientDiagnosticsTagOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DiagnosticTag])))

Methods

from :: ClientDiagnosticsTagOptions -> Rep ClientDiagnosticsTagOptions x #

to :: Rep ClientDiagnosticsTagOptions x -> ClientDiagnosticsTagOptions #

Show ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods showsPrec :: Int -> ClientDiagnosticsTagOptions -> ShowS # show :: ClientDiagnosticsTagOptions -> String # showList :: [ClientDiagnosticsTagOptions] -> ShowS #
Eq ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods (==) :: ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions -> Bool # (/=) :: ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions -> Bool #
Ord ClientDiagnosticsTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions

Methods

compare :: ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions -> Ordering #

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

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

(>) :: ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions -> Bool #

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

max :: ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions #

min :: ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions -> ClientDiagnosticsTagOptions #

Hashable ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods hashWithSalt :: Int -> ClientDiagnosticsTagOptions -> Int # hash :: ClientDiagnosticsTagOptions -> Int #
Pretty ClientDiagnosticsTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions Methods pretty :: ClientDiagnosticsTagOptions -> Doc ann # prettyList :: [ClientDiagnosticsTagOptions] -> Doc ann #
HasTagSupport PublishDiagnosticsClientCapabilities (Maybe ClientDiagnosticsTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' PublishDiagnosticsClientCapabilities (Maybe ClientDiagnosticsTagOptions) #
HasValueSet ClientDiagnosticsTagOptions [DiagnosticTag] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientDiagnosticsTagOptions [DiagnosticTag] #
type Rep ClientDiagnosticsTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions

type Rep ClientDiagnosticsTagOptions = D1 ('MetaData "ClientDiagnosticsTagOptions" "Language.LSP.Protocol.Internal.Types.ClientDiagnosticsTagOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientDiagnosticsTagOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [DiagnosticTag])))

data ClientFoldingRangeKindOptions #

@proposed

Since: 3.18.0

Constructors

ClientFoldingRangeKindOptions |

Fields

- _valueSet :: Maybe [FoldingRangeKind]

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

#### Instances

Instances details

FromJSON ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods parseJSON :: Value -> Parser ClientFoldingRangeKindOptions # parseJSONList :: Value -> Parser [ClientFoldingRangeKindOptions] # omittedField :: Maybe ClientFoldingRangeKindOptions #
ToJSON ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods toJSON :: ClientFoldingRangeKindOptions -> Value # toEncoding :: ClientFoldingRangeKindOptions -> Encoding # toJSONList :: [ClientFoldingRangeKindOptions] -> Value # toEncodingList :: [ClientFoldingRangeKindOptions] -> Encoding # omitField :: ClientFoldingRangeKindOptions -> Bool #
NFData ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods rnf :: ClientFoldingRangeKindOptions -> () #
Generic ClientFoldingRangeKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions

Associated Types

type Rep ClientFoldingRangeKindOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions

type Rep ClientFoldingRangeKindOptions = D1 ('MetaData "ClientFoldingRangeKindOptions" "Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientFoldingRangeKindOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FoldingRangeKind]))))

Methods

from :: ClientFoldingRangeKindOptions -> Rep ClientFoldingRangeKindOptions x #

to :: Rep ClientFoldingRangeKindOptions x -> ClientFoldingRangeKindOptions #

Show ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods showsPrec :: Int -> ClientFoldingRangeKindOptions -> ShowS # show :: ClientFoldingRangeKindOptions -> String # showList :: [ClientFoldingRangeKindOptions] -> ShowS #
Eq ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods (==) :: ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions -> Bool # (/=) :: ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions -> Bool #
Ord ClientFoldingRangeKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions

Methods

compare :: ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions -> Ordering #

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

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

(>) :: ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions -> Bool #

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

max :: ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions #

min :: ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions -> ClientFoldingRangeKindOptions #

Hashable ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods hashWithSalt :: Int -> ClientFoldingRangeKindOptions -> Int # hash :: ClientFoldingRangeKindOptions -> Int #
Pretty ClientFoldingRangeKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions Methods pretty :: ClientFoldingRangeKindOptions -> Doc ann # prettyList :: [ClientFoldingRangeKindOptions] -> Doc ann #
HasFoldingRangeKind FoldingRangeClientCapabilities (Maybe ClientFoldingRangeKindOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRangeKind :: Lens' FoldingRangeClientCapabilities (Maybe ClientFoldingRangeKindOptions) #
HasValueSet ClientFoldingRangeKindOptions (Maybe [FoldingRangeKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientFoldingRangeKindOptions (Maybe [FoldingRangeKind]) #
type Rep ClientFoldingRangeKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions

type Rep ClientFoldingRangeKindOptions = D1 ('MetaData "ClientFoldingRangeKindOptions" "Language.LSP.Protocol.Internal.Types.ClientFoldingRangeKindOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientFoldingRangeKindOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [FoldingRangeKind]))))

data ClientFoldingRangeOptions #

@proposed

Since: 3.18.0

Constructors

ClientFoldingRangeOptions |

Fields

- _collapsedText :: Maybe Bool

  If set, the client signals that it supports setting collapsedText on folding ranges to display custom labels instead of the default text.

  Since: 3.17.0

#### Instances

Instances details

FromJSON ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods parseJSON :: Value -> Parser ClientFoldingRangeOptions # parseJSONList :: Value -> Parser [ClientFoldingRangeOptions] # omittedField :: Maybe ClientFoldingRangeOptions #
ToJSON ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods toJSON :: ClientFoldingRangeOptions -> Value # toEncoding :: ClientFoldingRangeOptions -> Encoding # toJSONList :: [ClientFoldingRangeOptions] -> Value # toEncodingList :: [ClientFoldingRangeOptions] -> Encoding # omitField :: ClientFoldingRangeOptions -> Bool #
NFData ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods rnf :: ClientFoldingRangeOptions -> () #
Generic ClientFoldingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions

Associated Types

type Rep ClientFoldingRangeOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions

type Rep ClientFoldingRangeOptions = D1 ('MetaData "ClientFoldingRangeOptions" "Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientFoldingRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_collapsedText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ClientFoldingRangeOptions -> Rep ClientFoldingRangeOptions x #

to :: Rep ClientFoldingRangeOptions x -> ClientFoldingRangeOptions #

Show ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods showsPrec :: Int -> ClientFoldingRangeOptions -> ShowS # show :: ClientFoldingRangeOptions -> String # showList :: [ClientFoldingRangeOptions] -> ShowS #
Eq ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods (==) :: ClientFoldingRangeOptions -> ClientFoldingRangeOptions -> Bool # (/=) :: ClientFoldingRangeOptions -> ClientFoldingRangeOptions -> Bool #
Ord ClientFoldingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions

Methods

compare :: ClientFoldingRangeOptions -> ClientFoldingRangeOptions -> Ordering #

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

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

(>) :: ClientFoldingRangeOptions -> ClientFoldingRangeOptions -> Bool #

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

max :: ClientFoldingRangeOptions -> ClientFoldingRangeOptions -> ClientFoldingRangeOptions #

min :: ClientFoldingRangeOptions -> ClientFoldingRangeOptions -> ClientFoldingRangeOptions #

Hashable ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods hashWithSalt :: Int -> ClientFoldingRangeOptions -> Int # hash :: ClientFoldingRangeOptions -> Int #
Pretty ClientFoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions Methods pretty :: ClientFoldingRangeOptions -> Doc ann # prettyList :: [ClientFoldingRangeOptions] -> Doc ann #
HasCollapsedText ClientFoldingRangeOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods collapsedText :: Lens' ClientFoldingRangeOptions (Maybe Bool) #
HasFoldingRange FoldingRangeClientCapabilities (Maybe ClientFoldingRangeOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRange :: Lens' FoldingRangeClientCapabilities (Maybe ClientFoldingRangeOptions) #
type Rep ClientFoldingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions

type Rep ClientFoldingRangeOptions = D1 ('MetaData "ClientFoldingRangeOptions" "Language.LSP.Protocol.Internal.Types.ClientFoldingRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientFoldingRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_collapsedText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ClientInfo #

Information about the client

`since 3.18.0 ClientInfo type name added.` proposed

Since: 3.15.0

Constructors

ClientInfo |

Fields

- _name :: Text

  The name of the client as defined by the client.

- _version :: Maybe Text

  The client's version as defined by the client.

#### Instances

Instances details

FromJSON ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods parseJSON :: Value -> Parser ClientInfo # parseJSONList :: Value -> Parser [ClientInfo] # omittedField :: Maybe ClientInfo #
ToJSON ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods toJSON :: ClientInfo -> Value # toEncoding :: ClientInfo -> Encoding # toJSONList :: [ClientInfo] -> Value # toEncodingList :: [ClientInfo] -> Encoding # omitField :: ClientInfo -> Bool #
NFData ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods rnf :: ClientInfo -> () #
Generic ClientInfo # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInfo

Associated Types

type Rep ClientInfo |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInfo

type Rep ClientInfo = D1 ('MetaData "ClientInfo" "Language.LSP.Protocol.Internal.Types.ClientInfo" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: ClientInfo -> Rep ClientInfo x #

to :: Rep ClientInfo x -> ClientInfo #

Show ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods showsPrec :: Int -> ClientInfo -> ShowS # show :: ClientInfo -> String # showList :: [ClientInfo] -> ShowS #
Eq ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods (==) :: ClientInfo -> ClientInfo -> Bool # (/=) :: ClientInfo -> ClientInfo -> Bool #
Ord ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods compare :: ClientInfo -> ClientInfo -> Ordering # (<) :: ClientInfo -> ClientInfo -> Bool # (<=) :: ClientInfo -> ClientInfo -> Bool # (>) :: ClientInfo -> ClientInfo -> Bool # (>=) :: ClientInfo -> ClientInfo -> Bool # max :: ClientInfo -> ClientInfo -> ClientInfo # min :: ClientInfo -> ClientInfo -> ClientInfo #
Hashable ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods hashWithSalt :: Int -> ClientInfo -> Int # hash :: ClientInfo -> Int #
Pretty ClientInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInfo Methods pretty :: ClientInfo -> Doc ann # prettyList :: [ClientInfo] -> Doc ann #
HasName ClientInfo Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' ClientInfo Text #
HasClientInfo InitializeParams (Maybe ClientInfo) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods clientInfo :: Lens' InitializeParams (Maybe ClientInfo) #
HasClientInfo UInitializeParams (Maybe ClientInfo) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods clientInfo :: Lens' UInitializeParams (Maybe ClientInfo) #
HasVersion ClientInfo (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' ClientInfo (Maybe Text) #
type Rep ClientInfo # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInfo

type Rep ClientInfo = D1 ('MetaData "ClientInfo" "Language.LSP.Protocol.Internal.Types.ClientInfo" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data ClientInlayHintResolveOptions #

@proposed

Since: 3.18.0

Constructors

ClientInlayHintResolveOptions |

Fields

- _properties :: [Text]

  The properties that a client can resolve lazily.

#### Instances

Instances details

FromJSON ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods parseJSON :: Value -> Parser ClientInlayHintResolveOptions # parseJSONList :: Value -> Parser [ClientInlayHintResolveOptions] # omittedField :: Maybe ClientInlayHintResolveOptions #
ToJSON ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods toJSON :: ClientInlayHintResolveOptions -> Value # toEncoding :: ClientInlayHintResolveOptions -> Encoding # toJSONList :: [ClientInlayHintResolveOptions] -> Value # toEncodingList :: [ClientInlayHintResolveOptions] -> Encoding # omitField :: ClientInlayHintResolveOptions -> Bool #
NFData ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods rnf :: ClientInlayHintResolveOptions -> () #
Generic ClientInlayHintResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions

Associated Types

type Rep ClientInlayHintResolveOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions

type Rep ClientInlayHintResolveOptions = D1 ('MetaData "ClientInlayHintResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientInlayHintResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: ClientInlayHintResolveOptions -> Rep ClientInlayHintResolveOptions x #

to :: Rep ClientInlayHintResolveOptions x -> ClientInlayHintResolveOptions #

Show ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods showsPrec :: Int -> ClientInlayHintResolveOptions -> ShowS # show :: ClientInlayHintResolveOptions -> String # showList :: [ClientInlayHintResolveOptions] -> ShowS #
Eq ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods (==) :: ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions -> Bool # (/=) :: ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions -> Bool #
Ord ClientInlayHintResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions

Methods

compare :: ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions -> Ordering #

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

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

(>) :: ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions -> Bool #

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

max :: ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions #

min :: ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions -> ClientInlayHintResolveOptions #

Hashable ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods hashWithSalt :: Int -> ClientInlayHintResolveOptions -> Int # hash :: ClientInlayHintResolveOptions -> Int #
Pretty ClientInlayHintResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions Methods pretty :: ClientInlayHintResolveOptions -> Doc ann # prettyList :: [ClientInlayHintResolveOptions] -> Doc ann #
HasProperties ClientInlayHintResolveOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods properties :: Lens' ClientInlayHintResolveOptions [Text] #
HasResolveSupport InlayHintClientCapabilities (Maybe ClientInlayHintResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' InlayHintClientCapabilities (Maybe ClientInlayHintResolveOptions) #
type Rep ClientInlayHintResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions

type Rep ClientInlayHintResolveOptions = D1 ('MetaData "ClientInlayHintResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientInlayHintResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientInlayHintResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data ClientSemanticTokensRequestFullDelta #

@proposed

Since: 3.18.0

Constructors

ClientSemanticTokensRequestFullDelta |

Fields

- _delta :: Maybe Bool

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

#### Instances

Instances details

FromJSON ClientSemanticTokensRequestFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta Methods parseJSON :: Value -> Parser ClientSemanticTokensRequestFullDelta # parseJSONList :: Value -> Parser [ClientSemanticTokensRequestFullDelta] # omittedField :: Maybe ClientSemanticTokensRequestFullDelta #
ToJSON ClientSemanticTokensRequestFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta

Methods

toJSON :: ClientSemanticTokensRequestFullDelta -> Value #

toEncoding :: ClientSemanticTokensRequestFullDelta -> Encoding #

toJSONList :: [ClientSemanticTokensRequestFullDelta] -> Value #

toEncodingList :: [ClientSemanticTokensRequestFullDelta] -> Encoding #

omitField :: ClientSemanticTokensRequestFullDelta -> Bool #

NFData ClientSemanticTokensRequestFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta Methods rnf :: ClientSemanticTokensRequestFullDelta -> () #
Generic ClientSemanticTokensRequestFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta

Associated Types

type Rep ClientSemanticTokensRequestFullDelta |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta

type Rep ClientSemanticTokensRequestFullDelta = D1 ('MetaData "ClientSemanticTokensRequestFullDelta" "Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSemanticTokensRequestFullDelta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ClientSemanticTokensRequestFullDelta -> Rep ClientSemanticTokensRequestFullDelta x #

to :: Rep ClientSemanticTokensRequestFullDelta x -> ClientSemanticTokensRequestFullDelta #

Show ClientSemanticTokensRequestFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta Methods showsPrec :: Int -> ClientSemanticTokensRequestFullDelta -> ShowS # show :: ClientSemanticTokensRequestFullDelta -> String # showList :: [ClientSemanticTokensRequestFullDelta] -> ShowS #
Eq ClientSemanticTokensRequestFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta Methods (==) :: ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta -> Bool # (/=) :: ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta -> Bool #
Ord ClientSemanticTokensRequestFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta

Methods

compare :: ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta -> Ordering #

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

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

(>) :: ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta -> Bool #

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

max :: ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta #

min :: ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta -> ClientSemanticTokensRequestFullDelta #

Hashable ClientSemanticTokensRequestFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta Methods hashWithSalt :: Int -> ClientSemanticTokensRequestFullDelta -> Int # hash :: ClientSemanticTokensRequestFullDelta -> Int #
Pretty ClientSemanticTokensRequestFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta Methods pretty :: ClientSemanticTokensRequestFullDelta -> Doc ann # prettyList :: [ClientSemanticTokensRequestFullDelta] -> Doc ann #
HasDelta ClientSemanticTokensRequestFullDelta (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods delta :: Lens' ClientSemanticTokensRequestFullDelta (Maybe Bool) #
HasFull ClientSemanticTokensRequestOptions (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' ClientSemanticTokensRequestOptions (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)) #
type Rep ClientSemanticTokensRequestFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta

type Rep ClientSemanticTokensRequestFullDelta = D1 ('MetaData "ClientSemanticTokensRequestFullDelta" "Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestFullDelta" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSemanticTokensRequestFullDelta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ClientSemanticTokensRequestOptions #

@proposed

Since: 3.18.0

Constructors

ClientSemanticTokensRequestOptions |

Fields

- _range :: Maybe (Bool |? Rec (Empty :: Row Type))

  The client will send the `textDocumentsemanticTokensrange` request if the server provides a corresponding handler.

- _full :: Maybe (Bool |? ClientSemanticTokensRequestFullDelta)

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

#### Instances

Instances details

FromJSON ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions Methods parseJSON :: Value -> Parser ClientSemanticTokensRequestOptions # parseJSONList :: Value -> Parser [ClientSemanticTokensRequestOptions] # omittedField :: Maybe ClientSemanticTokensRequestOptions #
ToJSON ClientSemanticTokensRequestOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions

Methods

toJSON :: ClientSemanticTokensRequestOptions -> Value #

toEncoding :: ClientSemanticTokensRequestOptions -> Encoding #

toJSONList :: [ClientSemanticTokensRequestOptions] -> Value #

toEncodingList :: [ClientSemanticTokensRequestOptions] -> Encoding #

omitField :: ClientSemanticTokensRequestOptions -> Bool #

NFData ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions Methods rnf :: ClientSemanticTokensRequestOptions -> () #
Generic ClientSemanticTokensRequestOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions

Associated Types

type Rep ClientSemanticTokensRequestOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions

type Rep ClientSemanticTokensRequestOptions = D1 ('MetaData "ClientSemanticTokensRequestOptions" "Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSemanticTokensRequestOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? Rec (Empty :: Row Type)))) :*: S1 ('MetaSel ('Just "_full") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)))))

Methods

from :: ClientSemanticTokensRequestOptions -> Rep ClientSemanticTokensRequestOptions x #

to :: Rep ClientSemanticTokensRequestOptions x -> ClientSemanticTokensRequestOptions #

Show ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions Methods showsPrec :: Int -> ClientSemanticTokensRequestOptions -> ShowS # show :: ClientSemanticTokensRequestOptions -> String # showList :: [ClientSemanticTokensRequestOptions] -> ShowS #
Eq ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions Methods (==) :: ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions -> Bool # (/=) :: ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions -> Bool #
Ord ClientSemanticTokensRequestOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions

Methods

compare :: ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions -> Ordering #

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

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

(>) :: ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions -> Bool #

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

max :: ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions #

min :: ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions -> ClientSemanticTokensRequestOptions #

Hashable ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions Methods hashWithSalt :: Int -> ClientSemanticTokensRequestOptions -> Int # hash :: ClientSemanticTokensRequestOptions -> Int #
Pretty ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions Methods pretty :: ClientSemanticTokensRequestOptions -> Doc ann # prettyList :: [ClientSemanticTokensRequestOptions] -> Doc ann #
HasRequests SemanticTokensClientCapabilities ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods requests :: Lens' SemanticTokensClientCapabilities ClientSemanticTokensRequestOptions #
HasFull ClientSemanticTokensRequestOptions (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' ClientSemanticTokensRequestOptions (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)) #
HasRange ClientSemanticTokensRequestOptions (Maybe (Bool |? Rec (Empty :: Row Type))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' ClientSemanticTokensRequestOptions (Maybe (Bool |? Rec (Empty :: Row Type))) #
type Rep ClientSemanticTokensRequestOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions

type Rep ClientSemanticTokensRequestOptions = D1 ('MetaData "ClientSemanticTokensRequestOptions" "Language.LSP.Protocol.Internal.Types.ClientSemanticTokensRequestOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSemanticTokensRequestOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? Rec (Empty :: Row Type)))) :*: S1 ('MetaSel ('Just "_full") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? ClientSemanticTokensRequestFullDelta)))))

data ClientShowMessageActionItemOptions #

@proposed

Since: 3.18.0

Constructors

ClientShowMessageActionItemOptions |

Fields

- _additionalPropertiesSupport :: Maybe Bool

  Whether the client supports additional attributes which are preserved and send back to the server in the request's response.

#### Instances

Instances details

FromJSON ClientShowMessageActionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions Methods parseJSON :: Value -> Parser ClientShowMessageActionItemOptions # parseJSONList :: Value -> Parser [ClientShowMessageActionItemOptions] # omittedField :: Maybe ClientShowMessageActionItemOptions #
ToJSON ClientShowMessageActionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions

Methods

toJSON :: ClientShowMessageActionItemOptions -> Value #

toEncoding :: ClientShowMessageActionItemOptions -> Encoding #

toJSONList :: [ClientShowMessageActionItemOptions] -> Value #

toEncodingList :: [ClientShowMessageActionItemOptions] -> Encoding #

omitField :: ClientShowMessageActionItemOptions -> Bool #

NFData ClientShowMessageActionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions Methods rnf :: ClientShowMessageActionItemOptions -> () #
Generic ClientShowMessageActionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions

Associated Types

type Rep ClientShowMessageActionItemOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions

type Rep ClientShowMessageActionItemOptions = D1 ('MetaData "ClientShowMessageActionItemOptions" "Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientShowMessageActionItemOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_additionalPropertiesSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ClientShowMessageActionItemOptions -> Rep ClientShowMessageActionItemOptions x #

to :: Rep ClientShowMessageActionItemOptions x -> ClientShowMessageActionItemOptions #

Show ClientShowMessageActionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions Methods showsPrec :: Int -> ClientShowMessageActionItemOptions -> ShowS # show :: ClientShowMessageActionItemOptions -> String # showList :: [ClientShowMessageActionItemOptions] -> ShowS #
Eq ClientShowMessageActionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions Methods (==) :: ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions -> Bool # (/=) :: ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions -> Bool #
Ord ClientShowMessageActionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions

Methods

compare :: ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions -> Ordering #

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

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

(>) :: ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions -> Bool #

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

max :: ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions #

min :: ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions -> ClientShowMessageActionItemOptions #

Hashable ClientShowMessageActionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions Methods hashWithSalt :: Int -> ClientShowMessageActionItemOptions -> Int # hash :: ClientShowMessageActionItemOptions -> Int #
Pretty ClientShowMessageActionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions Methods pretty :: ClientShowMessageActionItemOptions -> Doc ann # prettyList :: [ClientShowMessageActionItemOptions] -> Doc ann #
HasAdditionalPropertiesSupport ClientShowMessageActionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods additionalPropertiesSupport :: Lens' ClientShowMessageActionItemOptions (Maybe Bool) #
HasMessageActionItem ShowMessageRequestClientCapabilities (Maybe ClientShowMessageActionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods messageActionItem :: Lens' ShowMessageRequestClientCapabilities (Maybe ClientShowMessageActionItemOptions) #
type Rep ClientShowMessageActionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions

type Rep ClientShowMessageActionItemOptions = D1 ('MetaData "ClientShowMessageActionItemOptions" "Language.LSP.Protocol.Internal.Types.ClientShowMessageActionItemOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientShowMessageActionItemOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_additionalPropertiesSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ClientSignatureInformationOptions #

@proposed

Since: 3.18.0

Constructors

ClientSignatureInformationOptions |

Fields

- _documentationFormat :: Maybe [MarkupKind]

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

- _parameterInformation :: Maybe ClientSignatureParameterInformationOptions

  Client capabilities specific to parameter information.

- _activeParameterSupport :: Maybe Bool

  The client supports the `activeParameter` property on `SignatureInformation` literal.

  Since: 3.16.0

#### Instances

Instances details

FromJSON ClientSignatureInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions Methods parseJSON :: Value -> Parser ClientSignatureInformationOptions # parseJSONList :: Value -> Parser [ClientSignatureInformationOptions] # omittedField :: Maybe ClientSignatureInformationOptions #
ToJSON ClientSignatureInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions

Methods

toJSON :: ClientSignatureInformationOptions -> Value #

toEncoding :: ClientSignatureInformationOptions -> Encoding #

toJSONList :: [ClientSignatureInformationOptions] -> Value #

toEncodingList :: [ClientSignatureInformationOptions] -> Encoding #

omitField :: ClientSignatureInformationOptions -> Bool #

NFData ClientSignatureInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions Methods rnf :: ClientSignatureInformationOptions -> () #
Generic ClientSignatureInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions

Associated Types

type Rep ClientSignatureInformationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions

type Rep ClientSignatureInformationOptions = D1 ('MetaData "ClientSignatureInformationOptions" "Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSignatureInformationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentationFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MarkupKind])) :*: (S1 ('MetaSel ('Just "_parameterInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSignatureParameterInformationOptions)) :*: S1 ('MetaSel ('Just "_activeParameterSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: ClientSignatureInformationOptions -> Rep ClientSignatureInformationOptions x #

to :: Rep ClientSignatureInformationOptions x -> ClientSignatureInformationOptions #

Show ClientSignatureInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions Methods showsPrec :: Int -> ClientSignatureInformationOptions -> ShowS # show :: ClientSignatureInformationOptions -> String # showList :: [ClientSignatureInformationOptions] -> ShowS #
Eq ClientSignatureInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions Methods (==) :: ClientSignatureInformationOptions -> ClientSignatureInformationOptions -> Bool # (/=) :: ClientSignatureInformationOptions -> ClientSignatureInformationOptions -> Bool #
Ord ClientSignatureInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions

Methods

compare :: ClientSignatureInformationOptions -> ClientSignatureInformationOptions -> Ordering #

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

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

(>) :: ClientSignatureInformationOptions -> ClientSignatureInformationOptions -> Bool #

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

max :: ClientSignatureInformationOptions -> ClientSignatureInformationOptions -> ClientSignatureInformationOptions #

min :: ClientSignatureInformationOptions -> ClientSignatureInformationOptions -> ClientSignatureInformationOptions #

Hashable ClientSignatureInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions Methods hashWithSalt :: Int -> ClientSignatureInformationOptions -> Int # hash :: ClientSignatureInformationOptions -> Int #
Pretty ClientSignatureInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions Methods pretty :: ClientSignatureInformationOptions -> Doc ann # prettyList :: [ClientSignatureInformationOptions] -> Doc ann #
HasActiveParameterSupport ClientSignatureInformationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameterSupport :: Lens' ClientSignatureInformationOptions (Maybe Bool) #
HasDocumentationFormat ClientSignatureInformationOptions (Maybe [MarkupKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentationFormat :: Lens' ClientSignatureInformationOptions (Maybe [MarkupKind]) #
HasParameterInformation ClientSignatureInformationOptions (Maybe ClientSignatureParameterInformationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods parameterInformation :: Lens' ClientSignatureInformationOptions (Maybe ClientSignatureParameterInformationOptions) #
HasSignatureInformation SignatureHelpClientCapabilities (Maybe ClientSignatureInformationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatureInformation :: Lens' SignatureHelpClientCapabilities (Maybe ClientSignatureInformationOptions) #
type Rep ClientSignatureInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions

type Rep ClientSignatureInformationOptions = D1 ('MetaData "ClientSignatureInformationOptions" "Language.LSP.Protocol.Internal.Types.ClientSignatureInformationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSignatureInformationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_documentationFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MarkupKind])) :*: (S1 ('MetaSel ('Just "_parameterInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSignatureParameterInformationOptions)) :*: S1 ('MetaSel ('Just "_activeParameterSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data ClientSignatureParameterInformationOptions #

@proposed

Since: 3.18.0

Constructors

ClientSignatureParameterInformationOptions |

Fields

- _labelOffsetSupport :: Maybe Bool

  The client supports processing label offsets instead of a simple label string.

  Since: 3.14.0

#### Instances

Instances details

FromJSON ClientSignatureParameterInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions Methods parseJSON :: Value -> Parser ClientSignatureParameterInformationOptions # parseJSONList :: Value -> Parser [ClientSignatureParameterInformationOptions] # omittedField :: Maybe ClientSignatureParameterInformationOptions #
ToJSON ClientSignatureParameterInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions

Methods

toJSON :: ClientSignatureParameterInformationOptions -> Value #

toEncoding :: ClientSignatureParameterInformationOptions -> Encoding #

toJSONList :: [ClientSignatureParameterInformationOptions] -> Value #

toEncodingList :: [ClientSignatureParameterInformationOptions] -> Encoding #

omitField :: ClientSignatureParameterInformationOptions -> Bool #

NFData ClientSignatureParameterInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions Methods rnf :: ClientSignatureParameterInformationOptions -> () #
Generic ClientSignatureParameterInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions

Associated Types

type Rep ClientSignatureParameterInformationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions

type Rep ClientSignatureParameterInformationOptions = D1 ('MetaData "ClientSignatureParameterInformationOptions" "Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSignatureParameterInformationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_labelOffsetSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ClientSignatureParameterInformationOptions -> Rep ClientSignatureParameterInformationOptions x #

to :: Rep ClientSignatureParameterInformationOptions x -> ClientSignatureParameterInformationOptions #

Show ClientSignatureParameterInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions Methods showsPrec :: Int -> ClientSignatureParameterInformationOptions -> ShowS # show :: ClientSignatureParameterInformationOptions -> String # showList :: [ClientSignatureParameterInformationOptions] -> ShowS #
Eq ClientSignatureParameterInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions Methods (==) :: ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions -> Bool # (/=) :: ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions -> Bool #
Ord ClientSignatureParameterInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions

Methods

compare :: ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions -> Ordering #

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

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

(>) :: ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions -> Bool #

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

max :: ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions #

min :: ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions -> ClientSignatureParameterInformationOptions #

Hashable ClientSignatureParameterInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions Methods hashWithSalt :: Int -> ClientSignatureParameterInformationOptions -> Int # hash :: ClientSignatureParameterInformationOptions -> Int #
Pretty ClientSignatureParameterInformationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions Methods pretty :: ClientSignatureParameterInformationOptions -> Doc ann # prettyList :: [ClientSignatureParameterInformationOptions] -> Doc ann #
HasLabelOffsetSupport ClientSignatureParameterInformationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods labelOffsetSupport :: Lens' ClientSignatureParameterInformationOptions (Maybe Bool) #
HasParameterInformation ClientSignatureInformationOptions (Maybe ClientSignatureParameterInformationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods parameterInformation :: Lens' ClientSignatureInformationOptions (Maybe ClientSignatureParameterInformationOptions) #
type Rep ClientSignatureParameterInformationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions

type Rep ClientSignatureParameterInformationOptions = D1 ('MetaData "ClientSignatureParameterInformationOptions" "Language.LSP.Protocol.Internal.Types.ClientSignatureParameterInformationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSignatureParameterInformationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_labelOffsetSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ClientSymbolKindOptions #

@proposed

Since: 3.18.0

Constructors

ClientSymbolKindOptions |

Fields

- _valueSet :: Maybe [SymbolKind]

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

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

#### Instances

Instances details

FromJSON ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods parseJSON :: Value -> Parser ClientSymbolKindOptions # parseJSONList :: Value -> Parser [ClientSymbolKindOptions] # omittedField :: Maybe ClientSymbolKindOptions #
ToJSON ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods toJSON :: ClientSymbolKindOptions -> Value # toEncoding :: ClientSymbolKindOptions -> Encoding # toJSONList :: [ClientSymbolKindOptions] -> Value # toEncodingList :: [ClientSymbolKindOptions] -> Encoding # omitField :: ClientSymbolKindOptions -> Bool #
NFData ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods rnf :: ClientSymbolKindOptions -> () #
Generic ClientSymbolKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions

Associated Types

type Rep ClientSymbolKindOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions

type Rep ClientSymbolKindOptions = D1 ('MetaData "ClientSymbolKindOptions" "Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSymbolKindOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolKind]))))

Methods

from :: ClientSymbolKindOptions -> Rep ClientSymbolKindOptions x #

to :: Rep ClientSymbolKindOptions x -> ClientSymbolKindOptions #

Show ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods showsPrec :: Int -> ClientSymbolKindOptions -> ShowS # show :: ClientSymbolKindOptions -> String # showList :: [ClientSymbolKindOptions] -> ShowS #
Eq ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods (==) :: ClientSymbolKindOptions -> ClientSymbolKindOptions -> Bool # (/=) :: ClientSymbolKindOptions -> ClientSymbolKindOptions -> Bool #
Ord ClientSymbolKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions

Methods

compare :: ClientSymbolKindOptions -> ClientSymbolKindOptions -> Ordering #

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

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

(>) :: ClientSymbolKindOptions -> ClientSymbolKindOptions -> Bool #

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

max :: ClientSymbolKindOptions -> ClientSymbolKindOptions -> ClientSymbolKindOptions #

min :: ClientSymbolKindOptions -> ClientSymbolKindOptions -> ClientSymbolKindOptions #

Hashable ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods hashWithSalt :: Int -> ClientSymbolKindOptions -> Int # hash :: ClientSymbolKindOptions -> Int #
Pretty ClientSymbolKindOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions Methods pretty :: ClientSymbolKindOptions -> Doc ann # prettyList :: [ClientSymbolKindOptions] -> Doc ann #
HasSymbolKind DocumentSymbolClientCapabilities (Maybe ClientSymbolKindOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods symbolKind :: Lens' DocumentSymbolClientCapabilities (Maybe ClientSymbolKindOptions) #
HasSymbolKind WorkspaceSymbolClientCapabilities (Maybe ClientSymbolKindOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods symbolKind :: Lens' WorkspaceSymbolClientCapabilities (Maybe ClientSymbolKindOptions) #
HasValueSet ClientSymbolKindOptions (Maybe [SymbolKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientSymbolKindOptions (Maybe [SymbolKind]) #
type Rep ClientSymbolKindOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions

type Rep ClientSymbolKindOptions = D1 ('MetaData "ClientSymbolKindOptions" "Language.LSP.Protocol.Internal.Types.ClientSymbolKindOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSymbolKindOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SymbolKind]))))

data ClientSymbolResolveOptions #

@proposed

Since: 3.18.0

Constructors

ClientSymbolResolveOptions |

Fields

- _properties :: [Text]

  The properties that a client can resolve lazily. Usually `location.range`

#### Instances

Instances details

FromJSON ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods parseJSON :: Value -> Parser ClientSymbolResolveOptions # parseJSONList :: Value -> Parser [ClientSymbolResolveOptions] # omittedField :: Maybe ClientSymbolResolveOptions #
ToJSON ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods toJSON :: ClientSymbolResolveOptions -> Value # toEncoding :: ClientSymbolResolveOptions -> Encoding # toJSONList :: [ClientSymbolResolveOptions] -> Value # toEncodingList :: [ClientSymbolResolveOptions] -> Encoding # omitField :: ClientSymbolResolveOptions -> Bool #
NFData ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods rnf :: ClientSymbolResolveOptions -> () #
Generic ClientSymbolResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions

Associated Types

type Rep ClientSymbolResolveOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions

type Rep ClientSymbolResolveOptions = D1 ('MetaData "ClientSymbolResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSymbolResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: ClientSymbolResolveOptions -> Rep ClientSymbolResolveOptions x #

to :: Rep ClientSymbolResolveOptions x -> ClientSymbolResolveOptions #

Show ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods showsPrec :: Int -> ClientSymbolResolveOptions -> ShowS # show :: ClientSymbolResolveOptions -> String # showList :: [ClientSymbolResolveOptions] -> ShowS #
Eq ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods (==) :: ClientSymbolResolveOptions -> ClientSymbolResolveOptions -> Bool # (/=) :: ClientSymbolResolveOptions -> ClientSymbolResolveOptions -> Bool #
Ord ClientSymbolResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions

Methods

compare :: ClientSymbolResolveOptions -> ClientSymbolResolveOptions -> Ordering #

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

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

(>) :: ClientSymbolResolveOptions -> ClientSymbolResolveOptions -> Bool #

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

max :: ClientSymbolResolveOptions -> ClientSymbolResolveOptions -> ClientSymbolResolveOptions #

min :: ClientSymbolResolveOptions -> ClientSymbolResolveOptions -> ClientSymbolResolveOptions #

Hashable ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods hashWithSalt :: Int -> ClientSymbolResolveOptions -> Int # hash :: ClientSymbolResolveOptions -> Int #
Pretty ClientSymbolResolveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions Methods pretty :: ClientSymbolResolveOptions -> Doc ann # prettyList :: [ClientSymbolResolveOptions] -> Doc ann #
HasProperties ClientSymbolResolveOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods properties :: Lens' ClientSymbolResolveOptions [Text] #
HasResolveSupport WorkspaceSymbolClientCapabilities (Maybe ClientSymbolResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' WorkspaceSymbolClientCapabilities (Maybe ClientSymbolResolveOptions) #
type Rep ClientSymbolResolveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions

type Rep ClientSymbolResolveOptions = D1 ('MetaData "ClientSymbolResolveOptions" "Language.LSP.Protocol.Internal.Types.ClientSymbolResolveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSymbolResolveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_properties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data ClientSymbolTagOptions #

@proposed

Since: 3.18.0

Constructors

ClientSymbolTagOptions |

Fields

- _valueSet :: [SymbolTag]

  The tags supported by the client.

#### Instances

Instances details

FromJSON ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods parseJSON :: Value -> Parser ClientSymbolTagOptions # parseJSONList :: Value -> Parser [ClientSymbolTagOptions] # omittedField :: Maybe ClientSymbolTagOptions #
ToJSON ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods toJSON :: ClientSymbolTagOptions -> Value # toEncoding :: ClientSymbolTagOptions -> Encoding # toJSONList :: [ClientSymbolTagOptions] -> Value # toEncodingList :: [ClientSymbolTagOptions] -> Encoding # omitField :: ClientSymbolTagOptions -> Bool #
NFData ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods rnf :: ClientSymbolTagOptions -> () #
Generic ClientSymbolTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions

Associated Types

type Rep ClientSymbolTagOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions

type Rep ClientSymbolTagOptions = D1 ('MetaData "ClientSymbolTagOptions" "Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSymbolTagOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SymbolTag])))

Methods

from :: ClientSymbolTagOptions -> Rep ClientSymbolTagOptions x #

to :: Rep ClientSymbolTagOptions x -> ClientSymbolTagOptions #

Show ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods showsPrec :: Int -> ClientSymbolTagOptions -> ShowS # show :: ClientSymbolTagOptions -> String # showList :: [ClientSymbolTagOptions] -> ShowS #
Eq ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods (==) :: ClientSymbolTagOptions -> ClientSymbolTagOptions -> Bool # (/=) :: ClientSymbolTagOptions -> ClientSymbolTagOptions -> Bool #
Ord ClientSymbolTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions

Methods

compare :: ClientSymbolTagOptions -> ClientSymbolTagOptions -> Ordering #

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

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

(>) :: ClientSymbolTagOptions -> ClientSymbolTagOptions -> Bool #

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

max :: ClientSymbolTagOptions -> ClientSymbolTagOptions -> ClientSymbolTagOptions #

min :: ClientSymbolTagOptions -> ClientSymbolTagOptions -> ClientSymbolTagOptions #

Hashable ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods hashWithSalt :: Int -> ClientSymbolTagOptions -> Int # hash :: ClientSymbolTagOptions -> Int #
Pretty ClientSymbolTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions Methods pretty :: ClientSymbolTagOptions -> Doc ann # prettyList :: [ClientSymbolTagOptions] -> Doc ann #
HasTagSupport DocumentSymbolClientCapabilities (Maybe ClientSymbolTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' DocumentSymbolClientCapabilities (Maybe ClientSymbolTagOptions) #
HasTagSupport WorkspaceSymbolClientCapabilities (Maybe ClientSymbolTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' WorkspaceSymbolClientCapabilities (Maybe ClientSymbolTagOptions) #
HasValueSet ClientSymbolTagOptions [SymbolTag] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientSymbolTagOptions [SymbolTag] #
type Rep ClientSymbolTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions

type Rep ClientSymbolTagOptions = D1 ('MetaData "ClientSymbolTagOptions" "Language.LSP.Protocol.Internal.Types.ClientSymbolTagOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ClientSymbolTagOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SymbolTag])))

data CodeActionClientCapabilities #

The Client Capabilities of a `CodeActionRequest`.

Constructors

CodeActionClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether code action supports dynamic registration.

- _codeActionLiteralSupport :: Maybe ClientCodeActionLiteralOptions

  The client support code action literals of type `CodeAction` as a valid response of the `textDocument/codeAction` request. If the property is not set the request can only return `Command` literals.

  Since: 3.8.0

- _isPreferredSupport :: Maybe Bool

  Whether code action supports the `isPreferred` property.

  Since: 3.15.0

- _disabledSupport :: Maybe Bool

  Whether code action supports the `disabled` property.

  Since: 3.16.0

- _dataSupport :: Maybe Bool

  Whether code action supports the `data` property which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.

  Since: 3.16.0

- _resolveSupport :: Maybe ClientCodeActionResolveOptions

  Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.

  Since: 3.16.0

- _honorsChangeAnnotations :: Maybe Bool

  Whether the client honors the change annotations in text edits and resource operations returned via the `CodeAction#edit` property by for example presenting the workspace edit in the user interface and asking for confirmation.

  Since: 3.16.0

#### Instances

Instances details

FromJSON CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods parseJSON :: Value -> Parser CodeActionClientCapabilities # parseJSONList :: Value -> Parser [CodeActionClientCapabilities] # omittedField :: Maybe CodeActionClientCapabilities #
ToJSON CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods toJSON :: CodeActionClientCapabilities -> Value # toEncoding :: CodeActionClientCapabilities -> Encoding # toJSONList :: [CodeActionClientCapabilities] -> Value # toEncodingList :: [CodeActionClientCapabilities] -> Encoding # omitField :: CodeActionClientCapabilities -> Bool #
NFData CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods rnf :: CodeActionClientCapabilities -> () #
Generic CodeActionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities

Associated Types

type Rep CodeActionClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities

type Rep CodeActionClientCapabilities = D1 ('MetaData "CodeActionClientCapabilities" "Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_codeActionLiteralSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCodeActionLiteralOptions)) :*: S1 ('MetaSel ('Just "_isPreferredSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "_disabledSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_dataSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCodeActionResolveOptions)) :*: S1 ('MetaSel ('Just "_honorsChangeAnnotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

Methods

from :: CodeActionClientCapabilities -> Rep CodeActionClientCapabilities x #

to :: Rep CodeActionClientCapabilities x -> CodeActionClientCapabilities #

Show CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods showsPrec :: Int -> CodeActionClientCapabilities -> ShowS # show :: CodeActionClientCapabilities -> String # showList :: [CodeActionClientCapabilities] -> ShowS #
Eq CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods (==) :: CodeActionClientCapabilities -> CodeActionClientCapabilities -> Bool # (/=) :: CodeActionClientCapabilities -> CodeActionClientCapabilities -> Bool #
Ord CodeActionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities

Methods

compare :: CodeActionClientCapabilities -> CodeActionClientCapabilities -> Ordering #

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

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

(>) :: CodeActionClientCapabilities -> CodeActionClientCapabilities -> Bool #

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

max :: CodeActionClientCapabilities -> CodeActionClientCapabilities -> CodeActionClientCapabilities #

min :: CodeActionClientCapabilities -> CodeActionClientCapabilities -> CodeActionClientCapabilities #

Hashable CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods hashWithSalt :: Int -> CodeActionClientCapabilities -> Int # hash :: CodeActionClientCapabilities -> Int #
Pretty CodeActionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities Methods pretty :: CodeActionClientCapabilities -> Doc ann # prettyList :: [CodeActionClientCapabilities] -> Doc ann #
HasCodeAction TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeAction :: Lens' TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) #
HasCodeActionLiteralSupport CodeActionClientCapabilities (Maybe ClientCodeActionLiteralOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionLiteralSupport :: Lens' CodeActionClientCapabilities (Maybe ClientCodeActionLiteralOptions) #
HasDataSupport CodeActionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dataSupport :: Lens' CodeActionClientCapabilities (Maybe Bool) #
HasDisabledSupport CodeActionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods disabledSupport :: Lens' CodeActionClientCapabilities (Maybe Bool) #
HasDynamicRegistration CodeActionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' CodeActionClientCapabilities (Maybe Bool) #
HasHonorsChangeAnnotations CodeActionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods honorsChangeAnnotations :: Lens' CodeActionClientCapabilities (Maybe Bool) #
HasIsPreferredSupport CodeActionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods isPreferredSupport :: Lens' CodeActionClientCapabilities (Maybe Bool) #
HasResolveSupport CodeActionClientCapabilities (Maybe ClientCodeActionResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' CodeActionClientCapabilities (Maybe ClientCodeActionResolveOptions) #
type Rep CodeActionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities

type Rep CodeActionClientCapabilities = D1 ('MetaData "CodeActionClientCapabilities" "Language.LSP.Protocol.Internal.Types.CodeActionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_codeActionLiteralSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCodeActionLiteralOptions)) :*: S1 ('MetaSel ('Just "_isPreferredSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "_disabledSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_dataSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCodeActionResolveOptions)) :*: S1 ('MetaSel ('Just "_honorsChangeAnnotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

data CodeActionContext #

Contains additional diagnostic information about the context in which a `provideCodeActions` is run.

Constructors

CodeActionContext |

Fields

- _diagnostics :: [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 [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.

- _triggerKind :: Maybe CodeActionTriggerKind

  The reason why code actions were requested.

  Since: 3.17.0

#### Instances

Instances details

FromJSON CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods parseJSON :: Value -> Parser CodeActionContext # parseJSONList :: Value -> Parser [CodeActionContext] # omittedField :: Maybe CodeActionContext #
ToJSON CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods toJSON :: CodeActionContext -> Value # toEncoding :: CodeActionContext -> Encoding # toJSONList :: [CodeActionContext] -> Value # toEncodingList :: [CodeActionContext] -> Encoding # omitField :: CodeActionContext -> Bool #
NFData CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods rnf :: CodeActionContext -> () #
Generic CodeActionContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext

Associated Types

type Rep CodeActionContext |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext

type Rep CodeActionContext = D1 ('MetaData "CodeActionContext" "Language.LSP.Protocol.Internal.Types.CodeActionContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]) :*: (S1 ('MetaSel ('Just "_only") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeActionKind])) :*: S1 ('MetaSel ('Just "_triggerKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionTriggerKind)))))

Methods

from :: CodeActionContext -> Rep CodeActionContext x #

to :: Rep CodeActionContext x -> CodeActionContext #

Show CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods showsPrec :: Int -> CodeActionContext -> ShowS # show :: CodeActionContext -> String # showList :: [CodeActionContext] -> ShowS #
Eq CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods (==) :: CodeActionContext -> CodeActionContext -> Bool # (/=) :: CodeActionContext -> CodeActionContext -> Bool #
Ord CodeActionContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext

Methods

compare :: CodeActionContext -> CodeActionContext -> Ordering #

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

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

(>) :: CodeActionContext -> CodeActionContext -> Bool #

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

max :: CodeActionContext -> CodeActionContext -> CodeActionContext #

min :: CodeActionContext -> CodeActionContext -> CodeActionContext #

Hashable CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods hashWithSalt :: Int -> CodeActionContext -> Int # hash :: CodeActionContext -> Int #
Pretty CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext Methods pretty :: CodeActionContext -> Doc ann # prettyList :: [CodeActionContext] -> Doc ann #
HasContext CodeActionParams CodeActionContext # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' CodeActionParams CodeActionContext #
HasDiagnostics CodeActionContext [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' CodeActionContext [Diagnostic] #
HasOnly CodeActionContext (Maybe [CodeActionKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods only :: Lens' CodeActionContext (Maybe [CodeActionKind]) #
HasTriggerKind CodeActionContext (Maybe CodeActionTriggerKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerKind :: Lens' CodeActionContext (Maybe CodeActionTriggerKind) #
type Rep CodeActionContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionContext

type Rep CodeActionContext = D1 ('MetaData "CodeActionContext" "Language.LSP.Protocol.Internal.Types.CodeActionContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]) :*: (S1 ('MetaSel ('Just "_only") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeActionKind])) :*: S1 ('MetaSel ('Just "_triggerKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionTriggerKind)))))

data CodeActionDisabled #

Captures why the code action is currently disabled.

@proposed

Since: 3.18.0

Constructors

CodeActionDisabled |

Fields

- _reason :: Text

  Human readable description of why the code action is currently disabled.

  This is displayed in the code actions UI.

#### Instances

Instances details

FromJSON CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods parseJSON :: Value -> Parser CodeActionDisabled # parseJSONList :: Value -> Parser [CodeActionDisabled] # omittedField :: Maybe CodeActionDisabled #
ToJSON CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods toJSON :: CodeActionDisabled -> Value # toEncoding :: CodeActionDisabled -> Encoding # toJSONList :: [CodeActionDisabled] -> Value # toEncodingList :: [CodeActionDisabled] -> Encoding # omitField :: CodeActionDisabled -> Bool #
NFData CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods rnf :: CodeActionDisabled -> () #
Generic CodeActionDisabled # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled

Associated Types

type Rep CodeActionDisabled |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled

type Rep CodeActionDisabled = D1 ('MetaData "CodeActionDisabled" "Language.LSP.Protocol.Internal.Types.CodeActionDisabled" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionDisabled" 'PrefixI 'True) (S1 ('MetaSel ('Just "_reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: CodeActionDisabled -> Rep CodeActionDisabled x #

to :: Rep CodeActionDisabled x -> CodeActionDisabled #

Show CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods showsPrec :: Int -> CodeActionDisabled -> ShowS # show :: CodeActionDisabled -> String # showList :: [CodeActionDisabled] -> ShowS #
Eq CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods (==) :: CodeActionDisabled -> CodeActionDisabled -> Bool # (/=) :: CodeActionDisabled -> CodeActionDisabled -> Bool #
Ord CodeActionDisabled # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled

Methods

compare :: CodeActionDisabled -> CodeActionDisabled -> Ordering #

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

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

(>) :: CodeActionDisabled -> CodeActionDisabled -> Bool #

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

max :: CodeActionDisabled -> CodeActionDisabled -> CodeActionDisabled #

min :: CodeActionDisabled -> CodeActionDisabled -> CodeActionDisabled #

Hashable CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods hashWithSalt :: Int -> CodeActionDisabled -> Int # hash :: CodeActionDisabled -> Int #
Pretty CodeActionDisabled # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled Methods pretty :: CodeActionDisabled -> Doc ann # prettyList :: [CodeActionDisabled] -> Doc ann #
HasReason CodeActionDisabled Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods reason :: Lens' CodeActionDisabled Text #
HasDisabled CodeAction (Maybe CodeActionDisabled) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods disabled :: Lens' CodeAction (Maybe CodeActionDisabled) #
type Rep CodeActionDisabled # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionDisabled

type Rep CodeActionDisabled = D1 ('MetaData "CodeActionDisabled" "Language.LSP.Protocol.Internal.Types.CodeActionDisabled" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionDisabled" 'PrefixI 'True) (S1 ('MetaSel ('Just "_reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data CodeActionKind #

A set of predefined code action kinds

Constructors

CodeActionKind_Empty | Empty kind.
CodeActionKind_QuickFix | Base kind for quickfix actions: `quickfix`
CodeActionKind_Refactor | Base kind for refactoring actions: `refactor`

CodeActionKind_RefactorExtract

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

Example extract actions:

- Extract method
- Extract function
- Extract variable
- Extract interface from class
- ...

CodeActionKind_RefactorInline

Base kind for refactoring inline actions: 'refactor.inline'

Example inline actions:

- Inline function
- Inline variable
- Inline constant
- ...

CodeActionKind_RefactorRewrite

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

CodeActionKind_Source | Base kind for source actions: `source` Source code actions apply to the entire file.
CodeActionKind_SourceOrganizeImports | Base kind for an organize imports source action: `source.organizeImports`
CodeActionKind_SourceFixAll | Base kind for auto-fix source actions: `source.fixAll`. Fix all actions automatically fix errors that have a clear fix that do not require user input. They should not suppress errors or perform unsafe fixes such as generating new types or classes. Since: 3.15.0
CodeActionKind_Notebook | Base kind for all code actions applying to the entire notebook's scope. CodeActionKinds using this should always begin with `notebook.` Since: 3.18.0
CodeActionKind_Custom Text |

#### Instances

Instances details

FromJSON CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods parseJSON :: Value -> Parser CodeActionKind # parseJSONList :: Value -> Parser [CodeActionKind] # omittedField :: Maybe CodeActionKind #
ToJSON CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods toJSON :: CodeActionKind -> Value # toEncoding :: CodeActionKind -> Encoding # toJSONList :: [CodeActionKind] -> Value # toEncodingList :: [CodeActionKind] -> Encoding # omitField :: CodeActionKind -> Bool #
NFData CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods rnf :: CodeActionKind -> () #
IsString CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods fromString :: String -> CodeActionKind #
Generic CodeActionKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind

Associated Types

type Rep CodeActionKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind

type Rep CodeActionKind = D1 ('MetaData "CodeActionKind" "Language.LSP.Protocol.Internal.Types.CodeActionKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((C1 ('MetaCons "CodeActionKind_Empty" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_QuickFix" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CodeActionKind_Refactor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CodeActionKind_RefactorExtract" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_RefactorInline" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CodeActionKind_RefactorRewrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CodeActionKind_Source" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_SourceOrganizeImports" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CodeActionKind_SourceFixAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CodeActionKind_Notebook" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

Methods

from :: CodeActionKind -> Rep CodeActionKind x #

to :: Rep CodeActionKind x -> CodeActionKind #

Show CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods showsPrec :: Int -> CodeActionKind -> ShowS # show :: CodeActionKind -> String # showList :: [CodeActionKind] -> ShowS #
Eq CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods (==) :: CodeActionKind -> CodeActionKind -> Bool # (/=) :: CodeActionKind -> CodeActionKind -> Bool #
Ord CodeActionKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind

Methods

compare :: CodeActionKind -> CodeActionKind -> Ordering #

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

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

(>) :: CodeActionKind -> CodeActionKind -> Bool #

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

max :: CodeActionKind -> CodeActionKind -> CodeActionKind #

min :: CodeActionKind -> CodeActionKind -> CodeActionKind #

Hashable CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods hashWithSalt :: Int -> CodeActionKind -> Int # hash :: CodeActionKind -> Int #
LspEnum CodeActionKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind

Associated Types

type EnumBaseType CodeActionKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind type EnumBaseType CodeActionKind = Text

Methods

knownValues :: Set CodeActionKind #

toEnumBaseType :: CodeActionKind -> EnumBaseType CodeActionKind #

fromEnumBaseType :: EnumBaseType CodeActionKind -> Maybe CodeActionKind #

LspOpenEnum CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods fromOpenEnumBaseType :: EnumBaseType CodeActionKind -> CodeActionKind #
Pretty CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind Methods pretty :: CodeActionKind -> Doc ann # prettyList :: [CodeActionKind] -> Doc ann #
HasCodeActionKinds CodeActionOptions (Maybe [CodeActionKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionKinds :: Lens' CodeActionOptions (Maybe [CodeActionKind]) #
HasCodeActionKinds CodeActionRegistrationOptions (Maybe [CodeActionKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionKinds :: Lens' CodeActionRegistrationOptions (Maybe [CodeActionKind]) #
HasKind CodeAction (Maybe CodeActionKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CodeAction (Maybe CodeActionKind) #
HasOnly CodeActionContext (Maybe [CodeActionKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods only :: Lens' CodeActionContext (Maybe [CodeActionKind]) #
HasValueSet ClientCodeActionKindOptions [CodeActionKind] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientCodeActionKindOptions [CodeActionKind] #
type Rep CodeActionKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind

type Rep CodeActionKind = D1 ('MetaData "CodeActionKind" "Language.LSP.Protocol.Internal.Types.CodeActionKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((C1 ('MetaCons "CodeActionKind_Empty" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_QuickFix" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CodeActionKind_Refactor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CodeActionKind_RefactorExtract" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_RefactorInline" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CodeActionKind_RefactorRewrite" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CodeActionKind_Source" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_SourceOrganizeImports" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CodeActionKind_SourceFixAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CodeActionKind_Notebook" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

type EnumBaseType CodeActionKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionKind type EnumBaseType CodeActionKind = Text

data CodeActionOptions #

Provider options for a `CodeActionRequest`.

Constructors

CodeActionOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _codeActionKinds :: Maybe [CodeActionKind]

  CodeActionKinds that this server may return.

  The list of kinds may be generic, such as `Refactor`, or the server may list out every specific kind they provide.

- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for a code action.

  Since: 3.16.0

#### Instances

Instances details

FromJSON CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods parseJSON :: Value -> Parser CodeActionOptions # parseJSONList :: Value -> Parser [CodeActionOptions] # omittedField :: Maybe CodeActionOptions #
ToJSON CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods toJSON :: CodeActionOptions -> Value # toEncoding :: CodeActionOptions -> Encoding # toJSONList :: [CodeActionOptions] -> Value # toEncodingList :: [CodeActionOptions] -> Encoding # omitField :: CodeActionOptions -> Bool #
NFData CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods rnf :: CodeActionOptions -> () #
Generic CodeActionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions

Associated Types

type Rep CodeActionOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions

type Rep CodeActionOptions = D1 ('MetaData "CodeActionOptions" "Language.LSP.Protocol.Internal.Types.CodeActionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_codeActionKinds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeActionKind])) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: CodeActionOptions -> Rep CodeActionOptions x #

to :: Rep CodeActionOptions x -> CodeActionOptions #

Show CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods showsPrec :: Int -> CodeActionOptions -> ShowS # show :: CodeActionOptions -> String # showList :: [CodeActionOptions] -> ShowS #
Eq CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods (==) :: CodeActionOptions -> CodeActionOptions -> Bool # (/=) :: CodeActionOptions -> CodeActionOptions -> Bool #
Ord CodeActionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions

Methods

compare :: CodeActionOptions -> CodeActionOptions -> Ordering #

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

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

(>) :: CodeActionOptions -> CodeActionOptions -> Bool #

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

max :: CodeActionOptions -> CodeActionOptions -> CodeActionOptions #

min :: CodeActionOptions -> CodeActionOptions -> CodeActionOptions #

Hashable CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods hashWithSalt :: Int -> CodeActionOptions -> Int # hash :: CodeActionOptions -> Int #
Pretty CodeActionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions Methods pretty :: CodeActionOptions -> Doc ann # prettyList :: [CodeActionOptions] -> Doc ann #
HasCodeActionKinds CodeActionOptions (Maybe [CodeActionKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionKinds :: Lens' CodeActionOptions (Maybe [CodeActionKind]) #
HasCodeActionProvider ServerCapabilities (Maybe (Bool |? CodeActionOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionProvider :: Lens' ServerCapabilities (Maybe (Bool |? CodeActionOptions)) #
HasResolveProvider CodeActionOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' CodeActionOptions (Maybe Bool) #
HasWorkDoneProgress CodeActionOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CodeActionOptions (Maybe Bool) #
type Rep CodeActionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionOptions

type Rep CodeActionOptions = D1 ('MetaData "CodeActionOptions" "Language.LSP.Protocol.Internal.Types.CodeActionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_codeActionKinds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CodeActionKind])) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data CodeActionTriggerKind #

The reason why code actions were requested.

Since: 3.17.0

Constructors

CodeActionTriggerKind_Invoked | Code actions were explicitly requested by the user or by an extension.
CodeActionTriggerKind_Automatic | Code actions were requested automatically. This typically happens when current selection in a file changes, but can also be triggered when file content changes.

#### Instances

Instances details

FromJSON CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods parseJSON :: Value -> Parser CodeActionTriggerKind # parseJSONList :: Value -> Parser [CodeActionTriggerKind] # omittedField :: Maybe CodeActionTriggerKind #
ToJSON CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods toJSON :: CodeActionTriggerKind -> Value # toEncoding :: CodeActionTriggerKind -> Encoding # toJSONList :: [CodeActionTriggerKind] -> Value # toEncodingList :: [CodeActionTriggerKind] -> Encoding # omitField :: CodeActionTriggerKind -> Bool #
NFData CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods rnf :: CodeActionTriggerKind -> () #
Generic CodeActionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind

Associated Types

type Rep CodeActionTriggerKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind

type Rep CodeActionTriggerKind = D1 ('MetaData "CodeActionTriggerKind" "Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionTriggerKind_Invoked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionTriggerKind_Automatic" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: CodeActionTriggerKind -> Rep CodeActionTriggerKind x #

to :: Rep CodeActionTriggerKind x -> CodeActionTriggerKind #

Show CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods showsPrec :: Int -> CodeActionTriggerKind -> ShowS # show :: CodeActionTriggerKind -> String # showList :: [CodeActionTriggerKind] -> ShowS #
Eq CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods (==) :: CodeActionTriggerKind -> CodeActionTriggerKind -> Bool # (/=) :: CodeActionTriggerKind -> CodeActionTriggerKind -> Bool #
Ord CodeActionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind

Methods

compare :: CodeActionTriggerKind -> CodeActionTriggerKind -> Ordering #

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

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

(>) :: CodeActionTriggerKind -> CodeActionTriggerKind -> Bool #

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

max :: CodeActionTriggerKind -> CodeActionTriggerKind -> CodeActionTriggerKind #

min :: CodeActionTriggerKind -> CodeActionTriggerKind -> CodeActionTriggerKind #

Hashable CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods hashWithSalt :: Int -> CodeActionTriggerKind -> Int # hash :: CodeActionTriggerKind -> Int #
LspEnum CodeActionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind

Associated Types

type EnumBaseType CodeActionTriggerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind type EnumBaseType CodeActionTriggerKind = UInt

Methods

knownValues :: Set CodeActionTriggerKind #

toEnumBaseType :: CodeActionTriggerKind -> EnumBaseType CodeActionTriggerKind #

fromEnumBaseType :: EnumBaseType CodeActionTriggerKind -> Maybe CodeActionTriggerKind #

Pretty CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind Methods pretty :: CodeActionTriggerKind -> Doc ann # prettyList :: [CodeActionTriggerKind] -> Doc ann #
HasTriggerKind CodeActionContext (Maybe CodeActionTriggerKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerKind :: Lens' CodeActionContext (Maybe CodeActionTriggerKind) #
type Rep CodeActionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind

type Rep CodeActionTriggerKind = D1 ('MetaData "CodeActionTriggerKind" "Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeActionTriggerKind_Invoked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CodeActionTriggerKind_Automatic" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType CodeActionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeActionTriggerKind type EnumBaseType CodeActionTriggerKind = UInt

data CodeDescription #

Structure to capture a description for an error code.

Since: 3.16.0

Constructors

CodeDescription |

Fields

- _href :: Uri

  An URI to open with more information about the diagnostic error.

#### Instances

Instances details

FromJSON CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods parseJSON :: Value -> Parser CodeDescription # parseJSONList :: Value -> Parser [CodeDescription] # omittedField :: Maybe CodeDescription #
ToJSON CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods toJSON :: CodeDescription -> Value # toEncoding :: CodeDescription -> Encoding # toJSONList :: [CodeDescription] -> Value # toEncodingList :: [CodeDescription] -> Encoding # omitField :: CodeDescription -> Bool #
NFData CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods rnf :: CodeDescription -> () #
Generic CodeDescription # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeDescription

Associated Types

type Rep CodeDescription |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription type Rep CodeDescription = D1 ('MetaData "CodeDescription" "Language.LSP.Protocol.Internal.Types.CodeDescription" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeDescription" 'PrefixI 'True) (S1 ('MetaSel ('Just "_href") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

Methods

from :: CodeDescription -> Rep CodeDescription x #

to :: Rep CodeDescription x -> CodeDescription #

Show CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods showsPrec :: Int -> CodeDescription -> ShowS # show :: CodeDescription -> String # showList :: [CodeDescription] -> ShowS #
Eq CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods (==) :: CodeDescription -> CodeDescription -> Bool # (/=) :: CodeDescription -> CodeDescription -> Bool #
Ord CodeDescription # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeDescription

Methods

compare :: CodeDescription -> CodeDescription -> Ordering #

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

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

(>) :: CodeDescription -> CodeDescription -> Bool #

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

max :: CodeDescription -> CodeDescription -> CodeDescription #

min :: CodeDescription -> CodeDescription -> CodeDescription #

Hashable CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods hashWithSalt :: Int -> CodeDescription -> Int # hash :: CodeDescription -> Int #
Pretty CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription Methods pretty :: CodeDescription -> Doc ann # prettyList :: [CodeDescription] -> Doc ann #
HasHref CodeDescription Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods href :: Lens' CodeDescription Uri #
HasCodeDescription Diagnostic (Maybe CodeDescription) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeDescription :: Lens' Diagnostic (Maybe CodeDescription) #
type Rep CodeDescription # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeDescription type Rep CodeDescription = D1 ('MetaData "CodeDescription" "Language.LSP.Protocol.Internal.Types.CodeDescription" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeDescription" 'PrefixI 'True) (S1 ('MetaSel ('Just "_href") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

data CodeLensClientCapabilities #

The client capabilities of a `CodeLensRequest`.

Constructors

CodeLensClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether code lens supports dynamic registration.

#### Instances

Instances details

FromJSON CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods parseJSON :: Value -> Parser CodeLensClientCapabilities # parseJSONList :: Value -> Parser [CodeLensClientCapabilities] # omittedField :: Maybe CodeLensClientCapabilities #
ToJSON CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods toJSON :: CodeLensClientCapabilities -> Value # toEncoding :: CodeLensClientCapabilities -> Encoding # toJSONList :: [CodeLensClientCapabilities] -> Value # toEncodingList :: [CodeLensClientCapabilities] -> Encoding # omitField :: CodeLensClientCapabilities -> Bool #
NFData CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods rnf :: CodeLensClientCapabilities -> () #
Generic CodeLensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities

Associated Types

type Rep CodeLensClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities

type Rep CodeLensClientCapabilities = D1 ('MetaData "CodeLensClientCapabilities" "Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: CodeLensClientCapabilities -> Rep CodeLensClientCapabilities x #

to :: Rep CodeLensClientCapabilities x -> CodeLensClientCapabilities #

Show CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods showsPrec :: Int -> CodeLensClientCapabilities -> ShowS # show :: CodeLensClientCapabilities -> String # showList :: [CodeLensClientCapabilities] -> ShowS #
Eq CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods (==) :: CodeLensClientCapabilities -> CodeLensClientCapabilities -> Bool # (/=) :: CodeLensClientCapabilities -> CodeLensClientCapabilities -> Bool #
Ord CodeLensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities

Methods

compare :: CodeLensClientCapabilities -> CodeLensClientCapabilities -> Ordering #

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

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

(>) :: CodeLensClientCapabilities -> CodeLensClientCapabilities -> Bool #

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

max :: CodeLensClientCapabilities -> CodeLensClientCapabilities -> CodeLensClientCapabilities #

min :: CodeLensClientCapabilities -> CodeLensClientCapabilities -> CodeLensClientCapabilities #

Hashable CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods hashWithSalt :: Int -> CodeLensClientCapabilities -> Int # hash :: CodeLensClientCapabilities -> Int #
Pretty CodeLensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities Methods pretty :: CodeLensClientCapabilities -> Doc ann # prettyList :: [CodeLensClientCapabilities] -> Doc ann #
HasCodeLens TextDocumentClientCapabilities (Maybe CodeLensClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeLens :: Lens' TextDocumentClientCapabilities (Maybe CodeLensClientCapabilities) #
HasDynamicRegistration CodeLensClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' CodeLensClientCapabilities (Maybe Bool) #
type Rep CodeLensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities

type Rep CodeLensClientCapabilities = D1 ('MetaData "CodeLensClientCapabilities" "Language.LSP.Protocol.Internal.Types.CodeLensClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data CodeLensOptions #

Code Lens provider options of a `CodeLensRequest`.

Constructors

CodeLensOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  Code lens has a resolve provider as well.

#### Instances

Instances details

FromJSON CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods parseJSON :: Value -> Parser CodeLensOptions # parseJSONList :: Value -> Parser [CodeLensOptions] # omittedField :: Maybe CodeLensOptions #
ToJSON CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods toJSON :: CodeLensOptions -> Value # toEncoding :: CodeLensOptions -> Encoding # toJSONList :: [CodeLensOptions] -> Value # toEncodingList :: [CodeLensOptions] -> Encoding # omitField :: CodeLensOptions -> Bool #
NFData CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods rnf :: CodeLensOptions -> () #
Generic CodeLensOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions

Associated Types

type Rep CodeLensOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions

type Rep CodeLensOptions = D1 ('MetaData "CodeLensOptions" "Language.LSP.Protocol.Internal.Types.CodeLensOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: CodeLensOptions -> Rep CodeLensOptions x #

to :: Rep CodeLensOptions x -> CodeLensOptions #

Show CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods showsPrec :: Int -> CodeLensOptions -> ShowS # show :: CodeLensOptions -> String # showList :: [CodeLensOptions] -> ShowS #
Eq CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods (==) :: CodeLensOptions -> CodeLensOptions -> Bool # (/=) :: CodeLensOptions -> CodeLensOptions -> Bool #
Ord CodeLensOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions

Methods

compare :: CodeLensOptions -> CodeLensOptions -> Ordering #

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

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

(>) :: CodeLensOptions -> CodeLensOptions -> Bool #

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

max :: CodeLensOptions -> CodeLensOptions -> CodeLensOptions #

min :: CodeLensOptions -> CodeLensOptions -> CodeLensOptions #

Hashable CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods hashWithSalt :: Int -> CodeLensOptions -> Int # hash :: CodeLensOptions -> Int #
Pretty CodeLensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions Methods pretty :: CodeLensOptions -> Doc ann # prettyList :: [CodeLensOptions] -> Doc ann #
HasCodeLensProvider ServerCapabilities (Maybe CodeLensOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeLensProvider :: Lens' ServerCapabilities (Maybe CodeLensOptions) #
HasResolveProvider CodeLensOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' CodeLensOptions (Maybe Bool) #
HasWorkDoneProgress CodeLensOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CodeLensOptions (Maybe Bool) #
type Rep CodeLensOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensOptions

type Rep CodeLensOptions = D1 ('MetaData "CodeLensOptions" "Language.LSP.Protocol.Internal.Types.CodeLensOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data CodeLensWorkspaceClientCapabilities #

Since: 3.16.0

Constructors

CodeLensWorkspaceClientCapabilities |

Fields

- _refreshSupport :: Maybe Bool

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

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

#### Instances

Instances details

FromJSON CodeLensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities Methods parseJSON :: Value -> Parser CodeLensWorkspaceClientCapabilities # parseJSONList :: Value -> Parser [CodeLensWorkspaceClientCapabilities] # omittedField :: Maybe CodeLensWorkspaceClientCapabilities #
ToJSON CodeLensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities

Methods

toJSON :: CodeLensWorkspaceClientCapabilities -> Value #

toEncoding :: CodeLensWorkspaceClientCapabilities -> Encoding #

toJSONList :: [CodeLensWorkspaceClientCapabilities] -> Value #

toEncodingList :: [CodeLensWorkspaceClientCapabilities] -> Encoding #

omitField :: CodeLensWorkspaceClientCapabilities -> Bool #

NFData CodeLensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities Methods rnf :: CodeLensWorkspaceClientCapabilities -> () #
Generic CodeLensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities

Associated Types

type Rep CodeLensWorkspaceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities

type Rep CodeLensWorkspaceClientCapabilities = D1 ('MetaData "CodeLensWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: CodeLensWorkspaceClientCapabilities -> Rep CodeLensWorkspaceClientCapabilities x #

to :: Rep CodeLensWorkspaceClientCapabilities x -> CodeLensWorkspaceClientCapabilities #

Show CodeLensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities Methods showsPrec :: Int -> CodeLensWorkspaceClientCapabilities -> ShowS # show :: CodeLensWorkspaceClientCapabilities -> String # showList :: [CodeLensWorkspaceClientCapabilities] -> ShowS #
Eq CodeLensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities Methods (==) :: CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities -> Bool # (/=) :: CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities -> Bool #
Ord CodeLensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities

Methods

compare :: CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities -> Ordering #

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

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

(>) :: CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities -> Bool #

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

max :: CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities #

min :: CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities -> CodeLensWorkspaceClientCapabilities #

Hashable CodeLensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities Methods hashWithSalt :: Int -> CodeLensWorkspaceClientCapabilities -> Int # hash :: CodeLensWorkspaceClientCapabilities -> Int #
Pretty CodeLensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities Methods pretty :: CodeLensWorkspaceClientCapabilities -> Doc ann # prettyList :: [CodeLensWorkspaceClientCapabilities] -> Doc ann #
HasCodeLens WorkspaceClientCapabilities (Maybe CodeLensWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeLens :: Lens' WorkspaceClientCapabilities (Maybe CodeLensWorkspaceClientCapabilities) #
HasRefreshSupport CodeLensWorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods refreshSupport :: Lens' CodeLensWorkspaceClientCapabilities (Maybe Bool) #
type Rep CodeLensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities

type Rep CodeLensWorkspaceClientCapabilities = D1 ('MetaData "CodeLensWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.CodeLensWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CodeLensWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data CompletionClientCapabilities #

Completion client capabilities

Constructors

CompletionClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether completion supports dynamic registration.

- _completionItem :: Maybe ClientCompletionItemOptions

  The client supports the following `CompletionItem` specific capabilities.

- _completionItemKind :: Maybe ClientCompletionItemOptionsKind
- _insertTextMode :: Maybe InsertTextMode

  Defines how the client handles whitespace and indentation when accepting a completion item that uses multi line text in either `insertText` or `textEdit`.

  Since: 3.17.0

- _contextSupport :: Maybe Bool

  The client supports to send additional context information for a `textDocument/completion` request.

- _completionList :: Maybe CompletionListCapabilities

  The client supports the following `CompletionList` specific capabilities.

  Since: 3.17.0

#### Instances

Instances details

FromJSON CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods parseJSON :: Value -> Parser CompletionClientCapabilities # parseJSONList :: Value -> Parser [CompletionClientCapabilities] # omittedField :: Maybe CompletionClientCapabilities #
ToJSON CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods toJSON :: CompletionClientCapabilities -> Value # toEncoding :: CompletionClientCapabilities -> Encoding # toJSONList :: [CompletionClientCapabilities] -> Value # toEncodingList :: [CompletionClientCapabilities] -> Encoding # omitField :: CompletionClientCapabilities -> Bool #
NFData CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods rnf :: CompletionClientCapabilities -> () #
Generic CompletionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities

Associated Types

type Rep CompletionClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities

type Rep CompletionClientCapabilities = D1 ('MetaData "CompletionClientCapabilities" "Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_completionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemOptions)) :*: S1 ('MetaSel ('Just "_completionItemKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemOptionsKind)))) :*: (S1 ('MetaSel ('Just "_insertTextMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextMode)) :*: (S1 ('MetaSel ('Just "_contextSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_completionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionListCapabilities))))))

Methods

from :: CompletionClientCapabilities -> Rep CompletionClientCapabilities x #

to :: Rep CompletionClientCapabilities x -> CompletionClientCapabilities #

Show CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods showsPrec :: Int -> CompletionClientCapabilities -> ShowS # show :: CompletionClientCapabilities -> String # showList :: [CompletionClientCapabilities] -> ShowS #
Eq CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods (==) :: CompletionClientCapabilities -> CompletionClientCapabilities -> Bool # (/=) :: CompletionClientCapabilities -> CompletionClientCapabilities -> Bool #
Ord CompletionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities

Methods

compare :: CompletionClientCapabilities -> CompletionClientCapabilities -> Ordering #

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

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

(>) :: CompletionClientCapabilities -> CompletionClientCapabilities -> Bool #

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

max :: CompletionClientCapabilities -> CompletionClientCapabilities -> CompletionClientCapabilities #

min :: CompletionClientCapabilities -> CompletionClientCapabilities -> CompletionClientCapabilities #

Hashable CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods hashWithSalt :: Int -> CompletionClientCapabilities -> Int # hash :: CompletionClientCapabilities -> Int #
Pretty CompletionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities Methods pretty :: CompletionClientCapabilities -> Doc ann # prettyList :: [CompletionClientCapabilities] -> Doc ann #
HasCompletion TextDocumentClientCapabilities (Maybe CompletionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completion :: Lens' TextDocumentClientCapabilities (Maybe CompletionClientCapabilities) #
HasCompletionItem CompletionClientCapabilities (Maybe ClientCompletionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItem :: Lens' CompletionClientCapabilities (Maybe ClientCompletionItemOptions) #
HasCompletionItemKind CompletionClientCapabilities (Maybe ClientCompletionItemOptionsKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItemKind :: Lens' CompletionClientCapabilities (Maybe ClientCompletionItemOptionsKind) #
HasCompletionList CompletionClientCapabilities (Maybe CompletionListCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionList :: Lens' CompletionClientCapabilities (Maybe CompletionListCapabilities) #
HasContextSupport CompletionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contextSupport :: Lens' CompletionClientCapabilities (Maybe Bool) #
HasDynamicRegistration CompletionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' CompletionClientCapabilities (Maybe Bool) #
HasInsertTextMode CompletionClientCapabilities (Maybe InsertTextMode) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextMode :: Lens' CompletionClientCapabilities (Maybe InsertTextMode) #
type Rep CompletionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities

type Rep CompletionClientCapabilities = D1 ('MetaData "CompletionClientCapabilities" "Language.LSP.Protocol.Internal.Types.CompletionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_completionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemOptions)) :*: S1 ('MetaSel ('Just "_completionItemKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientCompletionItemOptionsKind)))) :*: (S1 ('MetaSel ('Just "_insertTextMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextMode)) :*: (S1 ('MetaSel ('Just "_contextSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_completionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionListCapabilities))))))

data CompletionContext #

Contains additional information about the context in which a completion request is triggered.

Constructors

CompletionContext |

Fields

- _triggerKind :: CompletionTriggerKind

  How the completion was triggered.

- _triggerCharacter :: Maybe Text

  The trigger character (a single character) that has trigger code complete. Is undefined if `triggerKind !== CompletionTriggerKind.TriggerCharacter`

#### Instances

Instances details

FromJSON CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods parseJSON :: Value -> Parser CompletionContext # parseJSONList :: Value -> Parser [CompletionContext] # omittedField :: Maybe CompletionContext #
ToJSON CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods toJSON :: CompletionContext -> Value # toEncoding :: CompletionContext -> Encoding # toJSONList :: [CompletionContext] -> Value # toEncodingList :: [CompletionContext] -> Encoding # omitField :: CompletionContext -> Bool #
NFData CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods rnf :: CompletionContext -> () #
Generic CompletionContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionContext

Associated Types

type Rep CompletionContext |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionContext

type Rep CompletionContext = D1 ('MetaData "CompletionContext" "Language.LSP.Protocol.Internal.Types.CompletionContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_triggerKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CompletionTriggerKind) :*: S1 ('MetaSel ('Just "_triggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: CompletionContext -> Rep CompletionContext x #

to :: Rep CompletionContext x -> CompletionContext #

Show CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods showsPrec :: Int -> CompletionContext -> ShowS # show :: CompletionContext -> String # showList :: [CompletionContext] -> ShowS #
Eq CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods (==) :: CompletionContext -> CompletionContext -> Bool # (/=) :: CompletionContext -> CompletionContext -> Bool #
Ord CompletionContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionContext

Methods

compare :: CompletionContext -> CompletionContext -> Ordering #

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

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

(>) :: CompletionContext -> CompletionContext -> Bool #

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

max :: CompletionContext -> CompletionContext -> CompletionContext #

min :: CompletionContext -> CompletionContext -> CompletionContext #

Hashable CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods hashWithSalt :: Int -> CompletionContext -> Int # hash :: CompletionContext -> Int #
Pretty CompletionContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionContext Methods pretty :: CompletionContext -> Doc ann # prettyList :: [CompletionContext] -> Doc ann #
HasTriggerKind CompletionContext CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerKind :: Lens' CompletionContext CompletionTriggerKind #
HasContext CompletionParams (Maybe CompletionContext) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' CompletionParams (Maybe CompletionContext) #
HasTriggerCharacter CompletionContext (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerCharacter :: Lens' CompletionContext (Maybe Text) #
type Rep CompletionContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionContext

type Rep CompletionContext = D1 ('MetaData "CompletionContext" "Language.LSP.Protocol.Internal.Types.CompletionContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_triggerKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CompletionTriggerKind) :*: S1 ('MetaSel ('Just "_triggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data CompletionItemDefaults #

In many cases the items of an actual completion result share the same value for properties like `commitCharacters` or the range of a text edit. A completion list can therefore define item defaults which will be used if a completion item itself doesn't specify the value.

If a completion list specifies a default value and a completion item also specifies a corresponding value the one from the item is used.

Servers are only allowed to return default values if the client signals support for this via the `completionList.itemDefaults` capability.

Since: 3.17.0

Constructors

CompletionItemDefaults |

Fields

- _commitCharacters :: Maybe [Text]

  A default commit character set.

  Since: 3.17.0

- _editRange :: Maybe (Range |? EditRangeWithInsertReplace)

  A default edit range.

  Since: 3.17.0

- _insertTextFormat :: Maybe InsertTextFormat

  A default insert text format.

  Since: 3.17.0

- _insertTextMode :: Maybe InsertTextMode

  A default insert text mode.

  Since: 3.17.0

- _data_ :: Maybe Value

  A default data value.

  Since: 3.17.0

#### Instances

Instances details

FromJSON CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods parseJSON :: Value -> Parser CompletionItemDefaults # parseJSONList :: Value -> Parser [CompletionItemDefaults] # omittedField :: Maybe CompletionItemDefaults #
ToJSON CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods toJSON :: CompletionItemDefaults -> Value # toEncoding :: CompletionItemDefaults -> Encoding # toJSONList :: [CompletionItemDefaults] -> Value # toEncodingList :: [CompletionItemDefaults] -> Encoding # omitField :: CompletionItemDefaults -> Bool #
NFData CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods rnf :: CompletionItemDefaults -> () #
Generic CompletionItemDefaults # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults

Associated Types

type Rep CompletionItemDefaults |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults

type Rep CompletionItemDefaults = D1 ('MetaData "CompletionItemDefaults" "Language.LSP.Protocol.Internal.Types.CompletionItemDefaults" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemDefaults" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_commitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "_editRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Range |? EditRangeWithInsertReplace)))) :*: (S1 ('MetaSel ('Just "_insertTextFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextFormat)) :*: (S1 ('MetaSel ('Just "_insertTextMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextMode)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

Methods

from :: CompletionItemDefaults -> Rep CompletionItemDefaults x #

to :: Rep CompletionItemDefaults x -> CompletionItemDefaults #

Show CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods showsPrec :: Int -> CompletionItemDefaults -> ShowS # show :: CompletionItemDefaults -> String # showList :: [CompletionItemDefaults] -> ShowS #
Eq CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods (==) :: CompletionItemDefaults -> CompletionItemDefaults -> Bool # (/=) :: CompletionItemDefaults -> CompletionItemDefaults -> Bool #
Ord CompletionItemDefaults # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults

Methods

compare :: CompletionItemDefaults -> CompletionItemDefaults -> Ordering #

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

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

(>) :: CompletionItemDefaults -> CompletionItemDefaults -> Bool #

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

max :: CompletionItemDefaults -> CompletionItemDefaults -> CompletionItemDefaults #

min :: CompletionItemDefaults -> CompletionItemDefaults -> CompletionItemDefaults #

Hashable CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods hashWithSalt :: Int -> CompletionItemDefaults -> Int # hash :: CompletionItemDefaults -> Int #
Pretty CompletionItemDefaults # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults Methods pretty :: CompletionItemDefaults -> Doc ann # prettyList :: [CompletionItemDefaults] -> Doc ann #
HasCommitCharacters CompletionItemDefaults (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods commitCharacters :: Lens' CompletionItemDefaults (Maybe [Text]) #
HasData_ CompletionItemDefaults (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' CompletionItemDefaults (Maybe Value) #
HasEditRange CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods editRange :: Lens' CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) #
HasInsertTextFormat CompletionItemDefaults (Maybe InsertTextFormat) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextFormat :: Lens' CompletionItemDefaults (Maybe InsertTextFormat) #
HasInsertTextMode CompletionItemDefaults (Maybe InsertTextMode) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextMode :: Lens' CompletionItemDefaults (Maybe InsertTextMode) #
HasItemDefaults CompletionList (Maybe CompletionItemDefaults) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods itemDefaults :: Lens' CompletionList (Maybe CompletionItemDefaults) #
type Rep CompletionItemDefaults # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemDefaults

type Rep CompletionItemDefaults = D1 ('MetaData "CompletionItemDefaults" "Language.LSP.Protocol.Internal.Types.CompletionItemDefaults" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemDefaults" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_commitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "_editRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Range |? EditRangeWithInsertReplace)))) :*: (S1 ('MetaSel ('Just "_insertTextFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextFormat)) :*: (S1 ('MetaSel ('Just "_insertTextMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InsertTextMode)) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value))))))

data CompletionItemKind #

The kind of a completion entry.

Constructors

CompletionItemKind_Text |
CompletionItemKind_Method |
CompletionItemKind_Function |
CompletionItemKind_Constructor |
CompletionItemKind_Field |
CompletionItemKind_Variable |
CompletionItemKind_Class |
CompletionItemKind_Interface |
CompletionItemKind_Module |
CompletionItemKind_Property |
CompletionItemKind_Unit |
CompletionItemKind_Value |
CompletionItemKind_Enum |
CompletionItemKind_Keyword |
CompletionItemKind_Snippet |
CompletionItemKind_Color |
CompletionItemKind_File |
CompletionItemKind_Reference |
CompletionItemKind_Folder |
CompletionItemKind_EnumMember |
CompletionItemKind_Constant |
CompletionItemKind_Struct |
CompletionItemKind_Event |
CompletionItemKind_Operator |
CompletionItemKind_TypeParameter |

#### Instances

Instances details

FromJSON CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods parseJSON :: Value -> Parser CompletionItemKind # parseJSONList :: Value -> Parser [CompletionItemKind] # omittedField :: Maybe CompletionItemKind #
ToJSON CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods toJSON :: CompletionItemKind -> Value # toEncoding :: CompletionItemKind -> Encoding # toJSONList :: [CompletionItemKind] -> Value # toEncodingList :: [CompletionItemKind] -> Encoding # omitField :: CompletionItemKind -> Bool #
NFData CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods rnf :: CompletionItemKind -> () #
Generic CompletionItemKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind

Associated Types

type Rep CompletionItemKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind

type Rep CompletionItemKind = D1 ('MetaData "CompletionItemKind" "Language.LSP.Protocol.Internal.Types.CompletionItemKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((((C1 ('MetaCons "CompletionItemKind_Text" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Method" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Function" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CompletionItemKind_Constructor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Field" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Variable" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CompletionItemKind_Class" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Interface" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Module" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CompletionItemKind_Property" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Unit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Value" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "CompletionItemKind_Enum" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Keyword" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Snippet" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CompletionItemKind_Color" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_File" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Reference" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CompletionItemKind_Folder" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_EnumMember" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Constant" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CompletionItemKind_Struct" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Event" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CompletionItemKind_Operator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_TypeParameter" 'PrefixI 'False) (U1 :: Type -> Type))))))

Methods

from :: CompletionItemKind -> Rep CompletionItemKind x #

to :: Rep CompletionItemKind x -> CompletionItemKind #

Show CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods showsPrec :: Int -> CompletionItemKind -> ShowS # show :: CompletionItemKind -> String # showList :: [CompletionItemKind] -> ShowS #
Eq CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods (==) :: CompletionItemKind -> CompletionItemKind -> Bool # (/=) :: CompletionItemKind -> CompletionItemKind -> Bool #
Ord CompletionItemKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind

Methods

compare :: CompletionItemKind -> CompletionItemKind -> Ordering #

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

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

(>) :: CompletionItemKind -> CompletionItemKind -> Bool #

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

max :: CompletionItemKind -> CompletionItemKind -> CompletionItemKind #

min :: CompletionItemKind -> CompletionItemKind -> CompletionItemKind #

Hashable CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods hashWithSalt :: Int -> CompletionItemKind -> Int # hash :: CompletionItemKind -> Int #
LspEnum CompletionItemKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind

Associated Types

type EnumBaseType CompletionItemKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind type EnumBaseType CompletionItemKind = UInt

Methods

knownValues :: Set CompletionItemKind #

toEnumBaseType :: CompletionItemKind -> EnumBaseType CompletionItemKind #

fromEnumBaseType :: EnumBaseType CompletionItemKind -> Maybe CompletionItemKind #

Pretty CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind Methods pretty :: CompletionItemKind -> Doc ann # prettyList :: [CompletionItemKind] -> Doc ann #
HasKind CompletionItem (Maybe CompletionItemKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CompletionItem (Maybe CompletionItemKind) #
HasValueSet ClientCompletionItemOptionsKind (Maybe [CompletionItemKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientCompletionItemOptionsKind (Maybe [CompletionItemKind]) #
type Rep CompletionItemKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind

type Rep CompletionItemKind = D1 ('MetaData "CompletionItemKind" "Language.LSP.Protocol.Internal.Types.CompletionItemKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((((C1 ('MetaCons "CompletionItemKind_Text" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Method" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Function" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CompletionItemKind_Constructor" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Field" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Variable" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CompletionItemKind_Class" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Interface" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Module" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CompletionItemKind_Property" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Unit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Value" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "CompletionItemKind_Enum" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_Keyword" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Snippet" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "CompletionItemKind_Color" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_File" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Reference" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "CompletionItemKind_Folder" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionItemKind_EnumMember" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Constant" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "CompletionItemKind_Struct" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_Event" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CompletionItemKind_Operator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionItemKind_TypeParameter" 'PrefixI 'False) (U1 :: Type -> Type))))))

type EnumBaseType CompletionItemKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemKind type EnumBaseType CompletionItemKind = UInt

data CompletionItemLabelDetails #

Additional details for a completion item label.

Since: 3.17.0

Constructors

CompletionItemLabelDetails |

Fields

- _detail :: Maybe Text

  An optional string which is rendered less prominently directly after `label`, without any spacing. Should be used for function signatures and type annotations.

- _description :: Maybe Text

  An optional string which is rendered less prominently after `detail`. Should be used for fully qualified names and file paths.

#### Instances

Instances details

FromJSON CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods parseJSON :: Value -> Parser CompletionItemLabelDetails # parseJSONList :: Value -> Parser [CompletionItemLabelDetails] # omittedField :: Maybe CompletionItemLabelDetails #
ToJSON CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods toJSON :: CompletionItemLabelDetails -> Value # toEncoding :: CompletionItemLabelDetails -> Encoding # toJSONList :: [CompletionItemLabelDetails] -> Value # toEncodingList :: [CompletionItemLabelDetails] -> Encoding # omitField :: CompletionItemLabelDetails -> Bool #
NFData CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods rnf :: CompletionItemLabelDetails -> () #
Generic CompletionItemLabelDetails # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails

Associated Types

type Rep CompletionItemLabelDetails |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails

type Rep CompletionItemLabelDetails = D1 ('MetaData "CompletionItemLabelDetails" "Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemLabelDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: CompletionItemLabelDetails -> Rep CompletionItemLabelDetails x #

to :: Rep CompletionItemLabelDetails x -> CompletionItemLabelDetails #

Show CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods showsPrec :: Int -> CompletionItemLabelDetails -> ShowS # show :: CompletionItemLabelDetails -> String # showList :: [CompletionItemLabelDetails] -> ShowS #
Eq CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods (==) :: CompletionItemLabelDetails -> CompletionItemLabelDetails -> Bool # (/=) :: CompletionItemLabelDetails -> CompletionItemLabelDetails -> Bool #
Ord CompletionItemLabelDetails # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails

Methods

compare :: CompletionItemLabelDetails -> CompletionItemLabelDetails -> Ordering #

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

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

(>) :: CompletionItemLabelDetails -> CompletionItemLabelDetails -> Bool #

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

max :: CompletionItemLabelDetails -> CompletionItemLabelDetails -> CompletionItemLabelDetails #

min :: CompletionItemLabelDetails -> CompletionItemLabelDetails -> CompletionItemLabelDetails #

Hashable CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods hashWithSalt :: Int -> CompletionItemLabelDetails -> Int # hash :: CompletionItemLabelDetails -> Int #
Pretty CompletionItemLabelDetails # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails Methods pretty :: CompletionItemLabelDetails -> Doc ann # prettyList :: [CompletionItemLabelDetails] -> Doc ann #
HasDescription CompletionItemLabelDetails (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods description :: Lens' CompletionItemLabelDetails (Maybe Text) #
HasDetail CompletionItemLabelDetails (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods detail :: Lens' CompletionItemLabelDetails (Maybe Text) #
HasLabelDetails CompletionItem (Maybe CompletionItemLabelDetails) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods labelDetails :: Lens' CompletionItem (Maybe CompletionItemLabelDetails) #
type Rep CompletionItemLabelDetails # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails

type Rep CompletionItemLabelDetails = D1 ('MetaData "CompletionItemLabelDetails" "Language.LSP.Protocol.Internal.Types.CompletionItemLabelDetails" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemLabelDetails" 'PrefixI 'True) (S1 ('MetaSel ('Just "_detail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data CompletionItemTag #

Completion item tags are extra annotations that tweak the rendering of a completion item.

Since: 3.15.0

Constructors

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

#### Instances

Instances details

FromJSON CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods parseJSON :: Value -> Parser CompletionItemTag # parseJSONList :: Value -> Parser [CompletionItemTag] # omittedField :: Maybe CompletionItemTag #
ToJSON CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods toJSON :: CompletionItemTag -> Value # toEncoding :: CompletionItemTag -> Encoding # toJSONList :: [CompletionItemTag] -> Value # toEncodingList :: [CompletionItemTag] -> Encoding # omitField :: CompletionItemTag -> Bool #
NFData CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods rnf :: CompletionItemTag -> () #
Generic CompletionItemTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag

Associated Types

type Rep CompletionItemTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag type Rep CompletionItemTag = D1 ('MetaData "CompletionItemTag" "Language.LSP.Protocol.Internal.Types.CompletionItemTag" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemTag_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: CompletionItemTag -> Rep CompletionItemTag x #

to :: Rep CompletionItemTag x -> CompletionItemTag #

Show CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods showsPrec :: Int -> CompletionItemTag -> ShowS # show :: CompletionItemTag -> String # showList :: [CompletionItemTag] -> ShowS #
Eq CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods (==) :: CompletionItemTag -> CompletionItemTag -> Bool # (/=) :: CompletionItemTag -> CompletionItemTag -> Bool #
Ord CompletionItemTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag

Methods

compare :: CompletionItemTag -> CompletionItemTag -> Ordering #

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

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

(>) :: CompletionItemTag -> CompletionItemTag -> Bool #

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

max :: CompletionItemTag -> CompletionItemTag -> CompletionItemTag #

min :: CompletionItemTag -> CompletionItemTag -> CompletionItemTag #

Hashable CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods hashWithSalt :: Int -> CompletionItemTag -> Int # hash :: CompletionItemTag -> Int #
LspEnum CompletionItemTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag

Associated Types

type EnumBaseType CompletionItemTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag type EnumBaseType CompletionItemTag = UInt

Methods

knownValues :: Set CompletionItemTag #

toEnumBaseType :: CompletionItemTag -> EnumBaseType CompletionItemTag #

fromEnumBaseType :: EnumBaseType CompletionItemTag -> Maybe CompletionItemTag #

Pretty CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag Methods pretty :: CompletionItemTag -> Doc ann # prettyList :: [CompletionItemTag] -> Doc ann #
HasTags CompletionItem (Maybe [CompletionItemTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' CompletionItem (Maybe [CompletionItemTag]) #
HasValueSet CompletionItemTagOptions [CompletionItemTag] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' CompletionItemTagOptions [CompletionItemTag] #
type Rep CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag type Rep CompletionItemTag = D1 ('MetaData "CompletionItemTag" "Language.LSP.Protocol.Internal.Types.CompletionItemTag" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemTag_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type))
type EnumBaseType CompletionItemTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTag type EnumBaseType CompletionItemTag = UInt

data CompletionItemTagOptions #

@proposed

Since: 3.18.0

Constructors

CompletionItemTagOptions |

Fields

- _valueSet :: [CompletionItemTag]

  The tags supported by the client.

#### Instances

Instances details

FromJSON CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods parseJSON :: Value -> Parser CompletionItemTagOptions # parseJSONList :: Value -> Parser [CompletionItemTagOptions] # omittedField :: Maybe CompletionItemTagOptions #
ToJSON CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods toJSON :: CompletionItemTagOptions -> Value # toEncoding :: CompletionItemTagOptions -> Encoding # toJSONList :: [CompletionItemTagOptions] -> Value # toEncodingList :: [CompletionItemTagOptions] -> Encoding # omitField :: CompletionItemTagOptions -> Bool #
NFData CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods rnf :: CompletionItemTagOptions -> () #
Generic CompletionItemTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions

Associated Types

type Rep CompletionItemTagOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions

type Rep CompletionItemTagOptions = D1 ('MetaData "CompletionItemTagOptions" "Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemTagOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CompletionItemTag])))

Methods

from :: CompletionItemTagOptions -> Rep CompletionItemTagOptions x #

to :: Rep CompletionItemTagOptions x -> CompletionItemTagOptions #

Show CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods showsPrec :: Int -> CompletionItemTagOptions -> ShowS # show :: CompletionItemTagOptions -> String # showList :: [CompletionItemTagOptions] -> ShowS #
Eq CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods (==) :: CompletionItemTagOptions -> CompletionItemTagOptions -> Bool # (/=) :: CompletionItemTagOptions -> CompletionItemTagOptions -> Bool #
Ord CompletionItemTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions

Methods

compare :: CompletionItemTagOptions -> CompletionItemTagOptions -> Ordering #

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

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

(>) :: CompletionItemTagOptions -> CompletionItemTagOptions -> Bool #

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

max :: CompletionItemTagOptions -> CompletionItemTagOptions -> CompletionItemTagOptions #

min :: CompletionItemTagOptions -> CompletionItemTagOptions -> CompletionItemTagOptions #

Hashable CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods hashWithSalt :: Int -> CompletionItemTagOptions -> Int # hash :: CompletionItemTagOptions -> Int #
Pretty CompletionItemTagOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions Methods pretty :: CompletionItemTagOptions -> Doc ann # prettyList :: [CompletionItemTagOptions] -> Doc ann #
HasTagSupport ClientCompletionItemOptions (Maybe CompletionItemTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' ClientCompletionItemOptions (Maybe CompletionItemTagOptions) #
HasValueSet CompletionItemTagOptions [CompletionItemTag] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' CompletionItemTagOptions [CompletionItemTag] #
type Rep CompletionItemTagOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions

type Rep CompletionItemTagOptions = D1 ('MetaData "CompletionItemTagOptions" "Language.LSP.Protocol.Internal.Types.CompletionItemTagOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionItemTagOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_valueSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [CompletionItemTag])))

data CompletionListCapabilities #

The client supports the following `CompletionList` specific capabilities.

Since: 3.17.0

Constructors

CompletionListCapabilities |

Fields

- _itemDefaults :: Maybe [Text]

  The client supports the following itemDefaults on a completion list.

  The value lists the supported property names of the `itemDefaults` object. If omitted no properties are supported.

  Since: 3.17.0

#### Instances

Instances details

FromJSON CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods parseJSON :: Value -> Parser CompletionListCapabilities # parseJSONList :: Value -> Parser [CompletionListCapabilities] # omittedField :: Maybe CompletionListCapabilities #
ToJSON CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods toJSON :: CompletionListCapabilities -> Value # toEncoding :: CompletionListCapabilities -> Encoding # toJSONList :: [CompletionListCapabilities] -> Value # toEncodingList :: [CompletionListCapabilities] -> Encoding # omitField :: CompletionListCapabilities -> Bool #
NFData CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods rnf :: CompletionListCapabilities -> () #
Generic CompletionListCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities

Associated Types

type Rep CompletionListCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities

type Rep CompletionListCapabilities = D1 ('MetaData "CompletionListCapabilities" "Language.LSP.Protocol.Internal.Types.CompletionListCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionListCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_itemDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

Methods

from :: CompletionListCapabilities -> Rep CompletionListCapabilities x #

to :: Rep CompletionListCapabilities x -> CompletionListCapabilities #

Show CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods showsPrec :: Int -> CompletionListCapabilities -> ShowS # show :: CompletionListCapabilities -> String # showList :: [CompletionListCapabilities] -> ShowS #
Eq CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods (==) :: CompletionListCapabilities -> CompletionListCapabilities -> Bool # (/=) :: CompletionListCapabilities -> CompletionListCapabilities -> Bool #
Ord CompletionListCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities

Methods

compare :: CompletionListCapabilities -> CompletionListCapabilities -> Ordering #

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

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

(>) :: CompletionListCapabilities -> CompletionListCapabilities -> Bool #

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

max :: CompletionListCapabilities -> CompletionListCapabilities -> CompletionListCapabilities #

min :: CompletionListCapabilities -> CompletionListCapabilities -> CompletionListCapabilities #

Hashable CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods hashWithSalt :: Int -> CompletionListCapabilities -> Int # hash :: CompletionListCapabilities -> Int #
Pretty CompletionListCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities Methods pretty :: CompletionListCapabilities -> Doc ann # prettyList :: [CompletionListCapabilities] -> Doc ann #
HasCompletionList CompletionClientCapabilities (Maybe CompletionListCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionList :: Lens' CompletionClientCapabilities (Maybe CompletionListCapabilities) #
HasItemDefaults CompletionListCapabilities (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods itemDefaults :: Lens' CompletionListCapabilities (Maybe [Text]) #
type Rep CompletionListCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionListCapabilities

type Rep CompletionListCapabilities = D1 ('MetaData "CompletionListCapabilities" "Language.LSP.Protocol.Internal.Types.CompletionListCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionListCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_itemDefaults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

data CompletionOptions #

Completion options.

Constructors

CompletionOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _triggerCharacters :: Maybe [Text]

  Most tools trigger completion request automatically without explicitly requesting it using a keyboard shortcut (e.g. Ctrl+Space). Typically they do so when the user starts to type an identifier. For example if the user types `c` in a JavaScript file code complete will automatically pop up present `console` besides others as a completion item. Characters that make up identifiers don't need to be listed here.

  If code complete should automatically be trigger on characters not being valid inside an identifier (for example `.` in JavaScript) list them in `triggerCharacters`.

- _allCommitCharacters :: Maybe [Text]

  The list of all possible characters that commit a completion. This field can be used if clients don't support individual commit characters per completion item. See `ClientCapabilities.textDocument.completion.completionItem.commitCharactersSupport`

  If a server provides both `allCommitCharacters` and commit characters on an individual completion item the ones on the completion item win.

  Since: 3.2.0

- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for a completion item.

- _completionItem :: Maybe ServerCompletionItemOptions

  The server supports the following `CompletionItem` specific capabilities.

  Since: 3.17.0

#### Instances

Instances details

FromJSON CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods parseJSON :: Value -> Parser CompletionOptions # parseJSONList :: Value -> Parser [CompletionOptions] # omittedField :: Maybe CompletionOptions #
ToJSON CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods toJSON :: CompletionOptions -> Value # toEncoding :: CompletionOptions -> Encoding # toJSONList :: [CompletionOptions] -> Value # toEncodingList :: [CompletionOptions] -> Encoding # omitField :: CompletionOptions -> Bool #
NFData CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods rnf :: CompletionOptions -> () #
Generic CompletionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions

Associated Types

type Rep CompletionOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions

type Rep CompletionOptions = D1 ('MetaData "CompletionOptions" "Language.LSP.Protocol.Internal.Types.CompletionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "_allCommitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_completionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerCompletionItemOptions))))))

Methods

from :: CompletionOptions -> Rep CompletionOptions x #

to :: Rep CompletionOptions x -> CompletionOptions #

Show CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods showsPrec :: Int -> CompletionOptions -> ShowS # show :: CompletionOptions -> String # showList :: [CompletionOptions] -> ShowS #
Eq CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods (==) :: CompletionOptions -> CompletionOptions -> Bool # (/=) :: CompletionOptions -> CompletionOptions -> Bool #
Ord CompletionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions

Methods

compare :: CompletionOptions -> CompletionOptions -> Ordering #

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

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

(>) :: CompletionOptions -> CompletionOptions -> Bool #

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

max :: CompletionOptions -> CompletionOptions -> CompletionOptions #

min :: CompletionOptions -> CompletionOptions -> CompletionOptions #

Hashable CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods hashWithSalt :: Int -> CompletionOptions -> Int # hash :: CompletionOptions -> Int #
Pretty CompletionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions Methods pretty :: CompletionOptions -> Doc ann # prettyList :: [CompletionOptions] -> Doc ann #
HasAllCommitCharacters CompletionOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods allCommitCharacters :: Lens' CompletionOptions (Maybe [Text]) #
HasCompletionItem CompletionOptions (Maybe ServerCompletionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItem :: Lens' CompletionOptions (Maybe ServerCompletionItemOptions) #
HasCompletionProvider ServerCapabilities (Maybe CompletionOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionProvider :: Lens' ServerCapabilities (Maybe CompletionOptions) #
HasResolveProvider CompletionOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' CompletionOptions (Maybe Bool) #
HasTriggerCharacters CompletionOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerCharacters :: Lens' CompletionOptions (Maybe [Text]) #
HasWorkDoneProgress CompletionOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' CompletionOptions (Maybe Bool) #
type Rep CompletionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionOptions

type Rep CompletionOptions = D1 ('MetaData "CompletionOptions" "Language.LSP.Protocol.Internal.Types.CompletionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "_allCommitCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_completionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServerCompletionItemOptions))))))

data CompletionTriggerKind #

How a completion was triggered

Constructors

CompletionTriggerKind_Invoked | Completion was triggered by typing an identifier (24x7 code complete), manual invocation (e.g Ctrl+Space) or via API.
CompletionTriggerKind_TriggerCharacter | Completion was triggered by a trigger character specified by the `triggerCharacters` properties of the `CompletionRegistrationOptions`.
CompletionTriggerKind_TriggerForIncompleteCompletions | Completion was re-triggered as current completion list is incomplete

#### Instances

Instances details

FromJSON CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods parseJSON :: Value -> Parser CompletionTriggerKind # parseJSONList :: Value -> Parser [CompletionTriggerKind] # omittedField :: Maybe CompletionTriggerKind #
ToJSON CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods toJSON :: CompletionTriggerKind -> Value # toEncoding :: CompletionTriggerKind -> Encoding # toJSONList :: [CompletionTriggerKind] -> Value # toEncodingList :: [CompletionTriggerKind] -> Encoding # omitField :: CompletionTriggerKind -> Bool #
NFData CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods rnf :: CompletionTriggerKind -> () #
Generic CompletionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind

Associated Types

type Rep CompletionTriggerKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind

type Rep CompletionTriggerKind = D1 ('MetaData "CompletionTriggerKind" "Language.LSP.Protocol.Internal.Types.CompletionTriggerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionTriggerKind_Invoked" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionTriggerKind_TriggerCharacter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionTriggerKind_TriggerForIncompleteCompletions" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: CompletionTriggerKind -> Rep CompletionTriggerKind x #

to :: Rep CompletionTriggerKind x -> CompletionTriggerKind #

Show CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods showsPrec :: Int -> CompletionTriggerKind -> ShowS # show :: CompletionTriggerKind -> String # showList :: [CompletionTriggerKind] -> ShowS #
Eq CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods (==) :: CompletionTriggerKind -> CompletionTriggerKind -> Bool # (/=) :: CompletionTriggerKind -> CompletionTriggerKind -> Bool #
Ord CompletionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind

Methods

compare :: CompletionTriggerKind -> CompletionTriggerKind -> Ordering #

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

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

(>) :: CompletionTriggerKind -> CompletionTriggerKind -> Bool #

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

max :: CompletionTriggerKind -> CompletionTriggerKind -> CompletionTriggerKind #

min :: CompletionTriggerKind -> CompletionTriggerKind -> CompletionTriggerKind #

Hashable CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods hashWithSalt :: Int -> CompletionTriggerKind -> Int # hash :: CompletionTriggerKind -> Int #
LspEnum CompletionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind

Associated Types

type EnumBaseType CompletionTriggerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind type EnumBaseType CompletionTriggerKind = UInt

Methods

knownValues :: Set CompletionTriggerKind #

toEnumBaseType :: CompletionTriggerKind -> EnumBaseType CompletionTriggerKind #

fromEnumBaseType :: EnumBaseType CompletionTriggerKind -> Maybe CompletionTriggerKind #

Pretty CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind Methods pretty :: CompletionTriggerKind -> Doc ann # prettyList :: [CompletionTriggerKind] -> Doc ann #
HasTriggerKind CompletionContext CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerKind :: Lens' CompletionContext CompletionTriggerKind #
type Rep CompletionTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind

type Rep CompletionTriggerKind = D1 ('MetaData "CompletionTriggerKind" "Language.LSP.Protocol.Internal.Types.CompletionTriggerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CompletionTriggerKind_Invoked" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "CompletionTriggerKind_TriggerCharacter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CompletionTriggerKind_TriggerForIncompleteCompletions" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType CompletionTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CompletionTriggerKind type EnumBaseType CompletionTriggerKind = UInt

data ConfigurationItem #

Constructors

ConfigurationItem |

Fields

- _scopeUri :: Maybe Uri

  The scope to get the configuration section for.

- _section :: Maybe Text

  The configuration section asked for.

#### Instances

Instances details

FromJSON ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods parseJSON :: Value -> Parser ConfigurationItem # parseJSONList :: Value -> Parser [ConfigurationItem] # omittedField :: Maybe ConfigurationItem #
ToJSON ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods toJSON :: ConfigurationItem -> Value # toEncoding :: ConfigurationItem -> Encoding # toJSONList :: [ConfigurationItem] -> Value # toEncodingList :: [ConfigurationItem] -> Encoding # omitField :: ConfigurationItem -> Bool #
NFData ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods rnf :: ConfigurationItem -> () #
Generic ConfigurationItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem

Associated Types

type Rep ConfigurationItem |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem

type Rep ConfigurationItem = D1 ('MetaData "ConfigurationItem" "Language.LSP.Protocol.Internal.Types.ConfigurationItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ConfigurationItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scopeUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Uri)) :*: S1 ('MetaSel ('Just "_section") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: ConfigurationItem -> Rep ConfigurationItem x #

to :: Rep ConfigurationItem x -> ConfigurationItem #

Show ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods showsPrec :: Int -> ConfigurationItem -> ShowS # show :: ConfigurationItem -> String # showList :: [ConfigurationItem] -> ShowS #
Eq ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods (==) :: ConfigurationItem -> ConfigurationItem -> Bool # (/=) :: ConfigurationItem -> ConfigurationItem -> Bool #
Ord ConfigurationItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem

Methods

compare :: ConfigurationItem -> ConfigurationItem -> Ordering #

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

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

(>) :: ConfigurationItem -> ConfigurationItem -> Bool #

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

max :: ConfigurationItem -> ConfigurationItem -> ConfigurationItem #

min :: ConfigurationItem -> ConfigurationItem -> ConfigurationItem #

Hashable ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods hashWithSalt :: Int -> ConfigurationItem -> Int # hash :: ConfigurationItem -> Int #
Pretty ConfigurationItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem Methods pretty :: ConfigurationItem -> Doc ann # prettyList :: [ConfigurationItem] -> Doc ann #
HasItems ConfigurationParams [ConfigurationItem] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' ConfigurationParams [ConfigurationItem] #
HasScopeUri ConfigurationItem (Maybe Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scopeUri :: Lens' ConfigurationItem (Maybe Uri) #
HasSection ConfigurationItem (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods section :: Lens' ConfigurationItem (Maybe Text) #
type Rep ConfigurationItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ConfigurationItem

type Rep ConfigurationItem = D1 ('MetaData "ConfigurationItem" "Language.LSP.Protocol.Internal.Types.ConfigurationItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ConfigurationItem" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scopeUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Uri)) :*: S1 ('MetaSel ('Just "_section") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data CreateFile #

Create file operation.

Constructors

CreateFile |

Fields

- _annotationId :: Maybe ChangeAnnotationIdentifier

  An optional annotation identifier describing the operation.

  Since: 3.16.0

- _kind :: AString "create"

  A create

- _uri :: Uri

  The resource to create.

- _options :: Maybe CreateFileOptions

  Additional options

#### Instances

Instances details

FromJSON CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods parseJSON :: Value -> Parser CreateFile # parseJSONList :: Value -> Parser [CreateFile] # omittedField :: Maybe CreateFile #
ToJSON CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods toJSON :: CreateFile -> Value # toEncoding :: CreateFile -> Encoding # toJSONList :: [CreateFile] -> Value # toEncodingList :: [CreateFile] -> Encoding # omitField :: CreateFile -> Bool #
NFData CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods rnf :: CreateFile -> () #
Generic CreateFile # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFile

Associated Types

type Rep CreateFile |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFile

type Rep CreateFile = D1 ('MetaData "CreateFile" "Language.LSP.Protocol.Internal.Types.CreateFile" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CreateFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier)) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "create"))) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateFileOptions)))))

Methods

from :: CreateFile -> Rep CreateFile x #

to :: Rep CreateFile x -> CreateFile #

Show CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods showsPrec :: Int -> CreateFile -> ShowS # show :: CreateFile -> String # showList :: [CreateFile] -> ShowS #
Eq CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods (==) :: CreateFile -> CreateFile -> Bool # (/=) :: CreateFile -> CreateFile -> Bool #
Ord CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods compare :: CreateFile -> CreateFile -> Ordering # (<) :: CreateFile -> CreateFile -> Bool # (<=) :: CreateFile -> CreateFile -> Bool # (>) :: CreateFile -> CreateFile -> Bool # (>=) :: CreateFile -> CreateFile -> Bool # max :: CreateFile -> CreateFile -> CreateFile # min :: CreateFile -> CreateFile -> CreateFile #
Hashable CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods hashWithSalt :: Int -> CreateFile -> Int # hash :: CreateFile -> Int #
Pretty CreateFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFile Methods pretty :: CreateFile -> Doc ann # prettyList :: [CreateFile] -> Doc ann #
HasUri CreateFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' CreateFile Uri #
HasAnnotationId CreateFile (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' CreateFile (Maybe ChangeAnnotationIdentifier) #
HasDocumentChanges WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) #
HasKind CreateFile (AString "create") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CreateFile (AString "create") #
HasOptions CreateFile (Maybe CreateFileOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' CreateFile (Maybe CreateFileOptions) #
type Rep CreateFile # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFile

type Rep CreateFile = D1 ('MetaData "CreateFile" "Language.LSP.Protocol.Internal.Types.CreateFile" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CreateFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier)) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "create"))) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CreateFileOptions)))))

data CreateFileOptions #

Options to create a file.

Constructors

CreateFileOptions |

Fields

- _overwrite :: Maybe Bool

  Overwrite existing file. Overwrite wins over `ignoreIfExists`

- _ignoreIfExists :: Maybe Bool

  Ignore if exists.

#### Instances

Instances details

FromJSON CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods parseJSON :: Value -> Parser CreateFileOptions # parseJSONList :: Value -> Parser [CreateFileOptions] # omittedField :: Maybe CreateFileOptions #
ToJSON CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods toJSON :: CreateFileOptions -> Value # toEncoding :: CreateFileOptions -> Encoding # toJSONList :: [CreateFileOptions] -> Value # toEncodingList :: [CreateFileOptions] -> Encoding # omitField :: CreateFileOptions -> Bool #
NFData CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods rnf :: CreateFileOptions -> () #
Generic CreateFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions

Associated Types

type Rep CreateFileOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions

type Rep CreateFileOptions = D1 ('MetaData "CreateFileOptions" "Language.LSP.Protocol.Internal.Types.CreateFileOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CreateFileOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_overwrite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_ignoreIfExists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: CreateFileOptions -> Rep CreateFileOptions x #

to :: Rep CreateFileOptions x -> CreateFileOptions #

Show CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods showsPrec :: Int -> CreateFileOptions -> ShowS # show :: CreateFileOptions -> String # showList :: [CreateFileOptions] -> ShowS #
Eq CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods (==) :: CreateFileOptions -> CreateFileOptions -> Bool # (/=) :: CreateFileOptions -> CreateFileOptions -> Bool #
Ord CreateFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions

Methods

compare :: CreateFileOptions -> CreateFileOptions -> Ordering #

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

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

(>) :: CreateFileOptions -> CreateFileOptions -> Bool #

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

max :: CreateFileOptions -> CreateFileOptions -> CreateFileOptions #

min :: CreateFileOptions -> CreateFileOptions -> CreateFileOptions #

Hashable CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods hashWithSalt :: Int -> CreateFileOptions -> Int # hash :: CreateFileOptions -> Int #
Pretty CreateFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions Methods pretty :: CreateFileOptions -> Doc ann # prettyList :: [CreateFileOptions] -> Doc ann #
HasIgnoreIfExists CreateFileOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ignoreIfExists :: Lens' CreateFileOptions (Maybe Bool) #
HasOptions CreateFile (Maybe CreateFileOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' CreateFile (Maybe CreateFileOptions) #
HasOverwrite CreateFileOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods overwrite :: Lens' CreateFileOptions (Maybe Bool) #
type Rep CreateFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.CreateFileOptions

type Rep CreateFileOptions = D1 ('MetaData "CreateFileOptions" "Language.LSP.Protocol.Internal.Types.CreateFileOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "CreateFileOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_overwrite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_ignoreIfExists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DeclarationClientCapabilities #

Since: 3.14.0

Constructors

DeclarationClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether declaration supports dynamic registration. If this is set to `true` the client supports the new `DeclarationRegistrationOptions` return value for the corresponding server capability as well.

- _linkSupport :: Maybe Bool

  The client supports additional metadata in the form of declaration links.

#### Instances

Instances details

FromJSON DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods parseJSON :: Value -> Parser DeclarationClientCapabilities # parseJSONList :: Value -> Parser [DeclarationClientCapabilities] # omittedField :: Maybe DeclarationClientCapabilities #
ToJSON DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods toJSON :: DeclarationClientCapabilities -> Value # toEncoding :: DeclarationClientCapabilities -> Encoding # toJSONList :: [DeclarationClientCapabilities] -> Value # toEncodingList :: [DeclarationClientCapabilities] -> Encoding # omitField :: DeclarationClientCapabilities -> Bool #
NFData DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods rnf :: DeclarationClientCapabilities -> () #
Generic DeclarationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities

Associated Types

type Rep DeclarationClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities

type Rep DeclarationClientCapabilities = D1 ('MetaData "DeclarationClientCapabilities" "Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DeclarationClientCapabilities -> Rep DeclarationClientCapabilities x #

to :: Rep DeclarationClientCapabilities x -> DeclarationClientCapabilities #

Show DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods showsPrec :: Int -> DeclarationClientCapabilities -> ShowS # show :: DeclarationClientCapabilities -> String # showList :: [DeclarationClientCapabilities] -> ShowS #
Eq DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods (==) :: DeclarationClientCapabilities -> DeclarationClientCapabilities -> Bool # (/=) :: DeclarationClientCapabilities -> DeclarationClientCapabilities -> Bool #
Ord DeclarationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities

Methods

compare :: DeclarationClientCapabilities -> DeclarationClientCapabilities -> Ordering #

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

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

(>) :: DeclarationClientCapabilities -> DeclarationClientCapabilities -> Bool #

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

max :: DeclarationClientCapabilities -> DeclarationClientCapabilities -> DeclarationClientCapabilities #

min :: DeclarationClientCapabilities -> DeclarationClientCapabilities -> DeclarationClientCapabilities #

Hashable DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods hashWithSalt :: Int -> DeclarationClientCapabilities -> Int # hash :: DeclarationClientCapabilities -> Int #
Pretty DeclarationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities Methods pretty :: DeclarationClientCapabilities -> Doc ann # prettyList :: [DeclarationClientCapabilities] -> Doc ann #
HasDeclaration TextDocumentClientCapabilities (Maybe DeclarationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods declaration :: Lens' TextDocumentClientCapabilities (Maybe DeclarationClientCapabilities) #
HasDynamicRegistration DeclarationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DeclarationClientCapabilities (Maybe Bool) #
HasLinkSupport DeclarationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkSupport :: Lens' DeclarationClientCapabilities (Maybe Bool) #
type Rep DeclarationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities

type Rep DeclarationClientCapabilities = D1 ('MetaData "DeclarationClientCapabilities" "Language.LSP.Protocol.Internal.Types.DeclarationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DeclarationOptions #

Constructors

DeclarationOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods parseJSON :: Value -> Parser DeclarationOptions # parseJSONList :: Value -> Parser [DeclarationOptions] # omittedField :: Maybe DeclarationOptions #
ToJSON DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods toJSON :: DeclarationOptions -> Value # toEncoding :: DeclarationOptions -> Encoding # toJSONList :: [DeclarationOptions] -> Value # toEncodingList :: [DeclarationOptions] -> Encoding # omitField :: DeclarationOptions -> Bool #
NFData DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods rnf :: DeclarationOptions -> () #
Generic DeclarationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions

Associated Types

type Rep DeclarationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions

type Rep DeclarationOptions = D1 ('MetaData "DeclarationOptions" "Language.LSP.Protocol.Internal.Types.DeclarationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DeclarationOptions -> Rep DeclarationOptions x #

to :: Rep DeclarationOptions x -> DeclarationOptions #

Show DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods showsPrec :: Int -> DeclarationOptions -> ShowS # show :: DeclarationOptions -> String # showList :: [DeclarationOptions] -> ShowS #
Eq DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods (==) :: DeclarationOptions -> DeclarationOptions -> Bool # (/=) :: DeclarationOptions -> DeclarationOptions -> Bool #
Ord DeclarationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions

Methods

compare :: DeclarationOptions -> DeclarationOptions -> Ordering #

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

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

(>) :: DeclarationOptions -> DeclarationOptions -> Bool #

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

max :: DeclarationOptions -> DeclarationOptions -> DeclarationOptions #

min :: DeclarationOptions -> DeclarationOptions -> DeclarationOptions #

Hashable DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods hashWithSalt :: Int -> DeclarationOptions -> Int # hash :: DeclarationOptions -> Int #
Pretty DeclarationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions Methods pretty :: DeclarationOptions -> Doc ann # prettyList :: [DeclarationOptions] -> Doc ann #
HasDeclarationProvider ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods declarationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) #
HasWorkDoneProgress DeclarationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DeclarationOptions (Maybe Bool) #
type Rep DeclarationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeclarationOptions

type Rep DeclarationOptions = D1 ('MetaData "DeclarationOptions" "Language.LSP.Protocol.Internal.Types.DeclarationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeclarationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DefinitionClientCapabilities #

Client Capabilities for a `DefinitionRequest`.

Constructors

DefinitionClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether definition supports dynamic registration.

- _linkSupport :: Maybe Bool

  The client supports additional metadata in the form of definition links.

  Since: 3.14.0

#### Instances

Instances details

FromJSON DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods parseJSON :: Value -> Parser DefinitionClientCapabilities # parseJSONList :: Value -> Parser [DefinitionClientCapabilities] # omittedField :: Maybe DefinitionClientCapabilities #
ToJSON DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods toJSON :: DefinitionClientCapabilities -> Value # toEncoding :: DefinitionClientCapabilities -> Encoding # toJSONList :: [DefinitionClientCapabilities] -> Value # toEncodingList :: [DefinitionClientCapabilities] -> Encoding # omitField :: DefinitionClientCapabilities -> Bool #
NFData DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods rnf :: DefinitionClientCapabilities -> () #
Generic DefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities

Associated Types

type Rep DefinitionClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities

type Rep DefinitionClientCapabilities = D1 ('MetaData "DefinitionClientCapabilities" "Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DefinitionClientCapabilities -> Rep DefinitionClientCapabilities x #

to :: Rep DefinitionClientCapabilities x -> DefinitionClientCapabilities #

Show DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods showsPrec :: Int -> DefinitionClientCapabilities -> ShowS # show :: DefinitionClientCapabilities -> String # showList :: [DefinitionClientCapabilities] -> ShowS #
Eq DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods (==) :: DefinitionClientCapabilities -> DefinitionClientCapabilities -> Bool # (/=) :: DefinitionClientCapabilities -> DefinitionClientCapabilities -> Bool #
Ord DefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities

Methods

compare :: DefinitionClientCapabilities -> DefinitionClientCapabilities -> Ordering #

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

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

(>) :: DefinitionClientCapabilities -> DefinitionClientCapabilities -> Bool #

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

max :: DefinitionClientCapabilities -> DefinitionClientCapabilities -> DefinitionClientCapabilities #

min :: DefinitionClientCapabilities -> DefinitionClientCapabilities -> DefinitionClientCapabilities #

Hashable DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods hashWithSalt :: Int -> DefinitionClientCapabilities -> Int # hash :: DefinitionClientCapabilities -> Int #
Pretty DefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities Methods pretty :: DefinitionClientCapabilities -> Doc ann # prettyList :: [DefinitionClientCapabilities] -> Doc ann #
HasDefinition TextDocumentClientCapabilities (Maybe DefinitionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods definition :: Lens' TextDocumentClientCapabilities (Maybe DefinitionClientCapabilities) #
HasDynamicRegistration DefinitionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DefinitionClientCapabilities (Maybe Bool) #
HasLinkSupport DefinitionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkSupport :: Lens' DefinitionClientCapabilities (Maybe Bool) #
type Rep DefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities

type Rep DefinitionClientCapabilities = D1 ('MetaData "DefinitionClientCapabilities" "Language.LSP.Protocol.Internal.Types.DefinitionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DefinitionOptions #

Server Capabilities for a `DefinitionRequest`.

Constructors

DefinitionOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods parseJSON :: Value -> Parser DefinitionOptions # parseJSONList :: Value -> Parser [DefinitionOptions] # omittedField :: Maybe DefinitionOptions #
ToJSON DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods toJSON :: DefinitionOptions -> Value # toEncoding :: DefinitionOptions -> Encoding # toJSONList :: [DefinitionOptions] -> Value # toEncodingList :: [DefinitionOptions] -> Encoding # omitField :: DefinitionOptions -> Bool #
NFData DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods rnf :: DefinitionOptions -> () #
Generic DefinitionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions

Associated Types

type Rep DefinitionOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions

type Rep DefinitionOptions = D1 ('MetaData "DefinitionOptions" "Language.LSP.Protocol.Internal.Types.DefinitionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DefinitionOptions -> Rep DefinitionOptions x #

to :: Rep DefinitionOptions x -> DefinitionOptions #

Show DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods showsPrec :: Int -> DefinitionOptions -> ShowS # show :: DefinitionOptions -> String # showList :: [DefinitionOptions] -> ShowS #
Eq DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods (==) :: DefinitionOptions -> DefinitionOptions -> Bool # (/=) :: DefinitionOptions -> DefinitionOptions -> Bool #
Ord DefinitionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions

Methods

compare :: DefinitionOptions -> DefinitionOptions -> Ordering #

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

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

(>) :: DefinitionOptions -> DefinitionOptions -> Bool #

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

max :: DefinitionOptions -> DefinitionOptions -> DefinitionOptions #

min :: DefinitionOptions -> DefinitionOptions -> DefinitionOptions #

Hashable DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods hashWithSalt :: Int -> DefinitionOptions -> Int # hash :: DefinitionOptions -> Int #
Pretty DefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions Methods pretty :: DefinitionOptions -> Doc ann # prettyList :: [DefinitionOptions] -> Doc ann #
HasDefinitionProvider ServerCapabilities (Maybe (Bool |? DefinitionOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods definitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? DefinitionOptions)) #
HasWorkDoneProgress DefinitionOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DefinitionOptions (Maybe Bool) #
type Rep DefinitionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DefinitionOptions

type Rep DefinitionOptions = D1 ('MetaData "DefinitionOptions" "Language.LSP.Protocol.Internal.Types.DefinitionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DefinitionOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DeleteFile #

Delete file operation

Constructors

DeleteFile |

Fields

- _annotationId :: Maybe ChangeAnnotationIdentifier

  An optional annotation identifier describing the operation.

  Since: 3.16.0

- _kind :: AString "delete"

  A delete

- _uri :: Uri

  The file to delete.

- _options :: Maybe DeleteFileOptions

  Delete options.

#### Instances

Instances details

FromJSON DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods parseJSON :: Value -> Parser DeleteFile # parseJSONList :: Value -> Parser [DeleteFile] # omittedField :: Maybe DeleteFile #
ToJSON DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods toJSON :: DeleteFile -> Value # toEncoding :: DeleteFile -> Encoding # toJSONList :: [DeleteFile] -> Value # toEncodingList :: [DeleteFile] -> Encoding # omitField :: DeleteFile -> Bool #
NFData DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods rnf :: DeleteFile -> () #
Generic DeleteFile # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFile

Associated Types

type Rep DeleteFile |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFile

type Rep DeleteFile = D1 ('MetaData "DeleteFile" "Language.LSP.Protocol.Internal.Types.DeleteFile" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeleteFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier)) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "delete"))) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteFileOptions)))))

Methods

from :: DeleteFile -> Rep DeleteFile x #

to :: Rep DeleteFile x -> DeleteFile #

Show DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods showsPrec :: Int -> DeleteFile -> ShowS # show :: DeleteFile -> String # showList :: [DeleteFile] -> ShowS #
Eq DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods (==) :: DeleteFile -> DeleteFile -> Bool # (/=) :: DeleteFile -> DeleteFile -> Bool #
Ord DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods compare :: DeleteFile -> DeleteFile -> Ordering # (<) :: DeleteFile -> DeleteFile -> Bool # (<=) :: DeleteFile -> DeleteFile -> Bool # (>) :: DeleteFile -> DeleteFile -> Bool # (>=) :: DeleteFile -> DeleteFile -> Bool # max :: DeleteFile -> DeleteFile -> DeleteFile # min :: DeleteFile -> DeleteFile -> DeleteFile #
Hashable DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods hashWithSalt :: Int -> DeleteFile -> Int # hash :: DeleteFile -> Int #
Pretty DeleteFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFile Methods pretty :: DeleteFile -> Doc ann # prettyList :: [DeleteFile] -> Doc ann #
HasUri DeleteFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' DeleteFile Uri #
HasAnnotationId DeleteFile (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' DeleteFile (Maybe ChangeAnnotationIdentifier) #
HasDocumentChanges WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) #
HasKind DeleteFile (AString "delete") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' DeleteFile (AString "delete") #
HasOptions DeleteFile (Maybe DeleteFileOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DeleteFile (Maybe DeleteFileOptions) #
type Rep DeleteFile # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFile

type Rep DeleteFile = D1 ('MetaData "DeleteFile" "Language.LSP.Protocol.Internal.Types.DeleteFile" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeleteFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier)) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "delete"))) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeleteFileOptions)))))

data DeleteFileOptions #

Delete file options

Constructors

DeleteFileOptions |

Fields

- _recursive :: Maybe Bool

  Delete the content recursively if a folder is denoted.

- _ignoreIfNotExists :: Maybe Bool

  Ignore the operation if the file doesn't exist.

#### Instances

Instances details

FromJSON DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods parseJSON :: Value -> Parser DeleteFileOptions # parseJSONList :: Value -> Parser [DeleteFileOptions] # omittedField :: Maybe DeleteFileOptions #
ToJSON DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods toJSON :: DeleteFileOptions -> Value # toEncoding :: DeleteFileOptions -> Encoding # toJSONList :: [DeleteFileOptions] -> Value # toEncodingList :: [DeleteFileOptions] -> Encoding # omitField :: DeleteFileOptions -> Bool #
NFData DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods rnf :: DeleteFileOptions -> () #
Generic DeleteFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions

Associated Types

type Rep DeleteFileOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions

type Rep DeleteFileOptions = D1 ('MetaData "DeleteFileOptions" "Language.LSP.Protocol.Internal.Types.DeleteFileOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeleteFileOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_recursive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_ignoreIfNotExists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DeleteFileOptions -> Rep DeleteFileOptions x #

to :: Rep DeleteFileOptions x -> DeleteFileOptions #

Show DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods showsPrec :: Int -> DeleteFileOptions -> ShowS # show :: DeleteFileOptions -> String # showList :: [DeleteFileOptions] -> ShowS #
Eq DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods (==) :: DeleteFileOptions -> DeleteFileOptions -> Bool # (/=) :: DeleteFileOptions -> DeleteFileOptions -> Bool #
Ord DeleteFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions

Methods

compare :: DeleteFileOptions -> DeleteFileOptions -> Ordering #

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

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

(>) :: DeleteFileOptions -> DeleteFileOptions -> Bool #

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

max :: DeleteFileOptions -> DeleteFileOptions -> DeleteFileOptions #

min :: DeleteFileOptions -> DeleteFileOptions -> DeleteFileOptions #

Hashable DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods hashWithSalt :: Int -> DeleteFileOptions -> Int # hash :: DeleteFileOptions -> Int #
Pretty DeleteFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions Methods pretty :: DeleteFileOptions -> Doc ann # prettyList :: [DeleteFileOptions] -> Doc ann #
HasIgnoreIfNotExists DeleteFileOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ignoreIfNotExists :: Lens' DeleteFileOptions (Maybe Bool) #
HasOptions DeleteFile (Maybe DeleteFileOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DeleteFile (Maybe DeleteFileOptions) #
HasRecursive DeleteFileOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods recursive :: Lens' DeleteFileOptions (Maybe Bool) #
type Rep DeleteFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DeleteFileOptions

type Rep DeleteFileOptions = D1 ('MetaData "DeleteFileOptions" "Language.LSP.Protocol.Internal.Types.DeleteFileOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DeleteFileOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_recursive") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_ignoreIfNotExists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data Diagnostic #

Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a resource.

Constructors

Diagnostic |

Fields

- _range :: Range

  The range at which the message applies

- _severity :: Maybe DiagnosticSeverity

  The diagnostic's severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.

- _code :: Maybe (Int32 |? Text)

  The diagnostic's code, which usually appear in the user interface.

- _codeDescription :: Maybe CodeDescription

  An optional property to describe the error code. Requires the code field (above) to be present/not null.

  Since: 3.16.0

- _source :: Maybe Text

  A human-readable string describing the source of this diagnostic, e.g. `typescript` or 'super lint'. It usually appears in the user interface.

- _message :: Text

  The diagnostic's message. It usually appears in the user interface

- _tags :: Maybe [DiagnosticTag]

  Additional metadata about the diagnostic.

  Since: 3.15.0

- _relatedInformation :: Maybe [DiagnosticRelatedInformation]

  An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property.

- _data_ :: Maybe Value

  A data entry field that is preserved between a `textDocument/publishDiagnostics` notification and `textDocument/codeAction` request.

  Since: 3.16.0

#### Instances

Instances details

FromJSON Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods parseJSON :: Value -> Parser Diagnostic # parseJSONList :: Value -> Parser [Diagnostic] # omittedField :: Maybe Diagnostic #
ToJSON Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods toJSON :: Diagnostic -> Value # toEncoding :: Diagnostic -> Encoding # toJSONList :: [Diagnostic] -> Value # toEncodingList :: [Diagnostic] -> Encoding # omitField :: Diagnostic -> Bool #
NFData Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods rnf :: Diagnostic -> () #
Generic Diagnostic # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Diagnostic

Associated Types

type Rep Diagnostic |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Diagnostic

type Rep Diagnostic = D1 ('MetaData "Diagnostic" "Language.LSP.Protocol.Internal.Types.Diagnostic" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Diagnostic" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiagnosticSeverity))) :*: (S1 ('MetaSel ('Just "_code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Int32 |? Text))) :*: S1 ('MetaSel ('Just "_codeDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeDescription)))) :*: ((S1 ('MetaSel ('Just "_source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DiagnosticTag])) :*: (S1 ('MetaSel ('Just "_relatedInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DiagnosticRelatedInformation])) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))))

Methods

from :: Diagnostic -> Rep Diagnostic x #

to :: Rep Diagnostic x -> Diagnostic #

Show Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods showsPrec :: Int -> Diagnostic -> ShowS # show :: Diagnostic -> String # showList :: [Diagnostic] -> ShowS #
Eq Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods (==) :: Diagnostic -> Diagnostic -> Bool # (/=) :: Diagnostic -> Diagnostic -> Bool #
Ord Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods compare :: Diagnostic -> Diagnostic -> Ordering # (<) :: Diagnostic -> Diagnostic -> Bool # (<=) :: Diagnostic -> Diagnostic -> Bool # (>) :: Diagnostic -> Diagnostic -> Bool # (>=) :: Diagnostic -> Diagnostic -> Bool # max :: Diagnostic -> Diagnostic -> Diagnostic # min :: Diagnostic -> Diagnostic -> Diagnostic #
Hashable Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods hashWithSalt :: Int -> Diagnostic -> Int # hash :: Diagnostic -> Int #
Pretty Diagnostic # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Diagnostic Methods pretty :: Diagnostic -> Doc ann # prettyList :: [Diagnostic] -> Doc ann #
HasMessage Diagnostic Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' Diagnostic Text #
HasRange Diagnostic Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' Diagnostic Range #
HasCode Diagnostic (Maybe (Int32 |? Text)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods code :: Lens' Diagnostic (Maybe (Int32 |? Text)) #
HasCodeDescription Diagnostic (Maybe CodeDescription) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeDescription :: Lens' Diagnostic (Maybe CodeDescription) #
HasData_ Diagnostic (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' Diagnostic (Maybe Value) #
HasDiagnostics CodeAction (Maybe [Diagnostic]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' CodeAction (Maybe [Diagnostic]) #
HasDiagnostics CodeActionContext [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' CodeActionContext [Diagnostic] #
HasDiagnostics PublishDiagnosticsParams [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' PublishDiagnosticsParams [Diagnostic] #
HasItems FullDocumentDiagnosticReport [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' FullDocumentDiagnosticReport [Diagnostic] #
HasItems RelatedFullDocumentDiagnosticReport [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' RelatedFullDocumentDiagnosticReport [Diagnostic] #
HasItems WorkspaceFullDocumentDiagnosticReport [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' WorkspaceFullDocumentDiagnosticReport [Diagnostic] #
HasRelatedInformation Diagnostic (Maybe [DiagnosticRelatedInformation]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedInformation :: Lens' Diagnostic (Maybe [DiagnosticRelatedInformation]) #
HasSeverity Diagnostic (Maybe DiagnosticSeverity) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods severity :: Lens' Diagnostic (Maybe DiagnosticSeverity) #
HasSource Diagnostic (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods source :: Lens' Diagnostic (Maybe Text) #
HasTags Diagnostic (Maybe [DiagnosticTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' Diagnostic (Maybe [DiagnosticTag]) #
type Rep Diagnostic # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Diagnostic

type Rep Diagnostic = D1 ('MetaData "Diagnostic" "Language.LSP.Protocol.Internal.Types.Diagnostic" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Diagnostic" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_severity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiagnosticSeverity))) :*: (S1 ('MetaSel ('Just "_code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Int32 |? Text))) :*: S1 ('MetaSel ('Just "_codeDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeDescription)))) :*: ((S1 ('MetaSel ('Just "_source") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DiagnosticTag])) :*: (S1 ('MetaSel ('Just "_relatedInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DiagnosticRelatedInformation])) :*: S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))))

data DiagnosticClientCapabilities #

Client capabilities specific to diagnostic pull requests.

Since: 3.17.0

Constructors

DiagnosticClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

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

- _relatedDocumentSupport :: Maybe Bool

  Whether the clients supports related documents for document diagnostic pulls.

#### Instances

Instances details

FromJSON DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods parseJSON :: Value -> Parser DiagnosticClientCapabilities # parseJSONList :: Value -> Parser [DiagnosticClientCapabilities] # omittedField :: Maybe DiagnosticClientCapabilities #
ToJSON DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods toJSON :: DiagnosticClientCapabilities -> Value # toEncoding :: DiagnosticClientCapabilities -> Encoding # toJSONList :: [DiagnosticClientCapabilities] -> Value # toEncodingList :: [DiagnosticClientCapabilities] -> Encoding # omitField :: DiagnosticClientCapabilities -> Bool #
NFData DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods rnf :: DiagnosticClientCapabilities -> () #
Generic DiagnosticClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities

Associated Types

type Rep DiagnosticClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities

type Rep DiagnosticClientCapabilities = D1 ('MetaData "DiagnosticClientCapabilities" "Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_relatedDocumentSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DiagnosticClientCapabilities -> Rep DiagnosticClientCapabilities x #

to :: Rep DiagnosticClientCapabilities x -> DiagnosticClientCapabilities #

Show DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods showsPrec :: Int -> DiagnosticClientCapabilities -> ShowS # show :: DiagnosticClientCapabilities -> String # showList :: [DiagnosticClientCapabilities] -> ShowS #
Eq DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods (==) :: DiagnosticClientCapabilities -> DiagnosticClientCapabilities -> Bool # (/=) :: DiagnosticClientCapabilities -> DiagnosticClientCapabilities -> Bool #
Ord DiagnosticClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities

Methods

compare :: DiagnosticClientCapabilities -> DiagnosticClientCapabilities -> Ordering #

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

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

(>) :: DiagnosticClientCapabilities -> DiagnosticClientCapabilities -> Bool #

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

max :: DiagnosticClientCapabilities -> DiagnosticClientCapabilities -> DiagnosticClientCapabilities #

min :: DiagnosticClientCapabilities -> DiagnosticClientCapabilities -> DiagnosticClientCapabilities #

Hashable DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods hashWithSalt :: Int -> DiagnosticClientCapabilities -> Int # hash :: DiagnosticClientCapabilities -> Int #
Pretty DiagnosticClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities Methods pretty :: DiagnosticClientCapabilities -> Doc ann # prettyList :: [DiagnosticClientCapabilities] -> Doc ann #
HasDiagnostic TextDocumentClientCapabilities (Maybe DiagnosticClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostic :: Lens' TextDocumentClientCapabilities (Maybe DiagnosticClientCapabilities) #
HasDynamicRegistration DiagnosticClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DiagnosticClientCapabilities (Maybe Bool) #
HasRelatedDocumentSupport DiagnosticClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocumentSupport :: Lens' DiagnosticClientCapabilities (Maybe Bool) #
type Rep DiagnosticClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities

type Rep DiagnosticClientCapabilities = D1 ('MetaData "DiagnosticClientCapabilities" "Language.LSP.Protocol.Internal.Types.DiagnosticClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_relatedDocumentSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DiagnosticOptions #

Diagnostic options.

Since: 3.17.0

Constructors

DiagnosticOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _identifier :: Maybe Text

  An optional identifier under which the diagnostics are managed by the client.

- _interFileDependencies :: Bool

  Whether the language has inter file dependencies meaning that editing code in one file can result in a different diagnostic set in another file. Inter file dependencies are common for most programming languages and typically uncommon for linters.

- _workspaceDiagnostics :: Bool

  The server provides support for workspace diagnostics as well.

#### Instances

Instances details

FromJSON DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods parseJSON :: Value -> Parser DiagnosticOptions # parseJSONList :: Value -> Parser [DiagnosticOptions] # omittedField :: Maybe DiagnosticOptions #
ToJSON DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods toJSON :: DiagnosticOptions -> Value # toEncoding :: DiagnosticOptions -> Encoding # toJSONList :: [DiagnosticOptions] -> Value # toEncodingList :: [DiagnosticOptions] -> Encoding # omitField :: DiagnosticOptions -> Bool #
NFData DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods rnf :: DiagnosticOptions -> () #
Generic DiagnosticOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions

Associated Types

type Rep DiagnosticOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions

type Rep DiagnosticOptions = D1 ('MetaData "DiagnosticOptions" "Language.LSP.Protocol.Internal.Types.DiagnosticOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_interFileDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_workspaceDiagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

Methods

from :: DiagnosticOptions -> Rep DiagnosticOptions x #

to :: Rep DiagnosticOptions x -> DiagnosticOptions #

Show DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods showsPrec :: Int -> DiagnosticOptions -> ShowS # show :: DiagnosticOptions -> String # showList :: [DiagnosticOptions] -> ShowS #
Eq DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods (==) :: DiagnosticOptions -> DiagnosticOptions -> Bool # (/=) :: DiagnosticOptions -> DiagnosticOptions -> Bool #
Ord DiagnosticOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions

Methods

compare :: DiagnosticOptions -> DiagnosticOptions -> Ordering #

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

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

(>) :: DiagnosticOptions -> DiagnosticOptions -> Bool #

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

max :: DiagnosticOptions -> DiagnosticOptions -> DiagnosticOptions #

min :: DiagnosticOptions -> DiagnosticOptions -> DiagnosticOptions #

Hashable DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods hashWithSalt :: Int -> DiagnosticOptions -> Int # hash :: DiagnosticOptions -> Int #
Pretty DiagnosticOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions Methods pretty :: DiagnosticOptions -> Doc ann # prettyList :: [DiagnosticOptions] -> Doc ann #
HasInterFileDependencies DiagnosticOptions Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods interFileDependencies :: Lens' DiagnosticOptions Bool #
HasWorkspaceDiagnostics DiagnosticOptions Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceDiagnostics :: Lens' DiagnosticOptions Bool #
HasDiagnosticProvider ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnosticProvider :: Lens' ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) #
HasIdentifier DiagnosticOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods identifier :: Lens' DiagnosticOptions (Maybe Text) #
HasWorkDoneProgress DiagnosticOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DiagnosticOptions (Maybe Bool) #
type Rep DiagnosticOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticOptions

type Rep DiagnosticOptions = D1 ('MetaData "DiagnosticOptions" "Language.LSP.Protocol.Internal.Types.DiagnosticOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_interFileDependencies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_workspaceDiagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

data DiagnosticRelatedInformation #

Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.

Constructors

DiagnosticRelatedInformation |

Fields

- _location :: Location

  The location of this related diagnostic information.

- _message :: Text

  The message of this related diagnostic information.

#### Instances

Instances details

FromJSON DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods parseJSON :: Value -> Parser DiagnosticRelatedInformation # parseJSONList :: Value -> Parser [DiagnosticRelatedInformation] # omittedField :: Maybe DiagnosticRelatedInformation #
ToJSON DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods toJSON :: DiagnosticRelatedInformation -> Value # toEncoding :: DiagnosticRelatedInformation -> Encoding # toJSONList :: [DiagnosticRelatedInformation] -> Value # toEncodingList :: [DiagnosticRelatedInformation] -> Encoding # omitField :: DiagnosticRelatedInformation -> Bool #
NFData DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods rnf :: DiagnosticRelatedInformation -> () #
Generic DiagnosticRelatedInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation

Associated Types

type Rep DiagnosticRelatedInformation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation

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

Methods

from :: DiagnosticRelatedInformation -> Rep DiagnosticRelatedInformation x #

to :: Rep DiagnosticRelatedInformation x -> DiagnosticRelatedInformation #

Show DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods showsPrec :: Int -> DiagnosticRelatedInformation -> ShowS # show :: DiagnosticRelatedInformation -> String # showList :: [DiagnosticRelatedInformation] -> ShowS #
Eq DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods (==) :: DiagnosticRelatedInformation -> DiagnosticRelatedInformation -> Bool # (/=) :: DiagnosticRelatedInformation -> DiagnosticRelatedInformation -> Bool #
Ord DiagnosticRelatedInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation

Methods

compare :: DiagnosticRelatedInformation -> DiagnosticRelatedInformation -> Ordering #

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

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

(>) :: DiagnosticRelatedInformation -> DiagnosticRelatedInformation -> Bool #

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

max :: DiagnosticRelatedInformation -> DiagnosticRelatedInformation -> DiagnosticRelatedInformation #

min :: DiagnosticRelatedInformation -> DiagnosticRelatedInformation -> DiagnosticRelatedInformation #

Hashable DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods hashWithSalt :: Int -> DiagnosticRelatedInformation -> Int # hash :: DiagnosticRelatedInformation -> Int #
Pretty DiagnosticRelatedInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation Methods pretty :: DiagnosticRelatedInformation -> Doc ann # prettyList :: [DiagnosticRelatedInformation] -> Doc ann #
HasLocation DiagnosticRelatedInformation Location # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' DiagnosticRelatedInformation Location #
HasMessage DiagnosticRelatedInformation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods message :: Lens' DiagnosticRelatedInformation Text #
HasRelatedInformation Diagnostic (Maybe [DiagnosticRelatedInformation]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedInformation :: Lens' Diagnostic (Maybe [DiagnosticRelatedInformation]) #
type Rep DiagnosticRelatedInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticRelatedInformation

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

data DiagnosticSeverity #

The diagnostic's severity.

Constructors

DiagnosticSeverity_Error | Reports an error.
DiagnosticSeverity_Warning | Reports a warning.
DiagnosticSeverity_Information | Reports an information.
DiagnosticSeverity_Hint | Reports a hint.

#### Instances

Instances details

FromJSON DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods parseJSON :: Value -> Parser DiagnosticSeverity # parseJSONList :: Value -> Parser [DiagnosticSeverity] # omittedField :: Maybe DiagnosticSeverity #
ToJSON DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods toJSON :: DiagnosticSeverity -> Value # toEncoding :: DiagnosticSeverity -> Encoding # toJSONList :: [DiagnosticSeverity] -> Value # toEncodingList :: [DiagnosticSeverity] -> Encoding # omitField :: DiagnosticSeverity -> Bool #
NFData DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods rnf :: DiagnosticSeverity -> () #
Generic DiagnosticSeverity # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity

Associated Types

type Rep DiagnosticSeverity |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity

type Rep DiagnosticSeverity = D1 ('MetaData "DiagnosticSeverity" "Language.LSP.Protocol.Internal.Types.DiagnosticSeverity" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "DiagnosticSeverity_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiagnosticSeverity_Warning" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DiagnosticSeverity_Information" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiagnosticSeverity_Hint" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: DiagnosticSeverity -> Rep DiagnosticSeverity x #

to :: Rep DiagnosticSeverity x -> DiagnosticSeverity #

Show DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods showsPrec :: Int -> DiagnosticSeverity -> ShowS # show :: DiagnosticSeverity -> String # showList :: [DiagnosticSeverity] -> ShowS #
Eq DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods (==) :: DiagnosticSeverity -> DiagnosticSeverity -> Bool # (/=) :: DiagnosticSeverity -> DiagnosticSeverity -> Bool #
Ord DiagnosticSeverity # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity

Methods

compare :: DiagnosticSeverity -> DiagnosticSeverity -> Ordering #

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

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

(>) :: DiagnosticSeverity -> DiagnosticSeverity -> Bool #

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

max :: DiagnosticSeverity -> DiagnosticSeverity -> DiagnosticSeverity #

min :: DiagnosticSeverity -> DiagnosticSeverity -> DiagnosticSeverity #

Hashable DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods hashWithSalt :: Int -> DiagnosticSeverity -> Int # hash :: DiagnosticSeverity -> Int #
LspEnum DiagnosticSeverity # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity

Associated Types

type EnumBaseType DiagnosticSeverity |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity type EnumBaseType DiagnosticSeverity = UInt

Methods

knownValues :: Set DiagnosticSeverity #

toEnumBaseType :: DiagnosticSeverity -> EnumBaseType DiagnosticSeverity #

fromEnumBaseType :: EnumBaseType DiagnosticSeverity -> Maybe DiagnosticSeverity #

Pretty DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity Methods pretty :: DiagnosticSeverity -> Doc ann # prettyList :: [DiagnosticSeverity] -> Doc ann #
HasSeverity Diagnostic (Maybe DiagnosticSeverity) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods severity :: Lens' Diagnostic (Maybe DiagnosticSeverity) #
type Rep DiagnosticSeverity # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity

type Rep DiagnosticSeverity = D1 ('MetaData "DiagnosticSeverity" "Language.LSP.Protocol.Internal.Types.DiagnosticSeverity" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "DiagnosticSeverity_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiagnosticSeverity_Warning" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DiagnosticSeverity_Information" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiagnosticSeverity_Hint" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType DiagnosticSeverity # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticSeverity type EnumBaseType DiagnosticSeverity = UInt

data DiagnosticTag #

The diagnostic tags.

Since: 3.15.0

Constructors

DiagnosticTag_Unnecessary | Unused or unnecessary code. Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle.
DiagnosticTag_Deprecated | Deprecated or obsolete code. Clients are allowed to rendered diagnostics with this tag strike through.

#### Instances

Instances details

FromJSON DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods parseJSON :: Value -> Parser DiagnosticTag # parseJSONList :: Value -> Parser [DiagnosticTag] # omittedField :: Maybe DiagnosticTag #
ToJSON DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods toJSON :: DiagnosticTag -> Value # toEncoding :: DiagnosticTag -> Encoding # toJSONList :: [DiagnosticTag] -> Value # toEncodingList :: [DiagnosticTag] -> Encoding # omitField :: DiagnosticTag -> Bool #
NFData DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods rnf :: DiagnosticTag -> () #
Generic DiagnosticTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag

Associated Types

type Rep DiagnosticTag |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag

type Rep DiagnosticTag = D1 ('MetaData "DiagnosticTag" "Language.LSP.Protocol.Internal.Types.DiagnosticTag" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticTag_Unnecessary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiagnosticTag_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: DiagnosticTag -> Rep DiagnosticTag x #

to :: Rep DiagnosticTag x -> DiagnosticTag #

Show DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods showsPrec :: Int -> DiagnosticTag -> ShowS # show :: DiagnosticTag -> String # showList :: [DiagnosticTag] -> ShowS #
Eq DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods (==) :: DiagnosticTag -> DiagnosticTag -> Bool # (/=) :: DiagnosticTag -> DiagnosticTag -> Bool #
Ord DiagnosticTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag

Methods

compare :: DiagnosticTag -> DiagnosticTag -> Ordering #

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

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

(>) :: DiagnosticTag -> DiagnosticTag -> Bool #

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

max :: DiagnosticTag -> DiagnosticTag -> DiagnosticTag #

min :: DiagnosticTag -> DiagnosticTag -> DiagnosticTag #

Hashable DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods hashWithSalt :: Int -> DiagnosticTag -> Int # hash :: DiagnosticTag -> Int #
LspEnum DiagnosticTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag

Associated Types

type EnumBaseType DiagnosticTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag type EnumBaseType DiagnosticTag = UInt

Methods

knownValues :: Set DiagnosticTag #

toEnumBaseType :: DiagnosticTag -> EnumBaseType DiagnosticTag #

fromEnumBaseType :: EnumBaseType DiagnosticTag -> Maybe DiagnosticTag #

Pretty DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag Methods pretty :: DiagnosticTag -> Doc ann # prettyList :: [DiagnosticTag] -> Doc ann #
HasTags Diagnostic (Maybe [DiagnosticTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' Diagnostic (Maybe [DiagnosticTag]) #
HasValueSet ClientDiagnosticsTagOptions [DiagnosticTag] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientDiagnosticsTagOptions [DiagnosticTag] #
type Rep DiagnosticTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag

type Rep DiagnosticTag = D1 ('MetaData "DiagnosticTag" "Language.LSP.Protocol.Internal.Types.DiagnosticTag" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticTag_Unnecessary" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiagnosticTag_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType DiagnosticTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticTag type EnumBaseType DiagnosticTag = UInt

data DiagnosticWorkspaceClientCapabilities #

Workspace client capabilities specific to diagnostic pull requests.

Since: 3.17.0

Constructors

DiagnosticWorkspaceClientCapabilities |

Fields

- _refreshSupport :: Maybe Bool

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

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

#### Instances

Instances details

FromJSON DiagnosticWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities Methods parseJSON :: Value -> Parser DiagnosticWorkspaceClientCapabilities # parseJSONList :: Value -> Parser [DiagnosticWorkspaceClientCapabilities] # omittedField :: Maybe DiagnosticWorkspaceClientCapabilities #
ToJSON DiagnosticWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities

Methods

toJSON :: DiagnosticWorkspaceClientCapabilities -> Value #

toEncoding :: DiagnosticWorkspaceClientCapabilities -> Encoding #

toJSONList :: [DiagnosticWorkspaceClientCapabilities] -> Value #

toEncodingList :: [DiagnosticWorkspaceClientCapabilities] -> Encoding #

omitField :: DiagnosticWorkspaceClientCapabilities -> Bool #

NFData DiagnosticWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities Methods rnf :: DiagnosticWorkspaceClientCapabilities -> () #
Generic DiagnosticWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities

Associated Types

type Rep DiagnosticWorkspaceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities

type Rep DiagnosticWorkspaceClientCapabilities = D1 ('MetaData "DiagnosticWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DiagnosticWorkspaceClientCapabilities -> Rep DiagnosticWorkspaceClientCapabilities x #

to :: Rep DiagnosticWorkspaceClientCapabilities x -> DiagnosticWorkspaceClientCapabilities #

Show DiagnosticWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities Methods showsPrec :: Int -> DiagnosticWorkspaceClientCapabilities -> ShowS # show :: DiagnosticWorkspaceClientCapabilities -> String # showList :: [DiagnosticWorkspaceClientCapabilities] -> ShowS #
Eq DiagnosticWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities Methods (==) :: DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities -> Bool # (/=) :: DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities -> Bool #
Ord DiagnosticWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities

Methods

compare :: DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities -> Ordering #

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

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

(>) :: DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities -> Bool #

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

max :: DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities #

min :: DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities -> DiagnosticWorkspaceClientCapabilities #

Hashable DiagnosticWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities Methods hashWithSalt :: Int -> DiagnosticWorkspaceClientCapabilities -> Int # hash :: DiagnosticWorkspaceClientCapabilities -> Int #
Pretty DiagnosticWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities Methods pretty :: DiagnosticWorkspaceClientCapabilities -> Doc ann # prettyList :: [DiagnosticWorkspaceClientCapabilities] -> Doc ann #
HasDiagnostics WorkspaceClientCapabilities (Maybe DiagnosticWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' WorkspaceClientCapabilities (Maybe DiagnosticWorkspaceClientCapabilities) #
HasRefreshSupport DiagnosticWorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods refreshSupport :: Lens' DiagnosticWorkspaceClientCapabilities (Maybe Bool) #
type Rep DiagnosticWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities

type Rep DiagnosticWorkspaceClientCapabilities = D1 ('MetaData "DiagnosticWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.DiagnosticWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DiagnosticWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DidChangeConfigurationClientCapabilities #

Constructors

DidChangeConfigurationClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Did change configuration notification supports dynamic registration.

#### Instances

Instances details

FromJSON DidChangeConfigurationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities Methods parseJSON :: Value -> Parser DidChangeConfigurationClientCapabilities # parseJSONList :: Value -> Parser [DidChangeConfigurationClientCapabilities] # omittedField :: Maybe DidChangeConfigurationClientCapabilities #
ToJSON DidChangeConfigurationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities

Methods

toJSON :: DidChangeConfigurationClientCapabilities -> Value #

toEncoding :: DidChangeConfigurationClientCapabilities -> Encoding #

toJSONList :: [DidChangeConfigurationClientCapabilities] -> Value #

toEncodingList :: [DidChangeConfigurationClientCapabilities] -> Encoding #

omitField :: DidChangeConfigurationClientCapabilities -> Bool #

NFData DidChangeConfigurationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities Methods rnf :: DidChangeConfigurationClientCapabilities -> () #
Generic DidChangeConfigurationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities

Associated Types

type Rep DidChangeConfigurationClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities

type Rep DidChangeConfigurationClientCapabilities = D1 ('MetaData "DidChangeConfigurationClientCapabilities" "Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeConfigurationClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DidChangeConfigurationClientCapabilities -> Rep DidChangeConfigurationClientCapabilities x #

to :: Rep DidChangeConfigurationClientCapabilities x -> DidChangeConfigurationClientCapabilities #

Show DidChangeConfigurationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities Methods showsPrec :: Int -> DidChangeConfigurationClientCapabilities -> ShowS # show :: DidChangeConfigurationClientCapabilities -> String # showList :: [DidChangeConfigurationClientCapabilities] -> ShowS #
Eq DidChangeConfigurationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities Methods (==) :: DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities -> Bool # (/=) :: DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities -> Bool #
Ord DidChangeConfigurationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities

Methods

compare :: DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities -> Ordering #

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

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

(>) :: DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities -> Bool #

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

max :: DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities #

min :: DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities -> DidChangeConfigurationClientCapabilities #

Hashable DidChangeConfigurationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities Methods hashWithSalt :: Int -> DidChangeConfigurationClientCapabilities -> Int # hash :: DidChangeConfigurationClientCapabilities -> Int #
Pretty DidChangeConfigurationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities Methods pretty :: DidChangeConfigurationClientCapabilities -> Doc ann # prettyList :: [DidChangeConfigurationClientCapabilities] -> Doc ann #
HasDidChangeConfiguration WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didChangeConfiguration :: Lens' WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) #
HasDynamicRegistration DidChangeConfigurationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DidChangeConfigurationClientCapabilities (Maybe Bool) #
type Rep DidChangeConfigurationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities

type Rep DidChangeConfigurationClientCapabilities = D1 ('MetaData "DidChangeConfigurationClientCapabilities" "Language.LSP.Protocol.Internal.Types.DidChangeConfigurationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeConfigurationClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DidChangeWatchedFilesClientCapabilities #

Constructors

DidChangeWatchedFilesClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Did change watched files notification supports dynamic registration. Please note that the current protocol doesn't support static configuration for file changes from the server side.

- _relativePatternSupport :: Maybe Bool

  Whether the client has support for `RelativePattern` or not.

  Since: 3.17.0

#### Instances

Instances details

FromJSON DidChangeWatchedFilesClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities Methods parseJSON :: Value -> Parser DidChangeWatchedFilesClientCapabilities # parseJSONList :: Value -> Parser [DidChangeWatchedFilesClientCapabilities] # omittedField :: Maybe DidChangeWatchedFilesClientCapabilities #
ToJSON DidChangeWatchedFilesClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities

Methods

toJSON :: DidChangeWatchedFilesClientCapabilities -> Value #

toEncoding :: DidChangeWatchedFilesClientCapabilities -> Encoding #

toJSONList :: [DidChangeWatchedFilesClientCapabilities] -> Value #

toEncodingList :: [DidChangeWatchedFilesClientCapabilities] -> Encoding #

omitField :: DidChangeWatchedFilesClientCapabilities -> Bool #

NFData DidChangeWatchedFilesClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities Methods rnf :: DidChangeWatchedFilesClientCapabilities -> () #
Generic DidChangeWatchedFilesClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities

Associated Types

type Rep DidChangeWatchedFilesClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities

type Rep DidChangeWatchedFilesClientCapabilities = D1 ('MetaData "DidChangeWatchedFilesClientCapabilities" "Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWatchedFilesClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_relativePatternSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DidChangeWatchedFilesClientCapabilities -> Rep DidChangeWatchedFilesClientCapabilities x #

to :: Rep DidChangeWatchedFilesClientCapabilities x -> DidChangeWatchedFilesClientCapabilities #

Show DidChangeWatchedFilesClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities Methods showsPrec :: Int -> DidChangeWatchedFilesClientCapabilities -> ShowS # show :: DidChangeWatchedFilesClientCapabilities -> String # showList :: [DidChangeWatchedFilesClientCapabilities] -> ShowS #
Eq DidChangeWatchedFilesClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities Methods (==) :: DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities -> Bool # (/=) :: DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities -> Bool #
Ord DidChangeWatchedFilesClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities

Methods

compare :: DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities -> Ordering #

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

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

(>) :: DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities -> Bool #

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

max :: DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities #

min :: DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities -> DidChangeWatchedFilesClientCapabilities #

Hashable DidChangeWatchedFilesClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities Methods hashWithSalt :: Int -> DidChangeWatchedFilesClientCapabilities -> Int # hash :: DidChangeWatchedFilesClientCapabilities -> Int #
Pretty DidChangeWatchedFilesClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities Methods pretty :: DidChangeWatchedFilesClientCapabilities -> Doc ann # prettyList :: [DidChangeWatchedFilesClientCapabilities] -> Doc ann #
HasDidChangeWatchedFiles WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didChangeWatchedFiles :: Lens' WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) #
HasDynamicRegistration DidChangeWatchedFilesClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DidChangeWatchedFilesClientCapabilities (Maybe Bool) #
HasRelativePatternSupport DidChangeWatchedFilesClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relativePatternSupport :: Lens' DidChangeWatchedFilesClientCapabilities (Maybe Bool) #
type Rep DidChangeWatchedFilesClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities

type Rep DidChangeWatchedFilesClientCapabilities = D1 ('MetaData "DidChangeWatchedFilesClientCapabilities" "Language.LSP.Protocol.Internal.Types.DidChangeWatchedFilesClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DidChangeWatchedFilesClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_relativePatternSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentColorClientCapabilities #

Constructors

DocumentColorClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

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

#### Instances

Instances details

FromJSON DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods parseJSON :: Value -> Parser DocumentColorClientCapabilities # parseJSONList :: Value -> Parser [DocumentColorClientCapabilities] # omittedField :: Maybe DocumentColorClientCapabilities #
ToJSON DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods toJSON :: DocumentColorClientCapabilities -> Value # toEncoding :: DocumentColorClientCapabilities -> Encoding # toJSONList :: [DocumentColorClientCapabilities] -> Value # toEncodingList :: [DocumentColorClientCapabilities] -> Encoding # omitField :: DocumentColorClientCapabilities -> Bool #
NFData DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods rnf :: DocumentColorClientCapabilities -> () #
Generic DocumentColorClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities

Associated Types

type Rep DocumentColorClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities

type Rep DocumentColorClientCapabilities = D1 ('MetaData "DocumentColorClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentColorClientCapabilities -> Rep DocumentColorClientCapabilities x #

to :: Rep DocumentColorClientCapabilities x -> DocumentColorClientCapabilities #

Show DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods showsPrec :: Int -> DocumentColorClientCapabilities -> ShowS # show :: DocumentColorClientCapabilities -> String # showList :: [DocumentColorClientCapabilities] -> ShowS #
Eq DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods (==) :: DocumentColorClientCapabilities -> DocumentColorClientCapabilities -> Bool # (/=) :: DocumentColorClientCapabilities -> DocumentColorClientCapabilities -> Bool #
Ord DocumentColorClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities

Methods

compare :: DocumentColorClientCapabilities -> DocumentColorClientCapabilities -> Ordering #

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

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

(>) :: DocumentColorClientCapabilities -> DocumentColorClientCapabilities -> Bool #

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

max :: DocumentColorClientCapabilities -> DocumentColorClientCapabilities -> DocumentColorClientCapabilities #

min :: DocumentColorClientCapabilities -> DocumentColorClientCapabilities -> DocumentColorClientCapabilities #

Hashable DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods hashWithSalt :: Int -> DocumentColorClientCapabilities -> Int # hash :: DocumentColorClientCapabilities -> Int #
Pretty DocumentColorClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities Methods pretty :: DocumentColorClientCapabilities -> Doc ann # prettyList :: [DocumentColorClientCapabilities] -> Doc ann #
HasColorProvider TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods colorProvider :: Lens' TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) #
HasDynamicRegistration DocumentColorClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentColorClientCapabilities (Maybe Bool) #
type Rep DocumentColorClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities

type Rep DocumentColorClientCapabilities = D1 ('MetaData "DocumentColorClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentColorClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentColorOptions #

Constructors

DocumentColorOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods parseJSON :: Value -> Parser DocumentColorOptions # parseJSONList :: Value -> Parser [DocumentColorOptions] # omittedField :: Maybe DocumentColorOptions #
ToJSON DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods toJSON :: DocumentColorOptions -> Value # toEncoding :: DocumentColorOptions -> Encoding # toJSONList :: [DocumentColorOptions] -> Value # toEncodingList :: [DocumentColorOptions] -> Encoding # omitField :: DocumentColorOptions -> Bool #
NFData DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods rnf :: DocumentColorOptions -> () #
Generic DocumentColorOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions

Associated Types

type Rep DocumentColorOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions

type Rep DocumentColorOptions = D1 ('MetaData "DocumentColorOptions" "Language.LSP.Protocol.Internal.Types.DocumentColorOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentColorOptions -> Rep DocumentColorOptions x #

to :: Rep DocumentColorOptions x -> DocumentColorOptions #

Show DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods showsPrec :: Int -> DocumentColorOptions -> ShowS # show :: DocumentColorOptions -> String # showList :: [DocumentColorOptions] -> ShowS #
Eq DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods (==) :: DocumentColorOptions -> DocumentColorOptions -> Bool # (/=) :: DocumentColorOptions -> DocumentColorOptions -> Bool #
Ord DocumentColorOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions

Methods

compare :: DocumentColorOptions -> DocumentColorOptions -> Ordering #

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

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

(>) :: DocumentColorOptions -> DocumentColorOptions -> Bool #

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

max :: DocumentColorOptions -> DocumentColorOptions -> DocumentColorOptions #

min :: DocumentColorOptions -> DocumentColorOptions -> DocumentColorOptions #

Hashable DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods hashWithSalt :: Int -> DocumentColorOptions -> Int # hash :: DocumentColorOptions -> Int #
Pretty DocumentColorOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions Methods pretty :: DocumentColorOptions -> Doc ann # prettyList :: [DocumentColorOptions] -> Doc ann #
HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods colorProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) #
HasWorkDoneProgress DocumentColorOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentColorOptions (Maybe Bool) #
type Rep DocumentColorOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentColorOptions

type Rep DocumentColorOptions = D1 ('MetaData "DocumentColorOptions" "Language.LSP.Protocol.Internal.Types.DocumentColorOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentColorOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentDiagnosticReportKind #

The document diagnostic report kinds.

Since: 3.17.0

Constructors

DocumentDiagnosticReportKind_Full | A diagnostic report with a full set of problems.
DocumentDiagnosticReportKind_Unchanged | A report indicating that the last returned report is still accurate.

#### Instances

Instances details

FromJSON DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods parseJSON :: Value -> Parser DocumentDiagnosticReportKind # parseJSONList :: Value -> Parser [DocumentDiagnosticReportKind] # omittedField :: Maybe DocumentDiagnosticReportKind #
ToJSON DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods toJSON :: DocumentDiagnosticReportKind -> Value # toEncoding :: DocumentDiagnosticReportKind -> Encoding # toJSONList :: [DocumentDiagnosticReportKind] -> Value # toEncodingList :: [DocumentDiagnosticReportKind] -> Encoding # omitField :: DocumentDiagnosticReportKind -> Bool #
NFData DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods rnf :: DocumentDiagnosticReportKind -> () #
Generic DocumentDiagnosticReportKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind

Associated Types

type Rep DocumentDiagnosticReportKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind

type Rep DocumentDiagnosticReportKind = D1 ('MetaData "DocumentDiagnosticReportKind" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentDiagnosticReportKind_Full" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DocumentDiagnosticReportKind_Unchanged" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: DocumentDiagnosticReportKind -> Rep DocumentDiagnosticReportKind x #

to :: Rep DocumentDiagnosticReportKind x -> DocumentDiagnosticReportKind #

Show DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods showsPrec :: Int -> DocumentDiagnosticReportKind -> ShowS # show :: DocumentDiagnosticReportKind -> String # showList :: [DocumentDiagnosticReportKind] -> ShowS #
Eq DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods (==) :: DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind -> Bool # (/=) :: DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind -> Bool #
Ord DocumentDiagnosticReportKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind

Methods

compare :: DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind -> Ordering #

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

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

(>) :: DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind -> Bool #

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

max :: DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind #

min :: DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind -> DocumentDiagnosticReportKind #

Hashable DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods hashWithSalt :: Int -> DocumentDiagnosticReportKind -> Int # hash :: DocumentDiagnosticReportKind -> Int #
LspEnum DocumentDiagnosticReportKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind

Associated Types

type EnumBaseType DocumentDiagnosticReportKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind type EnumBaseType DocumentDiagnosticReportKind = Text

Methods

knownValues :: Set DocumentDiagnosticReportKind #

toEnumBaseType :: DocumentDiagnosticReportKind -> EnumBaseType DocumentDiagnosticReportKind #

fromEnumBaseType :: EnumBaseType DocumentDiagnosticReportKind -> Maybe DocumentDiagnosticReportKind #

Pretty DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind Methods pretty :: DocumentDiagnosticReportKind -> Doc ann # prettyList :: [DocumentDiagnosticReportKind] -> Doc ann #
type Rep DocumentDiagnosticReportKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind

type Rep DocumentDiagnosticReportKind = D1 ('MetaData "DocumentDiagnosticReportKind" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentDiagnosticReportKind_Full" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DocumentDiagnosticReportKind_Unchanged" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType DocumentDiagnosticReportKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportKind type EnumBaseType DocumentDiagnosticReportKind = Text

data DocumentDiagnosticReportPartialResult #

A partial result for a document diagnostic report.

Since: 3.17.0

Constructors

DocumentDiagnosticReportPartialResult |

Fields

- _relatedDocuments :: Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)

#### Instances

Instances details

FromJSON DocumentDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult Methods parseJSON :: Value -> Parser DocumentDiagnosticReportPartialResult # parseJSONList :: Value -> Parser [DocumentDiagnosticReportPartialResult] # omittedField :: Maybe DocumentDiagnosticReportPartialResult #
ToJSON DocumentDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult

Methods

toJSON :: DocumentDiagnosticReportPartialResult -> Value #

toEncoding :: DocumentDiagnosticReportPartialResult -> Encoding #

toJSONList :: [DocumentDiagnosticReportPartialResult] -> Value #

toEncodingList :: [DocumentDiagnosticReportPartialResult] -> Encoding #

omitField :: DocumentDiagnosticReportPartialResult -> Bool #

NFData DocumentDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult Methods rnf :: DocumentDiagnosticReportPartialResult -> () #
Generic DocumentDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult

Associated Types

type Rep DocumentDiagnosticReportPartialResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult

type Rep DocumentDiagnosticReportPartialResult = D1 ('MetaData "DocumentDiagnosticReportPartialResult" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentDiagnosticReportPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_relatedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)))))

Methods

from :: DocumentDiagnosticReportPartialResult -> Rep DocumentDiagnosticReportPartialResult x #

to :: Rep DocumentDiagnosticReportPartialResult x -> DocumentDiagnosticReportPartialResult #

Show DocumentDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult Methods showsPrec :: Int -> DocumentDiagnosticReportPartialResult -> ShowS # show :: DocumentDiagnosticReportPartialResult -> String # showList :: [DocumentDiagnosticReportPartialResult] -> ShowS #
Eq DocumentDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult Methods (==) :: DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult -> Bool # (/=) :: DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult -> Bool #
Ord DocumentDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult

Methods

compare :: DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult -> Ordering #

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

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

(>) :: DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult -> Bool #

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

max :: DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult #

min :: DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult -> DocumentDiagnosticReportPartialResult #

Hashable DocumentDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult Methods hashWithSalt :: Int -> DocumentDiagnosticReportPartialResult -> Int # hash :: DocumentDiagnosticReportPartialResult -> Int #
Pretty DocumentDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult Methods pretty :: DocumentDiagnosticReportPartialResult -> Doc ann # prettyList :: [DocumentDiagnosticReportPartialResult] -> Doc ann #
HasRelatedDocuments DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) #
type Rep DocumentDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult

type Rep DocumentDiagnosticReportPartialResult = D1 ('MetaData "DocumentDiagnosticReportPartialResult" "Language.LSP.Protocol.Internal.Types.DocumentDiagnosticReportPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentDiagnosticReportPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_relatedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)))))

newtype DocumentFilter #

A document filter describes a top level text document or a notebook cell document.

@since 3.17.0 - proposed support for NotebookCellTextDocumentFilter.

Constructors

DocumentFilter (TextDocumentFilter |? NotebookCellTextDocumentFilter) |

#### Instances

Instances details

FromJSON DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods parseJSON :: Value -> Parser DocumentFilter # parseJSONList :: Value -> Parser [DocumentFilter] # omittedField :: Maybe DocumentFilter #
ToJSON DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods toJSON :: DocumentFilter -> Value # toEncoding :: DocumentFilter -> Encoding # toJSONList :: [DocumentFilter] -> Value # toEncodingList :: [DocumentFilter] -> Encoding # omitField :: DocumentFilter -> Bool #
NFData DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods rnf :: DocumentFilter -> () #
Generic DocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter

Associated Types

type Rep DocumentFilter |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter

type Rep DocumentFilter = D1 ('MetaData "DocumentFilter" "Language.LSP.Protocol.Internal.Types.DocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DocumentFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TextDocumentFilter |? NotebookCellTextDocumentFilter))))

Methods

from :: DocumentFilter -> Rep DocumentFilter x #

to :: Rep DocumentFilter x -> DocumentFilter #

Show DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods showsPrec :: Int -> DocumentFilter -> ShowS # show :: DocumentFilter -> String # showList :: [DocumentFilter] -> ShowS #
Eq DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods (==) :: DocumentFilter -> DocumentFilter -> Bool # (/=) :: DocumentFilter -> DocumentFilter -> Bool #
Ord DocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter

Methods

compare :: DocumentFilter -> DocumentFilter -> Ordering #

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

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

(>) :: DocumentFilter -> DocumentFilter -> Bool #

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

max :: DocumentFilter -> DocumentFilter -> DocumentFilter #

min :: DocumentFilter -> DocumentFilter -> DocumentFilter #

Hashable DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods hashWithSalt :: Int -> DocumentFilter -> Int # hash :: DocumentFilter -> Int #
Pretty DocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter Methods pretty :: DocumentFilter -> Doc ann # prettyList :: [DocumentFilter] -> Doc ann #
type Rep DocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFilter

type Rep DocumentFilter = D1 ('MetaData "DocumentFilter" "Language.LSP.Protocol.Internal.Types.DocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "DocumentFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TextDocumentFilter |? NotebookCellTextDocumentFilter))))

data DocumentFormattingClientCapabilities #

Client capabilities of a `DocumentFormattingRequest`.

Constructors

DocumentFormattingClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether formatting supports dynamic registration.

#### Instances

Instances details

FromJSON DocumentFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities Methods parseJSON :: Value -> Parser DocumentFormattingClientCapabilities # parseJSONList :: Value -> Parser [DocumentFormattingClientCapabilities] # omittedField :: Maybe DocumentFormattingClientCapabilities #
ToJSON DocumentFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities

Methods

toJSON :: DocumentFormattingClientCapabilities -> Value #

toEncoding :: DocumentFormattingClientCapabilities -> Encoding #

toJSONList :: [DocumentFormattingClientCapabilities] -> Value #

toEncodingList :: [DocumentFormattingClientCapabilities] -> Encoding #

omitField :: DocumentFormattingClientCapabilities -> Bool #

NFData DocumentFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities Methods rnf :: DocumentFormattingClientCapabilities -> () #
Generic DocumentFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities

Associated Types

type Rep DocumentFormattingClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities

type Rep DocumentFormattingClientCapabilities = D1 ('MetaData "DocumentFormattingClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentFormattingClientCapabilities -> Rep DocumentFormattingClientCapabilities x #

to :: Rep DocumentFormattingClientCapabilities x -> DocumentFormattingClientCapabilities #

Show DocumentFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities Methods showsPrec :: Int -> DocumentFormattingClientCapabilities -> ShowS # show :: DocumentFormattingClientCapabilities -> String # showList :: [DocumentFormattingClientCapabilities] -> ShowS #
Eq DocumentFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities Methods (==) :: DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities -> Bool # (/=) :: DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities -> Bool #
Ord DocumentFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities

Methods

compare :: DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities -> Ordering #

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

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

(>) :: DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities -> Bool #

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

max :: DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities #

min :: DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities -> DocumentFormattingClientCapabilities #

Hashable DocumentFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities Methods hashWithSalt :: Int -> DocumentFormattingClientCapabilities -> Int # hash :: DocumentFormattingClientCapabilities -> Int #
Pretty DocumentFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities Methods pretty :: DocumentFormattingClientCapabilities -> Doc ann # prettyList :: [DocumentFormattingClientCapabilities] -> Doc ann #
HasDynamicRegistration DocumentFormattingClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentFormattingClientCapabilities (Maybe Bool) #
HasFormatting TextDocumentClientCapabilities (Maybe DocumentFormattingClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods formatting :: Lens' TextDocumentClientCapabilities (Maybe DocumentFormattingClientCapabilities) #
type Rep DocumentFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities

type Rep DocumentFormattingClientCapabilities = D1 ('MetaData "DocumentFormattingClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentFormattingClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentFormattingOptions #

Provider options for a `DocumentFormattingRequest`.

Constructors

DocumentFormattingOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods parseJSON :: Value -> Parser DocumentFormattingOptions # parseJSONList :: Value -> Parser [DocumentFormattingOptions] # omittedField :: Maybe DocumentFormattingOptions #
ToJSON DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods toJSON :: DocumentFormattingOptions -> Value # toEncoding :: DocumentFormattingOptions -> Encoding # toJSONList :: [DocumentFormattingOptions] -> Value # toEncodingList :: [DocumentFormattingOptions] -> Encoding # omitField :: DocumentFormattingOptions -> Bool #
NFData DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods rnf :: DocumentFormattingOptions -> () #
Generic DocumentFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions

Associated Types

type Rep DocumentFormattingOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions

type Rep DocumentFormattingOptions = D1 ('MetaData "DocumentFormattingOptions" "Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentFormattingOptions -> Rep DocumentFormattingOptions x #

to :: Rep DocumentFormattingOptions x -> DocumentFormattingOptions #

Show DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods showsPrec :: Int -> DocumentFormattingOptions -> ShowS # show :: DocumentFormattingOptions -> String # showList :: [DocumentFormattingOptions] -> ShowS #
Eq DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods (==) :: DocumentFormattingOptions -> DocumentFormattingOptions -> Bool # (/=) :: DocumentFormattingOptions -> DocumentFormattingOptions -> Bool #
Ord DocumentFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions

Methods

compare :: DocumentFormattingOptions -> DocumentFormattingOptions -> Ordering #

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

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

(>) :: DocumentFormattingOptions -> DocumentFormattingOptions -> Bool #

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

max :: DocumentFormattingOptions -> DocumentFormattingOptions -> DocumentFormattingOptions #

min :: DocumentFormattingOptions -> DocumentFormattingOptions -> DocumentFormattingOptions #

Hashable DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods hashWithSalt :: Int -> DocumentFormattingOptions -> Int # hash :: DocumentFormattingOptions -> Int #
Pretty DocumentFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions Methods pretty :: DocumentFormattingOptions -> Doc ann # prettyList :: [DocumentFormattingOptions] -> Doc ann #
HasDocumentFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentFormattingProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) #
HasWorkDoneProgress DocumentFormattingOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentFormattingOptions (Maybe Bool) #
type Rep DocumentFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions

type Rep DocumentFormattingOptions = D1 ('MetaData "DocumentFormattingOptions" "Language.LSP.Protocol.Internal.Types.DocumentFormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentFormattingOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentHighlightClientCapabilities #

Client Capabilities for a `DocumentHighlightRequest`.

Constructors

DocumentHighlightClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether document highlight supports dynamic registration.

#### Instances

Instances details

FromJSON DocumentHighlightClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities Methods parseJSON :: Value -> Parser DocumentHighlightClientCapabilities # parseJSONList :: Value -> Parser [DocumentHighlightClientCapabilities] # omittedField :: Maybe DocumentHighlightClientCapabilities #
ToJSON DocumentHighlightClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities

Methods

toJSON :: DocumentHighlightClientCapabilities -> Value #

toEncoding :: DocumentHighlightClientCapabilities -> Encoding #

toJSONList :: [DocumentHighlightClientCapabilities] -> Value #

toEncodingList :: [DocumentHighlightClientCapabilities] -> Encoding #

omitField :: DocumentHighlightClientCapabilities -> Bool #

NFData DocumentHighlightClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities Methods rnf :: DocumentHighlightClientCapabilities -> () #
Generic DocumentHighlightClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities

Associated Types

type Rep DocumentHighlightClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities

type Rep DocumentHighlightClientCapabilities = D1 ('MetaData "DocumentHighlightClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentHighlightClientCapabilities -> Rep DocumentHighlightClientCapabilities x #

to :: Rep DocumentHighlightClientCapabilities x -> DocumentHighlightClientCapabilities #

Show DocumentHighlightClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities Methods showsPrec :: Int -> DocumentHighlightClientCapabilities -> ShowS # show :: DocumentHighlightClientCapabilities -> String # showList :: [DocumentHighlightClientCapabilities] -> ShowS #
Eq DocumentHighlightClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities Methods (==) :: DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities -> Bool # (/=) :: DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities -> Bool #
Ord DocumentHighlightClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities

Methods

compare :: DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities -> Ordering #

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

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

(>) :: DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities -> Bool #

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

max :: DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities #

min :: DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities -> DocumentHighlightClientCapabilities #

Hashable DocumentHighlightClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities Methods hashWithSalt :: Int -> DocumentHighlightClientCapabilities -> Int # hash :: DocumentHighlightClientCapabilities -> Int #
Pretty DocumentHighlightClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities Methods pretty :: DocumentHighlightClientCapabilities -> Doc ann # prettyList :: [DocumentHighlightClientCapabilities] -> Doc ann #
HasDocumentHighlight TextDocumentClientCapabilities (Maybe DocumentHighlightClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentHighlight :: Lens' TextDocumentClientCapabilities (Maybe DocumentHighlightClientCapabilities) #
HasDynamicRegistration DocumentHighlightClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentHighlightClientCapabilities (Maybe Bool) #
type Rep DocumentHighlightClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities

type Rep DocumentHighlightClientCapabilities = D1 ('MetaData "DocumentHighlightClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentHighlightClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentHighlightKind #

A document highlight kind.

Constructors

DocumentHighlightKind_Text | A textual occurrence.
DocumentHighlightKind_Read | Read-access of a symbol, like reading a variable.
DocumentHighlightKind_Write | Write-access of a symbol, like writing to a variable.

#### Instances

Instances details

FromJSON DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods parseJSON :: Value -> Parser DocumentHighlightKind # parseJSONList :: Value -> Parser [DocumentHighlightKind] # omittedField :: Maybe DocumentHighlightKind #
ToJSON DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods toJSON :: DocumentHighlightKind -> Value # toEncoding :: DocumentHighlightKind -> Encoding # toJSONList :: [DocumentHighlightKind] -> Value # toEncodingList :: [DocumentHighlightKind] -> Encoding # omitField :: DocumentHighlightKind -> Bool #
NFData DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods rnf :: DocumentHighlightKind -> () #
Generic DocumentHighlightKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind

Associated Types

type Rep DocumentHighlightKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind

type Rep DocumentHighlightKind = D1 ('MetaData "DocumentHighlightKind" "Language.LSP.Protocol.Internal.Types.DocumentHighlightKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightKind_Text" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DocumentHighlightKind_Read" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DocumentHighlightKind_Write" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: DocumentHighlightKind -> Rep DocumentHighlightKind x #

to :: Rep DocumentHighlightKind x -> DocumentHighlightKind #

Show DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods showsPrec :: Int -> DocumentHighlightKind -> ShowS # show :: DocumentHighlightKind -> String # showList :: [DocumentHighlightKind] -> ShowS #
Eq DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods (==) :: DocumentHighlightKind -> DocumentHighlightKind -> Bool # (/=) :: DocumentHighlightKind -> DocumentHighlightKind -> Bool #
Ord DocumentHighlightKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind

Methods

compare :: DocumentHighlightKind -> DocumentHighlightKind -> Ordering #

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

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

(>) :: DocumentHighlightKind -> DocumentHighlightKind -> Bool #

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

max :: DocumentHighlightKind -> DocumentHighlightKind -> DocumentHighlightKind #

min :: DocumentHighlightKind -> DocumentHighlightKind -> DocumentHighlightKind #

Hashable DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods hashWithSalt :: Int -> DocumentHighlightKind -> Int # hash :: DocumentHighlightKind -> Int #
LspEnum DocumentHighlightKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind

Associated Types

type EnumBaseType DocumentHighlightKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind type EnumBaseType DocumentHighlightKind = UInt

Methods

knownValues :: Set DocumentHighlightKind #

toEnumBaseType :: DocumentHighlightKind -> EnumBaseType DocumentHighlightKind #

fromEnumBaseType :: EnumBaseType DocumentHighlightKind -> Maybe DocumentHighlightKind #

Pretty DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind Methods pretty :: DocumentHighlightKind -> Doc ann # prettyList :: [DocumentHighlightKind] -> Doc ann #
HasKind DocumentHighlight (Maybe DocumentHighlightKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' DocumentHighlight (Maybe DocumentHighlightKind) #
type Rep DocumentHighlightKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind

type Rep DocumentHighlightKind = D1 ('MetaData "DocumentHighlightKind" "Language.LSP.Protocol.Internal.Types.DocumentHighlightKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightKind_Text" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DocumentHighlightKind_Read" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DocumentHighlightKind_Write" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType DocumentHighlightKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightKind type EnumBaseType DocumentHighlightKind = UInt

data DocumentHighlightOptions #

Provider options for a `DocumentHighlightRequest`.

Constructors

DocumentHighlightOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods parseJSON :: Value -> Parser DocumentHighlightOptions # parseJSONList :: Value -> Parser [DocumentHighlightOptions] # omittedField :: Maybe DocumentHighlightOptions #
ToJSON DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods toJSON :: DocumentHighlightOptions -> Value # toEncoding :: DocumentHighlightOptions -> Encoding # toJSONList :: [DocumentHighlightOptions] -> Value # toEncodingList :: [DocumentHighlightOptions] -> Encoding # omitField :: DocumentHighlightOptions -> Bool #
NFData DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods rnf :: DocumentHighlightOptions -> () #
Generic DocumentHighlightOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions

Associated Types

type Rep DocumentHighlightOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions

type Rep DocumentHighlightOptions = D1 ('MetaData "DocumentHighlightOptions" "Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentHighlightOptions -> Rep DocumentHighlightOptions x #

to :: Rep DocumentHighlightOptions x -> DocumentHighlightOptions #

Show DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods showsPrec :: Int -> DocumentHighlightOptions -> ShowS # show :: DocumentHighlightOptions -> String # showList :: [DocumentHighlightOptions] -> ShowS #
Eq DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods (==) :: DocumentHighlightOptions -> DocumentHighlightOptions -> Bool # (/=) :: DocumentHighlightOptions -> DocumentHighlightOptions -> Bool #
Ord DocumentHighlightOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions

Methods

compare :: DocumentHighlightOptions -> DocumentHighlightOptions -> Ordering #

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

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

(>) :: DocumentHighlightOptions -> DocumentHighlightOptions -> Bool #

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

max :: DocumentHighlightOptions -> DocumentHighlightOptions -> DocumentHighlightOptions #

min :: DocumentHighlightOptions -> DocumentHighlightOptions -> DocumentHighlightOptions #

Hashable DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods hashWithSalt :: Int -> DocumentHighlightOptions -> Int # hash :: DocumentHighlightOptions -> Int #
Pretty DocumentHighlightOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions Methods pretty :: DocumentHighlightOptions -> Doc ann # prettyList :: [DocumentHighlightOptions] -> Doc ann #
HasDocumentHighlightProvider ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentHighlightProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) #
HasWorkDoneProgress DocumentHighlightOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentHighlightOptions (Maybe Bool) #
type Rep DocumentHighlightOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions

type Rep DocumentHighlightOptions = D1 ('MetaData "DocumentHighlightOptions" "Language.LSP.Protocol.Internal.Types.DocumentHighlightOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentHighlightOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentLinkClientCapabilities #

The client capabilities of a `DocumentLinkRequest`.

Constructors

DocumentLinkClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether document link supports dynamic registration.

- _tooltipSupport :: Maybe Bool

  Whether the client supports the `tooltip` property on `DocumentLink`.

  Since: 3.15.0

#### Instances

Instances details

FromJSON DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods parseJSON :: Value -> Parser DocumentLinkClientCapabilities # parseJSONList :: Value -> Parser [DocumentLinkClientCapabilities] # omittedField :: Maybe DocumentLinkClientCapabilities #
ToJSON DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods toJSON :: DocumentLinkClientCapabilities -> Value # toEncoding :: DocumentLinkClientCapabilities -> Encoding # toJSONList :: [DocumentLinkClientCapabilities] -> Value # toEncodingList :: [DocumentLinkClientCapabilities] -> Encoding # omitField :: DocumentLinkClientCapabilities -> Bool #
NFData DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods rnf :: DocumentLinkClientCapabilities -> () #
Generic DocumentLinkClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities

Associated Types

type Rep DocumentLinkClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities

type Rep DocumentLinkClientCapabilities = D1 ('MetaData "DocumentLinkClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_tooltipSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentLinkClientCapabilities -> Rep DocumentLinkClientCapabilities x #

to :: Rep DocumentLinkClientCapabilities x -> DocumentLinkClientCapabilities #

Show DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods showsPrec :: Int -> DocumentLinkClientCapabilities -> ShowS # show :: DocumentLinkClientCapabilities -> String # showList :: [DocumentLinkClientCapabilities] -> ShowS #
Eq DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods (==) :: DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities -> Bool # (/=) :: DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities -> Bool #
Ord DocumentLinkClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities

Methods

compare :: DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities -> Ordering #

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

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

(>) :: DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities -> Bool #

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

max :: DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities #

min :: DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities -> DocumentLinkClientCapabilities #

Hashable DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods hashWithSalt :: Int -> DocumentLinkClientCapabilities -> Int # hash :: DocumentLinkClientCapabilities -> Int #
Pretty DocumentLinkClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities Methods pretty :: DocumentLinkClientCapabilities -> Doc ann # prettyList :: [DocumentLinkClientCapabilities] -> Doc ann #
HasDocumentLink TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentLink :: Lens' TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) #
HasDynamicRegistration DocumentLinkClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentLinkClientCapabilities (Maybe Bool) #
HasTooltipSupport DocumentLinkClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltipSupport :: Lens' DocumentLinkClientCapabilities (Maybe Bool) #
type Rep DocumentLinkClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities

type Rep DocumentLinkClientCapabilities = D1 ('MetaData "DocumentLinkClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentLinkClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_tooltipSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentLinkOptions #

Provider options for a `DocumentLinkRequest`.

Constructors

DocumentLinkOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  Document links have a resolve provider as well.

#### Instances

Instances details

FromJSON DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods parseJSON :: Value -> Parser DocumentLinkOptions # parseJSONList :: Value -> Parser [DocumentLinkOptions] # omittedField :: Maybe DocumentLinkOptions #
ToJSON DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods toJSON :: DocumentLinkOptions -> Value # toEncoding :: DocumentLinkOptions -> Encoding # toJSONList :: [DocumentLinkOptions] -> Value # toEncodingList :: [DocumentLinkOptions] -> Encoding # omitField :: DocumentLinkOptions -> Bool #
NFData DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods rnf :: DocumentLinkOptions -> () #
Generic DocumentLinkOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions

Associated Types

type Rep DocumentLinkOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions

type Rep DocumentLinkOptions = D1 ('MetaData "DocumentLinkOptions" "Language.LSP.Protocol.Internal.Types.DocumentLinkOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentLinkOptions -> Rep DocumentLinkOptions x #

to :: Rep DocumentLinkOptions x -> DocumentLinkOptions #

Show DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods showsPrec :: Int -> DocumentLinkOptions -> ShowS # show :: DocumentLinkOptions -> String # showList :: [DocumentLinkOptions] -> ShowS #
Eq DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods (==) :: DocumentLinkOptions -> DocumentLinkOptions -> Bool # (/=) :: DocumentLinkOptions -> DocumentLinkOptions -> Bool #
Ord DocumentLinkOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions

Methods

compare :: DocumentLinkOptions -> DocumentLinkOptions -> Ordering #

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

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

(>) :: DocumentLinkOptions -> DocumentLinkOptions -> Bool #

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

max :: DocumentLinkOptions -> DocumentLinkOptions -> DocumentLinkOptions #

min :: DocumentLinkOptions -> DocumentLinkOptions -> DocumentLinkOptions #

Hashable DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods hashWithSalt :: Int -> DocumentLinkOptions -> Int # hash :: DocumentLinkOptions -> Int #
Pretty DocumentLinkOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions Methods pretty :: DocumentLinkOptions -> Doc ann # prettyList :: [DocumentLinkOptions] -> Doc ann #
HasDocumentLinkProvider ServerCapabilities (Maybe DocumentLinkOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentLinkProvider :: Lens' ServerCapabilities (Maybe DocumentLinkOptions) #
HasResolveProvider DocumentLinkOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' DocumentLinkOptions (Maybe Bool) #
HasWorkDoneProgress DocumentLinkOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentLinkOptions (Maybe Bool) #
type Rep DocumentLinkOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentLinkOptions

type Rep DocumentLinkOptions = D1 ('MetaData "DocumentLinkOptions" "Language.LSP.Protocol.Internal.Types.DocumentLinkOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentLinkOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentOnTypeFormattingClientCapabilities #

Client capabilities of a `DocumentOnTypeFormattingRequest`.

Constructors

DocumentOnTypeFormattingClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether on type formatting supports dynamic registration.

#### Instances

Instances details

FromJSON DocumentOnTypeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities Methods parseJSON :: Value -> Parser DocumentOnTypeFormattingClientCapabilities # parseJSONList :: Value -> Parser [DocumentOnTypeFormattingClientCapabilities] # omittedField :: Maybe DocumentOnTypeFormattingClientCapabilities #
ToJSON DocumentOnTypeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities

Methods

toJSON :: DocumentOnTypeFormattingClientCapabilities -> Value #

toEncoding :: DocumentOnTypeFormattingClientCapabilities -> Encoding #

toJSONList :: [DocumentOnTypeFormattingClientCapabilities] -> Value #

toEncodingList :: [DocumentOnTypeFormattingClientCapabilities] -> Encoding #

omitField :: DocumentOnTypeFormattingClientCapabilities -> Bool #

NFData DocumentOnTypeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities Methods rnf :: DocumentOnTypeFormattingClientCapabilities -> () #
Generic DocumentOnTypeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities

Associated Types

type Rep DocumentOnTypeFormattingClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities

type Rep DocumentOnTypeFormattingClientCapabilities = D1 ('MetaData "DocumentOnTypeFormattingClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentOnTypeFormattingClientCapabilities -> Rep DocumentOnTypeFormattingClientCapabilities x #

to :: Rep DocumentOnTypeFormattingClientCapabilities x -> DocumentOnTypeFormattingClientCapabilities #

Show DocumentOnTypeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities Methods showsPrec :: Int -> DocumentOnTypeFormattingClientCapabilities -> ShowS # show :: DocumentOnTypeFormattingClientCapabilities -> String # showList :: [DocumentOnTypeFormattingClientCapabilities] -> ShowS #
Eq DocumentOnTypeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities Methods (==) :: DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities -> Bool # (/=) :: DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities -> Bool #
Ord DocumentOnTypeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities

Methods

compare :: DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities -> Ordering #

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

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

(>) :: DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities -> Bool #

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

max :: DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities #

min :: DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities -> DocumentOnTypeFormattingClientCapabilities #

Hashable DocumentOnTypeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities Methods hashWithSalt :: Int -> DocumentOnTypeFormattingClientCapabilities -> Int # hash :: DocumentOnTypeFormattingClientCapabilities -> Int #
Pretty DocumentOnTypeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities Methods pretty :: DocumentOnTypeFormattingClientCapabilities -> Doc ann # prettyList :: [DocumentOnTypeFormattingClientCapabilities] -> Doc ann #
HasDynamicRegistration DocumentOnTypeFormattingClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentOnTypeFormattingClientCapabilities (Maybe Bool) #
HasOnTypeFormatting TextDocumentClientCapabilities (Maybe DocumentOnTypeFormattingClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods onTypeFormatting :: Lens' TextDocumentClientCapabilities (Maybe DocumentOnTypeFormattingClientCapabilities) #
type Rep DocumentOnTypeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities

type Rep DocumentOnTypeFormattingClientCapabilities = D1 ('MetaData "DocumentOnTypeFormattingClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentOnTypeFormattingOptions #

Provider options for a `DocumentOnTypeFormattingRequest`.

Constructors

DocumentOnTypeFormattingOptions |

Fields

- _firstTriggerCharacter :: Text

  A character on which formatting should be triggered, like `{`.

- _moreTriggerCharacter :: Maybe [Text]

  More trigger characters.

#### Instances

Instances details

FromJSON DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods parseJSON :: Value -> Parser DocumentOnTypeFormattingOptions # parseJSONList :: Value -> Parser [DocumentOnTypeFormattingOptions] # omittedField :: Maybe DocumentOnTypeFormattingOptions #
ToJSON DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods toJSON :: DocumentOnTypeFormattingOptions -> Value # toEncoding :: DocumentOnTypeFormattingOptions -> Encoding # toJSONList :: [DocumentOnTypeFormattingOptions] -> Value # toEncodingList :: [DocumentOnTypeFormattingOptions] -> Encoding # omitField :: DocumentOnTypeFormattingOptions -> Bool #
NFData DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods rnf :: DocumentOnTypeFormattingOptions -> () #
Generic DocumentOnTypeFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions

Associated Types

type Rep DocumentOnTypeFormattingOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions

type Rep DocumentOnTypeFormattingOptions = D1 ('MetaData "DocumentOnTypeFormattingOptions" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_firstTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_moreTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

Methods

from :: DocumentOnTypeFormattingOptions -> Rep DocumentOnTypeFormattingOptions x #

to :: Rep DocumentOnTypeFormattingOptions x -> DocumentOnTypeFormattingOptions #

Show DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods showsPrec :: Int -> DocumentOnTypeFormattingOptions -> ShowS # show :: DocumentOnTypeFormattingOptions -> String # showList :: [DocumentOnTypeFormattingOptions] -> ShowS #
Eq DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods (==) :: DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions -> Bool # (/=) :: DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions -> Bool #
Ord DocumentOnTypeFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions

Methods

compare :: DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions -> Ordering #

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

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

(>) :: DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions -> Bool #

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

max :: DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions #

min :: DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions -> DocumentOnTypeFormattingOptions #

Hashable DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods hashWithSalt :: Int -> DocumentOnTypeFormattingOptions -> Int # hash :: DocumentOnTypeFormattingOptions -> Int #
Pretty DocumentOnTypeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions Methods pretty :: DocumentOnTypeFormattingOptions -> Doc ann # prettyList :: [DocumentOnTypeFormattingOptions] -> Doc ann #
HasFirstTriggerCharacter DocumentOnTypeFormattingOptions Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods firstTriggerCharacter :: Lens' DocumentOnTypeFormattingOptions Text #
HasDocumentOnTypeFormattingProvider ServerCapabilities (Maybe DocumentOnTypeFormattingOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentOnTypeFormattingProvider :: Lens' ServerCapabilities (Maybe DocumentOnTypeFormattingOptions) #
HasMoreTriggerCharacter DocumentOnTypeFormattingOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods moreTriggerCharacter :: Lens' DocumentOnTypeFormattingOptions (Maybe [Text]) #
type Rep DocumentOnTypeFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions

type Rep DocumentOnTypeFormattingOptions = D1 ('MetaData "DocumentOnTypeFormattingOptions" "Language.LSP.Protocol.Internal.Types.DocumentOnTypeFormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentOnTypeFormattingOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_firstTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_moreTriggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))))

data DocumentRangeFormattingClientCapabilities #

Client capabilities of a `DocumentRangeFormattingRequest`.

Constructors

DocumentRangeFormattingClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether range formatting supports dynamic registration.

#### Instances

Instances details

FromJSON DocumentRangeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities Methods parseJSON :: Value -> Parser DocumentRangeFormattingClientCapabilities # parseJSONList :: Value -> Parser [DocumentRangeFormattingClientCapabilities] # omittedField :: Maybe DocumentRangeFormattingClientCapabilities #
ToJSON DocumentRangeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities

Methods

toJSON :: DocumentRangeFormattingClientCapabilities -> Value #

toEncoding :: DocumentRangeFormattingClientCapabilities -> Encoding #

toJSONList :: [DocumentRangeFormattingClientCapabilities] -> Value #

toEncodingList :: [DocumentRangeFormattingClientCapabilities] -> Encoding #

omitField :: DocumentRangeFormattingClientCapabilities -> Bool #

NFData DocumentRangeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities Methods rnf :: DocumentRangeFormattingClientCapabilities -> () #
Generic DocumentRangeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities

Associated Types

type Rep DocumentRangeFormattingClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities

type Rep DocumentRangeFormattingClientCapabilities = D1 ('MetaData "DocumentRangeFormattingClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentRangeFormattingClientCapabilities -> Rep DocumentRangeFormattingClientCapabilities x #

to :: Rep DocumentRangeFormattingClientCapabilities x -> DocumentRangeFormattingClientCapabilities #

Show DocumentRangeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities Methods showsPrec :: Int -> DocumentRangeFormattingClientCapabilities -> ShowS # show :: DocumentRangeFormattingClientCapabilities -> String # showList :: [DocumentRangeFormattingClientCapabilities] -> ShowS #
Eq DocumentRangeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities Methods (==) :: DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities -> Bool # (/=) :: DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities -> Bool #
Ord DocumentRangeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities

Methods

compare :: DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities -> Ordering #

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

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

(>) :: DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities -> Bool #

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

max :: DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities #

min :: DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities -> DocumentRangeFormattingClientCapabilities #

Hashable DocumentRangeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities Methods hashWithSalt :: Int -> DocumentRangeFormattingClientCapabilities -> Int # hash :: DocumentRangeFormattingClientCapabilities -> Int #
Pretty DocumentRangeFormattingClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities Methods pretty :: DocumentRangeFormattingClientCapabilities -> Doc ann # prettyList :: [DocumentRangeFormattingClientCapabilities] -> Doc ann #
HasDynamicRegistration DocumentRangeFormattingClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentRangeFormattingClientCapabilities (Maybe Bool) #
HasRangeFormatting TextDocumentClientCapabilities (Maybe DocumentRangeFormattingClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rangeFormatting :: Lens' TextDocumentClientCapabilities (Maybe DocumentRangeFormattingClientCapabilities) #
type Rep DocumentRangeFormattingClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities

type Rep DocumentRangeFormattingClientCapabilities = D1 ('MetaData "DocumentRangeFormattingClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentRangeFormattingOptions #

Provider options for a `DocumentRangeFormattingRequest`.

Constructors

DocumentRangeFormattingOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods parseJSON :: Value -> Parser DocumentRangeFormattingOptions # parseJSONList :: Value -> Parser [DocumentRangeFormattingOptions] # omittedField :: Maybe DocumentRangeFormattingOptions #
ToJSON DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods toJSON :: DocumentRangeFormattingOptions -> Value # toEncoding :: DocumentRangeFormattingOptions -> Encoding # toJSONList :: [DocumentRangeFormattingOptions] -> Value # toEncodingList :: [DocumentRangeFormattingOptions] -> Encoding # omitField :: DocumentRangeFormattingOptions -> Bool #
NFData DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods rnf :: DocumentRangeFormattingOptions -> () #
Generic DocumentRangeFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions

Associated Types

type Rep DocumentRangeFormattingOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions

type Rep DocumentRangeFormattingOptions = D1 ('MetaData "DocumentRangeFormattingOptions" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: DocumentRangeFormattingOptions -> Rep DocumentRangeFormattingOptions x #

to :: Rep DocumentRangeFormattingOptions x -> DocumentRangeFormattingOptions #

Show DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods showsPrec :: Int -> DocumentRangeFormattingOptions -> ShowS # show :: DocumentRangeFormattingOptions -> String # showList :: [DocumentRangeFormattingOptions] -> ShowS #
Eq DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods (==) :: DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions -> Bool # (/=) :: DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions -> Bool #
Ord DocumentRangeFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions

Methods

compare :: DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions -> Ordering #

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

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

(>) :: DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions -> Bool #

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

max :: DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions #

min :: DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions -> DocumentRangeFormattingOptions #

Hashable DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods hashWithSalt :: Int -> DocumentRangeFormattingOptions -> Int # hash :: DocumentRangeFormattingOptions -> Int #
Pretty DocumentRangeFormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions Methods pretty :: DocumentRangeFormattingOptions -> Doc ann # prettyList :: [DocumentRangeFormattingOptions] -> Doc ann #
HasDocumentRangeFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentRangeFormattingProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) #
HasWorkDoneProgress DocumentRangeFormattingOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentRangeFormattingOptions (Maybe Bool) #
type Rep DocumentRangeFormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions

type Rep DocumentRangeFormattingOptions = D1 ('MetaData "DocumentRangeFormattingOptions" "Language.LSP.Protocol.Internal.Types.DocumentRangeFormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentRangeFormattingOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data DocumentSymbolClientCapabilities #

Client Capabilities for a `DocumentSymbolRequest`.

Constructors

DocumentSymbolClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether document symbol supports dynamic registration.

- _symbolKind :: Maybe ClientSymbolKindOptions

  Specific capabilities for the `SymbolKind` in the `textDocument/documentSymbol` request.

- _hierarchicalDocumentSymbolSupport :: Maybe Bool

  The client supports hierarchical document symbols.

- _tagSupport :: Maybe ClientSymbolTagOptions

  The client supports tags on `SymbolInformation`. Tags are supported on `DocumentSymbol` if `hierarchicalDocumentSymbolSupport` is set to true. Clients supporting tags have to handle unknown tags gracefully.

  Since: 3.16.0

- _labelSupport :: Maybe Bool

  The client supports an additional label presented in the UI when registering a document symbol provider.

  Since: 3.16.0

#### Instances

Instances details

FromJSON DocumentSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities Methods parseJSON :: Value -> Parser DocumentSymbolClientCapabilities # parseJSONList :: Value -> Parser [DocumentSymbolClientCapabilities] # omittedField :: Maybe DocumentSymbolClientCapabilities #
ToJSON DocumentSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities

Methods

toJSON :: DocumentSymbolClientCapabilities -> Value #

toEncoding :: DocumentSymbolClientCapabilities -> Encoding #

toJSONList :: [DocumentSymbolClientCapabilities] -> Value #

toEncodingList :: [DocumentSymbolClientCapabilities] -> Encoding #

omitField :: DocumentSymbolClientCapabilities -> Bool #

NFData DocumentSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities Methods rnf :: DocumentSymbolClientCapabilities -> () #
Generic DocumentSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities

Associated Types

type Rep DocumentSymbolClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities

type Rep DocumentSymbolClientCapabilities = D1 ('MetaData "DocumentSymbolClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_symbolKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolKindOptions))) :*: (S1 ('MetaSel ('Just "_hierarchicalDocumentSymbolSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolTagOptions)) :*: S1 ('MetaSel ('Just "_labelSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

Methods

from :: DocumentSymbolClientCapabilities -> Rep DocumentSymbolClientCapabilities x #

to :: Rep DocumentSymbolClientCapabilities x -> DocumentSymbolClientCapabilities #

Show DocumentSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities Methods showsPrec :: Int -> DocumentSymbolClientCapabilities -> ShowS # show :: DocumentSymbolClientCapabilities -> String # showList :: [DocumentSymbolClientCapabilities] -> ShowS #
Eq DocumentSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities Methods (==) :: DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities -> Bool # (/=) :: DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities -> Bool #
Ord DocumentSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities

Methods

compare :: DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities -> Ordering #

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

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

(>) :: DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities -> Bool #

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

max :: DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities #

min :: DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities -> DocumentSymbolClientCapabilities #

Hashable DocumentSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities Methods hashWithSalt :: Int -> DocumentSymbolClientCapabilities -> Int # hash :: DocumentSymbolClientCapabilities -> Int #
Pretty DocumentSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities Methods pretty :: DocumentSymbolClientCapabilities -> Doc ann # prettyList :: [DocumentSymbolClientCapabilities] -> Doc ann #
HasDocumentSymbol TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSymbol :: Lens' TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) #
HasDynamicRegistration DocumentSymbolClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' DocumentSymbolClientCapabilities (Maybe Bool) #
HasHierarchicalDocumentSymbolSupport DocumentSymbolClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods hierarchicalDocumentSymbolSupport :: Lens' DocumentSymbolClientCapabilities (Maybe Bool) #
HasLabelSupport DocumentSymbolClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods labelSupport :: Lens' DocumentSymbolClientCapabilities (Maybe Bool) #
HasSymbolKind DocumentSymbolClientCapabilities (Maybe ClientSymbolKindOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods symbolKind :: Lens' DocumentSymbolClientCapabilities (Maybe ClientSymbolKindOptions) #
HasTagSupport DocumentSymbolClientCapabilities (Maybe ClientSymbolTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' DocumentSymbolClientCapabilities (Maybe ClientSymbolTagOptions) #
type Rep DocumentSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities

type Rep DocumentSymbolClientCapabilities = D1 ('MetaData "DocumentSymbolClientCapabilities" "Language.LSP.Protocol.Internal.Types.DocumentSymbolClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_symbolKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolKindOptions))) :*: (S1 ('MetaSel ('Just "_hierarchicalDocumentSymbolSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolTagOptions)) :*: S1 ('MetaSel ('Just "_labelSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

data DocumentSymbolOptions #

Provider options for a `DocumentSymbolRequest`.

Constructors

DocumentSymbolOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _label :: Maybe Text

  A human-readable string that is shown when multiple outlines trees are shown for the same document.

  Since: 3.16.0

#### Instances

Instances details

FromJSON DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods parseJSON :: Value -> Parser DocumentSymbolOptions # parseJSONList :: Value -> Parser [DocumentSymbolOptions] # omittedField :: Maybe DocumentSymbolOptions #
ToJSON DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods toJSON :: DocumentSymbolOptions -> Value # toEncoding :: DocumentSymbolOptions -> Encoding # toJSONList :: [DocumentSymbolOptions] -> Value # toEncodingList :: [DocumentSymbolOptions] -> Encoding # omitField :: DocumentSymbolOptions -> Bool #
NFData DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods rnf :: DocumentSymbolOptions -> () #
Generic DocumentSymbolOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions

Associated Types

type Rep DocumentSymbolOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions

type Rep DocumentSymbolOptions = D1 ('MetaData "DocumentSymbolOptions" "Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: DocumentSymbolOptions -> Rep DocumentSymbolOptions x #

to :: Rep DocumentSymbolOptions x -> DocumentSymbolOptions #

Show DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods showsPrec :: Int -> DocumentSymbolOptions -> ShowS # show :: DocumentSymbolOptions -> String # showList :: [DocumentSymbolOptions] -> ShowS #
Eq DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods (==) :: DocumentSymbolOptions -> DocumentSymbolOptions -> Bool # (/=) :: DocumentSymbolOptions -> DocumentSymbolOptions -> Bool #
Ord DocumentSymbolOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions

Methods

compare :: DocumentSymbolOptions -> DocumentSymbolOptions -> Ordering #

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

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

(>) :: DocumentSymbolOptions -> DocumentSymbolOptions -> Bool #

(>=) :: DocumentSymbolOptions -> DocumentSymbolOptions -> Bool #

max :: DocumentSymbolOptions -> DocumentSymbolOptions -> DocumentSymbolOptions #

min :: DocumentSymbolOptions -> DocumentSymbolOptions -> DocumentSymbolOptions #

Hashable DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods hashWithSalt :: Int -> DocumentSymbolOptions -> Int # hash :: DocumentSymbolOptions -> Int #
Pretty DocumentSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions Methods pretty :: DocumentSymbolOptions -> Doc ann # prettyList :: [DocumentSymbolOptions] -> Doc ann #
HasDocumentSymbolProvider ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSymbolProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) #
HasLabel DocumentSymbolOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' DocumentSymbolOptions (Maybe Text) #
HasWorkDoneProgress DocumentSymbolOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' DocumentSymbolOptions (Maybe Bool) #
type Rep DocumentSymbolOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions

type Rep DocumentSymbolOptions = D1 ('MetaData "DocumentSymbolOptions" "Language.LSP.Protocol.Internal.Types.DocumentSymbolOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "DocumentSymbolOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data EditRangeWithInsertReplace #

Edit range variant that includes ranges for insert and replace operations.

@proposed

Since: 3.18.0

Constructors

EditRangeWithInsertReplace |

Fields

- _insert :: Range
- _replace :: Range

#### Instances

Instances details

FromJSON EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods parseJSON :: Value -> Parser EditRangeWithInsertReplace # parseJSONList :: Value -> Parser [EditRangeWithInsertReplace] # omittedField :: Maybe EditRangeWithInsertReplace #
ToJSON EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods toJSON :: EditRangeWithInsertReplace -> Value # toEncoding :: EditRangeWithInsertReplace -> Encoding # toJSONList :: [EditRangeWithInsertReplace] -> Value # toEncodingList :: [EditRangeWithInsertReplace] -> Encoding # omitField :: EditRangeWithInsertReplace -> Bool #
NFData EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods rnf :: EditRangeWithInsertReplace -> () #
Generic EditRangeWithInsertReplace # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace

Associated Types

type Rep EditRangeWithInsertReplace |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace

type Rep EditRangeWithInsertReplace = D1 ('MetaData "EditRangeWithInsertReplace" "Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "EditRangeWithInsertReplace" 'PrefixI 'True) (S1 ('MetaSel ('Just "_insert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_replace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))

Methods

from :: EditRangeWithInsertReplace -> Rep EditRangeWithInsertReplace x #

to :: Rep EditRangeWithInsertReplace x -> EditRangeWithInsertReplace #

Show EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods showsPrec :: Int -> EditRangeWithInsertReplace -> ShowS # show :: EditRangeWithInsertReplace -> String # showList :: [EditRangeWithInsertReplace] -> ShowS #
Eq EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods (==) :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Bool # (/=) :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Bool #
Ord EditRangeWithInsertReplace # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace

Methods

compare :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Ordering #

(<) :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Bool #

(<=) :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Bool #

(>) :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Bool #

(>=) :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> Bool #

max :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> EditRangeWithInsertReplace #

min :: EditRangeWithInsertReplace -> EditRangeWithInsertReplace -> EditRangeWithInsertReplace #

Hashable EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods hashWithSalt :: Int -> EditRangeWithInsertReplace -> Int # hash :: EditRangeWithInsertReplace -> Int #
Pretty EditRangeWithInsertReplace # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace Methods pretty :: EditRangeWithInsertReplace -> Doc ann # prettyList :: [EditRangeWithInsertReplace] -> Doc ann #
HasInsert EditRangeWithInsertReplace Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insert :: Lens' EditRangeWithInsertReplace Range #
HasReplace EditRangeWithInsertReplace Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods replace :: Lens' EditRangeWithInsertReplace Range #
HasEditRange CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods editRange :: Lens' CompletionItemDefaults (Maybe (Range |? EditRangeWithInsertReplace)) #
type Rep EditRangeWithInsertReplace # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace

type Rep EditRangeWithInsertReplace = D1 ('MetaData "EditRangeWithInsertReplace" "Language.LSP.Protocol.Internal.Types.EditRangeWithInsertReplace" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "EditRangeWithInsertReplace" 'PrefixI 'True) (S1 ('MetaSel ('Just "_insert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_replace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))

data ErrorCodes #

Predefined error codes.

Constructors

ErrorCodes_ParseError |
ErrorCodes_InvalidRequest |
ErrorCodes_MethodNotFound |
ErrorCodes_InvalidParams |
ErrorCodes_InternalError |
ErrorCodes_ServerNotInitialized | Error code indicating that a server received a notification or request before the server has received the `initialize` request.
ErrorCodes_UnknownErrorCode |
ErrorCodes_Custom Int32 |

#### Instances

Instances details

FromJSON ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods parseJSON :: Value -> Parser ErrorCodes # parseJSONList :: Value -> Parser [ErrorCodes] # omittedField :: Maybe ErrorCodes #
ToJSON ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods toJSON :: ErrorCodes -> Value # toEncoding :: ErrorCodes -> Encoding # toJSONList :: [ErrorCodes] -> Value # toEncodingList :: [ErrorCodes] -> Encoding # omitField :: ErrorCodes -> Bool #
NFData ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods rnf :: ErrorCodes -> () #
Generic ErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes

Associated Types

type Rep ErrorCodes |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes

type Rep ErrorCodes = D1 ('MetaData "ErrorCodes" "Language.LSP.Protocol.Internal.Types.ErrorCodes" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((C1 ('MetaCons "ErrorCodes_ParseError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_InvalidRequest" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ErrorCodes_MethodNotFound" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_InvalidParams" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "ErrorCodes_InternalError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_ServerNotInitialized" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ErrorCodes_UnknownErrorCode" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32)))))

Methods

from :: ErrorCodes -> Rep ErrorCodes x #

to :: Rep ErrorCodes x -> ErrorCodes #

Show ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods showsPrec :: Int -> ErrorCodes -> ShowS # show :: ErrorCodes -> String # showList :: [ErrorCodes] -> ShowS #
Eq ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods (==) :: ErrorCodes -> ErrorCodes -> Bool # (/=) :: ErrorCodes -> ErrorCodes -> Bool #
Ord ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods compare :: ErrorCodes -> ErrorCodes -> Ordering # (<) :: ErrorCodes -> ErrorCodes -> Bool # (<=) :: ErrorCodes -> ErrorCodes -> Bool # (>) :: ErrorCodes -> ErrorCodes -> Bool # (>=) :: ErrorCodes -> ErrorCodes -> Bool # max :: ErrorCodes -> ErrorCodes -> ErrorCodes # min :: ErrorCodes -> ErrorCodes -> ErrorCodes #
Hashable ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods hashWithSalt :: Int -> ErrorCodes -> Int # hash :: ErrorCodes -> Int #
LspEnum ErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes

Associated Types

type EnumBaseType ErrorCodes |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes type EnumBaseType ErrorCodes = Int32

Methods

knownValues :: Set ErrorCodes #

toEnumBaseType :: ErrorCodes -> EnumBaseType ErrorCodes #

fromEnumBaseType :: EnumBaseType ErrorCodes -> Maybe ErrorCodes #

LspOpenEnum ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods fromOpenEnumBaseType :: EnumBaseType ErrorCodes -> ErrorCodes #
Pretty ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes Methods pretty :: ErrorCodes -> Doc ann # prettyList :: [ErrorCodes] -> Doc ann #
HasCode ResponseError (LSPErrorCodes |? ErrorCodes) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods code :: Lens' ResponseError (LSPErrorCodes |? ErrorCodes) #
HasCode (TResponseError m) (LSPErrorCodes |? ErrorCodes) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods code :: Lens' (TResponseError m) (LSPErrorCodes |? ErrorCodes) #
type Rep ErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes

type Rep ErrorCodes = D1 ('MetaData "ErrorCodes" "Language.LSP.Protocol.Internal.Types.ErrorCodes" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((C1 ('MetaCons "ErrorCodes_ParseError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_InvalidRequest" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ErrorCodes_MethodNotFound" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_InvalidParams" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "ErrorCodes_InternalError" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_ServerNotInitialized" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ErrorCodes_UnknownErrorCode" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ErrorCodes_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32)))))

type EnumBaseType ErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ErrorCodes type EnumBaseType ErrorCodes = Int32

data ExecuteCommandClientCapabilities #

The client capabilities of a `ExecuteCommandRequest`.

Constructors

ExecuteCommandClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Execute command supports dynamic registration.

#### Instances

Instances details

FromJSON ExecuteCommandClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities Methods parseJSON :: Value -> Parser ExecuteCommandClientCapabilities # parseJSONList :: Value -> Parser [ExecuteCommandClientCapabilities] # omittedField :: Maybe ExecuteCommandClientCapabilities #
ToJSON ExecuteCommandClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities

Methods

toJSON :: ExecuteCommandClientCapabilities -> Value #

toEncoding :: ExecuteCommandClientCapabilities -> Encoding #

toJSONList :: [ExecuteCommandClientCapabilities] -> Value #

toEncodingList :: [ExecuteCommandClientCapabilities] -> Encoding #

omitField :: ExecuteCommandClientCapabilities -> Bool #

NFData ExecuteCommandClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities Methods rnf :: ExecuteCommandClientCapabilities -> () #
Generic ExecuteCommandClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities

Associated Types

type Rep ExecuteCommandClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities

type Rep ExecuteCommandClientCapabilities = D1 ('MetaData "ExecuteCommandClientCapabilities" "Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ExecuteCommandClientCapabilities -> Rep ExecuteCommandClientCapabilities x #

to :: Rep ExecuteCommandClientCapabilities x -> ExecuteCommandClientCapabilities #

Show ExecuteCommandClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities Methods showsPrec :: Int -> ExecuteCommandClientCapabilities -> ShowS # show :: ExecuteCommandClientCapabilities -> String # showList :: [ExecuteCommandClientCapabilities] -> ShowS #
Eq ExecuteCommandClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities Methods (==) :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Bool # (/=) :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Bool #
Ord ExecuteCommandClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities

Methods

compare :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Ordering #

(<) :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Bool #

(<=) :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Bool #

(>) :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Bool #

(>=) :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> Bool #

max :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities #

min :: ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities -> ExecuteCommandClientCapabilities #

Hashable ExecuteCommandClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities Methods hashWithSalt :: Int -> ExecuteCommandClientCapabilities -> Int # hash :: ExecuteCommandClientCapabilities -> Int #
Pretty ExecuteCommandClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities Methods pretty :: ExecuteCommandClientCapabilities -> Doc ann # prettyList :: [ExecuteCommandClientCapabilities] -> Doc ann #
HasDynamicRegistration ExecuteCommandClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' ExecuteCommandClientCapabilities (Maybe Bool) #
HasExecuteCommand WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executeCommand :: Lens' WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) #
type Rep ExecuteCommandClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities

type Rep ExecuteCommandClientCapabilities = D1 ('MetaData "ExecuteCommandClientCapabilities" "Language.LSP.Protocol.Internal.Types.ExecuteCommandClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ExecuteCommandOptions #

The server capabilities of a `ExecuteCommandRequest`.

Constructors

ExecuteCommandOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _commands :: [Text]

  The commands to be executed on the server

#### Instances

Instances details

FromJSON ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods parseJSON :: Value -> Parser ExecuteCommandOptions # parseJSONList :: Value -> Parser [ExecuteCommandOptions] # omittedField :: Maybe ExecuteCommandOptions #
ToJSON ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods toJSON :: ExecuteCommandOptions -> Value # toEncoding :: ExecuteCommandOptions -> Encoding # toJSONList :: [ExecuteCommandOptions] -> Value # toEncodingList :: [ExecuteCommandOptions] -> Encoding # omitField :: ExecuteCommandOptions -> Bool #
NFData ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods rnf :: ExecuteCommandOptions -> () #
Generic ExecuteCommandOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions

Associated Types

type Rep ExecuteCommandOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions

type Rep ExecuteCommandOptions = D1 ('MetaData "ExecuteCommandOptions" "Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_commands") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: ExecuteCommandOptions -> Rep ExecuteCommandOptions x #

to :: Rep ExecuteCommandOptions x -> ExecuteCommandOptions #

Show ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods showsPrec :: Int -> ExecuteCommandOptions -> ShowS # show :: ExecuteCommandOptions -> String # showList :: [ExecuteCommandOptions] -> ShowS #
Eq ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods (==) :: ExecuteCommandOptions -> ExecuteCommandOptions -> Bool # (/=) :: ExecuteCommandOptions -> ExecuteCommandOptions -> Bool #
Ord ExecuteCommandOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions

Methods

compare :: ExecuteCommandOptions -> ExecuteCommandOptions -> Ordering #

(<) :: ExecuteCommandOptions -> ExecuteCommandOptions -> Bool #

(<=) :: ExecuteCommandOptions -> ExecuteCommandOptions -> Bool #

(>) :: ExecuteCommandOptions -> ExecuteCommandOptions -> Bool #

(>=) :: ExecuteCommandOptions -> ExecuteCommandOptions -> Bool #

max :: ExecuteCommandOptions -> ExecuteCommandOptions -> ExecuteCommandOptions #

min :: ExecuteCommandOptions -> ExecuteCommandOptions -> ExecuteCommandOptions #

Hashable ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods hashWithSalt :: Int -> ExecuteCommandOptions -> Int # hash :: ExecuteCommandOptions -> Int #
Pretty ExecuteCommandOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions Methods pretty :: ExecuteCommandOptions -> Doc ann # prettyList :: [ExecuteCommandOptions] -> Doc ann #
HasCommands ExecuteCommandOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods commands :: Lens' ExecuteCommandOptions [Text] #
HasExecuteCommandProvider ServerCapabilities (Maybe ExecuteCommandOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executeCommandProvider :: Lens' ServerCapabilities (Maybe ExecuteCommandOptions) #
HasWorkDoneProgress ExecuteCommandOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' ExecuteCommandOptions (Maybe Bool) #
type Rep ExecuteCommandOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions

type Rep ExecuteCommandOptions = D1 ('MetaData "ExecuteCommandOptions" "Language.LSP.Protocol.Internal.Types.ExecuteCommandOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecuteCommandOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_commands") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data ExecutionSummary #

Constructors

ExecutionSummary |

Fields

- _executionOrder :: UInt

  A strict monotonically increasing value indicating the execution order of a cell inside a notebook.

- _success :: Maybe Bool

  Whether the execution was successful or not if known by the client.

#### Instances

Instances details

FromJSON ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods parseJSON :: Value -> Parser ExecutionSummary # parseJSONList :: Value -> Parser [ExecutionSummary] # omittedField :: Maybe ExecutionSummary #
ToJSON ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods toJSON :: ExecutionSummary -> Value # toEncoding :: ExecutionSummary -> Encoding # toJSONList :: [ExecutionSummary] -> Value # toEncodingList :: [ExecutionSummary] -> Encoding # omitField :: ExecutionSummary -> Bool #
NFData ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods rnf :: ExecutionSummary -> () #
Generic ExecutionSummary # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary

Associated Types

type Rep ExecutionSummary |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary

type Rep ExecutionSummary = D1 ('MetaData "ExecutionSummary" "Language.LSP.Protocol.Internal.Types.ExecutionSummary" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecutionSummary" 'PrefixI 'True) (S1 ('MetaSel ('Just "_executionOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ExecutionSummary -> Rep ExecutionSummary x #

to :: Rep ExecutionSummary x -> ExecutionSummary #

Show ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods showsPrec :: Int -> ExecutionSummary -> ShowS # show :: ExecutionSummary -> String # showList :: [ExecutionSummary] -> ShowS #
Eq ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods (==) :: ExecutionSummary -> ExecutionSummary -> Bool # (/=) :: ExecutionSummary -> ExecutionSummary -> Bool #
Ord ExecutionSummary # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary

Methods

compare :: ExecutionSummary -> ExecutionSummary -> Ordering #

(<) :: ExecutionSummary -> ExecutionSummary -> Bool #

(<=) :: ExecutionSummary -> ExecutionSummary -> Bool #

(>) :: ExecutionSummary -> ExecutionSummary -> Bool #

(>=) :: ExecutionSummary -> ExecutionSummary -> Bool #

max :: ExecutionSummary -> ExecutionSummary -> ExecutionSummary #

min :: ExecutionSummary -> ExecutionSummary -> ExecutionSummary #

Hashable ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods hashWithSalt :: Int -> ExecutionSummary -> Int # hash :: ExecutionSummary -> Int #
Pretty ExecutionSummary # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary Methods pretty :: ExecutionSummary -> Doc ann # prettyList :: [ExecutionSummary] -> Doc ann #
HasExecutionOrder ExecutionSummary UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executionOrder :: Lens' ExecutionSummary UInt #
HasExecutionSummary NotebookCell (Maybe ExecutionSummary) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executionSummary :: Lens' NotebookCell (Maybe ExecutionSummary) #
HasSuccess ExecutionSummary (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods success :: Lens' ExecutionSummary (Maybe Bool) #
type Rep ExecutionSummary # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ExecutionSummary

type Rep ExecutionSummary = D1 ('MetaData "ExecutionSummary" "Language.LSP.Protocol.Internal.Types.ExecutionSummary" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ExecutionSummary" 'PrefixI 'True) (S1 ('MetaSel ('Just "_executionOrder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_success") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data FailureHandlingKind #

Constructors

FailureHandlingKind_Abort | Applying the workspace change is simply aborted if one of the changes provided fails. All operations executed before the failing operation stay executed.
FailureHandlingKind_Transactional | All operations are executed transactional. That means they either all succeed or no changes at all are applied to the workspace.
FailureHandlingKind_TextOnlyTransactional | 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.
FailureHandlingKind_Undo | The client tries to undo the operations already executed. But there is no guarantee that this is succeeding.

#### Instances

Instances details

FromJSON FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods parseJSON :: Value -> Parser FailureHandlingKind # parseJSONList :: Value -> Parser [FailureHandlingKind] # omittedField :: Maybe FailureHandlingKind #
ToJSON FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods toJSON :: FailureHandlingKind -> Value # toEncoding :: FailureHandlingKind -> Encoding # toJSONList :: [FailureHandlingKind] -> Value # toEncodingList :: [FailureHandlingKind] -> Encoding # omitField :: FailureHandlingKind -> Bool #
NFData FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods rnf :: FailureHandlingKind -> () #
Generic FailureHandlingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind

Associated Types

type Rep FailureHandlingKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind

type Rep FailureHandlingKind = D1 ('MetaData "FailureHandlingKind" "Language.LSP.Protocol.Internal.Types.FailureHandlingKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "FailureHandlingKind_Abort" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FailureHandlingKind_Transactional" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FailureHandlingKind_TextOnlyTransactional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FailureHandlingKind_Undo" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: FailureHandlingKind -> Rep FailureHandlingKind x #

to :: Rep FailureHandlingKind x -> FailureHandlingKind #

Show FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods showsPrec :: Int -> FailureHandlingKind -> ShowS # show :: FailureHandlingKind -> String # showList :: [FailureHandlingKind] -> ShowS #
Eq FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods (==) :: FailureHandlingKind -> FailureHandlingKind -> Bool # (/=) :: FailureHandlingKind -> FailureHandlingKind -> Bool #
Ord FailureHandlingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind

Methods

compare :: FailureHandlingKind -> FailureHandlingKind -> Ordering #

(<) :: FailureHandlingKind -> FailureHandlingKind -> Bool #

(<=) :: FailureHandlingKind -> FailureHandlingKind -> Bool #

(>) :: FailureHandlingKind -> FailureHandlingKind -> Bool #

(>=) :: FailureHandlingKind -> FailureHandlingKind -> Bool #

max :: FailureHandlingKind -> FailureHandlingKind -> FailureHandlingKind #

min :: FailureHandlingKind -> FailureHandlingKind -> FailureHandlingKind #

Hashable FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods hashWithSalt :: Int -> FailureHandlingKind -> Int # hash :: FailureHandlingKind -> Int #
LspEnum FailureHandlingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind

Associated Types

type EnumBaseType FailureHandlingKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind type EnumBaseType FailureHandlingKind = Text

Methods

knownValues :: Set FailureHandlingKind #

toEnumBaseType :: FailureHandlingKind -> EnumBaseType FailureHandlingKind #

fromEnumBaseType :: EnumBaseType FailureHandlingKind -> Maybe FailureHandlingKind #

Pretty FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind Methods pretty :: FailureHandlingKind -> Doc ann # prettyList :: [FailureHandlingKind] -> Doc ann #
HasFailureHandling WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods failureHandling :: Lens' WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) #
type Rep FailureHandlingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind

type Rep FailureHandlingKind = D1 ('MetaData "FailureHandlingKind" "Language.LSP.Protocol.Internal.Types.FailureHandlingKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "FailureHandlingKind_Abort" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FailureHandlingKind_Transactional" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FailureHandlingKind_TextOnlyTransactional" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FailureHandlingKind_Undo" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType FailureHandlingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FailureHandlingKind type EnumBaseType FailureHandlingKind = Text

data FileChangeType #

The file event type

Constructors

FileChangeType_Created | The file got created.
FileChangeType_Changed | The file got changed.
FileChangeType_Deleted | The file got deleted.

#### Instances

Instances details

FromJSON FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods parseJSON :: Value -> Parser FileChangeType # parseJSONList :: Value -> Parser [FileChangeType] # omittedField :: Maybe FileChangeType #
ToJSON FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods toJSON :: FileChangeType -> Value # toEncoding :: FileChangeType -> Encoding # toJSONList :: [FileChangeType] -> Value # toEncodingList :: [FileChangeType] -> Encoding # omitField :: FileChangeType -> Bool #
NFData FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods rnf :: FileChangeType -> () #
Generic FileChangeType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileChangeType

Associated Types

type Rep FileChangeType |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileChangeType

type Rep FileChangeType = D1 ('MetaData "FileChangeType" "Language.LSP.Protocol.Internal.Types.FileChangeType" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileChangeType_Created" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FileChangeType_Changed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FileChangeType_Deleted" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: FileChangeType -> Rep FileChangeType x #

to :: Rep FileChangeType x -> FileChangeType #

Show FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods showsPrec :: Int -> FileChangeType -> ShowS # show :: FileChangeType -> String # showList :: [FileChangeType] -> ShowS #
Eq FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods (==) :: FileChangeType -> FileChangeType -> Bool # (/=) :: FileChangeType -> FileChangeType -> Bool #
Ord FileChangeType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileChangeType

Methods

compare :: FileChangeType -> FileChangeType -> Ordering #

(<) :: FileChangeType -> FileChangeType -> Bool #

(<=) :: FileChangeType -> FileChangeType -> Bool #

(>) :: FileChangeType -> FileChangeType -> Bool #

(>=) :: FileChangeType -> FileChangeType -> Bool #

max :: FileChangeType -> FileChangeType -> FileChangeType #

min :: FileChangeType -> FileChangeType -> FileChangeType #

Hashable FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods hashWithSalt :: Int -> FileChangeType -> Int # hash :: FileChangeType -> Int #
LspEnum FileChangeType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileChangeType

Associated Types

type EnumBaseType FileChangeType |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType type EnumBaseType FileChangeType = UInt

Methods

knownValues :: Set FileChangeType #

toEnumBaseType :: FileChangeType -> EnumBaseType FileChangeType #

fromEnumBaseType :: EnumBaseType FileChangeType -> Maybe FileChangeType #

Pretty FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType Methods pretty :: FileChangeType -> Doc ann # prettyList :: [FileChangeType] -> Doc ann #
HasType_ FileEvent FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' FileEvent FileChangeType #
type Rep FileChangeType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileChangeType

type Rep FileChangeType = D1 ('MetaData "FileChangeType" "Language.LSP.Protocol.Internal.Types.FileChangeType" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileChangeType_Created" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "FileChangeType_Changed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FileChangeType_Deleted" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileChangeType type EnumBaseType FileChangeType = UInt

data FileCreate #

Represents information on a file/folder create.

Since: 3.16.0

Constructors

FileCreate |

Fields

- _uri :: Text

  A file:/ URI for the location of the filefolder being created.

#### Instances

Instances details

FromJSON FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods parseJSON :: Value -> Parser FileCreate # parseJSONList :: Value -> Parser [FileCreate] # omittedField :: Maybe FileCreate #
ToJSON FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods toJSON :: FileCreate -> Value # toEncoding :: FileCreate -> Encoding # toJSONList :: [FileCreate] -> Value # toEncodingList :: [FileCreate] -> Encoding # omitField :: FileCreate -> Bool #
NFData FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods rnf :: FileCreate -> () #
Generic FileCreate # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileCreate

Associated Types

type Rep FileCreate |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate type Rep FileCreate = D1 ('MetaData "FileCreate" "Language.LSP.Protocol.Internal.Types.FileCreate" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileCreate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: FileCreate -> Rep FileCreate x #

to :: Rep FileCreate x -> FileCreate #

Show FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods showsPrec :: Int -> FileCreate -> ShowS # show :: FileCreate -> String # showList :: [FileCreate] -> ShowS #
Eq FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods (==) :: FileCreate -> FileCreate -> Bool # (/=) :: FileCreate -> FileCreate -> Bool #
Ord FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods compare :: FileCreate -> FileCreate -> Ordering # (<) :: FileCreate -> FileCreate -> Bool # (<=) :: FileCreate -> FileCreate -> Bool # (>) :: FileCreate -> FileCreate -> Bool # (>=) :: FileCreate -> FileCreate -> Bool # max :: FileCreate -> FileCreate -> FileCreate # min :: FileCreate -> FileCreate -> FileCreate #
Hashable FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods hashWithSalt :: Int -> FileCreate -> Int # hash :: FileCreate -> Int #
Pretty FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate Methods pretty :: FileCreate -> Doc ann # prettyList :: [FileCreate] -> Doc ann #
HasUri FileCreate Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' FileCreate Text #
HasFiles CreateFilesParams [FileCreate] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods files :: Lens' CreateFilesParams [FileCreate] #
type Rep FileCreate # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileCreate type Rep FileCreate = D1 ('MetaData "FileCreate" "Language.LSP.Protocol.Internal.Types.FileCreate" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileCreate" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data FileDelete #

Represents information on a file/folder delete.

Since: 3.16.0

Constructors

FileDelete |

Fields

- _uri :: Text

  A file:/ URI for the location of the filefolder being deleted.

#### Instances

Instances details

FromJSON FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods parseJSON :: Value -> Parser FileDelete # parseJSONList :: Value -> Parser [FileDelete] # omittedField :: Maybe FileDelete #
ToJSON FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods toJSON :: FileDelete -> Value # toEncoding :: FileDelete -> Encoding # toJSONList :: [FileDelete] -> Value # toEncodingList :: [FileDelete] -> Encoding # omitField :: FileDelete -> Bool #
NFData FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods rnf :: FileDelete -> () #
Generic FileDelete # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileDelete

Associated Types

type Rep FileDelete |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete type Rep FileDelete = D1 ('MetaData "FileDelete" "Language.LSP.Protocol.Internal.Types.FileDelete" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileDelete" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: FileDelete -> Rep FileDelete x #

to :: Rep FileDelete x -> FileDelete #

Show FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods showsPrec :: Int -> FileDelete -> ShowS # show :: FileDelete -> String # showList :: [FileDelete] -> ShowS #
Eq FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods (==) :: FileDelete -> FileDelete -> Bool # (/=) :: FileDelete -> FileDelete -> Bool #
Ord FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods compare :: FileDelete -> FileDelete -> Ordering # (<) :: FileDelete -> FileDelete -> Bool # (<=) :: FileDelete -> FileDelete -> Bool # (>) :: FileDelete -> FileDelete -> Bool # (>=) :: FileDelete -> FileDelete -> Bool # max :: FileDelete -> FileDelete -> FileDelete # min :: FileDelete -> FileDelete -> FileDelete #
Hashable FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods hashWithSalt :: Int -> FileDelete -> Int # hash :: FileDelete -> Int #
Pretty FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete Methods pretty :: FileDelete -> Doc ann # prettyList :: [FileDelete] -> Doc ann #
HasUri FileDelete Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' FileDelete Text #
HasFiles DeleteFilesParams [FileDelete] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods files :: Lens' DeleteFilesParams [FileDelete] #
type Rep FileDelete # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileDelete type Rep FileDelete = D1 ('MetaData "FileDelete" "Language.LSP.Protocol.Internal.Types.FileDelete" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileDelete" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data FileEvent #

An event describing a file change.

Constructors

FileEvent |

Fields

- _uri :: Uri

  The file's uri.

- _type_ :: FileChangeType

  The change type.

#### Instances

Instances details

FromJSON FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods parseJSON :: Value -> Parser FileEvent # parseJSONList :: Value -> Parser [FileEvent] # omittedField :: Maybe FileEvent #
ToJSON FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods toJSON :: FileEvent -> Value # toEncoding :: FileEvent -> Encoding # toJSONList :: [FileEvent] -> Value # toEncodingList :: [FileEvent] -> Encoding # omitField :: FileEvent -> Bool #
NFData FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods rnf :: FileEvent -> () #
Generic FileEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileEvent

Associated Types

type Rep FileEvent |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileEvent

type Rep FileEvent = D1 ('MetaData "FileEvent" "Language.LSP.Protocol.Internal.Types.FileEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FileChangeType)))

Methods

from :: FileEvent -> Rep FileEvent x #

to :: Rep FileEvent x -> FileEvent #

Show FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods showsPrec :: Int -> FileEvent -> ShowS # show :: FileEvent -> String # showList :: [FileEvent] -> ShowS #
Eq FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods (==) :: FileEvent -> FileEvent -> Bool # (/=) :: FileEvent -> FileEvent -> Bool #
Ord FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods compare :: FileEvent -> FileEvent -> Ordering # (<) :: FileEvent -> FileEvent -> Bool # (<=) :: FileEvent -> FileEvent -> Bool # (>) :: FileEvent -> FileEvent -> Bool # (>=) :: FileEvent -> FileEvent -> Bool # max :: FileEvent -> FileEvent -> FileEvent # min :: FileEvent -> FileEvent -> FileEvent #
Hashable FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods hashWithSalt :: Int -> FileEvent -> Int # hash :: FileEvent -> Int #
Pretty FileEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileEvent Methods pretty :: FileEvent -> Doc ann # prettyList :: [FileEvent] -> Doc ann #
HasType_ FileEvent FileChangeType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' FileEvent FileChangeType #
HasUri FileEvent Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' FileEvent Uri #
HasChanges DidChangeWatchedFilesParams [FileEvent] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' DidChangeWatchedFilesParams [FileEvent] #
type Rep FileEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileEvent

type Rep FileEvent = D1 ('MetaData "FileEvent" "Language.LSP.Protocol.Internal.Types.FileEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FileChangeType)))

data FileOperationClientCapabilities #

Capabilities relating to events from file operations by the user in the client.

These events do not come from the file system, they come from user operations like renaming a file in the UI.

Since: 3.16.0

Constructors

FileOperationClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether the client supports dynamic registration for file requests/notifications.

- _didCreate :: Maybe Bool

  The client has support for sending didCreateFiles notifications.

- _willCreate :: Maybe Bool

  The client has support for sending willCreateFiles requests.

- _didRename :: Maybe Bool

  The client has support for sending didRenameFiles notifications.

- _willRename :: Maybe Bool

  The client has support for sending willRenameFiles requests.

- _didDelete :: Maybe Bool

  The client has support for sending didDeleteFiles notifications.

- _willDelete :: Maybe Bool

  The client has support for sending willDeleteFiles requests.

#### Instances

Instances details

FromJSON FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods parseJSON :: Value -> Parser FileOperationClientCapabilities # parseJSONList :: Value -> Parser [FileOperationClientCapabilities] # omittedField :: Maybe FileOperationClientCapabilities #
ToJSON FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods toJSON :: FileOperationClientCapabilities -> Value # toEncoding :: FileOperationClientCapabilities -> Encoding # toJSONList :: [FileOperationClientCapabilities] -> Value # toEncodingList :: [FileOperationClientCapabilities] -> Encoding # omitField :: FileOperationClientCapabilities -> Bool #
NFData FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods rnf :: FileOperationClientCapabilities -> () #
Generic FileOperationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities

Associated Types

type Rep FileOperationClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities

type Rep FileOperationClientCapabilities = D1 ('MetaData "FileOperationClientCapabilities" "Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_didCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "_didRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_didDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

Methods

from :: FileOperationClientCapabilities -> Rep FileOperationClientCapabilities x #

to :: Rep FileOperationClientCapabilities x -> FileOperationClientCapabilities #

Show FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods showsPrec :: Int -> FileOperationClientCapabilities -> ShowS # show :: FileOperationClientCapabilities -> String # showList :: [FileOperationClientCapabilities] -> ShowS #
Eq FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods (==) :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Bool # (/=) :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Bool #
Ord FileOperationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities

Methods

compare :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Ordering #

(<) :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Bool #

(<=) :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Bool #

(>) :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Bool #

(>=) :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> Bool #

max :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> FileOperationClientCapabilities #

min :: FileOperationClientCapabilities -> FileOperationClientCapabilities -> FileOperationClientCapabilities #

Hashable FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods hashWithSalt :: Int -> FileOperationClientCapabilities -> Int # hash :: FileOperationClientCapabilities -> Int #
Pretty FileOperationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities Methods pretty :: FileOperationClientCapabilities -> Doc ann # prettyList :: [FileOperationClientCapabilities] -> Doc ann #
HasDidCreate FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didCreate :: Lens' FileOperationClientCapabilities (Maybe Bool) #
HasDidDelete FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didDelete :: Lens' FileOperationClientCapabilities (Maybe Bool) #
HasDidRename FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didRename :: Lens' FileOperationClientCapabilities (Maybe Bool) #
HasDynamicRegistration FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' FileOperationClientCapabilities (Maybe Bool) #
HasFileOperations WorkspaceClientCapabilities (Maybe FileOperationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fileOperations :: Lens' WorkspaceClientCapabilities (Maybe FileOperationClientCapabilities) #
HasWillCreate FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willCreate :: Lens' FileOperationClientCapabilities (Maybe Bool) #
HasWillDelete FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willDelete :: Lens' FileOperationClientCapabilities (Maybe Bool) #
HasWillRename FileOperationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willRename :: Lens' FileOperationClientCapabilities (Maybe Bool) #
type Rep FileOperationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities

type Rep FileOperationClientCapabilities = D1 ('MetaData "FileOperationClientCapabilities" "Language.LSP.Protocol.Internal.Types.FileOperationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_didCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "_didRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_didDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

data FileOperationFilter #

A filter to describe in which file operation requests or notifications the server is interested in receiving.

Since: 3.16.0

Constructors

FileOperationFilter |

Fields

- _scheme :: Maybe Text

  A Uri scheme like `file` or `untitled`.

- _pattern :: FileOperationPattern

  The actual file operation pattern.

#### Instances

Instances details

FromJSON FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods parseJSON :: Value -> Parser FileOperationFilter # parseJSONList :: Value -> Parser [FileOperationFilter] # omittedField :: Maybe FileOperationFilter #
ToJSON FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods toJSON :: FileOperationFilter -> Value # toEncoding :: FileOperationFilter -> Encoding # toJSONList :: [FileOperationFilter] -> Value # toEncodingList :: [FileOperationFilter] -> Encoding # omitField :: FileOperationFilter -> Bool #
NFData FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods rnf :: FileOperationFilter -> () #
Generic FileOperationFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter

Associated Types

type Rep FileOperationFilter |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter

type Rep FileOperationFilter = D1 ('MetaData "FileOperationFilter" "Language.LSP.Protocol.Internal.Types.FileOperationFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FileOperationPattern)))

Methods

from :: FileOperationFilter -> Rep FileOperationFilter x #

to :: Rep FileOperationFilter x -> FileOperationFilter #

Show FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods showsPrec :: Int -> FileOperationFilter -> ShowS # show :: FileOperationFilter -> String # showList :: [FileOperationFilter] -> ShowS #
Eq FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods (==) :: FileOperationFilter -> FileOperationFilter -> Bool # (/=) :: FileOperationFilter -> FileOperationFilter -> Bool #
Ord FileOperationFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter

Methods

compare :: FileOperationFilter -> FileOperationFilter -> Ordering #

(<) :: FileOperationFilter -> FileOperationFilter -> Bool #

(<=) :: FileOperationFilter -> FileOperationFilter -> Bool #

(>) :: FileOperationFilter -> FileOperationFilter -> Bool #

(>=) :: FileOperationFilter -> FileOperationFilter -> Bool #

max :: FileOperationFilter -> FileOperationFilter -> FileOperationFilter #

min :: FileOperationFilter -> FileOperationFilter -> FileOperationFilter #

Hashable FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods hashWithSalt :: Int -> FileOperationFilter -> Int # hash :: FileOperationFilter -> Int #
Pretty FileOperationFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter Methods pretty :: FileOperationFilter -> Doc ann # prettyList :: [FileOperationFilter] -> Doc ann #
HasPattern FileOperationFilter FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' FileOperationFilter FileOperationPattern #
HasFilters FileOperationRegistrationOptions [FileOperationFilter] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods filters :: Lens' FileOperationRegistrationOptions [FileOperationFilter] #
HasScheme FileOperationFilter (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' FileOperationFilter (Maybe Text) #
type Rep FileOperationFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationFilter

type Rep FileOperationFilter = D1 ('MetaData "FileOperationFilter" "Language.LSP.Protocol.Internal.Types.FileOperationFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 FileOperationPattern)))

data FileOperationOptions #

Options for notifications/requests for user operations on files.

Since: 3.16.0

Constructors

FileOperationOptions |

Fields

- _didCreate :: Maybe FileOperationRegistrationOptions

  The server is interested in receiving didCreateFiles notifications.

- _willCreate :: Maybe FileOperationRegistrationOptions

  The server is interested in receiving willCreateFiles requests.

- _didRename :: Maybe FileOperationRegistrationOptions

  The server is interested in receiving didRenameFiles notifications.

- _willRename :: Maybe FileOperationRegistrationOptions

  The server is interested in receiving willRenameFiles requests.

- _didDelete :: Maybe FileOperationRegistrationOptions

  The server is interested in receiving didDeleteFiles file notifications.

- _willDelete :: Maybe FileOperationRegistrationOptions

  The server is interested in receiving willDeleteFiles file requests.

#### Instances

Instances details

FromJSON FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods parseJSON :: Value -> Parser FileOperationOptions # parseJSONList :: Value -> Parser [FileOperationOptions] # omittedField :: Maybe FileOperationOptions #
ToJSON FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods toJSON :: FileOperationOptions -> Value # toEncoding :: FileOperationOptions -> Encoding # toJSONList :: [FileOperationOptions] -> Value # toEncodingList :: [FileOperationOptions] -> Encoding # omitField :: FileOperationOptions -> Bool #
NFData FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods rnf :: FileOperationOptions -> () #
Generic FileOperationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions

Associated Types

type Rep FileOperationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions

type Rep FileOperationOptions = D1 ('MetaData "FileOperationOptions" "Language.LSP.Protocol.Internal.Types.FileOperationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_didCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: (S1 ('MetaSel ('Just "_willCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: S1 ('MetaSel ('Just "_didRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)))) :*: (S1 ('MetaSel ('Just "_willRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: (S1 ('MetaSel ('Just "_didDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: S1 ('MetaSel ('Just "_willDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions))))))

Methods

from :: FileOperationOptions -> Rep FileOperationOptions x #

to :: Rep FileOperationOptions x -> FileOperationOptions #

Show FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods showsPrec :: Int -> FileOperationOptions -> ShowS # show :: FileOperationOptions -> String # showList :: [FileOperationOptions] -> ShowS #
Eq FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods (==) :: FileOperationOptions -> FileOperationOptions -> Bool # (/=) :: FileOperationOptions -> FileOperationOptions -> Bool #
Ord FileOperationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions

Methods

compare :: FileOperationOptions -> FileOperationOptions -> Ordering #

(<) :: FileOperationOptions -> FileOperationOptions -> Bool #

(<=) :: FileOperationOptions -> FileOperationOptions -> Bool #

(>) :: FileOperationOptions -> FileOperationOptions -> Bool #

(>=) :: FileOperationOptions -> FileOperationOptions -> Bool #

max :: FileOperationOptions -> FileOperationOptions -> FileOperationOptions #

min :: FileOperationOptions -> FileOperationOptions -> FileOperationOptions #

Hashable FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods hashWithSalt :: Int -> FileOperationOptions -> Int # hash :: FileOperationOptions -> Int #
Pretty FileOperationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions Methods pretty :: FileOperationOptions -> Doc ann # prettyList :: [FileOperationOptions] -> Doc ann #
HasDidCreate FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didCreate :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasDidDelete FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didDelete :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasDidRename FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didRename :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasFileOperations WorkspaceOptions (Maybe FileOperationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fileOperations :: Lens' WorkspaceOptions (Maybe FileOperationOptions) #
HasWillCreate FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willCreate :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasWillDelete FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willDelete :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
HasWillRename FileOperationOptions (Maybe FileOperationRegistrationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willRename :: Lens' FileOperationOptions (Maybe FileOperationRegistrationOptions) #
type Rep FileOperationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationOptions

type Rep FileOperationOptions = D1 ('MetaData "FileOperationOptions" "Language.LSP.Protocol.Internal.Types.FileOperationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_didCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: (S1 ('MetaSel ('Just "_willCreate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: S1 ('MetaSel ('Just "_didRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)))) :*: (S1 ('MetaSel ('Just "_willRename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: (S1 ('MetaSel ('Just "_didDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions)) :*: S1 ('MetaSel ('Just "_willDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationRegistrationOptions))))))

data FileOperationPattern #

A pattern to describe in which file operation requests or notifications the server is interested in receiving.

Since: 3.16.0

Constructors

FileOperationPattern |

Fields

- _glob :: Text

  The glob pattern to match. 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 sub patterns into an OR expression. (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`)

- _matches :: Maybe FileOperationPatternKind

  Whether to match files or folders with this pattern.

  Matches both if undefined.

- _options :: Maybe FileOperationPatternOptions

  Additional options used during matching.

#### Instances

Instances details

FromJSON FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods parseJSON :: Value -> Parser FileOperationPattern # parseJSONList :: Value -> Parser [FileOperationPattern] # omittedField :: Maybe FileOperationPattern #
ToJSON FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods toJSON :: FileOperationPattern -> Value # toEncoding :: FileOperationPattern -> Encoding # toJSONList :: [FileOperationPattern] -> Value # toEncodingList :: [FileOperationPattern] -> Encoding # omitField :: FileOperationPattern -> Bool #
NFData FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods rnf :: FileOperationPattern -> () #
Generic FileOperationPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern

Associated Types

type Rep FileOperationPattern |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern

type Rep FileOperationPattern = D1 ('MetaData "FileOperationPattern" "Language.LSP.Protocol.Internal.Types.FileOperationPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationPattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_glob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_matches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationPatternKind)) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationPatternOptions)))))

Methods

from :: FileOperationPattern -> Rep FileOperationPattern x #

to :: Rep FileOperationPattern x -> FileOperationPattern #

Show FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods showsPrec :: Int -> FileOperationPattern -> ShowS # show :: FileOperationPattern -> String # showList :: [FileOperationPattern] -> ShowS #
Eq FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods (==) :: FileOperationPattern -> FileOperationPattern -> Bool # (/=) :: FileOperationPattern -> FileOperationPattern -> Bool #
Ord FileOperationPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern

Methods

compare :: FileOperationPattern -> FileOperationPattern -> Ordering #

(<) :: FileOperationPattern -> FileOperationPattern -> Bool #

(<=) :: FileOperationPattern -> FileOperationPattern -> Bool #

(>) :: FileOperationPattern -> FileOperationPattern -> Bool #

(>=) :: FileOperationPattern -> FileOperationPattern -> Bool #

max :: FileOperationPattern -> FileOperationPattern -> FileOperationPattern #

min :: FileOperationPattern -> FileOperationPattern -> FileOperationPattern #

Hashable FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods hashWithSalt :: Int -> FileOperationPattern -> Int # hash :: FileOperationPattern -> Int #
Pretty FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern Methods pretty :: FileOperationPattern -> Doc ann # prettyList :: [FileOperationPattern] -> Doc ann #
HasGlob FileOperationPattern Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods glob :: Lens' FileOperationPattern Text #
HasPattern FileOperationFilter FileOperationPattern # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' FileOperationFilter FileOperationPattern #
HasMatches FileOperationPattern (Maybe FileOperationPatternKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods matches :: Lens' FileOperationPattern (Maybe FileOperationPatternKind) #
HasOptions FileOperationPattern (Maybe FileOperationPatternOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' FileOperationPattern (Maybe FileOperationPatternOptions) #
type Rep FileOperationPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPattern

type Rep FileOperationPattern = D1 ('MetaData "FileOperationPattern" "Language.LSP.Protocol.Internal.Types.FileOperationPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationPattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_glob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_matches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationPatternKind)) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationPatternOptions)))))

data FileOperationPatternKind #

A pattern kind describing if a glob pattern matches a file a folder or both.

Since: 3.16.0

Constructors

FileOperationPatternKind_File | The pattern matches a file only.
FileOperationPatternKind_Folder | The pattern matches a folder only.

#### Instances

Instances details

FromJSON FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods parseJSON :: Value -> Parser FileOperationPatternKind # parseJSONList :: Value -> Parser [FileOperationPatternKind] # omittedField :: Maybe FileOperationPatternKind #
ToJSON FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods toJSON :: FileOperationPatternKind -> Value # toEncoding :: FileOperationPatternKind -> Encoding # toJSONList :: [FileOperationPatternKind] -> Value # toEncodingList :: [FileOperationPatternKind] -> Encoding # omitField :: FileOperationPatternKind -> Bool #
NFData FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods rnf :: FileOperationPatternKind -> () #
Generic FileOperationPatternKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind

Associated Types

type Rep FileOperationPatternKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind

type Rep FileOperationPatternKind = D1 ('MetaData "FileOperationPatternKind" "Language.LSP.Protocol.Internal.Types.FileOperationPatternKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationPatternKind_File" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FileOperationPatternKind_Folder" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: FileOperationPatternKind -> Rep FileOperationPatternKind x #

to :: Rep FileOperationPatternKind x -> FileOperationPatternKind #

Show FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods showsPrec :: Int -> FileOperationPatternKind -> ShowS # show :: FileOperationPatternKind -> String # showList :: [FileOperationPatternKind] -> ShowS #
Eq FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods (==) :: FileOperationPatternKind -> FileOperationPatternKind -> Bool # (/=) :: FileOperationPatternKind -> FileOperationPatternKind -> Bool #
Ord FileOperationPatternKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind

Methods

compare :: FileOperationPatternKind -> FileOperationPatternKind -> Ordering #

(<) :: FileOperationPatternKind -> FileOperationPatternKind -> Bool #

(<=) :: FileOperationPatternKind -> FileOperationPatternKind -> Bool #

(>) :: FileOperationPatternKind -> FileOperationPatternKind -> Bool #

(>=) :: FileOperationPatternKind -> FileOperationPatternKind -> Bool #

max :: FileOperationPatternKind -> FileOperationPatternKind -> FileOperationPatternKind #

min :: FileOperationPatternKind -> FileOperationPatternKind -> FileOperationPatternKind #

Hashable FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods hashWithSalt :: Int -> FileOperationPatternKind -> Int # hash :: FileOperationPatternKind -> Int #
LspEnum FileOperationPatternKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind

Associated Types

type EnumBaseType FileOperationPatternKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind type EnumBaseType FileOperationPatternKind = Text

Methods

knownValues :: Set FileOperationPatternKind #

toEnumBaseType :: FileOperationPatternKind -> EnumBaseType FileOperationPatternKind #

fromEnumBaseType :: EnumBaseType FileOperationPatternKind -> Maybe FileOperationPatternKind #

Pretty FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind Methods pretty :: FileOperationPatternKind -> Doc ann # prettyList :: [FileOperationPatternKind] -> Doc ann #
HasMatches FileOperationPattern (Maybe FileOperationPatternKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods matches :: Lens' FileOperationPattern (Maybe FileOperationPatternKind) #
type Rep FileOperationPatternKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind

type Rep FileOperationPatternKind = D1 ('MetaData "FileOperationPatternKind" "Language.LSP.Protocol.Internal.Types.FileOperationPatternKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationPatternKind_File" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FileOperationPatternKind_Folder" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType FileOperationPatternKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternKind type EnumBaseType FileOperationPatternKind = Text

data FileOperationPatternOptions #

Matching options for the file operation pattern.

Since: 3.16.0

Constructors

FileOperationPatternOptions |

Fields

- _ignoreCase :: Maybe Bool

  The pattern should be matched ignoring casing.

#### Instances

Instances details

FromJSON FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods parseJSON :: Value -> Parser FileOperationPatternOptions # parseJSONList :: Value -> Parser [FileOperationPatternOptions] # omittedField :: Maybe FileOperationPatternOptions #
ToJSON FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods toJSON :: FileOperationPatternOptions -> Value # toEncoding :: FileOperationPatternOptions -> Encoding # toJSONList :: [FileOperationPatternOptions] -> Value # toEncodingList :: [FileOperationPatternOptions] -> Encoding # omitField :: FileOperationPatternOptions -> Bool #
NFData FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods rnf :: FileOperationPatternOptions -> () #
Generic FileOperationPatternOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions

Associated Types

type Rep FileOperationPatternOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions

type Rep FileOperationPatternOptions = D1 ('MetaData "FileOperationPatternOptions" "Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationPatternOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ignoreCase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: FileOperationPatternOptions -> Rep FileOperationPatternOptions x #

to :: Rep FileOperationPatternOptions x -> FileOperationPatternOptions #

Show FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods showsPrec :: Int -> FileOperationPatternOptions -> ShowS # show :: FileOperationPatternOptions -> String # showList :: [FileOperationPatternOptions] -> ShowS #
Eq FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods (==) :: FileOperationPatternOptions -> FileOperationPatternOptions -> Bool # (/=) :: FileOperationPatternOptions -> FileOperationPatternOptions -> Bool #
Ord FileOperationPatternOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions

Methods

compare :: FileOperationPatternOptions -> FileOperationPatternOptions -> Ordering #

(<) :: FileOperationPatternOptions -> FileOperationPatternOptions -> Bool #

(<=) :: FileOperationPatternOptions -> FileOperationPatternOptions -> Bool #

(>) :: FileOperationPatternOptions -> FileOperationPatternOptions -> Bool #

(>=) :: FileOperationPatternOptions -> FileOperationPatternOptions -> Bool #

max :: FileOperationPatternOptions -> FileOperationPatternOptions -> FileOperationPatternOptions #

min :: FileOperationPatternOptions -> FileOperationPatternOptions -> FileOperationPatternOptions #

Hashable FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods hashWithSalt :: Int -> FileOperationPatternOptions -> Int # hash :: FileOperationPatternOptions -> Int #
Pretty FileOperationPatternOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions Methods pretty :: FileOperationPatternOptions -> Doc ann # prettyList :: [FileOperationPatternOptions] -> Doc ann #
HasIgnoreCase FileOperationPatternOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ignoreCase :: Lens' FileOperationPatternOptions (Maybe Bool) #
HasOptions FileOperationPattern (Maybe FileOperationPatternOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' FileOperationPattern (Maybe FileOperationPatternOptions) #
type Rep FileOperationPatternOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions

type Rep FileOperationPatternOptions = D1 ('MetaData "FileOperationPatternOptions" "Language.LSP.Protocol.Internal.Types.FileOperationPatternOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileOperationPatternOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_ignoreCase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data FileRename #

Represents information on a file/folder rename.

Since: 3.16.0

Constructors

FileRename |

Fields

- _oldUri :: Text

  A file:/ URI for the original location of the filefolder being renamed.

- _newUri :: Text

  A file:/ URI for the new location of the filefolder being renamed.

#### Instances

Instances details

FromJSON FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods parseJSON :: Value -> Parser FileRename # parseJSONList :: Value -> Parser [FileRename] # omittedField :: Maybe FileRename #
ToJSON FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods toJSON :: FileRename -> Value # toEncoding :: FileRename -> Encoding # toJSONList :: [FileRename] -> Value # toEncodingList :: [FileRename] -> Encoding # omitField :: FileRename -> Bool #
NFData FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods rnf :: FileRename -> () #
Generic FileRename # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileRename

Associated Types

type Rep FileRename |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileRename

type Rep FileRename = D1 ('MetaData "FileRename" "Language.LSP.Protocol.Internal.Types.FileRename" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileRename" 'PrefixI 'True) (S1 ('MetaSel ('Just "_oldUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_newUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: FileRename -> Rep FileRename x #

to :: Rep FileRename x -> FileRename #

Show FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods showsPrec :: Int -> FileRename -> ShowS # show :: FileRename -> String # showList :: [FileRename] -> ShowS #
Eq FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods (==) :: FileRename -> FileRename -> Bool # (/=) :: FileRename -> FileRename -> Bool #
Ord FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods compare :: FileRename -> FileRename -> Ordering # (<) :: FileRename -> FileRename -> Bool # (<=) :: FileRename -> FileRename -> Bool # (>) :: FileRename -> FileRename -> Bool # (>=) :: FileRename -> FileRename -> Bool # max :: FileRename -> FileRename -> FileRename # min :: FileRename -> FileRename -> FileRename #
Hashable FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods hashWithSalt :: Int -> FileRename -> Int # hash :: FileRename -> Int #
Pretty FileRename # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileRename Methods pretty :: FileRename -> Doc ann # prettyList :: [FileRename] -> Doc ann #
HasNewUri FileRename Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newUri :: Lens' FileRename Text #
HasOldUri FileRename Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods oldUri :: Lens' FileRename Text #
HasFiles RenameFilesParams [FileRename] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods files :: Lens' RenameFilesParams [FileRename] #
type Rep FileRename # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileRename

type Rep FileRename = D1 ('MetaData "FileRename" "Language.LSP.Protocol.Internal.Types.FileRename" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileRename" 'PrefixI 'True) (S1 ('MetaSel ('Just "_oldUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_newUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data FileSystemWatcher #

Constructors

FileSystemWatcher |

Fields

- _globPattern :: GlobPattern

  The glob pattern to watch. See `GlobPattern` for more detail.

  @since 3.17.0 support for relative patterns.

- _kind :: Maybe WatchKind

  The kind of events of interest. If omitted it defaults to WatchKind.Create | WatchKind.Change | WatchKind.Delete which is 7.

#### Instances

Instances details

FromJSON FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods parseJSON :: Value -> Parser FileSystemWatcher # parseJSONList :: Value -> Parser [FileSystemWatcher] # omittedField :: Maybe FileSystemWatcher #
ToJSON FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods toJSON :: FileSystemWatcher -> Value # toEncoding :: FileSystemWatcher -> Encoding # toJSONList :: [FileSystemWatcher] -> Value # toEncodingList :: [FileSystemWatcher] -> Encoding # omitField :: FileSystemWatcher -> Bool #
NFData FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods rnf :: FileSystemWatcher -> () #
Generic FileSystemWatcher # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher

Associated Types

type Rep FileSystemWatcher |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher

type Rep FileSystemWatcher = D1 ('MetaData "FileSystemWatcher" "Language.LSP.Protocol.Internal.Types.FileSystemWatcher" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileSystemWatcher" 'PrefixI 'True) (S1 ('MetaSel ('Just "_globPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GlobPattern) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WatchKind))))

Methods

from :: FileSystemWatcher -> Rep FileSystemWatcher x #

to :: Rep FileSystemWatcher x -> FileSystemWatcher #

Show FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods showsPrec :: Int -> FileSystemWatcher -> ShowS # show :: FileSystemWatcher -> String # showList :: [FileSystemWatcher] -> ShowS #
Eq FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods (==) :: FileSystemWatcher -> FileSystemWatcher -> Bool # (/=) :: FileSystemWatcher -> FileSystemWatcher -> Bool #
Ord FileSystemWatcher # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher

Methods

compare :: FileSystemWatcher -> FileSystemWatcher -> Ordering #

(<) :: FileSystemWatcher -> FileSystemWatcher -> Bool #

(<=) :: FileSystemWatcher -> FileSystemWatcher -> Bool #

(>) :: FileSystemWatcher -> FileSystemWatcher -> Bool #

(>=) :: FileSystemWatcher -> FileSystemWatcher -> Bool #

max :: FileSystemWatcher -> FileSystemWatcher -> FileSystemWatcher #

min :: FileSystemWatcher -> FileSystemWatcher -> FileSystemWatcher #

Hashable FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods hashWithSalt :: Int -> FileSystemWatcher -> Int # hash :: FileSystemWatcher -> Int #
Pretty FileSystemWatcher # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher Methods pretty :: FileSystemWatcher -> Doc ann # prettyList :: [FileSystemWatcher] -> Doc ann #
HasGlobPattern FileSystemWatcher GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods globPattern :: Lens' FileSystemWatcher GlobPattern #
HasKind FileSystemWatcher (Maybe WatchKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' FileSystemWatcher (Maybe WatchKind) #
HasWatchers DidChangeWatchedFilesRegistrationOptions [FileSystemWatcher] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods watchers :: Lens' DidChangeWatchedFilesRegistrationOptions [FileSystemWatcher] #
type Rep FileSystemWatcher # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FileSystemWatcher

type Rep FileSystemWatcher = D1 ('MetaData "FileSystemWatcher" "Language.LSP.Protocol.Internal.Types.FileSystemWatcher" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FileSystemWatcher" 'PrefixI 'True) (S1 ('MetaSel ('Just "_globPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GlobPattern) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WatchKind))))

data FoldingRangeClientCapabilities #

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 `FoldingRangeRegistrationOptions` return value for the corresponding server capability as well.

- _rangeLimit :: Maybe UInt

  The maximum number of folding ranges that the client prefers to receive per document. The value serves as a hint, servers are free to follow the limit.

- _lineFoldingOnly :: Maybe Bool

  If set, the client signals that it only supports folding complete lines. If set, client will ignore specified `startCharacter` and `endCharacter` properties in a FoldingRange.

- _foldingRangeKind :: Maybe ClientFoldingRangeKindOptions

  Specific options for the folding range kind.

  Since: 3.17.0

- _foldingRange :: Maybe ClientFoldingRangeOptions

  Specific options for the folding range.

  Since: 3.17.0

#### Instances

Instances details

FromJSON FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods parseJSON :: Value -> Parser FoldingRangeClientCapabilities # parseJSONList :: Value -> Parser [FoldingRangeClientCapabilities] # omittedField :: Maybe FoldingRangeClientCapabilities #
ToJSON FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods toJSON :: FoldingRangeClientCapabilities -> Value # toEncoding :: FoldingRangeClientCapabilities -> Encoding # toJSONList :: [FoldingRangeClientCapabilities] -> Value # toEncodingList :: [FoldingRangeClientCapabilities] -> Encoding # omitField :: FoldingRangeClientCapabilities -> Bool #
NFData FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods rnf :: FoldingRangeClientCapabilities -> () #
Generic FoldingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities

Associated Types

type Rep FoldingRangeClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities

type Rep FoldingRangeClientCapabilities = D1 ('MetaData "FoldingRangeClientCapabilities" "Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_rangeLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt))) :*: (S1 ('MetaSel ('Just "_lineFoldingOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_foldingRangeKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientFoldingRangeKindOptions)) :*: S1 ('MetaSel ('Just "_foldingRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientFoldingRangeOptions))))))

Methods

from :: FoldingRangeClientCapabilities -> Rep FoldingRangeClientCapabilities x #

to :: Rep FoldingRangeClientCapabilities x -> FoldingRangeClientCapabilities #

Show FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods showsPrec :: Int -> FoldingRangeClientCapabilities -> ShowS # show :: FoldingRangeClientCapabilities -> String # showList :: [FoldingRangeClientCapabilities] -> ShowS #
Eq FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods (==) :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Bool # (/=) :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Bool #
Ord FoldingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities

Methods

compare :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Ordering #

(<) :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Bool #

(<=) :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Bool #

(>) :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Bool #

(>=) :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> Bool #

max :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities #

min :: FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities -> FoldingRangeClientCapabilities #

Hashable FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods hashWithSalt :: Int -> FoldingRangeClientCapabilities -> Int # hash :: FoldingRangeClientCapabilities -> Int #
Pretty FoldingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities Methods pretty :: FoldingRangeClientCapabilities -> Doc ann # prettyList :: [FoldingRangeClientCapabilities] -> Doc ann #
HasDynamicRegistration FoldingRangeClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' FoldingRangeClientCapabilities (Maybe Bool) #
HasFoldingRange FoldingRangeClientCapabilities (Maybe ClientFoldingRangeOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRange :: Lens' FoldingRangeClientCapabilities (Maybe ClientFoldingRangeOptions) #
HasFoldingRange TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRange :: Lens' TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) #
HasFoldingRangeKind FoldingRangeClientCapabilities (Maybe ClientFoldingRangeKindOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRangeKind :: Lens' FoldingRangeClientCapabilities (Maybe ClientFoldingRangeKindOptions) #
HasLineFoldingOnly FoldingRangeClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods lineFoldingOnly :: Lens' FoldingRangeClientCapabilities (Maybe Bool) #
HasRangeLimit FoldingRangeClientCapabilities (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rangeLimit :: Lens' FoldingRangeClientCapabilities (Maybe UInt) #
type Rep FoldingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities

type Rep FoldingRangeClientCapabilities = D1 ('MetaData "FoldingRangeClientCapabilities" "Language.LSP.Protocol.Internal.Types.FoldingRangeClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_rangeLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt))) :*: (S1 ('MetaSel ('Just "_lineFoldingOnly") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_foldingRangeKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientFoldingRangeKindOptions)) :*: S1 ('MetaSel ('Just "_foldingRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientFoldingRangeOptions))))))

data FoldingRangeKind #

A set of predefined range kinds.

Constructors

FoldingRangeKind_Comment | Folding range for a comment
FoldingRangeKind_Imports | Folding range for an import or include
FoldingRangeKind_Region | Folding range for a region (e.g. `#region`)
FoldingRangeKind_Custom Text |

#### Instances

Instances details

FromJSON FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods parseJSON :: Value -> Parser FoldingRangeKind # parseJSONList :: Value -> Parser [FoldingRangeKind] # omittedField :: Maybe FoldingRangeKind #
ToJSON FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods toJSON :: FoldingRangeKind -> Value # toEncoding :: FoldingRangeKind -> Encoding # toJSONList :: [FoldingRangeKind] -> Value # toEncodingList :: [FoldingRangeKind] -> Encoding # omitField :: FoldingRangeKind -> Bool #
NFData FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods rnf :: FoldingRangeKind -> () #
IsString FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods fromString :: String -> FoldingRangeKind #
Generic FoldingRangeKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind

Associated Types

type Rep FoldingRangeKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind

type Rep FoldingRangeKind = D1 ('MetaData "FoldingRangeKind" "Language.LSP.Protocol.Internal.Types.FoldingRangeKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "FoldingRangeKind_Comment" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FoldingRangeKind_Imports" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FoldingRangeKind_Region" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FoldingRangeKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: FoldingRangeKind -> Rep FoldingRangeKind x #

to :: Rep FoldingRangeKind x -> FoldingRangeKind #

Show FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods showsPrec :: Int -> FoldingRangeKind -> ShowS # show :: FoldingRangeKind -> String # showList :: [FoldingRangeKind] -> ShowS #
Eq FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods (==) :: FoldingRangeKind -> FoldingRangeKind -> Bool # (/=) :: FoldingRangeKind -> FoldingRangeKind -> Bool #
Ord FoldingRangeKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind

Methods

compare :: FoldingRangeKind -> FoldingRangeKind -> Ordering #

(<) :: FoldingRangeKind -> FoldingRangeKind -> Bool #

(<=) :: FoldingRangeKind -> FoldingRangeKind -> Bool #

(>) :: FoldingRangeKind -> FoldingRangeKind -> Bool #

(>=) :: FoldingRangeKind -> FoldingRangeKind -> Bool #

max :: FoldingRangeKind -> FoldingRangeKind -> FoldingRangeKind #

min :: FoldingRangeKind -> FoldingRangeKind -> FoldingRangeKind #

Hashable FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods hashWithSalt :: Int -> FoldingRangeKind -> Int # hash :: FoldingRangeKind -> Int #
LspEnum FoldingRangeKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind

Associated Types

type EnumBaseType FoldingRangeKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind type EnumBaseType FoldingRangeKind = Text

Methods

knownValues :: Set FoldingRangeKind #

toEnumBaseType :: FoldingRangeKind -> EnumBaseType FoldingRangeKind #

fromEnumBaseType :: EnumBaseType FoldingRangeKind -> Maybe FoldingRangeKind #

LspOpenEnum FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods fromOpenEnumBaseType :: EnumBaseType FoldingRangeKind -> FoldingRangeKind #
Pretty FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind Methods pretty :: FoldingRangeKind -> Doc ann # prettyList :: [FoldingRangeKind] -> Doc ann #
HasKind FoldingRange (Maybe FoldingRangeKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' FoldingRange (Maybe FoldingRangeKind) #
HasValueSet ClientFoldingRangeKindOptions (Maybe [FoldingRangeKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientFoldingRangeKindOptions (Maybe [FoldingRangeKind]) #
type Rep FoldingRangeKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind

type Rep FoldingRangeKind = D1 ('MetaData "FoldingRangeKind" "Language.LSP.Protocol.Internal.Types.FoldingRangeKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "FoldingRangeKind_Comment" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FoldingRangeKind_Imports" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "FoldingRangeKind_Region" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "FoldingRangeKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

type EnumBaseType FoldingRangeKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeKind type EnumBaseType FoldingRangeKind = Text

data FoldingRangeOptions #

Constructors

FoldingRangeOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods parseJSON :: Value -> Parser FoldingRangeOptions # parseJSONList :: Value -> Parser [FoldingRangeOptions] # omittedField :: Maybe FoldingRangeOptions #
ToJSON FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods toJSON :: FoldingRangeOptions -> Value # toEncoding :: FoldingRangeOptions -> Encoding # toJSONList :: [FoldingRangeOptions] -> Value # toEncodingList :: [FoldingRangeOptions] -> Encoding # omitField :: FoldingRangeOptions -> Bool #
NFData FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods rnf :: FoldingRangeOptions -> () #
Generic FoldingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions

Associated Types

type Rep FoldingRangeOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions

type Rep FoldingRangeOptions = D1 ('MetaData "FoldingRangeOptions" "Language.LSP.Protocol.Internal.Types.FoldingRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: FoldingRangeOptions -> Rep FoldingRangeOptions x #

to :: Rep FoldingRangeOptions x -> FoldingRangeOptions #

Show FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods showsPrec :: Int -> FoldingRangeOptions -> ShowS # show :: FoldingRangeOptions -> String # showList :: [FoldingRangeOptions] -> ShowS #
Eq FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods (==) :: FoldingRangeOptions -> FoldingRangeOptions -> Bool # (/=) :: FoldingRangeOptions -> FoldingRangeOptions -> Bool #
Ord FoldingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions

Methods

compare :: FoldingRangeOptions -> FoldingRangeOptions -> Ordering #

(<) :: FoldingRangeOptions -> FoldingRangeOptions -> Bool #

(<=) :: FoldingRangeOptions -> FoldingRangeOptions -> Bool #

(>) :: FoldingRangeOptions -> FoldingRangeOptions -> Bool #

(>=) :: FoldingRangeOptions -> FoldingRangeOptions -> Bool #

max :: FoldingRangeOptions -> FoldingRangeOptions -> FoldingRangeOptions #

min :: FoldingRangeOptions -> FoldingRangeOptions -> FoldingRangeOptions #

Hashable FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods hashWithSalt :: Int -> FoldingRangeOptions -> Int # hash :: FoldingRangeOptions -> Int #
Pretty FoldingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions Methods pretty :: FoldingRangeOptions -> Doc ann # prettyList :: [FoldingRangeOptions] -> Doc ann #
HasFoldingRangeProvider ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) #
HasWorkDoneProgress FoldingRangeOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' FoldingRangeOptions (Maybe Bool) #
type Rep FoldingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FoldingRangeOptions

type Rep FoldingRangeOptions = D1 ('MetaData "FoldingRangeOptions" "Language.LSP.Protocol.Internal.Types.FoldingRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FoldingRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data FormattingOptions #

Value-object describing what options formatting should use.

Constructors

FormattingOptions |

Fields

- _tabSize :: UInt

  Size of a tab in spaces.

- _insertSpaces :: Bool

  Prefer spaces over tabs.

- _trimTrailingWhitespace :: Maybe Bool

  Trim trailing whitespace on a line.

  Since: 3.15.0

- _insertFinalNewline :: Maybe Bool

  Insert a newline character at the end of the file if one does not exist.

  Since: 3.15.0

- _trimFinalNewlines :: Maybe Bool

  Trim all newlines after the final newline at the end of the file.

  Since: 3.15.0

#### Instances

Instances details

FromJSON FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods parseJSON :: Value -> Parser FormattingOptions # parseJSONList :: Value -> Parser [FormattingOptions] # omittedField :: Maybe FormattingOptions #
ToJSON FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods toJSON :: FormattingOptions -> Value # toEncoding :: FormattingOptions -> Encoding # toJSONList :: [FormattingOptions] -> Value # toEncodingList :: [FormattingOptions] -> Encoding # omitField :: FormattingOptions -> Bool #
NFData FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods rnf :: FormattingOptions -> () #
Generic FormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions

Associated Types

type Rep FormattingOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions

type Rep FormattingOptions = D1 ('MetaData "FormattingOptions" "Language.LSP.Protocol.Internal.Types.FormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FormattingOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_tabSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_insertSpaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "_trimTrailingWhitespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_insertFinalNewline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_trimFinalNewlines") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

Methods

from :: FormattingOptions -> Rep FormattingOptions x #

to :: Rep FormattingOptions x -> FormattingOptions #

Show FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods showsPrec :: Int -> FormattingOptions -> ShowS # show :: FormattingOptions -> String # showList :: [FormattingOptions] -> ShowS #
Eq FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods (==) :: FormattingOptions -> FormattingOptions -> Bool # (/=) :: FormattingOptions -> FormattingOptions -> Bool #
Ord FormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions

Methods

compare :: FormattingOptions -> FormattingOptions -> Ordering #

(<) :: FormattingOptions -> FormattingOptions -> Bool #

(<=) :: FormattingOptions -> FormattingOptions -> Bool #

(>) :: FormattingOptions -> FormattingOptions -> Bool #

(>=) :: FormattingOptions -> FormattingOptions -> Bool #

max :: FormattingOptions -> FormattingOptions -> FormattingOptions #

min :: FormattingOptions -> FormattingOptions -> FormattingOptions #

Hashable FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods hashWithSalt :: Int -> FormattingOptions -> Int # hash :: FormattingOptions -> Int #
Pretty FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions Methods pretty :: FormattingOptions -> Doc ann # prettyList :: [FormattingOptions] -> Doc ann #
HasInsertSpaces FormattingOptions Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertSpaces :: Lens' FormattingOptions Bool #
HasOptions DocumentFormattingParams FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DocumentFormattingParams FormattingOptions #
HasOptions DocumentOnTypeFormattingParams FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DocumentOnTypeFormattingParams FormattingOptions #
HasOptions DocumentRangeFormattingParams FormattingOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' DocumentRangeFormattingParams FormattingOptions #
HasTabSize FormattingOptions UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tabSize :: Lens' FormattingOptions UInt #
HasInsertFinalNewline FormattingOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertFinalNewline :: Lens' FormattingOptions (Maybe Bool) #
HasTrimFinalNewlines FormattingOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods trimFinalNewlines :: Lens' FormattingOptions (Maybe Bool) #
HasTrimTrailingWhitespace FormattingOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods trimTrailingWhitespace :: Lens' FormattingOptions (Maybe Bool) #
type Rep FormattingOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FormattingOptions

type Rep FormattingOptions = D1 ('MetaData "FormattingOptions" "Language.LSP.Protocol.Internal.Types.FormattingOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FormattingOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_tabSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_insertSpaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "_trimTrailingWhitespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_insertFinalNewline") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_trimFinalNewlines") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

data FullDocumentDiagnosticReport #

A diagnostic report with a full set of problems.

Since: 3.17.0

Constructors

FullDocumentDiagnosticReport |

Fields

- _kind :: AString "full"

  A full document diagnostic report.

- _resultId :: Maybe Text

  An optional result id. If provided it will be sent on the next diagnostic request for the same document.

- _items :: [Diagnostic]

  The actual items.

#### Instances

Instances details

FromJSON FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods parseJSON :: Value -> Parser FullDocumentDiagnosticReport # parseJSONList :: Value -> Parser [FullDocumentDiagnosticReport] # omittedField :: Maybe FullDocumentDiagnosticReport #
ToJSON FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods toJSON :: FullDocumentDiagnosticReport -> Value # toEncoding :: FullDocumentDiagnosticReport -> Encoding # toJSONList :: [FullDocumentDiagnosticReport] -> Value # toEncodingList :: [FullDocumentDiagnosticReport] -> Encoding # omitField :: FullDocumentDiagnosticReport -> Bool #
NFData FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods rnf :: FullDocumentDiagnosticReport -> () #
Generic FullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport

Associated Types

type Rep FullDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport

type Rep FullDocumentDiagnosticReport = D1 ('MetaData "FullDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FullDocumentDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "full")) :*: (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]))))

Methods

from :: FullDocumentDiagnosticReport -> Rep FullDocumentDiagnosticReport x #

to :: Rep FullDocumentDiagnosticReport x -> FullDocumentDiagnosticReport #

Show FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods showsPrec :: Int -> FullDocumentDiagnosticReport -> ShowS # show :: FullDocumentDiagnosticReport -> String # showList :: [FullDocumentDiagnosticReport] -> ShowS #
Eq FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods (==) :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Bool # (/=) :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Bool #
Ord FullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport

Methods

compare :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Ordering #

(<) :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Bool #

(<=) :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Bool #

(>) :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Bool #

(>=) :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> Bool #

max :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport #

min :: FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport -> FullDocumentDiagnosticReport #

Hashable FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods hashWithSalt :: Int -> FullDocumentDiagnosticReport -> Int # hash :: FullDocumentDiagnosticReport -> Int #
Pretty FullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport Methods pretty :: FullDocumentDiagnosticReport -> Doc ann # prettyList :: [FullDocumentDiagnosticReport] -> Doc ann #
HasItems FullDocumentDiagnosticReport [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' FullDocumentDiagnosticReport [Diagnostic] #
HasKind FullDocumentDiagnosticReport (AString "full") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' FullDocumentDiagnosticReport (AString "full") #
HasRelatedDocuments RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasRelatedDocuments RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasResultId FullDocumentDiagnosticReport (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' FullDocumentDiagnosticReport (Maybe Text) #
HasRelatedDocuments DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) #
type Rep FullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport

type Rep FullDocumentDiagnosticReport = D1 ('MetaData "FullDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.FullDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "FullDocumentDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "full")) :*: (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]))))

data GeneralClientCapabilities #

General client capabilities.

Since: 3.16.0

Constructors

GeneralClientCapabilities |

Fields

- _staleRequestSupport :: Maybe StaleRequestSupportOptions

  Client capability that signals how the client handles stale requests (e.g. a request for which the client will not process the response anymore since the information is outdated).

  Since: 3.17.0

- _regularExpressions :: Maybe RegularExpressionsClientCapabilities

  Client capabilities specific to regular expressions.

  Since: 3.16.0

- _markdown :: Maybe MarkdownClientCapabilities

  Client capabilities specific to the client's markdown parser.

  Since: 3.16.0

- _positionEncodings :: Maybe [PositionEncodingKind]

  The position encodings supported by the client. Client and server have to agree on the same position encoding to ensure that offsets (e.g. character position in a line) are interpreted the same on both sides.

  To keep the protocol backwards compatible the following applies: if the value 'utf-16' is missing from the array of position encodings servers can assume that the client supports UTF-16. UTF-16 is therefore a mandatory encoding.

  If omitted it defaults to ['utf-16'].

  Implementation considerations: since the conversion from one encoding into another requires the content of the file / line the conversion is best done where the file is read which is usually on the server side.

  Since: 3.17.0

#### Instances

Instances details

FromJSON GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods parseJSON :: Value -> Parser GeneralClientCapabilities # parseJSONList :: Value -> Parser [GeneralClientCapabilities] # omittedField :: Maybe GeneralClientCapabilities #
ToJSON GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods toJSON :: GeneralClientCapabilities -> Value # toEncoding :: GeneralClientCapabilities -> Encoding # toJSONList :: [GeneralClientCapabilities] -> Value # toEncodingList :: [GeneralClientCapabilities] -> Encoding # omitField :: GeneralClientCapabilities -> Bool #
Default GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: GeneralClientCapabilities #
NFData GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods rnf :: GeneralClientCapabilities -> () #
Generic GeneralClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities

Associated Types

type Rep GeneralClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities

type Rep GeneralClientCapabilities = D1 ('MetaData "GeneralClientCapabilities" "Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "GeneralClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_staleRequestSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StaleRequestSupportOptions)) :*: S1 ('MetaSel ('Just "_regularExpressions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegularExpressionsClientCapabilities))) :*: (S1 ('MetaSel ('Just "_markdown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MarkdownClientCapabilities)) :*: S1 ('MetaSel ('Just "_positionEncodings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PositionEncodingKind])))))

Methods

from :: GeneralClientCapabilities -> Rep GeneralClientCapabilities x #

to :: Rep GeneralClientCapabilities x -> GeneralClientCapabilities #

Show GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods showsPrec :: Int -> GeneralClientCapabilities -> ShowS # show :: GeneralClientCapabilities -> String # showList :: [GeneralClientCapabilities] -> ShowS #
Eq GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods (==) :: GeneralClientCapabilities -> GeneralClientCapabilities -> Bool # (/=) :: GeneralClientCapabilities -> GeneralClientCapabilities -> Bool #
Ord GeneralClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities

Methods

compare :: GeneralClientCapabilities -> GeneralClientCapabilities -> Ordering #

(<) :: GeneralClientCapabilities -> GeneralClientCapabilities -> Bool #

(<=) :: GeneralClientCapabilities -> GeneralClientCapabilities -> Bool #

(>) :: GeneralClientCapabilities -> GeneralClientCapabilities -> Bool #

(>=) :: GeneralClientCapabilities -> GeneralClientCapabilities -> Bool #

max :: GeneralClientCapabilities -> GeneralClientCapabilities -> GeneralClientCapabilities #

min :: GeneralClientCapabilities -> GeneralClientCapabilities -> GeneralClientCapabilities #

Hashable GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods hashWithSalt :: Int -> GeneralClientCapabilities -> Int # hash :: GeneralClientCapabilities -> Int #
Pretty GeneralClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities Methods pretty :: GeneralClientCapabilities -> Doc ann # prettyList :: [GeneralClientCapabilities] -> Doc ann #
HasGeneral ClientCapabilities (Maybe GeneralClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods general :: Lens' ClientCapabilities (Maybe GeneralClientCapabilities) #
HasMarkdown GeneralClientCapabilities (Maybe MarkdownClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods markdown :: Lens' GeneralClientCapabilities (Maybe MarkdownClientCapabilities) #
HasPositionEncodings GeneralClientCapabilities (Maybe [PositionEncodingKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods positionEncodings :: Lens' GeneralClientCapabilities (Maybe [PositionEncodingKind]) #
HasRegularExpressions GeneralClientCapabilities (Maybe RegularExpressionsClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods regularExpressions :: Lens' GeneralClientCapabilities (Maybe RegularExpressionsClientCapabilities) #
HasStaleRequestSupport GeneralClientCapabilities (Maybe StaleRequestSupportOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods staleRequestSupport :: Lens' GeneralClientCapabilities (Maybe StaleRequestSupportOptions) #
type Rep GeneralClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities

type Rep GeneralClientCapabilities = D1 ('MetaData "GeneralClientCapabilities" "Language.LSP.Protocol.Internal.Types.GeneralClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "GeneralClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_staleRequestSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StaleRequestSupportOptions)) :*: S1 ('MetaSel ('Just "_regularExpressions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RegularExpressionsClientCapabilities))) :*: (S1 ('MetaSel ('Just "_markdown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MarkdownClientCapabilities)) :*: S1 ('MetaSel ('Just "_positionEncodings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PositionEncodingKind])))))

newtype GlobPattern #

The glob pattern. Either a string pattern or a relative pattern.

Since: 3.17.0

Constructors

GlobPattern (Pattern |? RelativePattern) |

#### Instances

Instances details

FromJSON GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods parseJSON :: Value -> Parser GlobPattern # parseJSONList :: Value -> Parser [GlobPattern] # omittedField :: Maybe GlobPattern #
ToJSON GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods toJSON :: GlobPattern -> Value # toEncoding :: GlobPattern -> Encoding # toJSONList :: [GlobPattern] -> Value # toEncodingList :: [GlobPattern] -> Encoding # omitField :: GlobPattern -> Bool #
NFData GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods rnf :: GlobPattern -> () #
Generic GlobPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GlobPattern

Associated Types

type Rep GlobPattern |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GlobPattern

type Rep GlobPattern = D1 ('MetaData "GlobPattern" "Language.LSP.Protocol.Internal.Types.GlobPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "GlobPattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Pattern |? RelativePattern))))

Methods

from :: GlobPattern -> Rep GlobPattern x #

to :: Rep GlobPattern x -> GlobPattern #

Show GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods showsPrec :: Int -> GlobPattern -> ShowS # show :: GlobPattern -> String # showList :: [GlobPattern] -> ShowS #
Eq GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods (==) :: GlobPattern -> GlobPattern -> Bool # (/=) :: GlobPattern -> GlobPattern -> Bool #
Ord GlobPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GlobPattern

Methods

compare :: GlobPattern -> GlobPattern -> Ordering #

(<) :: GlobPattern -> GlobPattern -> Bool #

(<=) :: GlobPattern -> GlobPattern -> Bool #

(>) :: GlobPattern -> GlobPattern -> Bool #

(>=) :: GlobPattern -> GlobPattern -> Bool #

max :: GlobPattern -> GlobPattern -> GlobPattern #

min :: GlobPattern -> GlobPattern -> GlobPattern #

Hashable GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods hashWithSalt :: Int -> GlobPattern -> Int # hash :: GlobPattern -> Int #
Pretty GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.GlobPattern Methods pretty :: GlobPattern -> Doc ann # prettyList :: [GlobPattern] -> Doc ann #
HasGlobPattern FileSystemWatcher GlobPattern # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods globPattern :: Lens' FileSystemWatcher GlobPattern #
type Rep GlobPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.GlobPattern

type Rep GlobPattern = D1 ('MetaData "GlobPattern" "Language.LSP.Protocol.Internal.Types.GlobPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "GlobPattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Pattern |? RelativePattern))))

data HoverClientCapabilities #

Constructors

HoverClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether hover supports dynamic registration.

- _contentFormat :: Maybe [MarkupKind]

  Client supports the following content formats for the content property. The order describes the preferred format of the client.

#### Instances

Instances details

FromJSON HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods parseJSON :: Value -> Parser HoverClientCapabilities # parseJSONList :: Value -> Parser [HoverClientCapabilities] # omittedField :: Maybe HoverClientCapabilities #
ToJSON HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods toJSON :: HoverClientCapabilities -> Value # toEncoding :: HoverClientCapabilities -> Encoding # toJSONList :: [HoverClientCapabilities] -> Value # toEncodingList :: [HoverClientCapabilities] -> Encoding # omitField :: HoverClientCapabilities -> Bool #
NFData HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods rnf :: HoverClientCapabilities -> () #
Generic HoverClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities

Associated Types

type Rep HoverClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities

type Rep HoverClientCapabilities = D1 ('MetaData "HoverClientCapabilities" "Language.LSP.Protocol.Internal.Types.HoverClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_contentFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MarkupKind]))))

Methods

from :: HoverClientCapabilities -> Rep HoverClientCapabilities x #

to :: Rep HoverClientCapabilities x -> HoverClientCapabilities #

Show HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods showsPrec :: Int -> HoverClientCapabilities -> ShowS # show :: HoverClientCapabilities -> String # showList :: [HoverClientCapabilities] -> ShowS #
Eq HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods (==) :: HoverClientCapabilities -> HoverClientCapabilities -> Bool # (/=) :: HoverClientCapabilities -> HoverClientCapabilities -> Bool #
Ord HoverClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities

Methods

compare :: HoverClientCapabilities -> HoverClientCapabilities -> Ordering #

(<) :: HoverClientCapabilities -> HoverClientCapabilities -> Bool #

(<=) :: HoverClientCapabilities -> HoverClientCapabilities -> Bool #

(>) :: HoverClientCapabilities -> HoverClientCapabilities -> Bool #

(>=) :: HoverClientCapabilities -> HoverClientCapabilities -> Bool #

max :: HoverClientCapabilities -> HoverClientCapabilities -> HoverClientCapabilities #

min :: HoverClientCapabilities -> HoverClientCapabilities -> HoverClientCapabilities #

Hashable HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods hashWithSalt :: Int -> HoverClientCapabilities -> Int # hash :: HoverClientCapabilities -> Int #
Pretty HoverClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities Methods pretty :: HoverClientCapabilities -> Doc ann # prettyList :: [HoverClientCapabilities] -> Doc ann #
HasContentFormat HoverClientCapabilities (Maybe [MarkupKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contentFormat :: Lens' HoverClientCapabilities (Maybe [MarkupKind]) #
HasDynamicRegistration HoverClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' HoverClientCapabilities (Maybe Bool) #
HasHover TextDocumentClientCapabilities (Maybe HoverClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods hover :: Lens' TextDocumentClientCapabilities (Maybe HoverClientCapabilities) #
type Rep HoverClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverClientCapabilities

type Rep HoverClientCapabilities = D1 ('MetaData "HoverClientCapabilities" "Language.LSP.Protocol.Internal.Types.HoverClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_contentFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MarkupKind]))))

data HoverOptions #

Hover options.

Constructors

HoverOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods parseJSON :: Value -> Parser HoverOptions # parseJSONList :: Value -> Parser [HoverOptions] # omittedField :: Maybe HoverOptions #
ToJSON HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods toJSON :: HoverOptions -> Value # toEncoding :: HoverOptions -> Encoding # toJSONList :: [HoverOptions] -> Value # toEncodingList :: [HoverOptions] -> Encoding # omitField :: HoverOptions -> Bool #
NFData HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods rnf :: HoverOptions -> () #
Generic HoverOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverOptions

Associated Types

type Rep HoverOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverOptions

type Rep HoverOptions = D1 ('MetaData "HoverOptions" "Language.LSP.Protocol.Internal.Types.HoverOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: HoverOptions -> Rep HoverOptions x #

to :: Rep HoverOptions x -> HoverOptions #

Show HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods showsPrec :: Int -> HoverOptions -> ShowS # show :: HoverOptions -> String # showList :: [HoverOptions] -> ShowS #
Eq HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods (==) :: HoverOptions -> HoverOptions -> Bool # (/=) :: HoverOptions -> HoverOptions -> Bool #
Ord HoverOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverOptions

Methods

compare :: HoverOptions -> HoverOptions -> Ordering #

(<) :: HoverOptions -> HoverOptions -> Bool #

(<=) :: HoverOptions -> HoverOptions -> Bool #

(>) :: HoverOptions -> HoverOptions -> Bool #

(>=) :: HoverOptions -> HoverOptions -> Bool #

max :: HoverOptions -> HoverOptions -> HoverOptions #

min :: HoverOptions -> HoverOptions -> HoverOptions #

Hashable HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods hashWithSalt :: Int -> HoverOptions -> Int # hash :: HoverOptions -> Int #
Pretty HoverOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.HoverOptions Methods pretty :: HoverOptions -> Doc ann # prettyList :: [HoverOptions] -> Doc ann #
HasHoverProvider ServerCapabilities (Maybe (Bool |? HoverOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods hoverProvider :: Lens' ServerCapabilities (Maybe (Bool |? HoverOptions)) #
HasWorkDoneProgress HoverOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' HoverOptions (Maybe Bool) #
type Rep HoverOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.HoverOptions

type Rep HoverOptions = D1 ('MetaData "HoverOptions" "Language.LSP.Protocol.Internal.Types.HoverOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "HoverOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ImplementationClientCapabilities #

Since: 3.6.0

Constructors

ImplementationClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration. If this is set to `true` the client supports the new `ImplementationRegistrationOptions` return value for the corresponding server capability as well.

- _linkSupport :: Maybe Bool

  The client supports additional metadata in the form of definition links.

  Since: 3.14.0

#### Instances

Instances details

FromJSON ImplementationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities Methods parseJSON :: Value -> Parser ImplementationClientCapabilities # parseJSONList :: Value -> Parser [ImplementationClientCapabilities] # omittedField :: Maybe ImplementationClientCapabilities #
ToJSON ImplementationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities

Methods

toJSON :: ImplementationClientCapabilities -> Value #

toEncoding :: ImplementationClientCapabilities -> Encoding #

toJSONList :: [ImplementationClientCapabilities] -> Value #

toEncodingList :: [ImplementationClientCapabilities] -> Encoding #

omitField :: ImplementationClientCapabilities -> Bool #

NFData ImplementationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities Methods rnf :: ImplementationClientCapabilities -> () #
Generic ImplementationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities

Associated Types

type Rep ImplementationClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities

type Rep ImplementationClientCapabilities = D1 ('MetaData "ImplementationClientCapabilities" "Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ImplementationClientCapabilities -> Rep ImplementationClientCapabilities x #

to :: Rep ImplementationClientCapabilities x -> ImplementationClientCapabilities #

Show ImplementationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities Methods showsPrec :: Int -> ImplementationClientCapabilities -> ShowS # show :: ImplementationClientCapabilities -> String # showList :: [ImplementationClientCapabilities] -> ShowS #
Eq ImplementationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities Methods (==) :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Bool # (/=) :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Bool #
Ord ImplementationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities

Methods

compare :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Ordering #

(<) :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Bool #

(<=) :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Bool #

(>) :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Bool #

(>=) :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> Bool #

max :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> ImplementationClientCapabilities #

min :: ImplementationClientCapabilities -> ImplementationClientCapabilities -> ImplementationClientCapabilities #

Hashable ImplementationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities Methods hashWithSalt :: Int -> ImplementationClientCapabilities -> Int # hash :: ImplementationClientCapabilities -> Int #
Pretty ImplementationClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities Methods pretty :: ImplementationClientCapabilities -> Doc ann # prettyList :: [ImplementationClientCapabilities] -> Doc ann #
HasDynamicRegistration ImplementationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' ImplementationClientCapabilities (Maybe Bool) #
HasImplementation TextDocumentClientCapabilities (Maybe ImplementationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods implementation :: Lens' TextDocumentClientCapabilities (Maybe ImplementationClientCapabilities) #
HasLinkSupport ImplementationClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkSupport :: Lens' ImplementationClientCapabilities (Maybe Bool) #
type Rep ImplementationClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities

type Rep ImplementationClientCapabilities = D1 ('MetaData "ImplementationClientCapabilities" "Language.LSP.Protocol.Internal.Types.ImplementationClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ImplementationOptions #

Constructors

ImplementationOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods parseJSON :: Value -> Parser ImplementationOptions # parseJSONList :: Value -> Parser [ImplementationOptions] # omittedField :: Maybe ImplementationOptions #
ToJSON ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods toJSON :: ImplementationOptions -> Value # toEncoding :: ImplementationOptions -> Encoding # toJSONList :: [ImplementationOptions] -> Value # toEncodingList :: [ImplementationOptions] -> Encoding # omitField :: ImplementationOptions -> Bool #
NFData ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods rnf :: ImplementationOptions -> () #
Generic ImplementationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions

Associated Types

type Rep ImplementationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions

type Rep ImplementationOptions = D1 ('MetaData "ImplementationOptions" "Language.LSP.Protocol.Internal.Types.ImplementationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ImplementationOptions -> Rep ImplementationOptions x #

to :: Rep ImplementationOptions x -> ImplementationOptions #

Show ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods showsPrec :: Int -> ImplementationOptions -> ShowS # show :: ImplementationOptions -> String # showList :: [ImplementationOptions] -> ShowS #
Eq ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods (==) :: ImplementationOptions -> ImplementationOptions -> Bool # (/=) :: ImplementationOptions -> ImplementationOptions -> Bool #
Ord ImplementationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions

Methods

compare :: ImplementationOptions -> ImplementationOptions -> Ordering #

(<) :: ImplementationOptions -> ImplementationOptions -> Bool #

(<=) :: ImplementationOptions -> ImplementationOptions -> Bool #

(>) :: ImplementationOptions -> ImplementationOptions -> Bool #

(>=) :: ImplementationOptions -> ImplementationOptions -> Bool #

max :: ImplementationOptions -> ImplementationOptions -> ImplementationOptions #

min :: ImplementationOptions -> ImplementationOptions -> ImplementationOptions #

Hashable ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods hashWithSalt :: Int -> ImplementationOptions -> Int # hash :: ImplementationOptions -> Int #
Pretty ImplementationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions Methods pretty :: ImplementationOptions -> Doc ann # prettyList :: [ImplementationOptions] -> Doc ann #
HasImplementationProvider ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods implementationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) #
HasWorkDoneProgress ImplementationOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' ImplementationOptions (Maybe Bool) #
type Rep ImplementationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ImplementationOptions

type Rep ImplementationOptions = D1 ('MetaData "ImplementationOptions" "Language.LSP.Protocol.Internal.Types.ImplementationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ImplementationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data InlayHintClientCapabilities #

Inlay hint client capabilities.

Since: 3.17.0

Constructors

InlayHintClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether inlay hints support dynamic registration.

- _resolveSupport :: Maybe ClientInlayHintResolveOptions

  Indicates which properties a client can resolve lazily on an inlay hint.

#### Instances

Instances details

FromJSON InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods parseJSON :: Value -> Parser InlayHintClientCapabilities # parseJSONList :: Value -> Parser [InlayHintClientCapabilities] # omittedField :: Maybe InlayHintClientCapabilities #
ToJSON InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods toJSON :: InlayHintClientCapabilities -> Value # toEncoding :: InlayHintClientCapabilities -> Encoding # toJSONList :: [InlayHintClientCapabilities] -> Value # toEncodingList :: [InlayHintClientCapabilities] -> Encoding # omitField :: InlayHintClientCapabilities -> Bool #
NFData InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods rnf :: InlayHintClientCapabilities -> () #
Generic InlayHintClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities

Associated Types

type Rep InlayHintClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities

type Rep InlayHintClientCapabilities = D1 ('MetaData "InlayHintClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientInlayHintResolveOptions))))

Methods

from :: InlayHintClientCapabilities -> Rep InlayHintClientCapabilities x #

to :: Rep InlayHintClientCapabilities x -> InlayHintClientCapabilities #

Show InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods showsPrec :: Int -> InlayHintClientCapabilities -> ShowS # show :: InlayHintClientCapabilities -> String # showList :: [InlayHintClientCapabilities] -> ShowS #
Eq InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods (==) :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Bool # (/=) :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Bool #
Ord InlayHintClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities

Methods

compare :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Ordering #

(<) :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Bool #

(<=) :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Bool #

(>) :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Bool #

(>=) :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> Bool #

max :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> InlayHintClientCapabilities #

min :: InlayHintClientCapabilities -> InlayHintClientCapabilities -> InlayHintClientCapabilities #

Hashable InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods hashWithSalt :: Int -> InlayHintClientCapabilities -> Int # hash :: InlayHintClientCapabilities -> Int #
Pretty InlayHintClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities Methods pretty :: InlayHintClientCapabilities -> Doc ann # prettyList :: [InlayHintClientCapabilities] -> Doc ann #
HasDynamicRegistration InlayHintClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' InlayHintClientCapabilities (Maybe Bool) #
HasInlayHint TextDocumentClientCapabilities (Maybe InlayHintClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHint :: Lens' TextDocumentClientCapabilities (Maybe InlayHintClientCapabilities) #
HasResolveSupport InlayHintClientCapabilities (Maybe ClientInlayHintResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' InlayHintClientCapabilities (Maybe ClientInlayHintResolveOptions) #
type Rep InlayHintClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities

type Rep InlayHintClientCapabilities = D1 ('MetaData "InlayHintClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlayHintClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientInlayHintResolveOptions))))

data InlayHintKind #

Inlay hint kinds.

Since: 3.17.0

Constructors

InlayHintKind_Type | An inlay hint that for a type annotation.
InlayHintKind_Parameter | An inlay hint that is for a parameter.

#### Instances

Instances details

FromJSON InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods parseJSON :: Value -> Parser InlayHintKind # parseJSONList :: Value -> Parser [InlayHintKind] # omittedField :: Maybe InlayHintKind #
ToJSON InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods toJSON :: InlayHintKind -> Value # toEncoding :: InlayHintKind -> Encoding # toJSONList :: [InlayHintKind] -> Value # toEncodingList :: [InlayHintKind] -> Encoding # omitField :: InlayHintKind -> Bool #
NFData InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods rnf :: InlayHintKind -> () #
Generic InlayHintKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind

Associated Types

type Rep InlayHintKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind type Rep InlayHintKind = D1 ('MetaData "InlayHintKind" "Language.LSP.Protocol.Internal.Types.InlayHintKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintKind_Type" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlayHintKind_Parameter" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: InlayHintKind -> Rep InlayHintKind x #

to :: Rep InlayHintKind x -> InlayHintKind #

Show InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods showsPrec :: Int -> InlayHintKind -> ShowS # show :: InlayHintKind -> String # showList :: [InlayHintKind] -> ShowS #
Eq InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods (==) :: InlayHintKind -> InlayHintKind -> Bool # (/=) :: InlayHintKind -> InlayHintKind -> Bool #
Ord InlayHintKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind

Methods

compare :: InlayHintKind -> InlayHintKind -> Ordering #

(<) :: InlayHintKind -> InlayHintKind -> Bool #

(<=) :: InlayHintKind -> InlayHintKind -> Bool #

(>) :: InlayHintKind -> InlayHintKind -> Bool #

(>=) :: InlayHintKind -> InlayHintKind -> Bool #

max :: InlayHintKind -> InlayHintKind -> InlayHintKind #

min :: InlayHintKind -> InlayHintKind -> InlayHintKind #

Hashable InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods hashWithSalt :: Int -> InlayHintKind -> Int # hash :: InlayHintKind -> Int #
LspEnum InlayHintKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind

Associated Types

type EnumBaseType InlayHintKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind type EnumBaseType InlayHintKind = UInt

Methods

knownValues :: Set InlayHintKind #

toEnumBaseType :: InlayHintKind -> EnumBaseType InlayHintKind #

fromEnumBaseType :: EnumBaseType InlayHintKind -> Maybe InlayHintKind #

Pretty InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind Methods pretty :: InlayHintKind -> Doc ann # prettyList :: [InlayHintKind] -> Doc ann #
HasKind InlayHint (Maybe InlayHintKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' InlayHint (Maybe InlayHintKind) #
type Rep InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind type Rep InlayHintKind = D1 ('MetaData "InlayHintKind" "Language.LSP.Protocol.Internal.Types.InlayHintKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintKind_Type" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InlayHintKind_Parameter" 'PrefixI 'False) (U1 :: Type -> Type))
type EnumBaseType InlayHintKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintKind type EnumBaseType InlayHintKind = UInt

data InlayHintLabelPart #

An inlay hint label part allows for interactive and composite labels of inlay hints.

Since: 3.17.0

Constructors

InlayHintLabelPart |

Fields

- _value :: Text

  The value of this label part.

- _tooltip :: Maybe (Text |? MarkupContent)

  The tooltip text when you hover over this label part. Depending on the client capability `inlayHint.resolveSupport` clients might resolve this property late using the resolve request.

- _location :: Maybe Location

  An optional source code location that represents this label part.

  The editor will use this location for the hover and for code navigation features: This part will become a clickable link that resolves to the definition of the symbol at the given location (not necessarily the location itself), it shows the hover that shows at the given location, and it shows a context menu with further code navigation commands.

  Depending on the client capability `inlayHint.resolveSupport` clients might resolve this property late using the resolve request.

- _command :: Maybe Command

  An optional command for this label part.

  Depending on the client capability `inlayHint.resolveSupport` clients might resolve this property late using the resolve request.

#### Instances

Instances details

FromJSON InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods parseJSON :: Value -> Parser InlayHintLabelPart # parseJSONList :: Value -> Parser [InlayHintLabelPart] # omittedField :: Maybe InlayHintLabelPart #
ToJSON InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods toJSON :: InlayHintLabelPart -> Value # toEncoding :: InlayHintLabelPart -> Encoding # toJSONList :: [InlayHintLabelPart] -> Value # toEncodingList :: [InlayHintLabelPart] -> Encoding # omitField :: InlayHintLabelPart -> Bool #
NFData InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods rnf :: InlayHintLabelPart -> () #
Generic InlayHintLabelPart # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart

Associated Types

type Rep InlayHintLabelPart |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart

type Rep InlayHintLabelPart = D1 ('MetaData "InlayHintLabelPart" "Language.LSP.Protocol.Internal.Types.InlayHintLabelPart" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintLabelPart" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_tooltip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))) :*: (S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Location)) :*: S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)))))

Methods

from :: InlayHintLabelPart -> Rep InlayHintLabelPart x #

to :: Rep InlayHintLabelPart x -> InlayHintLabelPart #

Show InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods showsPrec :: Int -> InlayHintLabelPart -> ShowS # show :: InlayHintLabelPart -> String # showList :: [InlayHintLabelPart] -> ShowS #
Eq InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods (==) :: InlayHintLabelPart -> InlayHintLabelPart -> Bool # (/=) :: InlayHintLabelPart -> InlayHintLabelPart -> Bool #
Ord InlayHintLabelPart # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart

Methods

compare :: InlayHintLabelPart -> InlayHintLabelPart -> Ordering #

(<) :: InlayHintLabelPart -> InlayHintLabelPart -> Bool #

(<=) :: InlayHintLabelPart -> InlayHintLabelPart -> Bool #

(>) :: InlayHintLabelPart -> InlayHintLabelPart -> Bool #

(>=) :: InlayHintLabelPart -> InlayHintLabelPart -> Bool #

max :: InlayHintLabelPart -> InlayHintLabelPart -> InlayHintLabelPart #

min :: InlayHintLabelPart -> InlayHintLabelPart -> InlayHintLabelPart #

Hashable InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods hashWithSalt :: Int -> InlayHintLabelPart -> Int # hash :: InlayHintLabelPart -> Int #
Pretty InlayHintLabelPart # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart Methods pretty :: InlayHintLabelPart -> Doc ann # prettyList :: [InlayHintLabelPart] -> Doc ann #
HasValue InlayHintLabelPart Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' InlayHintLabelPart Text #
HasCommand InlayHintLabelPart (Maybe Command) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods command :: Lens' InlayHintLabelPart (Maybe Command) #
HasLocation InlayHintLabelPart (Maybe Location) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' InlayHintLabelPart (Maybe Location) #
HasTooltip InlayHintLabelPart (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tooltip :: Lens' InlayHintLabelPart (Maybe (Text |? MarkupContent)) #
HasLabel InlayHint (Text |? [InlayHintLabelPart]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' InlayHint (Text |? [InlayHintLabelPart]) #
type Rep InlayHintLabelPart # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintLabelPart

type Rep InlayHintLabelPart = D1 ('MetaData "InlayHintLabelPart" "Language.LSP.Protocol.Internal.Types.InlayHintLabelPart" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintLabelPart" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_tooltip") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))) :*: (S1 ('MetaSel ('Just "_location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Location)) :*: S1 ('MetaSel ('Just "_command") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Command)))))

data InlayHintOptions #

Inlay hint options used during static registration.

Since: 3.17.0

Constructors

InlayHintOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for an inlay hint item.

#### Instances

Instances details

FromJSON InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods parseJSON :: Value -> Parser InlayHintOptions # parseJSONList :: Value -> Parser [InlayHintOptions] # omittedField :: Maybe InlayHintOptions #
ToJSON InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods toJSON :: InlayHintOptions -> Value # toEncoding :: InlayHintOptions -> Encoding # toJSONList :: [InlayHintOptions] -> Value # toEncodingList :: [InlayHintOptions] -> Encoding # omitField :: InlayHintOptions -> Bool #
NFData InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods rnf :: InlayHintOptions -> () #
Generic InlayHintOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions

Associated Types

type Rep InlayHintOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions

type Rep InlayHintOptions = D1 ('MetaData "InlayHintOptions" "Language.LSP.Protocol.Internal.Types.InlayHintOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: InlayHintOptions -> Rep InlayHintOptions x #

to :: Rep InlayHintOptions x -> InlayHintOptions #

Show InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods showsPrec :: Int -> InlayHintOptions -> ShowS # show :: InlayHintOptions -> String # showList :: [InlayHintOptions] -> ShowS #
Eq InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods (==) :: InlayHintOptions -> InlayHintOptions -> Bool # (/=) :: InlayHintOptions -> InlayHintOptions -> Bool #
Ord InlayHintOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions

Methods

compare :: InlayHintOptions -> InlayHintOptions -> Ordering #

(<) :: InlayHintOptions -> InlayHintOptions -> Bool #

(<=) :: InlayHintOptions -> InlayHintOptions -> Bool #

(>) :: InlayHintOptions -> InlayHintOptions -> Bool #

(>=) :: InlayHintOptions -> InlayHintOptions -> Bool #

max :: InlayHintOptions -> InlayHintOptions -> InlayHintOptions #

min :: InlayHintOptions -> InlayHintOptions -> InlayHintOptions #

Hashable InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods hashWithSalt :: Int -> InlayHintOptions -> Int # hash :: InlayHintOptions -> Int #
Pretty InlayHintOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions Methods pretty :: InlayHintOptions -> Doc ann # prettyList :: [InlayHintOptions] -> Doc ann #
HasInlayHintProvider ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHintProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) #
HasResolveProvider InlayHintOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' InlayHintOptions (Maybe Bool) #
HasWorkDoneProgress InlayHintOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' InlayHintOptions (Maybe Bool) #
type Rep InlayHintOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintOptions

type Rep InlayHintOptions = D1 ('MetaData "InlayHintOptions" "Language.LSP.Protocol.Internal.Types.InlayHintOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data InlayHintWorkspaceClientCapabilities #

Client workspace capabilities specific to inlay hints.

Since: 3.17.0

Constructors

InlayHintWorkspaceClientCapabilities |

Fields

- _refreshSupport :: Maybe Bool

  Whether the client implementation supports a refresh request sent from the server to the client.

  Note that this event is global and will force the client to refresh all inlay hints currently shown. It should be used with absolute care and is useful for situation where a server for example detects a project wide change that requires such a calculation.

#### Instances

Instances details

FromJSON InlayHintWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities Methods parseJSON :: Value -> Parser InlayHintWorkspaceClientCapabilities # parseJSONList :: Value -> Parser [InlayHintWorkspaceClientCapabilities] # omittedField :: Maybe InlayHintWorkspaceClientCapabilities #
ToJSON InlayHintWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities

Methods

toJSON :: InlayHintWorkspaceClientCapabilities -> Value #

toEncoding :: InlayHintWorkspaceClientCapabilities -> Encoding #

toJSONList :: [InlayHintWorkspaceClientCapabilities] -> Value #

toEncodingList :: [InlayHintWorkspaceClientCapabilities] -> Encoding #

omitField :: InlayHintWorkspaceClientCapabilities -> Bool #

NFData InlayHintWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities Methods rnf :: InlayHintWorkspaceClientCapabilities -> () #
Generic InlayHintWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities

Associated Types

type Rep InlayHintWorkspaceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities

type Rep InlayHintWorkspaceClientCapabilities = D1 ('MetaData "InlayHintWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: InlayHintWorkspaceClientCapabilities -> Rep InlayHintWorkspaceClientCapabilities x #

to :: Rep InlayHintWorkspaceClientCapabilities x -> InlayHintWorkspaceClientCapabilities #

Show InlayHintWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities Methods showsPrec :: Int -> InlayHintWorkspaceClientCapabilities -> ShowS # show :: InlayHintWorkspaceClientCapabilities -> String # showList :: [InlayHintWorkspaceClientCapabilities] -> ShowS #
Eq InlayHintWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities Methods (==) :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Bool # (/=) :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Bool #
Ord InlayHintWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities

Methods

compare :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Ordering #

(<) :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Bool #

(<=) :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Bool #

(>) :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Bool #

(>=) :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> Bool #

max :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities #

min :: InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities -> InlayHintWorkspaceClientCapabilities #

Hashable InlayHintWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities Methods hashWithSalt :: Int -> InlayHintWorkspaceClientCapabilities -> Int # hash :: InlayHintWorkspaceClientCapabilities -> Int #
Pretty InlayHintWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities Methods pretty :: InlayHintWorkspaceClientCapabilities -> Doc ann # prettyList :: [InlayHintWorkspaceClientCapabilities] -> Doc ann #
HasInlayHint WorkspaceClientCapabilities (Maybe InlayHintWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHint :: Lens' WorkspaceClientCapabilities (Maybe InlayHintWorkspaceClientCapabilities) #
HasRefreshSupport InlayHintWorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods refreshSupport :: Lens' InlayHintWorkspaceClientCapabilities (Maybe Bool) #
type Rep InlayHintWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities

type Rep InlayHintWorkspaceClientCapabilities = D1 ('MetaData "InlayHintWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlayHintWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlayHintWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data InlineValueClientCapabilities #

Client capabilities specific to inline values.

Since: 3.17.0

Constructors

InlineValueClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration for inline value providers.

#### Instances

Instances details

FromJSON InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods parseJSON :: Value -> Parser InlineValueClientCapabilities # parseJSONList :: Value -> Parser [InlineValueClientCapabilities] # omittedField :: Maybe InlineValueClientCapabilities #
ToJSON InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods toJSON :: InlineValueClientCapabilities -> Value # toEncoding :: InlineValueClientCapabilities -> Encoding # toJSONList :: [InlineValueClientCapabilities] -> Value # toEncodingList :: [InlineValueClientCapabilities] -> Encoding # omitField :: InlineValueClientCapabilities -> Bool #
NFData InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods rnf :: InlineValueClientCapabilities -> () #
Generic InlineValueClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities

Associated Types

type Rep InlineValueClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities

type Rep InlineValueClientCapabilities = D1 ('MetaData "InlineValueClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: InlineValueClientCapabilities -> Rep InlineValueClientCapabilities x #

to :: Rep InlineValueClientCapabilities x -> InlineValueClientCapabilities #

Show InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods showsPrec :: Int -> InlineValueClientCapabilities -> ShowS # show :: InlineValueClientCapabilities -> String # showList :: [InlineValueClientCapabilities] -> ShowS #
Eq InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods (==) :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Bool # (/=) :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Bool #
Ord InlineValueClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities

Methods

compare :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Ordering #

(<) :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Bool #

(<=) :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Bool #

(>) :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Bool #

(>=) :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> Bool #

max :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> InlineValueClientCapabilities #

min :: InlineValueClientCapabilities -> InlineValueClientCapabilities -> InlineValueClientCapabilities #

Hashable InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods hashWithSalt :: Int -> InlineValueClientCapabilities -> Int # hash :: InlineValueClientCapabilities -> Int #
Pretty InlineValueClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities Methods pretty :: InlineValueClientCapabilities -> Doc ann # prettyList :: [InlineValueClientCapabilities] -> Doc ann #
HasDynamicRegistration InlineValueClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' InlineValueClientCapabilities (Maybe Bool) #
HasInlineValue TextDocumentClientCapabilities (Maybe InlineValueClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValue :: Lens' TextDocumentClientCapabilities (Maybe InlineValueClientCapabilities) #
type Rep InlineValueClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities

type Rep InlineValueClientCapabilities = D1 ('MetaData "InlineValueClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlineValueClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data InlineValueContext #

Since: 3.17.0

Constructors

InlineValueContext |

Fields

- _frameId :: Int32

  The stack frame (as a DAP Id) where the execution has stopped.

- _stoppedLocation :: Range

  The document range where execution has stopped. Typically the end position of the range denotes the line where the inline values are shown.

#### Instances

Instances details

FromJSON InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods parseJSON :: Value -> Parser InlineValueContext # parseJSONList :: Value -> Parser [InlineValueContext] # omittedField :: Maybe InlineValueContext #
ToJSON InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods toJSON :: InlineValueContext -> Value # toEncoding :: InlineValueContext -> Encoding # toJSONList :: [InlineValueContext] -> Value # toEncodingList :: [InlineValueContext] -> Encoding # omitField :: InlineValueContext -> Bool #
NFData InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods rnf :: InlineValueContext -> () #
Generic InlineValueContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext

Associated Types

type Rep InlineValueContext |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext

type Rep InlineValueContext = D1 ('MetaData "InlineValueContext" "Language.LSP.Protocol.Internal.Types.InlineValueContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_frameId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "_stoppedLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))

Methods

from :: InlineValueContext -> Rep InlineValueContext x #

to :: Rep InlineValueContext x -> InlineValueContext #

Show InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods showsPrec :: Int -> InlineValueContext -> ShowS # show :: InlineValueContext -> String # showList :: [InlineValueContext] -> ShowS #
Eq InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods (==) :: InlineValueContext -> InlineValueContext -> Bool # (/=) :: InlineValueContext -> InlineValueContext -> Bool #
Ord InlineValueContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext

Methods

compare :: InlineValueContext -> InlineValueContext -> Ordering #

(<) :: InlineValueContext -> InlineValueContext -> Bool #

(<=) :: InlineValueContext -> InlineValueContext -> Bool #

(>) :: InlineValueContext -> InlineValueContext -> Bool #

(>=) :: InlineValueContext -> InlineValueContext -> Bool #

max :: InlineValueContext -> InlineValueContext -> InlineValueContext #

min :: InlineValueContext -> InlineValueContext -> InlineValueContext #

Hashable InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods hashWithSalt :: Int -> InlineValueContext -> Int # hash :: InlineValueContext -> Int #
Pretty InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext Methods pretty :: InlineValueContext -> Doc ann # prettyList :: [InlineValueContext] -> Doc ann #
HasContext InlineValueParams InlineValueContext # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' InlineValueParams InlineValueContext #
HasFrameId InlineValueContext Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods frameId :: Lens' InlineValueContext Int32 #
HasStoppedLocation InlineValueContext Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods stoppedLocation :: Lens' InlineValueContext Range #
type Rep InlineValueContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueContext

type Rep InlineValueContext = D1 ('MetaData "InlineValueContext" "Language.LSP.Protocol.Internal.Types.InlineValueContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_frameId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "_stoppedLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range)))

data InlineValueEvaluatableExpression #

Provide an inline value through an expression evaluation. If only a range is specified, the expression will be extracted from the underlying document. An optional expression can be used to override the extracted expression.

Since: 3.17.0

Constructors

InlineValueEvaluatableExpression |

Fields

- _range :: Range

  The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.

- _expression :: Maybe Text

  If specified the expression overrides the extracted expression.

#### Instances

Instances details

FromJSON InlineValueEvaluatableExpression # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression Methods parseJSON :: Value -> Parser InlineValueEvaluatableExpression # parseJSONList :: Value -> Parser [InlineValueEvaluatableExpression] # omittedField :: Maybe InlineValueEvaluatableExpression #
ToJSON InlineValueEvaluatableExpression # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression

Methods

toJSON :: InlineValueEvaluatableExpression -> Value #

toEncoding :: InlineValueEvaluatableExpression -> Encoding #

toJSONList :: [InlineValueEvaluatableExpression] -> Value #

toEncodingList :: [InlineValueEvaluatableExpression] -> Encoding #

omitField :: InlineValueEvaluatableExpression -> Bool #

NFData InlineValueEvaluatableExpression # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression Methods rnf :: InlineValueEvaluatableExpression -> () #
Generic InlineValueEvaluatableExpression # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression

Associated Types

type Rep InlineValueEvaluatableExpression |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression

type Rep InlineValueEvaluatableExpression = D1 ('MetaData "InlineValueEvaluatableExpression" "Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueEvaluatableExpression" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: InlineValueEvaluatableExpression -> Rep InlineValueEvaluatableExpression x #

to :: Rep InlineValueEvaluatableExpression x -> InlineValueEvaluatableExpression #

Show InlineValueEvaluatableExpression # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression Methods showsPrec :: Int -> InlineValueEvaluatableExpression -> ShowS # show :: InlineValueEvaluatableExpression -> String # showList :: [InlineValueEvaluatableExpression] -> ShowS #
Eq InlineValueEvaluatableExpression # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression Methods (==) :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Bool # (/=) :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Bool #
Ord InlineValueEvaluatableExpression # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression

Methods

compare :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Ordering #

(<) :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Bool #

(<=) :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Bool #

(>) :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Bool #

(>=) :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> Bool #

max :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression #

min :: InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression -> InlineValueEvaluatableExpression #

Hashable InlineValueEvaluatableExpression # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression Methods hashWithSalt :: Int -> InlineValueEvaluatableExpression -> Int # hash :: InlineValueEvaluatableExpression -> Int #
Pretty InlineValueEvaluatableExpression # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression Methods pretty :: InlineValueEvaluatableExpression -> Doc ann # prettyList :: [InlineValueEvaluatableExpression] -> Doc ann #
HasRange InlineValueEvaluatableExpression Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueEvaluatableExpression Range #
HasExpression InlineValueEvaluatableExpression (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods expression :: Lens' InlineValueEvaluatableExpression (Maybe Text) #
type Rep InlineValueEvaluatableExpression # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression

type Rep InlineValueEvaluatableExpression = D1 ('MetaData "InlineValueEvaluatableExpression" "Language.LSP.Protocol.Internal.Types.InlineValueEvaluatableExpression" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueEvaluatableExpression" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data InlineValueOptions #

Inline value options used during static registration.

Since: 3.17.0

Constructors

InlineValueOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods parseJSON :: Value -> Parser InlineValueOptions # parseJSONList :: Value -> Parser [InlineValueOptions] # omittedField :: Maybe InlineValueOptions #
ToJSON InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods toJSON :: InlineValueOptions -> Value # toEncoding :: InlineValueOptions -> Encoding # toJSONList :: [InlineValueOptions] -> Value # toEncodingList :: [InlineValueOptions] -> Encoding # omitField :: InlineValueOptions -> Bool #
NFData InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods rnf :: InlineValueOptions -> () #
Generic InlineValueOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions

Associated Types

type Rep InlineValueOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions

type Rep InlineValueOptions = D1 ('MetaData "InlineValueOptions" "Language.LSP.Protocol.Internal.Types.InlineValueOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: InlineValueOptions -> Rep InlineValueOptions x #

to :: Rep InlineValueOptions x -> InlineValueOptions #

Show InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods showsPrec :: Int -> InlineValueOptions -> ShowS # show :: InlineValueOptions -> String # showList :: [InlineValueOptions] -> ShowS #
Eq InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods (==) :: InlineValueOptions -> InlineValueOptions -> Bool # (/=) :: InlineValueOptions -> InlineValueOptions -> Bool #
Ord InlineValueOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions

Methods

compare :: InlineValueOptions -> InlineValueOptions -> Ordering #

(<) :: InlineValueOptions -> InlineValueOptions -> Bool #

(<=) :: InlineValueOptions -> InlineValueOptions -> Bool #

(>) :: InlineValueOptions -> InlineValueOptions -> Bool #

(>=) :: InlineValueOptions -> InlineValueOptions -> Bool #

max :: InlineValueOptions -> InlineValueOptions -> InlineValueOptions #

min :: InlineValueOptions -> InlineValueOptions -> InlineValueOptions #

Hashable InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods hashWithSalt :: Int -> InlineValueOptions -> Int # hash :: InlineValueOptions -> Int #
Pretty InlineValueOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions Methods pretty :: InlineValueOptions -> Doc ann # prettyList :: [InlineValueOptions] -> Doc ann #
HasInlineValueProvider ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValueProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) #
HasWorkDoneProgress InlineValueOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' InlineValueOptions (Maybe Bool) #
type Rep InlineValueOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueOptions

type Rep InlineValueOptions = D1 ('MetaData "InlineValueOptions" "Language.LSP.Protocol.Internal.Types.InlineValueOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data InlineValueText #

Provide inline value as text.

Since: 3.17.0

Constructors

InlineValueText |

Fields

- _range :: Range

  The document range for which the inline value applies.

- _text :: Text

  The text of the inline value.

#### Instances

Instances details

FromJSON InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods parseJSON :: Value -> Parser InlineValueText # parseJSONList :: Value -> Parser [InlineValueText] # omittedField :: Maybe InlineValueText #
ToJSON InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods toJSON :: InlineValueText -> Value # toEncoding :: InlineValueText -> Encoding # toJSONList :: [InlineValueText] -> Value # toEncodingList :: [InlineValueText] -> Encoding # omitField :: InlineValueText -> Bool #
NFData InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods rnf :: InlineValueText -> () #
Generic InlineValueText # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueText

Associated Types

type Rep InlineValueText |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueText

type Rep InlineValueText = D1 ('MetaData "InlineValueText" "Language.LSP.Protocol.Internal.Types.InlineValueText" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueText" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: InlineValueText -> Rep InlineValueText x #

to :: Rep InlineValueText x -> InlineValueText #

Show InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods showsPrec :: Int -> InlineValueText -> ShowS # show :: InlineValueText -> String # showList :: [InlineValueText] -> ShowS #
Eq InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods (==) :: InlineValueText -> InlineValueText -> Bool # (/=) :: InlineValueText -> InlineValueText -> Bool #
Ord InlineValueText # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueText

Methods

compare :: InlineValueText -> InlineValueText -> Ordering #

(<) :: InlineValueText -> InlineValueText -> Bool #

(<=) :: InlineValueText -> InlineValueText -> Bool #

(>) :: InlineValueText -> InlineValueText -> Bool #

(>=) :: InlineValueText -> InlineValueText -> Bool #

max :: InlineValueText -> InlineValueText -> InlineValueText #

min :: InlineValueText -> InlineValueText -> InlineValueText #

Hashable InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods hashWithSalt :: Int -> InlineValueText -> Int # hash :: InlineValueText -> Int #
Pretty InlineValueText # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueText Methods pretty :: InlineValueText -> Doc ann # prettyList :: [InlineValueText] -> Doc ann #
HasRange InlineValueText Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueText Range #
HasText InlineValueText Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods text :: Lens' InlineValueText Text #
type Rep InlineValueText # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueText

type Rep InlineValueText = D1 ('MetaData "InlineValueText" "Language.LSP.Protocol.Internal.Types.InlineValueText" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueText" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data InlineValueVariableLookup #

Provide inline value through a variable lookup. If only a range is specified, the variable name will be extracted from the underlying document. An optional variable name can be used to override the extracted name.

Since: 3.17.0

Constructors

InlineValueVariableLookup |

Fields

- _range :: Range

  The document range for which the inline value applies. The range is used to extract the variable name from the underlying document.

- _variableName :: Maybe Text

  If specified the name of the variable to look up.

- _caseSensitiveLookup :: Bool

  How to perform the lookup.

#### Instances

Instances details

FromJSON InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods parseJSON :: Value -> Parser InlineValueVariableLookup # parseJSONList :: Value -> Parser [InlineValueVariableLookup] # omittedField :: Maybe InlineValueVariableLookup #
ToJSON InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods toJSON :: InlineValueVariableLookup -> Value # toEncoding :: InlineValueVariableLookup -> Encoding # toJSONList :: [InlineValueVariableLookup] -> Value # toEncodingList :: [InlineValueVariableLookup] -> Encoding # omitField :: InlineValueVariableLookup -> Bool #
NFData InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods rnf :: InlineValueVariableLookup -> () #
Generic InlineValueVariableLookup # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup

Associated Types

type Rep InlineValueVariableLookup |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup

type Rep InlineValueVariableLookup = D1 ('MetaData "InlineValueVariableLookup" "Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueVariableLookup" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_variableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_caseSensitiveLookup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

Methods

from :: InlineValueVariableLookup -> Rep InlineValueVariableLookup x #

to :: Rep InlineValueVariableLookup x -> InlineValueVariableLookup #

Show InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods showsPrec :: Int -> InlineValueVariableLookup -> ShowS # show :: InlineValueVariableLookup -> String # showList :: [InlineValueVariableLookup] -> ShowS #
Eq InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods (==) :: InlineValueVariableLookup -> InlineValueVariableLookup -> Bool # (/=) :: InlineValueVariableLookup -> InlineValueVariableLookup -> Bool #
Ord InlineValueVariableLookup # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup

Methods

compare :: InlineValueVariableLookup -> InlineValueVariableLookup -> Ordering #

(<) :: InlineValueVariableLookup -> InlineValueVariableLookup -> Bool #

(<=) :: InlineValueVariableLookup -> InlineValueVariableLookup -> Bool #

(>) :: InlineValueVariableLookup -> InlineValueVariableLookup -> Bool #

(>=) :: InlineValueVariableLookup -> InlineValueVariableLookup -> Bool #

max :: InlineValueVariableLookup -> InlineValueVariableLookup -> InlineValueVariableLookup #

min :: InlineValueVariableLookup -> InlineValueVariableLookup -> InlineValueVariableLookup #

Hashable InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods hashWithSalt :: Int -> InlineValueVariableLookup -> Int # hash :: InlineValueVariableLookup -> Int #
Pretty InlineValueVariableLookup # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup Methods pretty :: InlineValueVariableLookup -> Doc ann # prettyList :: [InlineValueVariableLookup] -> Doc ann #
HasCaseSensitiveLookup InlineValueVariableLookup Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods caseSensitiveLookup :: Lens' InlineValueVariableLookup Bool #
HasRange InlineValueVariableLookup Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' InlineValueVariableLookup Range #
HasVariableName InlineValueVariableLookup (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods variableName :: Lens' InlineValueVariableLookup (Maybe Text) #
type Rep InlineValueVariableLookup # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup

type Rep InlineValueVariableLookup = D1 ('MetaData "InlineValueVariableLookup" "Language.LSP.Protocol.Internal.Types.InlineValueVariableLookup" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueVariableLookup" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_variableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_caseSensitiveLookup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))

data InlineValueWorkspaceClientCapabilities #

Client workspace capabilities specific to inline values.

Since: 3.17.0

Constructors

InlineValueWorkspaceClientCapabilities |

Fields

- _refreshSupport :: Maybe Bool

  Whether the client implementation supports a refresh request sent from the server to the client.

  Note that this event is global and will force the client to refresh all inline values currently shown. It should be used with absolute care and is useful for situation where a server for example detects a project wide change that requires such a calculation.

#### Instances

Instances details

FromJSON InlineValueWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities Methods parseJSON :: Value -> Parser InlineValueWorkspaceClientCapabilities # parseJSONList :: Value -> Parser [InlineValueWorkspaceClientCapabilities] # omittedField :: Maybe InlineValueWorkspaceClientCapabilities #
ToJSON InlineValueWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities

Methods

toJSON :: InlineValueWorkspaceClientCapabilities -> Value #

toEncoding :: InlineValueWorkspaceClientCapabilities -> Encoding #

toJSONList :: [InlineValueWorkspaceClientCapabilities] -> Value #

toEncodingList :: [InlineValueWorkspaceClientCapabilities] -> Encoding #

omitField :: InlineValueWorkspaceClientCapabilities -> Bool #

NFData InlineValueWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities Methods rnf :: InlineValueWorkspaceClientCapabilities -> () #
Generic InlineValueWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities

Associated Types

type Rep InlineValueWorkspaceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities

type Rep InlineValueWorkspaceClientCapabilities = D1 ('MetaData "InlineValueWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: InlineValueWorkspaceClientCapabilities -> Rep InlineValueWorkspaceClientCapabilities x #

to :: Rep InlineValueWorkspaceClientCapabilities x -> InlineValueWorkspaceClientCapabilities #

Show InlineValueWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities Methods showsPrec :: Int -> InlineValueWorkspaceClientCapabilities -> ShowS # show :: InlineValueWorkspaceClientCapabilities -> String # showList :: [InlineValueWorkspaceClientCapabilities] -> ShowS #
Eq InlineValueWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities Methods (==) :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Bool # (/=) :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Bool #
Ord InlineValueWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities

Methods

compare :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Ordering #

(<) :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Bool #

(<=) :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Bool #

(>) :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Bool #

(>=) :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> Bool #

max :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities #

min :: InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities -> InlineValueWorkspaceClientCapabilities #

Hashable InlineValueWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities Methods hashWithSalt :: Int -> InlineValueWorkspaceClientCapabilities -> Int # hash :: InlineValueWorkspaceClientCapabilities -> Int #
Pretty InlineValueWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities Methods pretty :: InlineValueWorkspaceClientCapabilities -> Doc ann # prettyList :: [InlineValueWorkspaceClientCapabilities] -> Doc ann #
HasInlineValue WorkspaceClientCapabilities (Maybe InlineValueWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValue :: Lens' WorkspaceClientCapabilities (Maybe InlineValueWorkspaceClientCapabilities) #
HasRefreshSupport InlineValueWorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods refreshSupport :: Lens' InlineValueWorkspaceClientCapabilities (Maybe Bool) #
type Rep InlineValueWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities

type Rep InlineValueWorkspaceClientCapabilities = D1 ('MetaData "InlineValueWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.InlineValueWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InlineValueWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data InsertReplaceEdit #

A special text edit to provide an insert and a replace operation.

Since: 3.16.0

Constructors

InsertReplaceEdit |

Fields

- _newText :: Text

  The string to be inserted.

- _insert :: Range

  The range if the insert is requested

- _replace :: Range

  The range if the replace is requested.

#### Instances

Instances details

FromJSON InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods parseJSON :: Value -> Parser InsertReplaceEdit # parseJSONList :: Value -> Parser [InsertReplaceEdit] # omittedField :: Maybe InsertReplaceEdit #
ToJSON InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods toJSON :: InsertReplaceEdit -> Value # toEncoding :: InsertReplaceEdit -> Encoding # toJSONList :: [InsertReplaceEdit] -> Value # toEncodingList :: [InsertReplaceEdit] -> Encoding # omitField :: InsertReplaceEdit -> Bool #
NFData InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods rnf :: InsertReplaceEdit -> () #
Generic InsertReplaceEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit

Associated Types

type Rep InsertReplaceEdit |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit

type Rep InsertReplaceEdit = D1 ('MetaData "InsertReplaceEdit" "Language.LSP.Protocol.Internal.Types.InsertReplaceEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InsertReplaceEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_newText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_insert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_replace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

Methods

from :: InsertReplaceEdit -> Rep InsertReplaceEdit x #

to :: Rep InsertReplaceEdit x -> InsertReplaceEdit #

Show InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods showsPrec :: Int -> InsertReplaceEdit -> ShowS # show :: InsertReplaceEdit -> String # showList :: [InsertReplaceEdit] -> ShowS #
Eq InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods (==) :: InsertReplaceEdit -> InsertReplaceEdit -> Bool # (/=) :: InsertReplaceEdit -> InsertReplaceEdit -> Bool #
Ord InsertReplaceEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit

Methods

compare :: InsertReplaceEdit -> InsertReplaceEdit -> Ordering #

(<) :: InsertReplaceEdit -> InsertReplaceEdit -> Bool #

(<=) :: InsertReplaceEdit -> InsertReplaceEdit -> Bool #

(>) :: InsertReplaceEdit -> InsertReplaceEdit -> Bool #

(>=) :: InsertReplaceEdit -> InsertReplaceEdit -> Bool #

max :: InsertReplaceEdit -> InsertReplaceEdit -> InsertReplaceEdit #

min :: InsertReplaceEdit -> InsertReplaceEdit -> InsertReplaceEdit #

Hashable InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods hashWithSalt :: Int -> InsertReplaceEdit -> Int # hash :: InsertReplaceEdit -> Int #
Pretty InsertReplaceEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit Methods pretty :: InsertReplaceEdit -> Doc ann # prettyList :: [InsertReplaceEdit] -> Doc ann #
HasInsert InsertReplaceEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insert :: Lens' InsertReplaceEdit Range #
HasNewText InsertReplaceEdit Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newText :: Lens' InsertReplaceEdit Text #
HasReplace InsertReplaceEdit Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods replace :: Lens' InsertReplaceEdit Range #
HasTextEdit CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textEdit :: Lens' CompletionItem (Maybe (TextEdit |? InsertReplaceEdit)) #
type Rep InsertReplaceEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertReplaceEdit

type Rep InsertReplaceEdit = D1 ('MetaData "InsertReplaceEdit" "Language.LSP.Protocol.Internal.Types.InsertReplaceEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InsertReplaceEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_newText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_insert") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_replace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

data InsertTextFormat #

Defines whether the insert text in a completion item should be interpreted as plain text or a snippet.

Constructors

InsertTextFormat_PlainText | The primary text to be inserted is treated as a plain string.

InsertTextFormat_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://microsoft.github.io/language-server-protocol/specifications/specification-current/#snippet_syntax

#### Instances

Instances details

FromJSON InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods parseJSON :: Value -> Parser InsertTextFormat # parseJSONList :: Value -> Parser [InsertTextFormat] # omittedField :: Maybe InsertTextFormat #
ToJSON InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods toJSON :: InsertTextFormat -> Value # toEncoding :: InsertTextFormat -> Encoding # toJSONList :: [InsertTextFormat] -> Value # toEncodingList :: [InsertTextFormat] -> Encoding # omitField :: InsertTextFormat -> Bool #
NFData InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods rnf :: InsertTextFormat -> () #
Generic InsertTextFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat

Associated Types

type Rep InsertTextFormat |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat

type Rep InsertTextFormat = D1 ('MetaData "InsertTextFormat" "Language.LSP.Protocol.Internal.Types.InsertTextFormat" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InsertTextFormat_PlainText" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InsertTextFormat_Snippet" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: InsertTextFormat -> Rep InsertTextFormat x #

to :: Rep InsertTextFormat x -> InsertTextFormat #

Show InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods showsPrec :: Int -> InsertTextFormat -> ShowS # show :: InsertTextFormat -> String # showList :: [InsertTextFormat] -> ShowS #
Eq InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods (==) :: InsertTextFormat -> InsertTextFormat -> Bool # (/=) :: InsertTextFormat -> InsertTextFormat -> Bool #
Ord InsertTextFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat

Methods

compare :: InsertTextFormat -> InsertTextFormat -> Ordering #

(<) :: InsertTextFormat -> InsertTextFormat -> Bool #

(<=) :: InsertTextFormat -> InsertTextFormat -> Bool #

(>) :: InsertTextFormat -> InsertTextFormat -> Bool #

(>=) :: InsertTextFormat -> InsertTextFormat -> Bool #

max :: InsertTextFormat -> InsertTextFormat -> InsertTextFormat #

min :: InsertTextFormat -> InsertTextFormat -> InsertTextFormat #

Hashable InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods hashWithSalt :: Int -> InsertTextFormat -> Int # hash :: InsertTextFormat -> Int #
LspEnum InsertTextFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat

Associated Types

type EnumBaseType InsertTextFormat |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat type EnumBaseType InsertTextFormat = UInt

Methods

knownValues :: Set InsertTextFormat #

toEnumBaseType :: InsertTextFormat -> EnumBaseType InsertTextFormat #

fromEnumBaseType :: EnumBaseType InsertTextFormat -> Maybe InsertTextFormat #

Pretty InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat Methods pretty :: InsertTextFormat -> Doc ann # prettyList :: [InsertTextFormat] -> Doc ann #
HasInsertTextFormat CompletionItem (Maybe InsertTextFormat) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextFormat :: Lens' CompletionItem (Maybe InsertTextFormat) #
HasInsertTextFormat CompletionItemDefaults (Maybe InsertTextFormat) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextFormat :: Lens' CompletionItemDefaults (Maybe InsertTextFormat) #
type Rep InsertTextFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat

type Rep InsertTextFormat = D1 ('MetaData "InsertTextFormat" "Language.LSP.Protocol.Internal.Types.InsertTextFormat" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InsertTextFormat_PlainText" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InsertTextFormat_Snippet" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType InsertTextFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextFormat type EnumBaseType InsertTextFormat = UInt

data InsertTextMode #

How whitespace and indentation is handled during completion item insertion.

Since: 3.16.0

Constructors

InsertTextMode_AsIs | The insertion or replace strings is taken as it is. If the value is multi line the lines below the cursor will be inserted using the indentation defined in the string value. The client will not apply any kind of adjustments to the string.
InsertTextMode_AdjustIndentation | The editor adjusts leading whitespace of new lines so that they match the indentation up to the cursor of the line for which the item is accepted. Consider a line like this: 2tabs cursor 3tabsfoo. Accepting a multi line completion item is indented using 2 tabs and all following lines inserted will be indented using 2 tabs as well.

#### Instances

Instances details

FromJSON InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods parseJSON :: Value -> Parser InsertTextMode # parseJSONList :: Value -> Parser [InsertTextMode] # omittedField :: Maybe InsertTextMode #
ToJSON InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods toJSON :: InsertTextMode -> Value # toEncoding :: InsertTextMode -> Encoding # toJSONList :: [InsertTextMode] -> Value # toEncodingList :: [InsertTextMode] -> Encoding # omitField :: InsertTextMode -> Bool #
NFData InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods rnf :: InsertTextMode -> () #
Generic InsertTextMode # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode

Associated Types

type Rep InsertTextMode |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode

type Rep InsertTextMode = D1 ('MetaData "InsertTextMode" "Language.LSP.Protocol.Internal.Types.InsertTextMode" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InsertTextMode_AsIs" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InsertTextMode_AdjustIndentation" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: InsertTextMode -> Rep InsertTextMode x #

to :: Rep InsertTextMode x -> InsertTextMode #

Show InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods showsPrec :: Int -> InsertTextMode -> ShowS # show :: InsertTextMode -> String # showList :: [InsertTextMode] -> ShowS #
Eq InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods (==) :: InsertTextMode -> InsertTextMode -> Bool # (/=) :: InsertTextMode -> InsertTextMode -> Bool #
Ord InsertTextMode # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode

Methods

compare :: InsertTextMode -> InsertTextMode -> Ordering #

(<) :: InsertTextMode -> InsertTextMode -> Bool #

(<=) :: InsertTextMode -> InsertTextMode -> Bool #

(>) :: InsertTextMode -> InsertTextMode -> Bool #

(>=) :: InsertTextMode -> InsertTextMode -> Bool #

max :: InsertTextMode -> InsertTextMode -> InsertTextMode #

min :: InsertTextMode -> InsertTextMode -> InsertTextMode #

Hashable InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods hashWithSalt :: Int -> InsertTextMode -> Int # hash :: InsertTextMode -> Int #
LspEnum InsertTextMode # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode

Associated Types

type EnumBaseType InsertTextMode |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode type EnumBaseType InsertTextMode = UInt

Methods

knownValues :: Set InsertTextMode #

toEnumBaseType :: InsertTextMode -> EnumBaseType InsertTextMode #

fromEnumBaseType :: EnumBaseType InsertTextMode -> Maybe InsertTextMode #

Pretty InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode Methods pretty :: InsertTextMode -> Doc ann # prettyList :: [InsertTextMode] -> Doc ann #
HasInsertTextMode CompletionClientCapabilities (Maybe InsertTextMode) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextMode :: Lens' CompletionClientCapabilities (Maybe InsertTextMode) #
HasInsertTextMode CompletionItem (Maybe InsertTextMode) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextMode :: Lens' CompletionItem (Maybe InsertTextMode) #
HasInsertTextMode CompletionItemDefaults (Maybe InsertTextMode) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods insertTextMode :: Lens' CompletionItemDefaults (Maybe InsertTextMode) #
HasValueSet ClientCompletionItemInsertTextModeOptions [InsertTextMode] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientCompletionItemInsertTextModeOptions [InsertTextMode] #
type Rep InsertTextMode # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode

type Rep InsertTextMode = D1 ('MetaData "InsertTextMode" "Language.LSP.Protocol.Internal.Types.InsertTextMode" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "InsertTextMode_AsIs" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "InsertTextMode_AdjustIndentation" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType InsertTextMode # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.InsertTextMode type EnumBaseType InsertTextMode = UInt

data LSPErrorCodes #

Constructors

LSPErrorCodes_RequestFailed | A request failed but it was syntactically correct, e.g the method name was known and the parameters were valid. The error message should contain human readable information about why the request failed. Since: 3.17.0
LSPErrorCodes_ServerCancelled | The server cancelled the request. This error code should only be used for requests that explicitly support being server cancellable. Since: 3.17.0

LSPErrorCodes_ContentModified

The server detected that the content of a document got modified outside normal conditions. A server should NOT send this error code if it detects a content change in it unprocessed messages. The result even computed on an older state might still be useful for the client.

If a client decides that a result is not of any use anymore the client should cancel the request.

LSPErrorCodes_RequestCancelled | The client has canceled a request and a server as detected the cancel.
LSPErrorCodes_Custom Int32 |

#### Instances

Instances details

FromJSON LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods parseJSON :: Value -> Parser LSPErrorCodes # parseJSONList :: Value -> Parser [LSPErrorCodes] # omittedField :: Maybe LSPErrorCodes #
ToJSON LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods toJSON :: LSPErrorCodes -> Value # toEncoding :: LSPErrorCodes -> Encoding # toJSONList :: [LSPErrorCodes] -> Value # toEncodingList :: [LSPErrorCodes] -> Encoding # omitField :: LSPErrorCodes -> Bool #
NFData LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods rnf :: LSPErrorCodes -> () #
Generic LSPErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes

Associated Types

type Rep LSPErrorCodes |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes

type Rep LSPErrorCodes = D1 ('MetaData "LSPErrorCodes" "Language.LSP.Protocol.Internal.Types.LSPErrorCodes" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "LSPErrorCodes_RequestFailed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LSPErrorCodes_ServerCancelled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LSPErrorCodes_ContentModified" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LSPErrorCodes_RequestCancelled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LSPErrorCodes_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32)))))

Methods

from :: LSPErrorCodes -> Rep LSPErrorCodes x #

to :: Rep LSPErrorCodes x -> LSPErrorCodes #

Show LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods showsPrec :: Int -> LSPErrorCodes -> ShowS # show :: LSPErrorCodes -> String # showList :: [LSPErrorCodes] -> ShowS #
Eq LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods (==) :: LSPErrorCodes -> LSPErrorCodes -> Bool # (/=) :: LSPErrorCodes -> LSPErrorCodes -> Bool #
Ord LSPErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes

Methods

compare :: LSPErrorCodes -> LSPErrorCodes -> Ordering #

(<) :: LSPErrorCodes -> LSPErrorCodes -> Bool #

(<=) :: LSPErrorCodes -> LSPErrorCodes -> Bool #

(>) :: LSPErrorCodes -> LSPErrorCodes -> Bool #

(>=) :: LSPErrorCodes -> LSPErrorCodes -> Bool #

max :: LSPErrorCodes -> LSPErrorCodes -> LSPErrorCodes #

min :: LSPErrorCodes -> LSPErrorCodes -> LSPErrorCodes #

Hashable LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods hashWithSalt :: Int -> LSPErrorCodes -> Int # hash :: LSPErrorCodes -> Int #
LspEnum LSPErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes

Associated Types

type EnumBaseType LSPErrorCodes |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes type EnumBaseType LSPErrorCodes = Int32

Methods

knownValues :: Set LSPErrorCodes #

toEnumBaseType :: LSPErrorCodes -> EnumBaseType LSPErrorCodes #

fromEnumBaseType :: EnumBaseType LSPErrorCodes -> Maybe LSPErrorCodes #

LspOpenEnum LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods fromOpenEnumBaseType :: EnumBaseType LSPErrorCodes -> LSPErrorCodes #
Pretty LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes Methods pretty :: LSPErrorCodes -> Doc ann # prettyList :: [LSPErrorCodes] -> Doc ann #
HasCode ResponseError (LSPErrorCodes |? ErrorCodes) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods code :: Lens' ResponseError (LSPErrorCodes |? ErrorCodes) #
HasCode (TResponseError m) (LSPErrorCodes |? ErrorCodes) # |
Instance details Defined in Language.LSP.Protocol.Message.Lens Methods code :: Lens' (TResponseError m) (LSPErrorCodes |? ErrorCodes) #
type Rep LSPErrorCodes # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes

type Rep LSPErrorCodes = D1 ('MetaData "LSPErrorCodes" "Language.LSP.Protocol.Internal.Types.LSPErrorCodes" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "LSPErrorCodes_RequestFailed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LSPErrorCodes_ServerCancelled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LSPErrorCodes_ContentModified" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LSPErrorCodes_RequestCancelled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LSPErrorCodes_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32)))))

type EnumBaseType LSPErrorCodes # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LSPErrorCodes type EnumBaseType LSPErrorCodes = Int32

data LanguageKind #

Predefined Language kinds `since 3.18.0` proposed

Constructors

LanguageKind_ABAP |
LanguageKind_WindowsBat |
LanguageKind_BibTeX |
LanguageKind_Clojure |
LanguageKind_Coffeescript |
LanguageKind_C |
LanguageKind_CPP |
LanguageKind_CSharp |
LanguageKind_CSS |
LanguageKind_Diff |
LanguageKind_Dart |
LanguageKind_Dockerfile |
LanguageKind_Elixir |
LanguageKind_Erlang |
LanguageKind_FSharp |
LanguageKind_GitCommit |
LanguageKind_GitRebase |
LanguageKind_Go |
LanguageKind_Groovy |
LanguageKind_Handlebars |
LanguageKind_Haskell |
LanguageKind_HTML |
LanguageKind_Ini |
LanguageKind_Java |
LanguageKind_JavaScript |
LanguageKind_JavaScriptReact |
LanguageKind_JSON |
LanguageKind_LaTeX |
LanguageKind_Less |
LanguageKind_Lua |
LanguageKind_Makefile |
LanguageKind_Markdown |
LanguageKind_ObjectiveC |
LanguageKind_ObjectiveCPP |
LanguageKind_Perl |
LanguageKind_Perl6 |
LanguageKind_PHP |
LanguageKind_Powershell |
LanguageKind_Pug |
LanguageKind_Python |
LanguageKind_R |
LanguageKind_Razor |
LanguageKind_Ruby |
LanguageKind_Rust |
LanguageKind_SCSS |
LanguageKind_SASS |
LanguageKind_Scala |
LanguageKind_ShaderLab |
LanguageKind_ShellScript |
LanguageKind_SQL |
LanguageKind_Swift |
LanguageKind_TypeScript |
LanguageKind_TypeScriptReact |
LanguageKind_TeX |
LanguageKind_VisualBasic |
LanguageKind_XML |
LanguageKind_XSL |
LanguageKind_YAML |
LanguageKind_Custom Text |

#### Instances

Instances details

FromJSON LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods parseJSON :: Value -> Parser LanguageKind # parseJSONList :: Value -> Parser [LanguageKind] # omittedField :: Maybe LanguageKind #
ToJSON LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods toJSON :: LanguageKind -> Value # toEncoding :: LanguageKind -> Encoding # toJSONList :: [LanguageKind] -> Value # toEncodingList :: [LanguageKind] -> Encoding # omitField :: LanguageKind -> Bool #
NFData LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods rnf :: LanguageKind -> () #
IsString LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods fromString :: String -> LanguageKind #
Generic LanguageKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LanguageKind

Associated Types

type Rep LanguageKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LanguageKind

type Rep LanguageKind = D1 ('MetaData "LanguageKind" "Language.LSP.Protocol.Internal.Types.LanguageKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((((C1 ('MetaCons "LanguageKind_ABAP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_WindowsBat" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_BibTeX" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_Clojure" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Coffeescript" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_C" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_CPP" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "LanguageKind_CSharp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_CSS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Diff" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_Dart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Dockerfile" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Elixir" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Erlang" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LanguageKind_FSharp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_GitCommit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_GitRebase" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_Go" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Groovy" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Handlebars" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Haskell" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LanguageKind_HTML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Ini" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Java" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_JavaScript" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_JavaScriptReact" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_JSON" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_LaTeX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Less" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "LanguageKind_Lua" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_Makefile" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Markdown" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_ObjectiveC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_ObjectiveCPP" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Perl" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Perl6" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LanguageKind_PHP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Powershell" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Pug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Python" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_R" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Razor" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Ruby" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Rust" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LanguageKind_SCSS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_SASS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Scala" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_ShaderLab" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_ShellScript" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_SQL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Swift" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LanguageKind_TypeScript" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_TypeScriptReact" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_TeX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_VisualBasic" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_XML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_XSL" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_YAML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))))

Methods

from :: LanguageKind -> Rep LanguageKind x #

to :: Rep LanguageKind x -> LanguageKind #

Show LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods showsPrec :: Int -> LanguageKind -> ShowS # show :: LanguageKind -> String # showList :: [LanguageKind] -> ShowS #
Eq LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods (==) :: LanguageKind -> LanguageKind -> Bool # (/=) :: LanguageKind -> LanguageKind -> Bool #
Ord LanguageKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LanguageKind

Methods

compare :: LanguageKind -> LanguageKind -> Ordering #

(<) :: LanguageKind -> LanguageKind -> Bool #

(<=) :: LanguageKind -> LanguageKind -> Bool #

(>) :: LanguageKind -> LanguageKind -> Bool #

(>=) :: LanguageKind -> LanguageKind -> Bool #

max :: LanguageKind -> LanguageKind -> LanguageKind #

min :: LanguageKind -> LanguageKind -> LanguageKind #

Hashable LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods hashWithSalt :: Int -> LanguageKind -> Int # hash :: LanguageKind -> Int #
LspEnum LanguageKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LanguageKind

Associated Types

type EnumBaseType LanguageKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind type EnumBaseType LanguageKind = Text

Methods

knownValues :: Set LanguageKind #

toEnumBaseType :: LanguageKind -> EnumBaseType LanguageKind #

fromEnumBaseType :: EnumBaseType LanguageKind -> Maybe LanguageKind #

LspOpenEnum LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods fromOpenEnumBaseType :: EnumBaseType LanguageKind -> LanguageKind #
Pretty LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind Methods pretty :: LanguageKind -> Doc ann # prettyList :: [LanguageKind] -> Doc ann #
HasLanguageId TextDocumentItem LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods languageId :: Lens' TextDocumentItem LanguageKind #
type Rep LanguageKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LanguageKind

type Rep LanguageKind = D1 ('MetaData "LanguageKind" "Language.LSP.Protocol.Internal.Types.LanguageKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (((((C1 ('MetaCons "LanguageKind_ABAP" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_WindowsBat" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_BibTeX" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_Clojure" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Coffeescript" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_C" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_CPP" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "LanguageKind_CSharp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_CSS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Diff" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_Dart" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Dockerfile" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Elixir" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Erlang" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LanguageKind_FSharp" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_GitCommit" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_GitRebase" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_Go" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Groovy" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Handlebars" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Haskell" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LanguageKind_HTML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Ini" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Java" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_JavaScript" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_JavaScriptReact" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_JSON" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_LaTeX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Less" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "LanguageKind_Lua" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_Makefile" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Markdown" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_ObjectiveC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_ObjectiveCPP" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Perl" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Perl6" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LanguageKind_PHP" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Powershell" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Pug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Python" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_R" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Razor" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_Ruby" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Rust" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "LanguageKind_SCSS" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LanguageKind_SASS" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Scala" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_ShaderLab" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_ShellScript" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_SQL" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Swift" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "LanguageKind_TypeScript" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_TypeScriptReact" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_TeX" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_VisualBasic" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "LanguageKind_XML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_XSL" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LanguageKind_YAML" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LanguageKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))))

type EnumBaseType LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LanguageKind type EnumBaseType LanguageKind = Text

data LinkedEditingRangeClientCapabilities #

Client capabilities for the linked editing range request.

Since: 3.16.0

Constructors

LinkedEditingRangeClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration. If this is set to `true` the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)` return value for the corresponding server capability as well.

#### Instances

Instances details

FromJSON LinkedEditingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities Methods parseJSON :: Value -> Parser LinkedEditingRangeClientCapabilities # parseJSONList :: Value -> Parser [LinkedEditingRangeClientCapabilities] # omittedField :: Maybe LinkedEditingRangeClientCapabilities #
ToJSON LinkedEditingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities

Methods

toJSON :: LinkedEditingRangeClientCapabilities -> Value #

toEncoding :: LinkedEditingRangeClientCapabilities -> Encoding #

toJSONList :: [LinkedEditingRangeClientCapabilities] -> Value #

toEncodingList :: [LinkedEditingRangeClientCapabilities] -> Encoding #

omitField :: LinkedEditingRangeClientCapabilities -> Bool #

NFData LinkedEditingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities Methods rnf :: LinkedEditingRangeClientCapabilities -> () #
Generic LinkedEditingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities

Associated Types

type Rep LinkedEditingRangeClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities

type Rep LinkedEditingRangeClientCapabilities = D1 ('MetaData "LinkedEditingRangeClientCapabilities" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: LinkedEditingRangeClientCapabilities -> Rep LinkedEditingRangeClientCapabilities x #

to :: Rep LinkedEditingRangeClientCapabilities x -> LinkedEditingRangeClientCapabilities #

Show LinkedEditingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities Methods showsPrec :: Int -> LinkedEditingRangeClientCapabilities -> ShowS # show :: LinkedEditingRangeClientCapabilities -> String # showList :: [LinkedEditingRangeClientCapabilities] -> ShowS #
Eq LinkedEditingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities Methods (==) :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Bool # (/=) :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Bool #
Ord LinkedEditingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities

Methods

compare :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Ordering #

(<) :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Bool #

(<=) :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Bool #

(>) :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Bool #

(>=) :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> Bool #

max :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities #

min :: LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities -> LinkedEditingRangeClientCapabilities #

Hashable LinkedEditingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities Methods hashWithSalt :: Int -> LinkedEditingRangeClientCapabilities -> Int # hash :: LinkedEditingRangeClientCapabilities -> Int #
Pretty LinkedEditingRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities Methods pretty :: LinkedEditingRangeClientCapabilities -> Doc ann # prettyList :: [LinkedEditingRangeClientCapabilities] -> Doc ann #
HasDynamicRegistration LinkedEditingRangeClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' LinkedEditingRangeClientCapabilities (Maybe Bool) #
HasLinkedEditingRange TextDocumentClientCapabilities (Maybe LinkedEditingRangeClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkedEditingRange :: Lens' TextDocumentClientCapabilities (Maybe LinkedEditingRangeClientCapabilities) #
type Rep LinkedEditingRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities

type Rep LinkedEditingRangeClientCapabilities = D1 ('MetaData "LinkedEditingRangeClientCapabilities" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data LinkedEditingRangeOptions #

Constructors

LinkedEditingRangeOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods parseJSON :: Value -> Parser LinkedEditingRangeOptions # parseJSONList :: Value -> Parser [LinkedEditingRangeOptions] # omittedField :: Maybe LinkedEditingRangeOptions #
ToJSON LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods toJSON :: LinkedEditingRangeOptions -> Value # toEncoding :: LinkedEditingRangeOptions -> Encoding # toJSONList :: [LinkedEditingRangeOptions] -> Value # toEncodingList :: [LinkedEditingRangeOptions] -> Encoding # omitField :: LinkedEditingRangeOptions -> Bool #
NFData LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods rnf :: LinkedEditingRangeOptions -> () #
Generic LinkedEditingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions

Associated Types

type Rep LinkedEditingRangeOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions

type Rep LinkedEditingRangeOptions = D1 ('MetaData "LinkedEditingRangeOptions" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: LinkedEditingRangeOptions -> Rep LinkedEditingRangeOptions x #

to :: Rep LinkedEditingRangeOptions x -> LinkedEditingRangeOptions #

Show LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods showsPrec :: Int -> LinkedEditingRangeOptions -> ShowS # show :: LinkedEditingRangeOptions -> String # showList :: [LinkedEditingRangeOptions] -> ShowS #
Eq LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods (==) :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Bool # (/=) :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Bool #
Ord LinkedEditingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions

Methods

compare :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Ordering #

(<) :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Bool #

(<=) :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Bool #

(>) :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Bool #

(>=) :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> Bool #

max :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> LinkedEditingRangeOptions #

min :: LinkedEditingRangeOptions -> LinkedEditingRangeOptions -> LinkedEditingRangeOptions #

Hashable LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods hashWithSalt :: Int -> LinkedEditingRangeOptions -> Int # hash :: LinkedEditingRangeOptions -> Int #
Pretty LinkedEditingRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions Methods pretty :: LinkedEditingRangeOptions -> Doc ann # prettyList :: [LinkedEditingRangeOptions] -> Doc ann #
HasLinkedEditingRangeProvider ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkedEditingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) #
HasWorkDoneProgress LinkedEditingRangeOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' LinkedEditingRangeOptions (Maybe Bool) #
type Rep LinkedEditingRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions

type Rep LinkedEditingRangeOptions = D1 ('MetaData "LinkedEditingRangeOptions" "Language.LSP.Protocol.Internal.Types.LinkedEditingRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LinkedEditingRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data LocationLink #

Represents the connection of two locations. Provides additional metadata over normal `Location`, including an origin range.

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 definition 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 `targetRange`. See also `DocumentSymbol#range`

#### Instances

Instances details

FromJSON LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods parseJSON :: Value -> Parser LocationLink # parseJSONList :: Value -> Parser [LocationLink] # omittedField :: Maybe LocationLink #
ToJSON LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods toJSON :: LocationLink -> Value # toEncoding :: LocationLink -> Encoding # toJSONList :: [LocationLink] -> Value # toEncodingList :: [LocationLink] -> Encoding # omitField :: LocationLink -> Bool #
NFData LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods rnf :: LocationLink -> () #
Generic LocationLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LocationLink

Associated Types

type Rep LocationLink |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LocationLink

type Rep LocationLink = D1 ('MetaData "LocationLink" "Language.LSP.Protocol.Internal.Types.LocationLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LocationLink" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_originSelectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Range)) :*: S1 ('MetaSel ('Just "_targetUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)) :*: (S1 ('MetaSel ('Just "_targetRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_targetSelectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

Methods

from :: LocationLink -> Rep LocationLink x #

to :: Rep LocationLink x -> LocationLink #

Show LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods showsPrec :: Int -> LocationLink -> ShowS # show :: LocationLink -> String # showList :: [LocationLink] -> ShowS #
Eq LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods (==) :: LocationLink -> LocationLink -> Bool # (/=) :: LocationLink -> LocationLink -> Bool #
Ord LocationLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LocationLink

Methods

compare :: LocationLink -> LocationLink -> Ordering #

(<) :: LocationLink -> LocationLink -> Bool #

(<=) :: LocationLink -> LocationLink -> Bool #

(>) :: LocationLink -> LocationLink -> Bool #

(>=) :: LocationLink -> LocationLink -> Bool #

max :: LocationLink -> LocationLink -> LocationLink #

min :: LocationLink -> LocationLink -> LocationLink #

Hashable LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods hashWithSalt :: Int -> LocationLink -> Int # hash :: LocationLink -> Int #
Pretty LocationLink # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationLink Methods pretty :: LocationLink -> Doc ann # prettyList :: [LocationLink] -> Doc ann #
HasTargetRange LocationLink Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods targetRange :: Lens' LocationLink Range #
HasTargetSelectionRange LocationLink Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods targetSelectionRange :: Lens' LocationLink Range #
HasTargetUri LocationLink Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods targetUri :: Lens' LocationLink Uri #
HasOriginSelectionRange LocationLink (Maybe Range) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods originSelectionRange :: Lens' LocationLink (Maybe Range) #
type Rep LocationLink # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LocationLink

type Rep LocationLink = D1 ('MetaData "LocationLink" "Language.LSP.Protocol.Internal.Types.LocationLink" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LocationLink" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_originSelectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Range)) :*: S1 ('MetaSel ('Just "_targetUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)) :*: (S1 ('MetaSel ('Just "_targetRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_targetSelectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range))))

data LocationUriOnly #

Location with only uri and does not include range.

@proposed

Since: 3.18.0

Constructors

LocationUriOnly |

Fields

- _uri :: Uri

#### Instances

Instances details

FromJSON LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods parseJSON :: Value -> Parser LocationUriOnly # parseJSONList :: Value -> Parser [LocationUriOnly] # omittedField :: Maybe LocationUriOnly #
ToJSON LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods toJSON :: LocationUriOnly -> Value # toEncoding :: LocationUriOnly -> Encoding # toJSONList :: [LocationUriOnly] -> Value # toEncodingList :: [LocationUriOnly] -> Encoding # omitField :: LocationUriOnly -> Bool #
NFData LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods rnf :: LocationUriOnly -> () #
Generic LocationUriOnly # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly

Associated Types

type Rep LocationUriOnly |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly type Rep LocationUriOnly = D1 ('MetaData "LocationUriOnly" "Language.LSP.Protocol.Internal.Types.LocationUriOnly" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LocationUriOnly" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

Methods

from :: LocationUriOnly -> Rep LocationUriOnly x #

to :: Rep LocationUriOnly x -> LocationUriOnly #

Show LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods showsPrec :: Int -> LocationUriOnly -> ShowS # show :: LocationUriOnly -> String # showList :: [LocationUriOnly] -> ShowS #
Eq LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods (==) :: LocationUriOnly -> LocationUriOnly -> Bool # (/=) :: LocationUriOnly -> LocationUriOnly -> Bool #
Ord LocationUriOnly # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly

Methods

compare :: LocationUriOnly -> LocationUriOnly -> Ordering #

(<) :: LocationUriOnly -> LocationUriOnly -> Bool #

(<=) :: LocationUriOnly -> LocationUriOnly -> Bool #

(>) :: LocationUriOnly -> LocationUriOnly -> Bool #

(>=) :: LocationUriOnly -> LocationUriOnly -> Bool #

max :: LocationUriOnly -> LocationUriOnly -> LocationUriOnly #

min :: LocationUriOnly -> LocationUriOnly -> LocationUriOnly #

Hashable LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods hashWithSalt :: Int -> LocationUriOnly -> Int # hash :: LocationUriOnly -> Int #
Pretty LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly Methods pretty :: LocationUriOnly -> Doc ann # prettyList :: [LocationUriOnly] -> Doc ann #
HasUri LocationUriOnly Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' LocationUriOnly Uri #
HasLocation WorkspaceSymbol (Location |? LocationUriOnly) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods location :: Lens' WorkspaceSymbol (Location |? LocationUriOnly) #
type Rep LocationUriOnly # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.LocationUriOnly type Rep LocationUriOnly = D1 ('MetaData "LocationUriOnly" "Language.LSP.Protocol.Internal.Types.LocationUriOnly" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "LocationUriOnly" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

data MarkdownClientCapabilities #

Client capabilities specific to the used markdown parser.

Since: 3.16.0

Constructors

MarkdownClientCapabilities |

Fields

- _parser :: Text

  The name of the parser.

- _version :: Maybe Text

  The version of the parser.

- _allowedTags :: Maybe [Text]

  A list of HTML tags that the client allows / supports in Markdown.

  Since: 3.17.0

#### Instances

Instances details

FromJSON MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods parseJSON :: Value -> Parser MarkdownClientCapabilities # parseJSONList :: Value -> Parser [MarkdownClientCapabilities] # omittedField :: Maybe MarkdownClientCapabilities #
ToJSON MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods toJSON :: MarkdownClientCapabilities -> Value # toEncoding :: MarkdownClientCapabilities -> Encoding # toJSONList :: [MarkdownClientCapabilities] -> Value # toEncodingList :: [MarkdownClientCapabilities] -> Encoding # omitField :: MarkdownClientCapabilities -> Bool #
NFData MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods rnf :: MarkdownClientCapabilities -> () #
Generic MarkdownClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities

Associated Types

type Rep MarkdownClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities

type Rep MarkdownClientCapabilities = D1 ('MetaData "MarkdownClientCapabilities" "Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkdownClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_parser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_allowedTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

Methods

from :: MarkdownClientCapabilities -> Rep MarkdownClientCapabilities x #

to :: Rep MarkdownClientCapabilities x -> MarkdownClientCapabilities #

Show MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods showsPrec :: Int -> MarkdownClientCapabilities -> ShowS # show :: MarkdownClientCapabilities -> String # showList :: [MarkdownClientCapabilities] -> ShowS #
Eq MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods (==) :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Bool # (/=) :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Bool #
Ord MarkdownClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities

Methods

compare :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Ordering #

(<) :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Bool #

(<=) :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Bool #

(>) :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Bool #

(>=) :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> Bool #

max :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> MarkdownClientCapabilities #

min :: MarkdownClientCapabilities -> MarkdownClientCapabilities -> MarkdownClientCapabilities #

Hashable MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods hashWithSalt :: Int -> MarkdownClientCapabilities -> Int # hash :: MarkdownClientCapabilities -> Int #
Pretty MarkdownClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities Methods pretty :: MarkdownClientCapabilities -> Doc ann # prettyList :: [MarkdownClientCapabilities] -> Doc ann #
HasParser MarkdownClientCapabilities Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods parser :: Lens' MarkdownClientCapabilities Text #
HasAllowedTags MarkdownClientCapabilities (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods allowedTags :: Lens' MarkdownClientCapabilities (Maybe [Text]) #
HasMarkdown GeneralClientCapabilities (Maybe MarkdownClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods markdown :: Lens' GeneralClientCapabilities (Maybe MarkdownClientCapabilities) #
HasVersion MarkdownClientCapabilities (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' MarkdownClientCapabilities (Maybe Text) #
type Rep MarkdownClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities

type Rep MarkdownClientCapabilities = D1 ('MetaData "MarkdownClientCapabilities" "Language.LSP.Protocol.Internal.Types.MarkdownClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkdownClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_parser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_allowedTags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newtype MarkedString #

Deprecated: use MarkupContent instead.

MarkedString can be used to render human readable text. It is either a markdown string or a code-block that provides a language and a code snippet. The language identifier is semantically equal to the optional language identifier in fenced code blocks in GitHub issues. See https://help.github.com/articles/creating-and-highlighting-code-blocks/#syntax-highlighting

The pair of a language and a value is an equivalent to markdown: ```${language} ${value} ```

Note that markdown strings will be sanitized - that means html will be escaped. @deprecated use MarkupContent instead.

Constructors

MarkedString (Text |? MarkedStringWithLanguage) | Deprecated: use MarkupContent instead.

#### Instances

Instances details

FromJSON MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods parseJSON :: Value -> Parser MarkedString # parseJSONList :: Value -> Parser [MarkedString] # omittedField :: Maybe MarkedString #
ToJSON MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods toJSON :: MarkedString -> Value # toEncoding :: MarkedString -> Encoding # toJSONList :: [MarkedString] -> Value # toEncodingList :: [MarkedString] -> Encoding # omitField :: MarkedString -> Bool #
NFData MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods rnf :: MarkedString -> () #
Generic MarkedString # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedString

Associated Types

type Rep MarkedString |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedString

type Rep MarkedString = D1 ('MetaData "MarkedString" "Language.LSP.Protocol.Internal.Types.MarkedString" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "MarkedString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Text |? MarkedStringWithLanguage))))

Methods

from :: MarkedString -> Rep MarkedString x #

to :: Rep MarkedString x -> MarkedString #

Show MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods showsPrec :: Int -> MarkedString -> ShowS # show :: MarkedString -> String # showList :: [MarkedString] -> ShowS #
Eq MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods (==) :: MarkedString -> MarkedString -> Bool # (/=) :: MarkedString -> MarkedString -> Bool #
Ord MarkedString # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedString

Methods

compare :: MarkedString -> MarkedString -> Ordering #

(<) :: MarkedString -> MarkedString -> Bool #

(<=) :: MarkedString -> MarkedString -> Bool #

(>) :: MarkedString -> MarkedString -> Bool #

(>=) :: MarkedString -> MarkedString -> Bool #

max :: MarkedString -> MarkedString -> MarkedString #

min :: MarkedString -> MarkedString -> MarkedString #

Hashable MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods hashWithSalt :: Int -> MarkedString -> Int # hash :: MarkedString -> Int #
Pretty MarkedString # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedString Methods pretty :: MarkedString -> Doc ann # prettyList :: [MarkedString] -> Doc ann #
HasContents Hover (MarkupContent |? (MarkedString |? [MarkedString])) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contents :: Lens' Hover (MarkupContent |? (MarkedString |? [MarkedString])) #
type Rep MarkedString # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedString

type Rep MarkedString = D1 ('MetaData "MarkedString" "Language.LSP.Protocol.Internal.Types.MarkedString" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "MarkedString" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Text |? MarkedStringWithLanguage))))

data MarkedStringWithLanguage #

Deprecated: use MarkupContent instead.

`proposed` deprecated use MarkupContent instead.

Since: 3.18.0

Constructors

MarkedStringWithLanguage | Deprecated: use MarkupContent instead.

Fields

- _language :: Text
- _value :: Text

#### Instances

Instances details

FromJSON MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods parseJSON :: Value -> Parser MarkedStringWithLanguage # parseJSONList :: Value -> Parser [MarkedStringWithLanguage] # omittedField :: Maybe MarkedStringWithLanguage #
ToJSON MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods toJSON :: MarkedStringWithLanguage -> Value # toEncoding :: MarkedStringWithLanguage -> Encoding # toJSONList :: [MarkedStringWithLanguage] -> Value # toEncodingList :: [MarkedStringWithLanguage] -> Encoding # omitField :: MarkedStringWithLanguage -> Bool #
NFData MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods rnf :: MarkedStringWithLanguage -> () #
Generic MarkedStringWithLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage

Associated Types

type Rep MarkedStringWithLanguage |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage

type Rep MarkedStringWithLanguage = D1 ('MetaData "MarkedStringWithLanguage" "Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkedStringWithLanguage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: MarkedStringWithLanguage -> Rep MarkedStringWithLanguage x #

to :: Rep MarkedStringWithLanguage x -> MarkedStringWithLanguage #

Show MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods showsPrec :: Int -> MarkedStringWithLanguage -> ShowS # show :: MarkedStringWithLanguage -> String # showList :: [MarkedStringWithLanguage] -> ShowS #
Eq MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods (==) :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Bool # (/=) :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Bool #
Ord MarkedStringWithLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage

Methods

compare :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Ordering #

(<) :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Bool #

(<=) :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Bool #

(>) :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Bool #

(>=) :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> Bool #

max :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> MarkedStringWithLanguage #

min :: MarkedStringWithLanguage -> MarkedStringWithLanguage -> MarkedStringWithLanguage #

Hashable MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods hashWithSalt :: Int -> MarkedStringWithLanguage -> Int # hash :: MarkedStringWithLanguage -> Int #
Pretty MarkedStringWithLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage Methods pretty :: MarkedStringWithLanguage -> Doc ann # prettyList :: [MarkedStringWithLanguage] -> Doc ann #
HasLanguage MarkedStringWithLanguage Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods language :: Lens' MarkedStringWithLanguage Text #
HasValue MarkedStringWithLanguage Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' MarkedStringWithLanguage Text #
type Rep MarkedStringWithLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage

type Rep MarkedStringWithLanguage = D1 ('MetaData "MarkedStringWithLanguage" "Language.LSP.Protocol.Internal.Types.MarkedStringWithLanguage" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MarkedStringWithLanguage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data MessageType #

The message type

Constructors

MessageType_Error | An error message.
MessageType_Warning | A warning message.
MessageType_Info | An information message.
MessageType_Log | A log message.

#### Instances

Instances details

FromJSON MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods parseJSON :: Value -> Parser MessageType # parseJSONList :: Value -> Parser [MessageType] # omittedField :: Maybe MessageType #
ToJSON MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods toJSON :: MessageType -> Value # toEncoding :: MessageType -> Encoding # toJSONList :: [MessageType] -> Value # toEncodingList :: [MessageType] -> Encoding # omitField :: MessageType -> Bool #
NFData MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods rnf :: MessageType -> () #
Generic MessageType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageType

Associated Types

type Rep MessageType |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageType

type Rep MessageType = D1 ('MetaData "MessageType" "Language.LSP.Protocol.Internal.Types.MessageType" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "MessageType_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MessageType_Warning" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MessageType_Info" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MessageType_Log" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: MessageType -> Rep MessageType x #

to :: Rep MessageType x -> MessageType #

Show MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods showsPrec :: Int -> MessageType -> ShowS # show :: MessageType -> String # showList :: [MessageType] -> ShowS #
Eq MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods (==) :: MessageType -> MessageType -> Bool # (/=) :: MessageType -> MessageType -> Bool #
Ord MessageType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageType

Methods

compare :: MessageType -> MessageType -> Ordering #

(<) :: MessageType -> MessageType -> Bool #

(<=) :: MessageType -> MessageType -> Bool #

(>) :: MessageType -> MessageType -> Bool #

(>=) :: MessageType -> MessageType -> Bool #

max :: MessageType -> MessageType -> MessageType #

min :: MessageType -> MessageType -> MessageType #

Hashable MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods hashWithSalt :: Int -> MessageType -> Int # hash :: MessageType -> Int #
LspEnum MessageType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageType

Associated Types

type EnumBaseType MessageType |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType type EnumBaseType MessageType = UInt

Methods

knownValues :: Set MessageType #

toEnumBaseType :: MessageType -> EnumBaseType MessageType #

fromEnumBaseType :: EnumBaseType MessageType -> Maybe MessageType #

Pretty MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType Methods pretty :: MessageType -> Doc ann # prettyList :: [MessageType] -> Doc ann #
HasType_ LogMessageParams MessageType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' LogMessageParams MessageType #
HasType_ ShowMessageParams MessageType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' ShowMessageParams MessageType #
HasType_ ShowMessageRequestParams MessageType # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods type_ :: Lens' ShowMessageRequestParams MessageType #
type Rep MessageType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MessageType

type Rep MessageType = D1 ('MetaData "MessageType" "Language.LSP.Protocol.Internal.Types.MessageType" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "MessageType_Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MessageType_Warning" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MessageType_Info" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MessageType_Log" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType MessageType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MessageType type EnumBaseType MessageType = UInt

data MonikerClientCapabilities #

Client capabilities specific to the moniker request.

Since: 3.16.0

Constructors

MonikerClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether moniker supports dynamic registration. If this is set to `true` the client supports the new `MonikerRegistrationOptions` return value for the corresponding server capability as well.

#### Instances

Instances details

FromJSON MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods parseJSON :: Value -> Parser MonikerClientCapabilities # parseJSONList :: Value -> Parser [MonikerClientCapabilities] # omittedField :: Maybe MonikerClientCapabilities #
ToJSON MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods toJSON :: MonikerClientCapabilities -> Value # toEncoding :: MonikerClientCapabilities -> Encoding # toJSONList :: [MonikerClientCapabilities] -> Value # toEncodingList :: [MonikerClientCapabilities] -> Encoding # omitField :: MonikerClientCapabilities -> Bool #
NFData MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods rnf :: MonikerClientCapabilities -> () #
Generic MonikerClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities

Associated Types

type Rep MonikerClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities

type Rep MonikerClientCapabilities = D1 ('MetaData "MonikerClientCapabilities" "Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: MonikerClientCapabilities -> Rep MonikerClientCapabilities x #

to :: Rep MonikerClientCapabilities x -> MonikerClientCapabilities #

Show MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods showsPrec :: Int -> MonikerClientCapabilities -> ShowS # show :: MonikerClientCapabilities -> String # showList :: [MonikerClientCapabilities] -> ShowS #
Eq MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods (==) :: MonikerClientCapabilities -> MonikerClientCapabilities -> Bool # (/=) :: MonikerClientCapabilities -> MonikerClientCapabilities -> Bool #
Ord MonikerClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities

Methods

compare :: MonikerClientCapabilities -> MonikerClientCapabilities -> Ordering #

(<) :: MonikerClientCapabilities -> MonikerClientCapabilities -> Bool #

(<=) :: MonikerClientCapabilities -> MonikerClientCapabilities -> Bool #

(>) :: MonikerClientCapabilities -> MonikerClientCapabilities -> Bool #

(>=) :: MonikerClientCapabilities -> MonikerClientCapabilities -> Bool #

max :: MonikerClientCapabilities -> MonikerClientCapabilities -> MonikerClientCapabilities #

min :: MonikerClientCapabilities -> MonikerClientCapabilities -> MonikerClientCapabilities #

Hashable MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods hashWithSalt :: Int -> MonikerClientCapabilities -> Int # hash :: MonikerClientCapabilities -> Int #
Pretty MonikerClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities Methods pretty :: MonikerClientCapabilities -> Doc ann # prettyList :: [MonikerClientCapabilities] -> Doc ann #
HasDynamicRegistration MonikerClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' MonikerClientCapabilities (Maybe Bool) #
HasMoniker TextDocumentClientCapabilities (Maybe MonikerClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods moniker :: Lens' TextDocumentClientCapabilities (Maybe MonikerClientCapabilities) #
type Rep MonikerClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities

type Rep MonikerClientCapabilities = D1 ('MetaData "MonikerClientCapabilities" "Language.LSP.Protocol.Internal.Types.MonikerClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data MonikerKind #

The moniker kind.

Since: 3.16.0

Constructors

MonikerKind_Import | The moniker represent a symbol that is imported into a project
MonikerKind_Export | The moniker represents a symbol that is exported from a project
MonikerKind_Local | The moniker represents a symbol that is local to a project (e.g. a local variable of a function, a class not visible outside the project, ...)

#### Instances

Instances details

FromJSON MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods parseJSON :: Value -> Parser MonikerKind # parseJSONList :: Value -> Parser [MonikerKind] # omittedField :: Maybe MonikerKind #
ToJSON MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods toJSON :: MonikerKind -> Value # toEncoding :: MonikerKind -> Encoding # toJSONList :: [MonikerKind] -> Value # toEncodingList :: [MonikerKind] -> Encoding # omitField :: MonikerKind -> Bool #
NFData MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods rnf :: MonikerKind -> () #
Generic MonikerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerKind

Associated Types

type Rep MonikerKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerKind

type Rep MonikerKind = D1 ('MetaData "MonikerKind" "Language.LSP.Protocol.Internal.Types.MonikerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerKind_Import" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MonikerKind_Export" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MonikerKind_Local" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: MonikerKind -> Rep MonikerKind x #

to :: Rep MonikerKind x -> MonikerKind #

Show MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods showsPrec :: Int -> MonikerKind -> ShowS # show :: MonikerKind -> String # showList :: [MonikerKind] -> ShowS #
Eq MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods (==) :: MonikerKind -> MonikerKind -> Bool # (/=) :: MonikerKind -> MonikerKind -> Bool #
Ord MonikerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerKind

Methods

compare :: MonikerKind -> MonikerKind -> Ordering #

(<) :: MonikerKind -> MonikerKind -> Bool #

(<=) :: MonikerKind -> MonikerKind -> Bool #

(>) :: MonikerKind -> MonikerKind -> Bool #

(>=) :: MonikerKind -> MonikerKind -> Bool #

max :: MonikerKind -> MonikerKind -> MonikerKind #

min :: MonikerKind -> MonikerKind -> MonikerKind #

Hashable MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods hashWithSalt :: Int -> MonikerKind -> Int # hash :: MonikerKind -> Int #
LspEnum MonikerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerKind

Associated Types

type EnumBaseType MonikerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind type EnumBaseType MonikerKind = Text

Methods

knownValues :: Set MonikerKind #

toEnumBaseType :: MonikerKind -> EnumBaseType MonikerKind #

fromEnumBaseType :: EnumBaseType MonikerKind -> Maybe MonikerKind #

Pretty MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind Methods pretty :: MonikerKind -> Doc ann # prettyList :: [MonikerKind] -> Doc ann #
HasKind Moniker (Maybe MonikerKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' Moniker (Maybe MonikerKind) #
type Rep MonikerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerKind

type Rep MonikerKind = D1 ('MetaData "MonikerKind" "Language.LSP.Protocol.Internal.Types.MonikerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerKind_Import" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MonikerKind_Export" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MonikerKind_Local" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType MonikerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerKind type EnumBaseType MonikerKind = Text

data MonikerOptions #

Constructors

MonikerOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods parseJSON :: Value -> Parser MonikerOptions # parseJSONList :: Value -> Parser [MonikerOptions] # omittedField :: Maybe MonikerOptions #
ToJSON MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods toJSON :: MonikerOptions -> Value # toEncoding :: MonikerOptions -> Encoding # toJSONList :: [MonikerOptions] -> Value # toEncodingList :: [MonikerOptions] -> Encoding # omitField :: MonikerOptions -> Bool #
NFData MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods rnf :: MonikerOptions -> () #
Generic MonikerOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions

Associated Types

type Rep MonikerOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions

type Rep MonikerOptions = D1 ('MetaData "MonikerOptions" "Language.LSP.Protocol.Internal.Types.MonikerOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: MonikerOptions -> Rep MonikerOptions x #

to :: Rep MonikerOptions x -> MonikerOptions #

Show MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods showsPrec :: Int -> MonikerOptions -> ShowS # show :: MonikerOptions -> String # showList :: [MonikerOptions] -> ShowS #
Eq MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods (==) :: MonikerOptions -> MonikerOptions -> Bool # (/=) :: MonikerOptions -> MonikerOptions -> Bool #
Ord MonikerOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions

Methods

compare :: MonikerOptions -> MonikerOptions -> Ordering #

(<) :: MonikerOptions -> MonikerOptions -> Bool #

(<=) :: MonikerOptions -> MonikerOptions -> Bool #

(>) :: MonikerOptions -> MonikerOptions -> Bool #

(>=) :: MonikerOptions -> MonikerOptions -> Bool #

max :: MonikerOptions -> MonikerOptions -> MonikerOptions #

min :: MonikerOptions -> MonikerOptions -> MonikerOptions #

Hashable MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods hashWithSalt :: Int -> MonikerOptions -> Int # hash :: MonikerOptions -> Int #
Pretty MonikerOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions Methods pretty :: MonikerOptions -> Doc ann # prettyList :: [MonikerOptions] -> Doc ann #
HasMonikerProvider ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods monikerProvider :: Lens' ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) #
HasWorkDoneProgress MonikerOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' MonikerOptions (Maybe Bool) #
type Rep MonikerOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.MonikerOptions

type Rep MonikerOptions = D1 ('MetaData "MonikerOptions" "Language.LSP.Protocol.Internal.Types.MonikerOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "MonikerOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data NotebookCell #

A notebook cell.

A cell's document URI must be unique across ALL notebook cells and can therefore be used to uniquely identify a notebook cell or the cell's text document.

Since: 3.17.0

Constructors

NotebookCell |

Fields

- _kind :: NotebookCellKind

  The cell's kind

- _document :: Uri

  The URI of the cell's text document content.

- _metadata :: Maybe Object

  Additional metadata stored with the cell.

  Note: should always be an object literal (e.g. LSPObject)

- _executionSummary :: Maybe ExecutionSummary

  Additional execution summary information if supported by the client.

#### Instances

Instances details

FromJSON NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods parseJSON :: Value -> Parser NotebookCell # parseJSONList :: Value -> Parser [NotebookCell] # omittedField :: Maybe NotebookCell #
ToJSON NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods toJSON :: NotebookCell -> Value # toEncoding :: NotebookCell -> Encoding # toJSONList :: [NotebookCell] -> Value # toEncodingList :: [NotebookCell] -> Encoding # omitField :: NotebookCell -> Bool #
NFData NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods rnf :: NotebookCell -> () #
Generic NotebookCell # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCell

Associated Types

type Rep NotebookCell |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCell

type Rep NotebookCell = D1 ('MetaData "NotebookCell" "Language.LSP.Protocol.Internal.Types.NotebookCell" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookCellKind) :*: S1 ('MetaSel ('Just "_document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)) :*: (S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "_executionSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionSummary)))))

Methods

from :: NotebookCell -> Rep NotebookCell x #

to :: Rep NotebookCell x -> NotebookCell #

Show NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods showsPrec :: Int -> NotebookCell -> ShowS # show :: NotebookCell -> String # showList :: [NotebookCell] -> ShowS #
Eq NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods (==) :: NotebookCell -> NotebookCell -> Bool # (/=) :: NotebookCell -> NotebookCell -> Bool #
Ord NotebookCell # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCell

Methods

compare :: NotebookCell -> NotebookCell -> Ordering #

(<) :: NotebookCell -> NotebookCell -> Bool #

(<=) :: NotebookCell -> NotebookCell -> Bool #

(>) :: NotebookCell -> NotebookCell -> Bool #

(>=) :: NotebookCell -> NotebookCell -> Bool #

max :: NotebookCell -> NotebookCell -> NotebookCell #

min :: NotebookCell -> NotebookCell -> NotebookCell #

Hashable NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods hashWithSalt :: Int -> NotebookCell -> Int # hash :: NotebookCell -> Int #
Pretty NotebookCell # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCell Methods pretty :: NotebookCell -> Doc ann # prettyList :: [NotebookCell] -> Doc ann #
HasDocument NotebookCell Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods document :: Lens' NotebookCell Uri #
HasKind NotebookCell NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' NotebookCell NotebookCellKind #
HasCells NotebookCellArrayChange (Maybe [NotebookCell]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookCellArrayChange (Maybe [NotebookCell]) #
HasCells NotebookDocument [NotebookCell] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocument [NotebookCell] #
HasData_ NotebookDocumentCellChanges (Maybe [NotebookCell]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' NotebookDocumentCellChanges (Maybe [NotebookCell]) #
HasExecutionSummary NotebookCell (Maybe ExecutionSummary) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executionSummary :: Lens' NotebookCell (Maybe ExecutionSummary) #
HasMetadata NotebookCell (Maybe Object) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods metadata :: Lens' NotebookCell (Maybe Object) #
type Rep NotebookCell # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCell

type Rep NotebookCell = D1 ('MetaData "NotebookCell" "Language.LSP.Protocol.Internal.Types.NotebookCell" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookCellKind) :*: S1 ('MetaSel ('Just "_document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)) :*: (S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "_executionSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecutionSummary)))))

data NotebookCellArrayChange #

A change describing how to move a `NotebookCell` array from state S to S'.

Since: 3.17.0

Constructors

NotebookCellArrayChange |

Fields

- _start :: UInt

  The start oftest of the cell that changed.

- _deleteCount :: UInt

  The deleted cells

- _cells :: Maybe [NotebookCell]

  The new cells, if any

#### Instances

Instances details

FromJSON NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods parseJSON :: Value -> Parser NotebookCellArrayChange # parseJSONList :: Value -> Parser [NotebookCellArrayChange] # omittedField :: Maybe NotebookCellArrayChange #
ToJSON NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods toJSON :: NotebookCellArrayChange -> Value # toEncoding :: NotebookCellArrayChange -> Encoding # toJSONList :: [NotebookCellArrayChange] -> Value # toEncodingList :: [NotebookCellArrayChange] -> Encoding # omitField :: NotebookCellArrayChange -> Bool #
NFData NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods rnf :: NotebookCellArrayChange -> () #
Generic NotebookCellArrayChange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange

Associated Types

type Rep NotebookCellArrayChange |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange

type Rep NotebookCellArrayChange = D1 ('MetaData "NotebookCellArrayChange" "Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellArrayChange" 'PrefixI 'True) (S1 ('MetaSel ('Just "_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: (S1 ('MetaSel ('Just "_deleteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookCell])))))

Methods

from :: NotebookCellArrayChange -> Rep NotebookCellArrayChange x #

to :: Rep NotebookCellArrayChange x -> NotebookCellArrayChange #

Show NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods showsPrec :: Int -> NotebookCellArrayChange -> ShowS # show :: NotebookCellArrayChange -> String # showList :: [NotebookCellArrayChange] -> ShowS #
Eq NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods (==) :: NotebookCellArrayChange -> NotebookCellArrayChange -> Bool # (/=) :: NotebookCellArrayChange -> NotebookCellArrayChange -> Bool #
Ord NotebookCellArrayChange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange

Methods

compare :: NotebookCellArrayChange -> NotebookCellArrayChange -> Ordering #

(<) :: NotebookCellArrayChange -> NotebookCellArrayChange -> Bool #

(<=) :: NotebookCellArrayChange -> NotebookCellArrayChange -> Bool #

(>) :: NotebookCellArrayChange -> NotebookCellArrayChange -> Bool #

(>=) :: NotebookCellArrayChange -> NotebookCellArrayChange -> Bool #

max :: NotebookCellArrayChange -> NotebookCellArrayChange -> NotebookCellArrayChange #

min :: NotebookCellArrayChange -> NotebookCellArrayChange -> NotebookCellArrayChange #

Hashable NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods hashWithSalt :: Int -> NotebookCellArrayChange -> Int # hash :: NotebookCellArrayChange -> Int #
Pretty NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange Methods pretty :: NotebookCellArrayChange -> Doc ann # prettyList :: [NotebookCellArrayChange] -> Doc ann #
HasArray NotebookDocumentCellChangeStructure NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods array :: Lens' NotebookDocumentCellChangeStructure NotebookCellArrayChange #
HasDeleteCount NotebookCellArrayChange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods deleteCount :: Lens' NotebookCellArrayChange UInt #
HasStart NotebookCellArrayChange UInt # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods start :: Lens' NotebookCellArrayChange UInt #
HasCells NotebookCellArrayChange (Maybe [NotebookCell]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookCellArrayChange (Maybe [NotebookCell]) #
type Rep NotebookCellArrayChange # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange

type Rep NotebookCellArrayChange = D1 ('MetaData "NotebookCellArrayChange" "Language.LSP.Protocol.Internal.Types.NotebookCellArrayChange" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellArrayChange" 'PrefixI 'True) (S1 ('MetaSel ('Just "_start") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: (S1 ('MetaSel ('Just "_deleteCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UInt) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookCell])))))

data NotebookCellKind #

A notebook cell kind.

Since: 3.17.0

Constructors

NotebookCellKind_Markup | A markup-cell is formatted source that is used for display.
NotebookCellKind_Code | A code-cell is source code.

#### Instances

Instances details

FromJSON NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods parseJSON :: Value -> Parser NotebookCellKind # parseJSONList :: Value -> Parser [NotebookCellKind] # omittedField :: Maybe NotebookCellKind #
ToJSON NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods toJSON :: NotebookCellKind -> Value # toEncoding :: NotebookCellKind -> Encoding # toJSONList :: [NotebookCellKind] -> Value # toEncodingList :: [NotebookCellKind] -> Encoding # omitField :: NotebookCellKind -> Bool #
NFData NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods rnf :: NotebookCellKind -> () #
Generic NotebookCellKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind

Associated Types

type Rep NotebookCellKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind

type Rep NotebookCellKind = D1 ('MetaData "NotebookCellKind" "Language.LSP.Protocol.Internal.Types.NotebookCellKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellKind_Markup" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NotebookCellKind_Code" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: NotebookCellKind -> Rep NotebookCellKind x #

to :: Rep NotebookCellKind x -> NotebookCellKind #

Show NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods showsPrec :: Int -> NotebookCellKind -> ShowS # show :: NotebookCellKind -> String # showList :: [NotebookCellKind] -> ShowS #
Eq NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods (==) :: NotebookCellKind -> NotebookCellKind -> Bool # (/=) :: NotebookCellKind -> NotebookCellKind -> Bool #
Ord NotebookCellKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind

Methods

compare :: NotebookCellKind -> NotebookCellKind -> Ordering #

(<) :: NotebookCellKind -> NotebookCellKind -> Bool #

(<=) :: NotebookCellKind -> NotebookCellKind -> Bool #

(>) :: NotebookCellKind -> NotebookCellKind -> Bool #

(>=) :: NotebookCellKind -> NotebookCellKind -> Bool #

max :: NotebookCellKind -> NotebookCellKind -> NotebookCellKind #

min :: NotebookCellKind -> NotebookCellKind -> NotebookCellKind #

Hashable NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods hashWithSalt :: Int -> NotebookCellKind -> Int # hash :: NotebookCellKind -> Int #
LspEnum NotebookCellKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind

Associated Types

type EnumBaseType NotebookCellKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind type EnumBaseType NotebookCellKind = UInt

Methods

knownValues :: Set NotebookCellKind #

toEnumBaseType :: NotebookCellKind -> EnumBaseType NotebookCellKind #

fromEnumBaseType :: EnumBaseType NotebookCellKind -> Maybe NotebookCellKind #

Pretty NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind Methods pretty :: NotebookCellKind -> Doc ann # prettyList :: [NotebookCellKind] -> Doc ann #
HasKind NotebookCell NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' NotebookCell NotebookCellKind #
type Rep NotebookCellKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind

type Rep NotebookCellKind = D1 ('MetaData "NotebookCellKind" "Language.LSP.Protocol.Internal.Types.NotebookCellKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellKind_Markup" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NotebookCellKind_Code" 'PrefixI 'False) (U1 :: Type -> Type))

type EnumBaseType NotebookCellKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellKind type EnumBaseType NotebookCellKind = UInt

data NotebookCellLanguage #

@proposed

Since: 3.18.0

Constructors

NotebookCellLanguage |

Fields

- _language :: Text

#### Instances

Instances details

FromJSON NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods parseJSON :: Value -> Parser NotebookCellLanguage # parseJSONList :: Value -> Parser [NotebookCellLanguage] # omittedField :: Maybe NotebookCellLanguage #
ToJSON NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods toJSON :: NotebookCellLanguage -> Value # toEncoding :: NotebookCellLanguage -> Encoding # toJSONList :: [NotebookCellLanguage] -> Value # toEncodingList :: [NotebookCellLanguage] -> Encoding # omitField :: NotebookCellLanguage -> Bool #
NFData NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods rnf :: NotebookCellLanguage -> () #
Generic NotebookCellLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage

Associated Types

type Rep NotebookCellLanguage |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage

type Rep NotebookCellLanguage = D1 ('MetaData "NotebookCellLanguage" "Language.LSP.Protocol.Internal.Types.NotebookCellLanguage" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellLanguage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: NotebookCellLanguage -> Rep NotebookCellLanguage x #

to :: Rep NotebookCellLanguage x -> NotebookCellLanguage #

Show NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods showsPrec :: Int -> NotebookCellLanguage -> ShowS # show :: NotebookCellLanguage -> String # showList :: [NotebookCellLanguage] -> ShowS #
Eq NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods (==) :: NotebookCellLanguage -> NotebookCellLanguage -> Bool # (/=) :: NotebookCellLanguage -> NotebookCellLanguage -> Bool #
Ord NotebookCellLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage

Methods

compare :: NotebookCellLanguage -> NotebookCellLanguage -> Ordering #

(<) :: NotebookCellLanguage -> NotebookCellLanguage -> Bool #

(<=) :: NotebookCellLanguage -> NotebookCellLanguage -> Bool #

(>) :: NotebookCellLanguage -> NotebookCellLanguage -> Bool #

(>=) :: NotebookCellLanguage -> NotebookCellLanguage -> Bool #

max :: NotebookCellLanguage -> NotebookCellLanguage -> NotebookCellLanguage #

min :: NotebookCellLanguage -> NotebookCellLanguage -> NotebookCellLanguage #

Hashable NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods hashWithSalt :: Int -> NotebookCellLanguage -> Int # hash :: NotebookCellLanguage -> Int #
Pretty NotebookCellLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage Methods pretty :: NotebookCellLanguage -> Doc ann # prettyList :: [NotebookCellLanguage] -> Doc ann #
HasLanguage NotebookCellLanguage Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods language :: Lens' NotebookCellLanguage Text #
HasCells NotebookDocumentFilterWithCells [NotebookCellLanguage] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocumentFilterWithCells [NotebookCellLanguage] #
HasCells NotebookDocumentFilterWithNotebook (Maybe [NotebookCellLanguage]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocumentFilterWithNotebook (Maybe [NotebookCellLanguage]) #
type Rep NotebookCellLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellLanguage

type Rep NotebookCellLanguage = D1 ('MetaData "NotebookCellLanguage" "Language.LSP.Protocol.Internal.Types.NotebookCellLanguage" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellLanguage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data NotebookCellTextDocumentFilter #

A notebook cell text document filter denotes a cell text document by different properties.

Since: 3.17.0

Constructors

NotebookCellTextDocumentFilter |

Fields

- _notebook :: Text |? NotebookDocumentFilter

  A filter that matches against the notebook containing the notebook cell. If a string value is provided it matches against the notebook type. `*` matches every notebook.

- _language :: Maybe Text

  A language id like `python`.

  Will be matched against the language id of the notebook cell document. `*` matches every language.

#### Instances

Instances details

FromJSON NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods parseJSON :: Value -> Parser NotebookCellTextDocumentFilter # parseJSONList :: Value -> Parser [NotebookCellTextDocumentFilter] # omittedField :: Maybe NotebookCellTextDocumentFilter #
ToJSON NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods toJSON :: NotebookCellTextDocumentFilter -> Value # toEncoding :: NotebookCellTextDocumentFilter -> Encoding # toJSONList :: [NotebookCellTextDocumentFilter] -> Value # toEncodingList :: [NotebookCellTextDocumentFilter] -> Encoding # omitField :: NotebookCellTextDocumentFilter -> Bool #
NFData NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods rnf :: NotebookCellTextDocumentFilter -> () #
Generic NotebookCellTextDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter

Associated Types

type Rep NotebookCellTextDocumentFilter |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter

type Rep NotebookCellTextDocumentFilter = D1 ('MetaData "NotebookCellTextDocumentFilter" "Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellTextDocumentFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? NotebookDocumentFilter)) :*: S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: NotebookCellTextDocumentFilter -> Rep NotebookCellTextDocumentFilter x #

to :: Rep NotebookCellTextDocumentFilter x -> NotebookCellTextDocumentFilter #

Show NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods showsPrec :: Int -> NotebookCellTextDocumentFilter -> ShowS # show :: NotebookCellTextDocumentFilter -> String # showList :: [NotebookCellTextDocumentFilter] -> ShowS #
Eq NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods (==) :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Bool # (/=) :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Bool #
Ord NotebookCellTextDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter

Methods

compare :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Ordering #

(<) :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Bool #

(<=) :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Bool #

(>) :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Bool #

(>=) :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> Bool #

max :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter #

min :: NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter -> NotebookCellTextDocumentFilter #

Hashable NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods hashWithSalt :: Int -> NotebookCellTextDocumentFilter -> Int # hash :: NotebookCellTextDocumentFilter -> Int #
Pretty NotebookCellTextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter Methods pretty :: NotebookCellTextDocumentFilter -> Doc ann # prettyList :: [NotebookCellTextDocumentFilter] -> Doc ann #
HasLanguage NotebookCellTextDocumentFilter (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods language :: Lens' NotebookCellTextDocumentFilter (Maybe Text) #
HasNotebook NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) #
type Rep NotebookCellTextDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter

type Rep NotebookCellTextDocumentFilter = D1 ('MetaData "NotebookCellTextDocumentFilter" "Language.LSP.Protocol.Internal.Types.NotebookCellTextDocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookCellTextDocumentFilter" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? NotebookDocumentFilter)) :*: S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data NotebookDocument #

A notebook document.

Since: 3.17.0

Constructors

NotebookDocument |

Fields

- _uri :: Uri

  The notebook document's uri.

- _notebookType :: Text

  The type of the notebook.

- _version :: Int32

  The version number of this document (it will increase after each change, including undo/redo).

- _metadata :: Maybe Object

  Additional metadata stored with the notebook document.

  Note: should always be an object literal (e.g. LSPObject)

- _cells :: [NotebookCell]

  The cells of a notebook.

#### Instances

Instances details

FromJSON NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods parseJSON :: Value -> Parser NotebookDocument # parseJSONList :: Value -> Parser [NotebookDocument] # omittedField :: Maybe NotebookDocument #
ToJSON NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods toJSON :: NotebookDocument -> Value # toEncoding :: NotebookDocument -> Encoding # toJSONList :: [NotebookDocument] -> Value # toEncodingList :: [NotebookDocument] -> Encoding # omitField :: NotebookDocument -> Bool #
NFData NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods rnf :: NotebookDocument -> () #
Generic NotebookDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument

Associated Types

type Rep NotebookDocument |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument

type Rep NotebookDocument = D1 ('MetaData "NotebookDocument" "Language.LSP.Protocol.Internal.Types.NotebookDocument" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocument" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: (S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookCell])))))

Methods

from :: NotebookDocument -> Rep NotebookDocument x #

to :: Rep NotebookDocument x -> NotebookDocument #

Show NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods showsPrec :: Int -> NotebookDocument -> ShowS # show :: NotebookDocument -> String # showList :: [NotebookDocument] -> ShowS #
Eq NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods (==) :: NotebookDocument -> NotebookDocument -> Bool # (/=) :: NotebookDocument -> NotebookDocument -> Bool #
Ord NotebookDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument

Methods

compare :: NotebookDocument -> NotebookDocument -> Ordering #

(<) :: NotebookDocument -> NotebookDocument -> Bool #

(<=) :: NotebookDocument -> NotebookDocument -> Bool #

(>) :: NotebookDocument -> NotebookDocument -> Bool #

(>=) :: NotebookDocument -> NotebookDocument -> Bool #

max :: NotebookDocument -> NotebookDocument -> NotebookDocument #

min :: NotebookDocument -> NotebookDocument -> NotebookDocument #

Hashable NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods hashWithSalt :: Int -> NotebookDocument -> Int # hash :: NotebookDocument -> Int #
Pretty NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument Methods pretty :: NotebookDocument -> Doc ann # prettyList :: [NotebookDocument] -> Doc ann #
HasNotebookDocument DidOpenNotebookDocumentParams NotebookDocument # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidOpenNotebookDocumentParams NotebookDocument #
HasNotebookType NotebookDocument Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookType :: Lens' NotebookDocument Text #
HasUri NotebookDocument Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' NotebookDocument Uri #
HasVersion NotebookDocument Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' NotebookDocument Int32 #
HasCells NotebookDocument [NotebookCell] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocument [NotebookCell] #
HasMetadata NotebookDocument (Maybe Object) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods metadata :: Lens' NotebookDocument (Maybe Object) #
type Rep NotebookDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocument

type Rep NotebookDocument = D1 ('MetaData "NotebookDocument" "Language.LSP.Protocol.Internal.Types.NotebookDocument" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocument" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: (S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookCell])))))

data NotebookDocumentCellChangeStructure #

Structural changes to cells in a notebook document.

@proposed

Since: 3.18.0

Constructors

NotebookDocumentCellChangeStructure |

Fields

- _array :: NotebookCellArrayChange

  The change to the cell array.

- _didOpen :: Maybe [TextDocumentItem]

  Additional opened cell text documents.

- _didClose :: Maybe [TextDocumentIdentifier]

  Additional closed cell text documents.

#### Instances

Instances details

FromJSON NotebookDocumentCellChangeStructure # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure Methods parseJSON :: Value -> Parser NotebookDocumentCellChangeStructure # parseJSONList :: Value -> Parser [NotebookDocumentCellChangeStructure] # omittedField :: Maybe NotebookDocumentCellChangeStructure #
ToJSON NotebookDocumentCellChangeStructure # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure

Methods

toJSON :: NotebookDocumentCellChangeStructure -> Value #

toEncoding :: NotebookDocumentCellChangeStructure -> Encoding #

toJSONList :: [NotebookDocumentCellChangeStructure] -> Value #

toEncodingList :: [NotebookDocumentCellChangeStructure] -> Encoding #

omitField :: NotebookDocumentCellChangeStructure -> Bool #

NFData NotebookDocumentCellChangeStructure # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure Methods rnf :: NotebookDocumentCellChangeStructure -> () #
Generic NotebookDocumentCellChangeStructure # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure

Associated Types

type Rep NotebookDocumentCellChangeStructure |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure

type Rep NotebookDocumentCellChangeStructure = D1 ('MetaData "NotebookDocumentCellChangeStructure" "Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentCellChangeStructure" 'PrefixI 'True) (S1 ('MetaSel ('Just "_array") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookCellArrayChange) :*: (S1 ('MetaSel ('Just "_didOpen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextDocumentItem])) :*: S1 ('MetaSel ('Just "_didClose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextDocumentIdentifier])))))

Methods

from :: NotebookDocumentCellChangeStructure -> Rep NotebookDocumentCellChangeStructure x #

to :: Rep NotebookDocumentCellChangeStructure x -> NotebookDocumentCellChangeStructure #

Show NotebookDocumentCellChangeStructure # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure Methods showsPrec :: Int -> NotebookDocumentCellChangeStructure -> ShowS # show :: NotebookDocumentCellChangeStructure -> String # showList :: [NotebookDocumentCellChangeStructure] -> ShowS #
Eq NotebookDocumentCellChangeStructure # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure Methods (==) :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Bool # (/=) :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Bool #
Ord NotebookDocumentCellChangeStructure # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure

Methods

compare :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Ordering #

(<) :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Bool #

(<=) :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Bool #

(>) :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Bool #

(>=) :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> Bool #

max :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure #

min :: NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure -> NotebookDocumentCellChangeStructure #

Hashable NotebookDocumentCellChangeStructure # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure Methods hashWithSalt :: Int -> NotebookDocumentCellChangeStructure -> Int # hash :: NotebookDocumentCellChangeStructure -> Int #
Pretty NotebookDocumentCellChangeStructure # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure Methods pretty :: NotebookDocumentCellChangeStructure -> Doc ann # prettyList :: [NotebookDocumentCellChangeStructure] -> Doc ann #
HasArray NotebookDocumentCellChangeStructure NotebookCellArrayChange # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods array :: Lens' NotebookDocumentCellChangeStructure NotebookCellArrayChange #
HasDidClose NotebookDocumentCellChangeStructure (Maybe [TextDocumentIdentifier]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didClose :: Lens' NotebookDocumentCellChangeStructure (Maybe [TextDocumentIdentifier]) #
HasDidOpen NotebookDocumentCellChangeStructure (Maybe [TextDocumentItem]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didOpen :: Lens' NotebookDocumentCellChangeStructure (Maybe [TextDocumentItem]) #
HasStructure NotebookDocumentCellChanges (Maybe NotebookDocumentCellChangeStructure) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods structure :: Lens' NotebookDocumentCellChanges (Maybe NotebookDocumentCellChangeStructure) #
type Rep NotebookDocumentCellChangeStructure # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure

type Rep NotebookDocumentCellChangeStructure = D1 ('MetaData "NotebookDocumentCellChangeStructure" "Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChangeStructure" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentCellChangeStructure" 'PrefixI 'True) (S1 ('MetaSel ('Just "_array") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookCellArrayChange) :*: (S1 ('MetaSel ('Just "_didOpen") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextDocumentItem])) :*: S1 ('MetaSel ('Just "_didClose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TextDocumentIdentifier])))))

data NotebookDocumentCellChanges #

Cell changes to a notebook document.

@proposed

Since: 3.18.0

Constructors

NotebookDocumentCellChanges |

Fields

- _structure :: Maybe NotebookDocumentCellChangeStructure

  Changes to the cell structure to add or remove cells.

- _data_ :: Maybe [NotebookCell]

  Changes to notebook cells properties like its kind, execution summary or metadata.

- _textContent :: Maybe [NotebookDocumentCellContentChanges]

  Changes to the text content of notebook cells.

#### Instances

Instances details

FromJSON NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods parseJSON :: Value -> Parser NotebookDocumentCellChanges # parseJSONList :: Value -> Parser [NotebookDocumentCellChanges] # omittedField :: Maybe NotebookDocumentCellChanges #
ToJSON NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods toJSON :: NotebookDocumentCellChanges -> Value # toEncoding :: NotebookDocumentCellChanges -> Encoding # toJSONList :: [NotebookDocumentCellChanges] -> Value # toEncodingList :: [NotebookDocumentCellChanges] -> Encoding # omitField :: NotebookDocumentCellChanges -> Bool #
NFData NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods rnf :: NotebookDocumentCellChanges -> () #
Generic NotebookDocumentCellChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges

Associated Types

type Rep NotebookDocumentCellChanges |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges

type Rep NotebookDocumentCellChanges = D1 ('MetaData "NotebookDocumentCellChanges" "Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentCellChanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "_structure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookDocumentCellChangeStructure)) :*: (S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookCell])) :*: S1 ('MetaSel ('Just "_textContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookDocumentCellContentChanges])))))

Methods

from :: NotebookDocumentCellChanges -> Rep NotebookDocumentCellChanges x #

to :: Rep NotebookDocumentCellChanges x -> NotebookDocumentCellChanges #

Show NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods showsPrec :: Int -> NotebookDocumentCellChanges -> ShowS # show :: NotebookDocumentCellChanges -> String # showList :: [NotebookDocumentCellChanges] -> ShowS #
Eq NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods (==) :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Bool # (/=) :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Bool #
Ord NotebookDocumentCellChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges

Methods

compare :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Ordering #

(<) :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Bool #

(<=) :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Bool #

(>) :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Bool #

(>=) :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> Bool #

max :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> NotebookDocumentCellChanges #

min :: NotebookDocumentCellChanges -> NotebookDocumentCellChanges -> NotebookDocumentCellChanges #

Hashable NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods hashWithSalt :: Int -> NotebookDocumentCellChanges -> Int # hash :: NotebookDocumentCellChanges -> Int #
Pretty NotebookDocumentCellChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges Methods pretty :: NotebookDocumentCellChanges -> Doc ann # prettyList :: [NotebookDocumentCellChanges] -> Doc ann #
HasCells NotebookDocumentChangeEvent (Maybe NotebookDocumentCellChanges) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocumentChangeEvent (Maybe NotebookDocumentCellChanges) #
HasData_ NotebookDocumentCellChanges (Maybe [NotebookCell]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' NotebookDocumentCellChanges (Maybe [NotebookCell]) #
HasStructure NotebookDocumentCellChanges (Maybe NotebookDocumentCellChangeStructure) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods structure :: Lens' NotebookDocumentCellChanges (Maybe NotebookDocumentCellChangeStructure) #
HasTextContent NotebookDocumentCellChanges (Maybe [NotebookDocumentCellContentChanges]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textContent :: Lens' NotebookDocumentCellChanges (Maybe [NotebookDocumentCellContentChanges]) #
type Rep NotebookDocumentCellChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges

type Rep NotebookDocumentCellChanges = D1 ('MetaData "NotebookDocumentCellChanges" "Language.LSP.Protocol.Internal.Types.NotebookDocumentCellChanges" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentCellChanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "_structure") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookDocumentCellChangeStructure)) :*: (S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookCell])) :*: S1 ('MetaSel ('Just "_textContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookDocumentCellContentChanges])))))

data NotebookDocumentCellContentChanges #

Content changes to a cell in a notebook document.

@proposed

Since: 3.18.0

Constructors

NotebookDocumentCellContentChanges |

Fields

- _document :: VersionedTextDocumentIdentifier
- _changes :: [TextDocumentContentChangeEvent]

#### Instances

Instances details

FromJSON NotebookDocumentCellContentChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges Methods parseJSON :: Value -> Parser NotebookDocumentCellContentChanges # parseJSONList :: Value -> Parser [NotebookDocumentCellContentChanges] # omittedField :: Maybe NotebookDocumentCellContentChanges #
ToJSON NotebookDocumentCellContentChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges

Methods

toJSON :: NotebookDocumentCellContentChanges -> Value #

toEncoding :: NotebookDocumentCellContentChanges -> Encoding #

toJSONList :: [NotebookDocumentCellContentChanges] -> Value #

toEncodingList :: [NotebookDocumentCellContentChanges] -> Encoding #

omitField :: NotebookDocumentCellContentChanges -> Bool #

NFData NotebookDocumentCellContentChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges Methods rnf :: NotebookDocumentCellContentChanges -> () #
Generic NotebookDocumentCellContentChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges

Associated Types

type Rep NotebookDocumentCellContentChanges |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges

type Rep NotebookDocumentCellContentChanges = D1 ('MetaData "NotebookDocumentCellContentChanges" "Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentCellContentChanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "_document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VersionedTextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentContentChangeEvent])))

Methods

from :: NotebookDocumentCellContentChanges -> Rep NotebookDocumentCellContentChanges x #

to :: Rep NotebookDocumentCellContentChanges x -> NotebookDocumentCellContentChanges #

Show NotebookDocumentCellContentChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges Methods showsPrec :: Int -> NotebookDocumentCellContentChanges -> ShowS # show :: NotebookDocumentCellContentChanges -> String # showList :: [NotebookDocumentCellContentChanges] -> ShowS #
Eq NotebookDocumentCellContentChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges Methods (==) :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Bool # (/=) :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Bool #
Ord NotebookDocumentCellContentChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges

Methods

compare :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Ordering #

(<) :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Bool #

(<=) :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Bool #

(>) :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Bool #

(>=) :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> Bool #

max :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges #

min :: NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges -> NotebookDocumentCellContentChanges #

Hashable NotebookDocumentCellContentChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges Methods hashWithSalt :: Int -> NotebookDocumentCellContentChanges -> Int # hash :: NotebookDocumentCellContentChanges -> Int #
Pretty NotebookDocumentCellContentChanges # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges Methods pretty :: NotebookDocumentCellContentChanges -> Doc ann # prettyList :: [NotebookDocumentCellContentChanges] -> Doc ann #
HasDocument NotebookDocumentCellContentChanges VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods document :: Lens' NotebookDocumentCellContentChanges VersionedTextDocumentIdentifier #
HasChanges NotebookDocumentCellContentChanges [TextDocumentContentChangeEvent] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' NotebookDocumentCellContentChanges [TextDocumentContentChangeEvent] #
HasTextContent NotebookDocumentCellChanges (Maybe [NotebookDocumentCellContentChanges]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textContent :: Lens' NotebookDocumentCellChanges (Maybe [NotebookDocumentCellContentChanges]) #
type Rep NotebookDocumentCellContentChanges # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges

type Rep NotebookDocumentCellContentChanges = D1 ('MetaData "NotebookDocumentCellContentChanges" "Language.LSP.Protocol.Internal.Types.NotebookDocumentCellContentChanges" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentCellContentChanges" 'PrefixI 'True) (S1 ('MetaSel ('Just "_document") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VersionedTextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_changes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextDocumentContentChangeEvent])))

data NotebookDocumentChangeEvent #

A change event for a notebook document.

Since: 3.17.0

Constructors

NotebookDocumentChangeEvent |

Fields

- _metadata :: Maybe Object

  The changed meta data if any.

  Note: should always be an object literal (e.g. LSPObject)

- _cells :: Maybe NotebookDocumentCellChanges

  Changes to cells

#### Instances

Instances details

FromJSON NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods parseJSON :: Value -> Parser NotebookDocumentChangeEvent # parseJSONList :: Value -> Parser [NotebookDocumentChangeEvent] # omittedField :: Maybe NotebookDocumentChangeEvent #
ToJSON NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods toJSON :: NotebookDocumentChangeEvent -> Value # toEncoding :: NotebookDocumentChangeEvent -> Encoding # toJSONList :: [NotebookDocumentChangeEvent] -> Value # toEncodingList :: [NotebookDocumentChangeEvent] -> Encoding # omitField :: NotebookDocumentChangeEvent -> Bool #
NFData NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods rnf :: NotebookDocumentChangeEvent -> () #
Generic NotebookDocumentChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent

Associated Types

type Rep NotebookDocumentChangeEvent |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent

type Rep NotebookDocumentChangeEvent = D1 ('MetaData "NotebookDocumentChangeEvent" "Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentChangeEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookDocumentCellChanges))))

Methods

from :: NotebookDocumentChangeEvent -> Rep NotebookDocumentChangeEvent x #

to :: Rep NotebookDocumentChangeEvent x -> NotebookDocumentChangeEvent #

Show NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods showsPrec :: Int -> NotebookDocumentChangeEvent -> ShowS # show :: NotebookDocumentChangeEvent -> String # showList :: [NotebookDocumentChangeEvent] -> ShowS #
Eq NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods (==) :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Bool # (/=) :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Bool #
Ord NotebookDocumentChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent

Methods

compare :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Ordering #

(<) :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Bool #

(<=) :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Bool #

(>) :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Bool #

(>=) :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> Bool #

max :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent #

min :: NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent -> NotebookDocumentChangeEvent #

Hashable NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods hashWithSalt :: Int -> NotebookDocumentChangeEvent -> Int # hash :: NotebookDocumentChangeEvent -> Int #
Pretty NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent Methods pretty :: NotebookDocumentChangeEvent -> Doc ann # prettyList :: [NotebookDocumentChangeEvent] -> Doc ann #
HasChange DidChangeNotebookDocumentParams NotebookDocumentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods change :: Lens' DidChangeNotebookDocumentParams NotebookDocumentChangeEvent #
HasCells NotebookDocumentChangeEvent (Maybe NotebookDocumentCellChanges) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocumentChangeEvent (Maybe NotebookDocumentCellChanges) #
HasMetadata NotebookDocumentChangeEvent (Maybe Object) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods metadata :: Lens' NotebookDocumentChangeEvent (Maybe Object) #
type Rep NotebookDocumentChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent

type Rep NotebookDocumentChangeEvent = D1 ('MetaData "NotebookDocumentChangeEvent" "Language.LSP.Protocol.Internal.Types.NotebookDocumentChangeEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentChangeEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Object)) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NotebookDocumentCellChanges))))

data NotebookDocumentClientCapabilities #

Capabilities specific to the notebook document support.

Since: 3.17.0

Constructors

NotebookDocumentClientCapabilities |

Fields

- _synchronization :: NotebookDocumentSyncClientCapabilities

  Capabilities specific to notebook document synchronization

  Since: 3.17.0

#### Instances

Instances details

FromJSON NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities Methods parseJSON :: Value -> Parser NotebookDocumentClientCapabilities # parseJSONList :: Value -> Parser [NotebookDocumentClientCapabilities] # omittedField :: Maybe NotebookDocumentClientCapabilities #
ToJSON NotebookDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities

Methods

toJSON :: NotebookDocumentClientCapabilities -> Value #

toEncoding :: NotebookDocumentClientCapabilities -> Encoding #

toJSONList :: [NotebookDocumentClientCapabilities] -> Value #

toEncodingList :: [NotebookDocumentClientCapabilities] -> Encoding #

omitField :: NotebookDocumentClientCapabilities -> Bool #

Default NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: NotebookDocumentClientCapabilities #
NFData NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities Methods rnf :: NotebookDocumentClientCapabilities -> () #
Generic NotebookDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities

Associated Types

type Rep NotebookDocumentClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities

type Rep NotebookDocumentClientCapabilities = D1 ('MetaData "NotebookDocumentClientCapabilities" "Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_synchronization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentSyncClientCapabilities)))

Methods

from :: NotebookDocumentClientCapabilities -> Rep NotebookDocumentClientCapabilities x #

to :: Rep NotebookDocumentClientCapabilities x -> NotebookDocumentClientCapabilities #

Show NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities Methods showsPrec :: Int -> NotebookDocumentClientCapabilities -> ShowS # show :: NotebookDocumentClientCapabilities -> String # showList :: [NotebookDocumentClientCapabilities] -> ShowS #
Eq NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities Methods (==) :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Bool # (/=) :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Bool #
Ord NotebookDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities

Methods

compare :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Ordering #

(<) :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Bool #

(<=) :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Bool #

(>) :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Bool #

(>=) :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> Bool #

max :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities #

min :: NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities -> NotebookDocumentClientCapabilities #

Hashable NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities Methods hashWithSalt :: Int -> NotebookDocumentClientCapabilities -> Int # hash :: NotebookDocumentClientCapabilities -> Int #
Pretty NotebookDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities Methods pretty :: NotebookDocumentClientCapabilities -> Doc ann # prettyList :: [NotebookDocumentClientCapabilities] -> Doc ann #
HasSynchronization NotebookDocumentClientCapabilities NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods synchronization :: Lens' NotebookDocumentClientCapabilities NotebookDocumentSyncClientCapabilities #
HasNotebookDocument ClientCapabilities (Maybe NotebookDocumentClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' ClientCapabilities (Maybe NotebookDocumentClientCapabilities) #
type Rep NotebookDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities

type Rep NotebookDocumentClientCapabilities = D1 ('MetaData "NotebookDocumentClientCapabilities" "Language.LSP.Protocol.Internal.Types.NotebookDocumentClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_synchronization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 NotebookDocumentSyncClientCapabilities)))

newtype NotebookDocumentFilter #

A notebook document filter denotes a notebook document by different properties. The properties will be match against the notebook's URI (same as with documents)

Since: 3.17.0

Constructors

NotebookDocumentFilter (NotebookDocumentFilterNotebookType |? (NotebookDocumentFilterScheme |? NotebookDocumentFilterPattern)) |

#### Instances

Instances details

FromJSON NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods parseJSON :: Value -> Parser NotebookDocumentFilter # parseJSONList :: Value -> Parser [NotebookDocumentFilter] # omittedField :: Maybe NotebookDocumentFilter #
ToJSON NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods toJSON :: NotebookDocumentFilter -> Value # toEncoding :: NotebookDocumentFilter -> Encoding # toJSONList :: [NotebookDocumentFilter] -> Value # toEncodingList :: [NotebookDocumentFilter] -> Encoding # omitField :: NotebookDocumentFilter -> Bool #
NFData NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods rnf :: NotebookDocumentFilter -> () #
Generic NotebookDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter

Associated Types

type Rep NotebookDocumentFilter |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter

type Rep NotebookDocumentFilter = D1 ('MetaData "NotebookDocumentFilter" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "NotebookDocumentFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NotebookDocumentFilterNotebookType |? (NotebookDocumentFilterScheme |? NotebookDocumentFilterPattern)))))

Methods

from :: NotebookDocumentFilter -> Rep NotebookDocumentFilter x #

to :: Rep NotebookDocumentFilter x -> NotebookDocumentFilter #

Show NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods showsPrec :: Int -> NotebookDocumentFilter -> ShowS # show :: NotebookDocumentFilter -> String # showList :: [NotebookDocumentFilter] -> ShowS #
Eq NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods (==) :: NotebookDocumentFilter -> NotebookDocumentFilter -> Bool # (/=) :: NotebookDocumentFilter -> NotebookDocumentFilter -> Bool #
Ord NotebookDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter

Methods

compare :: NotebookDocumentFilter -> NotebookDocumentFilter -> Ordering #

(<) :: NotebookDocumentFilter -> NotebookDocumentFilter -> Bool #

(<=) :: NotebookDocumentFilter -> NotebookDocumentFilter -> Bool #

(>) :: NotebookDocumentFilter -> NotebookDocumentFilter -> Bool #

(>=) :: NotebookDocumentFilter -> NotebookDocumentFilter -> Bool #

max :: NotebookDocumentFilter -> NotebookDocumentFilter -> NotebookDocumentFilter #

min :: NotebookDocumentFilter -> NotebookDocumentFilter -> NotebookDocumentFilter #

Hashable NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods hashWithSalt :: Int -> NotebookDocumentFilter -> Int # hash :: NotebookDocumentFilter -> Int #
Pretty NotebookDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter Methods pretty :: NotebookDocumentFilter -> Doc ann # prettyList :: [NotebookDocumentFilter] -> Doc ann #
HasNotebook NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) #
HasNotebook NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) #
HasNotebook NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) #
type Rep NotebookDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter

type Rep NotebookDocumentFilter = D1 ('MetaData "NotebookDocumentFilter" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "NotebookDocumentFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NotebookDocumentFilterNotebookType |? (NotebookDocumentFilterScheme |? NotebookDocumentFilterPattern)))))

data NotebookDocumentFilterNotebookType #

A notebook document filter where `notebookType` is required field.

@proposed

Since: 3.18.0

Constructors

NotebookDocumentFilterNotebookType |

Fields

- _notebookType :: Text

  The type of the enclosing notebook.

- _scheme :: Maybe Text

  A Uri `scheme`, like `file` or `untitled`.

- _pattern :: Maybe Text

  A glob pattern.

#### Instances

Instances details

FromJSON NotebookDocumentFilterNotebookType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType Methods parseJSON :: Value -> Parser NotebookDocumentFilterNotebookType # parseJSONList :: Value -> Parser [NotebookDocumentFilterNotebookType] # omittedField :: Maybe NotebookDocumentFilterNotebookType #
ToJSON NotebookDocumentFilterNotebookType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType

Methods

toJSON :: NotebookDocumentFilterNotebookType -> Value #

toEncoding :: NotebookDocumentFilterNotebookType -> Encoding #

toJSONList :: [NotebookDocumentFilterNotebookType] -> Value #

toEncodingList :: [NotebookDocumentFilterNotebookType] -> Encoding #

omitField :: NotebookDocumentFilterNotebookType -> Bool #

NFData NotebookDocumentFilterNotebookType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType Methods rnf :: NotebookDocumentFilterNotebookType -> () #
Generic NotebookDocumentFilterNotebookType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType

Associated Types

type Rep NotebookDocumentFilterNotebookType |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType

type Rep NotebookDocumentFilterNotebookType = D1 ('MetaData "NotebookDocumentFilterNotebookType" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterNotebookType" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: NotebookDocumentFilterNotebookType -> Rep NotebookDocumentFilterNotebookType x #

to :: Rep NotebookDocumentFilterNotebookType x -> NotebookDocumentFilterNotebookType #

Show NotebookDocumentFilterNotebookType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType Methods showsPrec :: Int -> NotebookDocumentFilterNotebookType -> ShowS # show :: NotebookDocumentFilterNotebookType -> String # showList :: [NotebookDocumentFilterNotebookType] -> ShowS #
Eq NotebookDocumentFilterNotebookType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType Methods (==) :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Bool # (/=) :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Bool #
Ord NotebookDocumentFilterNotebookType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType

Methods

compare :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Ordering #

(<) :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Bool #

(<=) :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Bool #

(>) :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Bool #

(>=) :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> Bool #

max :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType #

min :: NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType -> NotebookDocumentFilterNotebookType #

Hashable NotebookDocumentFilterNotebookType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType Methods hashWithSalt :: Int -> NotebookDocumentFilterNotebookType -> Int # hash :: NotebookDocumentFilterNotebookType -> Int #
Pretty NotebookDocumentFilterNotebookType # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType Methods pretty :: NotebookDocumentFilterNotebookType -> Doc ann # prettyList :: [NotebookDocumentFilterNotebookType] -> Doc ann #
HasNotebookType NotebookDocumentFilterNotebookType Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookType :: Lens' NotebookDocumentFilterNotebookType Text #
HasPattern NotebookDocumentFilterNotebookType (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' NotebookDocumentFilterNotebookType (Maybe Text) #
HasScheme NotebookDocumentFilterNotebookType (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' NotebookDocumentFilterNotebookType (Maybe Text) #
type Rep NotebookDocumentFilterNotebookType # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType

type Rep NotebookDocumentFilterNotebookType = D1 ('MetaData "NotebookDocumentFilterNotebookType" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterNotebookType" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterNotebookType" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data NotebookDocumentFilterPattern #

A notebook document filter where `pattern` is required field.

@proposed

Since: 3.18.0

Constructors

NotebookDocumentFilterPattern |

Fields

- _notebookType :: Maybe Text

  The type of the enclosing notebook.

- _scheme :: Maybe Text

  A Uri `scheme`, like `file` or `untitled`.

- _pattern :: Text

  A glob pattern.

#### Instances

Instances details

FromJSON NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods parseJSON :: Value -> Parser NotebookDocumentFilterPattern # parseJSONList :: Value -> Parser [NotebookDocumentFilterPattern] # omittedField :: Maybe NotebookDocumentFilterPattern #
ToJSON NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods toJSON :: NotebookDocumentFilterPattern -> Value # toEncoding :: NotebookDocumentFilterPattern -> Encoding # toJSONList :: [NotebookDocumentFilterPattern] -> Value # toEncodingList :: [NotebookDocumentFilterPattern] -> Encoding # omitField :: NotebookDocumentFilterPattern -> Bool #
NFData NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods rnf :: NotebookDocumentFilterPattern -> () #
Generic NotebookDocumentFilterPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern

Associated Types

type Rep NotebookDocumentFilterPattern |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern

type Rep NotebookDocumentFilterPattern = D1 ('MetaData "NotebookDocumentFilterPattern" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterPattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: NotebookDocumentFilterPattern -> Rep NotebookDocumentFilterPattern x #

to :: Rep NotebookDocumentFilterPattern x -> NotebookDocumentFilterPattern #

Show NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods showsPrec :: Int -> NotebookDocumentFilterPattern -> ShowS # show :: NotebookDocumentFilterPattern -> String # showList :: [NotebookDocumentFilterPattern] -> ShowS #
Eq NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods (==) :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Bool # (/=) :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Bool #
Ord NotebookDocumentFilterPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern

Methods

compare :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Ordering #

(<) :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Bool #

(<=) :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Bool #

(>) :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Bool #

(>=) :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> Bool #

max :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern #

min :: NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern -> NotebookDocumentFilterPattern #

Hashable NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods hashWithSalt :: Int -> NotebookDocumentFilterPattern -> Int # hash :: NotebookDocumentFilterPattern -> Int #
Pretty NotebookDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern Methods pretty :: NotebookDocumentFilterPattern -> Doc ann # prettyList :: [NotebookDocumentFilterPattern] -> Doc ann #
HasPattern NotebookDocumentFilterPattern Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' NotebookDocumentFilterPattern Text #
HasNotebookType NotebookDocumentFilterPattern (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookType :: Lens' NotebookDocumentFilterPattern (Maybe Text) #
HasScheme NotebookDocumentFilterPattern (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' NotebookDocumentFilterPattern (Maybe Text) #
type Rep NotebookDocumentFilterPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern

type Rep NotebookDocumentFilterPattern = D1 ('MetaData "NotebookDocumentFilterPattern" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterPattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data NotebookDocumentFilterScheme #

A notebook document filter where `scheme` is required field.

@proposed

Since: 3.18.0

Constructors

NotebookDocumentFilterScheme |

Fields

- _notebookType :: Maybe Text

  The type of the enclosing notebook.

- _scheme :: Text

  A Uri `scheme`, like `file` or `untitled`.

- _pattern :: Maybe Text

  A glob pattern.

#### Instances

Instances details

FromJSON NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods parseJSON :: Value -> Parser NotebookDocumentFilterScheme # parseJSONList :: Value -> Parser [NotebookDocumentFilterScheme] # omittedField :: Maybe NotebookDocumentFilterScheme #
ToJSON NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods toJSON :: NotebookDocumentFilterScheme -> Value # toEncoding :: NotebookDocumentFilterScheme -> Encoding # toJSONList :: [NotebookDocumentFilterScheme] -> Value # toEncodingList :: [NotebookDocumentFilterScheme] -> Encoding # omitField :: NotebookDocumentFilterScheme -> Bool #
NFData NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods rnf :: NotebookDocumentFilterScheme -> () #
Generic NotebookDocumentFilterScheme # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme

Associated Types

type Rep NotebookDocumentFilterScheme |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme

type Rep NotebookDocumentFilterScheme = D1 ('MetaData "NotebookDocumentFilterScheme" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterScheme" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: NotebookDocumentFilterScheme -> Rep NotebookDocumentFilterScheme x #

to :: Rep NotebookDocumentFilterScheme x -> NotebookDocumentFilterScheme #

Show NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods showsPrec :: Int -> NotebookDocumentFilterScheme -> ShowS # show :: NotebookDocumentFilterScheme -> String # showList :: [NotebookDocumentFilterScheme] -> ShowS #
Eq NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods (==) :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Bool # (/=) :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Bool #
Ord NotebookDocumentFilterScheme # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme

Methods

compare :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Ordering #

(<) :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Bool #

(<=) :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Bool #

(>) :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Bool #

(>=) :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> Bool #

max :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme #

min :: NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme -> NotebookDocumentFilterScheme #

Hashable NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods hashWithSalt :: Int -> NotebookDocumentFilterScheme -> Int # hash :: NotebookDocumentFilterScheme -> Int #
Pretty NotebookDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme Methods pretty :: NotebookDocumentFilterScheme -> Doc ann # prettyList :: [NotebookDocumentFilterScheme] -> Doc ann #
HasScheme NotebookDocumentFilterScheme Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' NotebookDocumentFilterScheme Text #
HasNotebookType NotebookDocumentFilterScheme (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookType :: Lens' NotebookDocumentFilterScheme (Maybe Text) #
HasPattern NotebookDocumentFilterScheme (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' NotebookDocumentFilterScheme (Maybe Text) #
type Rep NotebookDocumentFilterScheme # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme

type Rep NotebookDocumentFilterScheme = D1 ('MetaData "NotebookDocumentFilterScheme" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterScheme" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterScheme" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data NotebookDocumentFilterWithCells #

@proposed

Since: 3.18.0

Constructors

NotebookDocumentFilterWithCells |

Fields

- _notebook :: Maybe (Text |? NotebookDocumentFilter)

  The notebook to be synced If a string value is provided it matches against the notebook type. `*` matches every notebook.

- _cells :: [NotebookCellLanguage]

  The cells of the matching notebook to be synced.

#### Instances

Instances details

FromJSON NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods parseJSON :: Value -> Parser NotebookDocumentFilterWithCells # parseJSONList :: Value -> Parser [NotebookDocumentFilterWithCells] # omittedField :: Maybe NotebookDocumentFilterWithCells #
ToJSON NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods toJSON :: NotebookDocumentFilterWithCells -> Value # toEncoding :: NotebookDocumentFilterWithCells -> Encoding # toJSONList :: [NotebookDocumentFilterWithCells] -> Value # toEncodingList :: [NotebookDocumentFilterWithCells] -> Encoding # omitField :: NotebookDocumentFilterWithCells -> Bool #
NFData NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods rnf :: NotebookDocumentFilterWithCells -> () #
Generic NotebookDocumentFilterWithCells # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells

Associated Types

type Rep NotebookDocumentFilterWithCells |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells

type Rep NotebookDocumentFilterWithCells = D1 ('MetaData "NotebookDocumentFilterWithCells" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterWithCells" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? NotebookDocumentFilter))) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookCellLanguage])))

Methods

from :: NotebookDocumentFilterWithCells -> Rep NotebookDocumentFilterWithCells x #

to :: Rep NotebookDocumentFilterWithCells x -> NotebookDocumentFilterWithCells #

Show NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods showsPrec :: Int -> NotebookDocumentFilterWithCells -> ShowS # show :: NotebookDocumentFilterWithCells -> String # showList :: [NotebookDocumentFilterWithCells] -> ShowS #
Eq NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods (==) :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Bool # (/=) :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Bool #
Ord NotebookDocumentFilterWithCells # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells

Methods

compare :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Ordering #

(<) :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Bool #

(<=) :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Bool #

(>) :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Bool #

(>=) :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> Bool #

max :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells #

min :: NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells -> NotebookDocumentFilterWithCells #

Hashable NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods hashWithSalt :: Int -> NotebookDocumentFilterWithCells -> Int # hash :: NotebookDocumentFilterWithCells -> Int #
Pretty NotebookDocumentFilterWithCells # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells Methods pretty :: NotebookDocumentFilterWithCells -> Doc ann # prettyList :: [NotebookDocumentFilterWithCells] -> Doc ann #
HasCells NotebookDocumentFilterWithCells [NotebookCellLanguage] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocumentFilterWithCells [NotebookCellLanguage] #
HasNotebook NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookDocumentFilterWithCells (Maybe (Text |? NotebookDocumentFilter)) #
HasNotebookSelector NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasNotebookSelector NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
type Rep NotebookDocumentFilterWithCells # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells

type Rep NotebookDocumentFilterWithCells = D1 ('MetaData "NotebookDocumentFilterWithCells" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithCells" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterWithCells" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? NotebookDocumentFilter))) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookCellLanguage])))

data NotebookDocumentFilterWithNotebook #

@proposed

Since: 3.18.0

Constructors

NotebookDocumentFilterWithNotebook |

Fields

- _notebook :: Text |? NotebookDocumentFilter

  The notebook to be synced If a string value is provided it matches against the notebook type. `*` matches every notebook.

- _cells :: Maybe [NotebookCellLanguage]

  The cells of the matching notebook to be synced.

#### Instances

Instances details

FromJSON NotebookDocumentFilterWithNotebook # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook Methods parseJSON :: Value -> Parser NotebookDocumentFilterWithNotebook # parseJSONList :: Value -> Parser [NotebookDocumentFilterWithNotebook] # omittedField :: Maybe NotebookDocumentFilterWithNotebook #
ToJSON NotebookDocumentFilterWithNotebook # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook

Methods

toJSON :: NotebookDocumentFilterWithNotebook -> Value #

toEncoding :: NotebookDocumentFilterWithNotebook -> Encoding #

toJSONList :: [NotebookDocumentFilterWithNotebook] -> Value #

toEncodingList :: [NotebookDocumentFilterWithNotebook] -> Encoding #

omitField :: NotebookDocumentFilterWithNotebook -> Bool #

NFData NotebookDocumentFilterWithNotebook # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook Methods rnf :: NotebookDocumentFilterWithNotebook -> () #
Generic NotebookDocumentFilterWithNotebook # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook

Associated Types

type Rep NotebookDocumentFilterWithNotebook |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook

type Rep NotebookDocumentFilterWithNotebook = D1 ('MetaData "NotebookDocumentFilterWithNotebook" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterWithNotebook" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? NotebookDocumentFilter)) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookCellLanguage]))))

Methods

from :: NotebookDocumentFilterWithNotebook -> Rep NotebookDocumentFilterWithNotebook x #

to :: Rep NotebookDocumentFilterWithNotebook x -> NotebookDocumentFilterWithNotebook #

Show NotebookDocumentFilterWithNotebook # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook Methods showsPrec :: Int -> NotebookDocumentFilterWithNotebook -> ShowS # show :: NotebookDocumentFilterWithNotebook -> String # showList :: [NotebookDocumentFilterWithNotebook] -> ShowS #
Eq NotebookDocumentFilterWithNotebook # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook Methods (==) :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Bool # (/=) :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Bool #
Ord NotebookDocumentFilterWithNotebook # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook

Methods

compare :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Ordering #

(<) :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Bool #

(<=) :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Bool #

(>) :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Bool #

(>=) :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> Bool #

max :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook #

min :: NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook -> NotebookDocumentFilterWithNotebook #

Hashable NotebookDocumentFilterWithNotebook # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook Methods hashWithSalt :: Int -> NotebookDocumentFilterWithNotebook -> Int # hash :: NotebookDocumentFilterWithNotebook -> Int #
Pretty NotebookDocumentFilterWithNotebook # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook Methods pretty :: NotebookDocumentFilterWithNotebook -> Doc ann # prettyList :: [NotebookDocumentFilterWithNotebook] -> Doc ann #
HasCells NotebookDocumentFilterWithNotebook (Maybe [NotebookCellLanguage]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cells :: Lens' NotebookDocumentFilterWithNotebook (Maybe [NotebookCellLanguage]) #
HasNotebookSelector NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasNotebookSelector NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncRegistrationOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasNotebook NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebook :: Lens' NotebookDocumentFilterWithNotebook (Text |? NotebookDocumentFilter) #
type Rep NotebookDocumentFilterWithNotebook # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook

type Rep NotebookDocumentFilterWithNotebook = D1 ('MetaData "NotebookDocumentFilterWithNotebook" "Language.LSP.Protocol.Internal.Types.NotebookDocumentFilterWithNotebook" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentFilterWithNotebook" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebook") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? NotebookDocumentFilter)) :*: S1 ('MetaSel ('Just "_cells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [NotebookCellLanguage]))))

data NotebookDocumentIdentifier #

A literal to identify a notebook document in the client.

Since: 3.17.0

Constructors

NotebookDocumentIdentifier |

Fields

- _uri :: Uri

  The notebook document's uri.

#### Instances

Instances details

FromJSON NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods parseJSON :: Value -> Parser NotebookDocumentIdentifier # parseJSONList :: Value -> Parser [NotebookDocumentIdentifier] # omittedField :: Maybe NotebookDocumentIdentifier #
ToJSON NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods toJSON :: NotebookDocumentIdentifier -> Value # toEncoding :: NotebookDocumentIdentifier -> Encoding # toJSONList :: [NotebookDocumentIdentifier] -> Value # toEncodingList :: [NotebookDocumentIdentifier] -> Encoding # omitField :: NotebookDocumentIdentifier -> Bool #
NFData NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods rnf :: NotebookDocumentIdentifier -> () #
Generic NotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier

Associated Types

type Rep NotebookDocumentIdentifier |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier

type Rep NotebookDocumentIdentifier = D1 ('MetaData "NotebookDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

Methods

from :: NotebookDocumentIdentifier -> Rep NotebookDocumentIdentifier x #

to :: Rep NotebookDocumentIdentifier x -> NotebookDocumentIdentifier #

Show NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods showsPrec :: Int -> NotebookDocumentIdentifier -> ShowS # show :: NotebookDocumentIdentifier -> String # showList :: [NotebookDocumentIdentifier] -> ShowS #
Eq NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods (==) :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Bool # (/=) :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Bool #
Ord NotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier

Methods

compare :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Ordering #

(<) :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Bool #

(<=) :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Bool #

(>) :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Bool #

(>=) :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> Bool #

max :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> NotebookDocumentIdentifier #

min :: NotebookDocumentIdentifier -> NotebookDocumentIdentifier -> NotebookDocumentIdentifier #

Hashable NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods hashWithSalt :: Int -> NotebookDocumentIdentifier -> Int # hash :: NotebookDocumentIdentifier -> Int #
Pretty NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier Methods pretty :: NotebookDocumentIdentifier -> Doc ann # prettyList :: [NotebookDocumentIdentifier] -> Doc ann #
HasNotebookDocument DidCloseNotebookDocumentParams NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidCloseNotebookDocumentParams NotebookDocumentIdentifier #
HasNotebookDocument DidSaveNotebookDocumentParams NotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidSaveNotebookDocumentParams NotebookDocumentIdentifier #
HasUri NotebookDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' NotebookDocumentIdentifier Uri #
type Rep NotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier

type Rep NotebookDocumentIdentifier = D1 ('MetaData "NotebookDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.NotebookDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

data NotebookDocumentSyncClientCapabilities #

Notebook specific client capabilities.

Since: 3.17.0

Constructors

NotebookDocumentSyncClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration. If this is set to `true` the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)` return value for the corresponding server capability as well.

- _executionSummarySupport :: Maybe Bool

  The client supports sending execution summary data per cell.

#### Instances

Instances details

FromJSON NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities Methods parseJSON :: Value -> Parser NotebookDocumentSyncClientCapabilities # parseJSONList :: Value -> Parser [NotebookDocumentSyncClientCapabilities] # omittedField :: Maybe NotebookDocumentSyncClientCapabilities #
ToJSON NotebookDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities

Methods

toJSON :: NotebookDocumentSyncClientCapabilities -> Value #

toEncoding :: NotebookDocumentSyncClientCapabilities -> Encoding #

toJSONList :: [NotebookDocumentSyncClientCapabilities] -> Value #

toEncodingList :: [NotebookDocumentSyncClientCapabilities] -> Encoding #

omitField :: NotebookDocumentSyncClientCapabilities -> Bool #

Default NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: NotebookDocumentSyncClientCapabilities #
NFData NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities Methods rnf :: NotebookDocumentSyncClientCapabilities -> () #
Generic NotebookDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities

Associated Types

type Rep NotebookDocumentSyncClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities

type Rep NotebookDocumentSyncClientCapabilities = D1 ('MetaData "NotebookDocumentSyncClientCapabilities" "Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentSyncClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_executionSummarySupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: NotebookDocumentSyncClientCapabilities -> Rep NotebookDocumentSyncClientCapabilities x #

to :: Rep NotebookDocumentSyncClientCapabilities x -> NotebookDocumentSyncClientCapabilities #

Show NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities Methods showsPrec :: Int -> NotebookDocumentSyncClientCapabilities -> ShowS # show :: NotebookDocumentSyncClientCapabilities -> String # showList :: [NotebookDocumentSyncClientCapabilities] -> ShowS #
Eq NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities Methods (==) :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Bool # (/=) :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Bool #
Ord NotebookDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities

Methods

compare :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Ordering #

(<) :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Bool #

(<=) :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Bool #

(>) :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Bool #

(>=) :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> Bool #

max :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities #

min :: NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities -> NotebookDocumentSyncClientCapabilities #

Hashable NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities Methods hashWithSalt :: Int -> NotebookDocumentSyncClientCapabilities -> Int # hash :: NotebookDocumentSyncClientCapabilities -> Int #
Pretty NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities Methods pretty :: NotebookDocumentSyncClientCapabilities -> Doc ann # prettyList :: [NotebookDocumentSyncClientCapabilities] -> Doc ann #
HasSynchronization NotebookDocumentClientCapabilities NotebookDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods synchronization :: Lens' NotebookDocumentClientCapabilities NotebookDocumentSyncClientCapabilities #
HasDynamicRegistration NotebookDocumentSyncClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' NotebookDocumentSyncClientCapabilities (Maybe Bool) #
HasExecutionSummarySupport NotebookDocumentSyncClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executionSummarySupport :: Lens' NotebookDocumentSyncClientCapabilities (Maybe Bool) #
type Rep NotebookDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities

type Rep NotebookDocumentSyncClientCapabilities = D1 ('MetaData "NotebookDocumentSyncClientCapabilities" "Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentSyncClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_executionSummarySupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data NotebookDocumentSyncOptions #

Options specific to a notebook plus its cells to be synced to the server.

If a selector provides a notebook document filter but no cell selector all cells of a matching notebook document will be synced.

If a selector provides no notebook document filter but only a cell selector all notebook document that contain at least one matching cell will be synced.

Since: 3.17.0

Constructors

NotebookDocumentSyncOptions |

Fields

- _notebookSelector :: [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]

  The notebooks to be synced

- _save :: Maybe Bool

  Whether save notification should be forwarded to the server. Will only be honored if mode === `notebook`.

#### Instances

Instances details

FromJSON NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods parseJSON :: Value -> Parser NotebookDocumentSyncOptions # parseJSONList :: Value -> Parser [NotebookDocumentSyncOptions] # omittedField :: Maybe NotebookDocumentSyncOptions #
ToJSON NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods toJSON :: NotebookDocumentSyncOptions -> Value # toEncoding :: NotebookDocumentSyncOptions -> Encoding # toJSONList :: [NotebookDocumentSyncOptions] -> Value # toEncodingList :: [NotebookDocumentSyncOptions] -> Encoding # omitField :: NotebookDocumentSyncOptions -> Bool #
NFData NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods rnf :: NotebookDocumentSyncOptions -> () #
Generic NotebookDocumentSyncOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions

Associated Types

type Rep NotebookDocumentSyncOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions

type Rep NotebookDocumentSyncOptions = D1 ('MetaData "NotebookDocumentSyncOptions" "Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentSyncOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]) :*: S1 ('MetaSel ('Just "_save") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: NotebookDocumentSyncOptions -> Rep NotebookDocumentSyncOptions x #

to :: Rep NotebookDocumentSyncOptions x -> NotebookDocumentSyncOptions #

Show NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods showsPrec :: Int -> NotebookDocumentSyncOptions -> ShowS # show :: NotebookDocumentSyncOptions -> String # showList :: [NotebookDocumentSyncOptions] -> ShowS #
Eq NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods (==) :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Bool # (/=) :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Bool #
Ord NotebookDocumentSyncOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions

Methods

compare :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Ordering #

(<) :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Bool #

(<=) :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Bool #

(>) :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Bool #

(>=) :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> Bool #

max :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions #

min :: NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions -> NotebookDocumentSyncOptions #

Hashable NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods hashWithSalt :: Int -> NotebookDocumentSyncOptions -> Int # hash :: NotebookDocumentSyncOptions -> Int #
Pretty NotebookDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions Methods pretty :: NotebookDocumentSyncOptions -> Doc ann # prettyList :: [NotebookDocumentSyncOptions] -> Doc ann #
HasNotebookDocumentSync ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocumentSync :: Lens' ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) #
HasNotebookSelector NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookSelector :: Lens' NotebookDocumentSyncOptions [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells] #
HasSave NotebookDocumentSyncOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods save :: Lens' NotebookDocumentSyncOptions (Maybe Bool) #
type Rep NotebookDocumentSyncOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions

type Rep NotebookDocumentSyncOptions = D1 ('MetaData "NotebookDocumentSyncOptions" "Language.LSP.Protocol.Internal.Types.NotebookDocumentSyncOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "NotebookDocumentSyncOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_notebookSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [NotebookDocumentFilterWithNotebook |? NotebookDocumentFilterWithCells]) :*: S1 ('MetaSel ('Just "_save") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data OptionalVersionedTextDocumentIdentifier #

A text document identifier to optionally denote a specific version of a text document.

Constructors

OptionalVersionedTextDocumentIdentifier |

Fields

- _uri :: Uri

  The text document's uri.

- _version :: Int32 |? Null

  The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send `null` to indicate that the version is unknown and the content on disk is the truth (as specified with document content ownership).

#### Instances

Instances details

FromJSON OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier Methods parseJSON :: Value -> Parser OptionalVersionedTextDocumentIdentifier # parseJSONList :: Value -> Parser [OptionalVersionedTextDocumentIdentifier] # omittedField :: Maybe OptionalVersionedTextDocumentIdentifier #
ToJSON OptionalVersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier

Methods

toJSON :: OptionalVersionedTextDocumentIdentifier -> Value #

toEncoding :: OptionalVersionedTextDocumentIdentifier -> Encoding #

toJSONList :: [OptionalVersionedTextDocumentIdentifier] -> Value #

toEncodingList :: [OptionalVersionedTextDocumentIdentifier] -> Encoding #

omitField :: OptionalVersionedTextDocumentIdentifier -> Bool #

NFData OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier Methods rnf :: OptionalVersionedTextDocumentIdentifier -> () #
Generic OptionalVersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier

Associated Types

type Rep OptionalVersionedTextDocumentIdentifier |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier

type Rep OptionalVersionedTextDocumentIdentifier = D1 ('MetaData "OptionalVersionedTextDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "OptionalVersionedTextDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))))

Methods

from :: OptionalVersionedTextDocumentIdentifier -> Rep OptionalVersionedTextDocumentIdentifier x #

to :: Rep OptionalVersionedTextDocumentIdentifier x -> OptionalVersionedTextDocumentIdentifier #

Show OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier Methods showsPrec :: Int -> OptionalVersionedTextDocumentIdentifier -> ShowS # show :: OptionalVersionedTextDocumentIdentifier -> String # showList :: [OptionalVersionedTextDocumentIdentifier] -> ShowS #
Eq OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier Methods (==) :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Bool # (/=) :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Bool #
Ord OptionalVersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier

Methods

compare :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Ordering #

(<) :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Bool #

(<=) :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Bool #

(>) :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Bool #

(>=) :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> Bool #

max :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier #

min :: OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier -> OptionalVersionedTextDocumentIdentifier #

Hashable OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier Methods hashWithSalt :: Int -> OptionalVersionedTextDocumentIdentifier -> Int # hash :: OptionalVersionedTextDocumentIdentifier -> Int #
Pretty OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier Methods pretty :: OptionalVersionedTextDocumentIdentifier -> Doc ann # prettyList :: [OptionalVersionedTextDocumentIdentifier] -> Doc ann #
HasTextDocument TextDocumentEdit OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TextDocumentEdit OptionalVersionedTextDocumentIdentifier #
HasUri OptionalVersionedTextDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' OptionalVersionedTextDocumentIdentifier Uri #
HasVersion OptionalVersionedTextDocumentIdentifier (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' OptionalVersionedTextDocumentIdentifier (Int32 |? Null) #
type Rep OptionalVersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier

type Rep OptionalVersionedTextDocumentIdentifier = D1 ('MetaData "OptionalVersionedTextDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.OptionalVersionedTextDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "OptionalVersionedTextDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))))

data ParameterInformation #

Represents a parameter of a callable-signature. A parameter can have a label and a doc-comment.

Constructors

ParameterInformation |

Fields

- _label :: Text |? (UInt, UInt)

  The label of this parameter information.

  Either a string or an inclusive start and exclusive end offsets within its containing signature label. (see SignatureInformation.label). The offsets are based on a UTF-16 string representation as `Position` and `Range` does.

  To avoid ambiguities a server should use the [start, end] offset value instead of using a substring. Whether a client support this is controlled via `labelOffsetSupport` client capability.

  - Note*: a label of type string should be a substring of its containing signature label. Its intended use case is to highlight the parameter label part in the `label`.
- _documentation :: Maybe (Text |? MarkupContent)

  The human-readable doc-comment of this parameter. Will be shown in the UI but can be omitted.

#### Instances

Instances details

FromJSON ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods parseJSON :: Value -> Parser ParameterInformation # parseJSONList :: Value -> Parser [ParameterInformation] # omittedField :: Maybe ParameterInformation #
ToJSON ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods toJSON :: ParameterInformation -> Value # toEncoding :: ParameterInformation -> Encoding # toJSONList :: [ParameterInformation] -> Value # toEncodingList :: [ParameterInformation] -> Encoding # omitField :: ParameterInformation -> Bool #
NFData ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods rnf :: ParameterInformation -> () #
Generic ParameterInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation

Associated Types

type Rep ParameterInformation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation

type Rep ParameterInformation = D1 ('MetaData "ParameterInformation" "Language.LSP.Protocol.Internal.Types.ParameterInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ParameterInformation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? (UInt, UInt))) :*: S1 ('MetaSel ('Just "_documentation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))))

Methods

from :: ParameterInformation -> Rep ParameterInformation x #

to :: Rep ParameterInformation x -> ParameterInformation #

Show ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods showsPrec :: Int -> ParameterInformation -> ShowS # show :: ParameterInformation -> String # showList :: [ParameterInformation] -> ShowS #
Eq ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods (==) :: ParameterInformation -> ParameterInformation -> Bool # (/=) :: ParameterInformation -> ParameterInformation -> Bool #
Ord ParameterInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation

Methods

compare :: ParameterInformation -> ParameterInformation -> Ordering #

(<) :: ParameterInformation -> ParameterInformation -> Bool #

(<=) :: ParameterInformation -> ParameterInformation -> Bool #

(>) :: ParameterInformation -> ParameterInformation -> Bool #

(>=) :: ParameterInformation -> ParameterInformation -> Bool #

max :: ParameterInformation -> ParameterInformation -> ParameterInformation #

min :: ParameterInformation -> ParameterInformation -> ParameterInformation #

Hashable ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods hashWithSalt :: Int -> ParameterInformation -> Int # hash :: ParameterInformation -> Int #
Pretty ParameterInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation Methods pretty :: ParameterInformation -> Doc ann # prettyList :: [ParameterInformation] -> Doc ann #
HasDocumentation ParameterInformation (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' ParameterInformation (Maybe (Text |? MarkupContent)) #
HasParameters SignatureInformation (Maybe [ParameterInformation]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods parameters :: Lens' SignatureInformation (Maybe [ParameterInformation]) #
HasLabel ParameterInformation (Text |? (UInt, UInt)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' ParameterInformation (Text |? (UInt, UInt)) #
type Rep ParameterInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ParameterInformation

type Rep ParameterInformation = D1 ('MetaData "ParameterInformation" "Language.LSP.Protocol.Internal.Types.ParameterInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ParameterInformation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Text |? (UInt, UInt))) :*: S1 ('MetaSel ('Just "_documentation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))))

data PartialResultParams #

Constructors

PartialResultParams |

Fields

- _partialResultToken :: Maybe ProgressToken

  An optional token that a server can use to report partial results (e.g. streaming) to the client.

#### Instances

Instances details

FromJSON PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods parseJSON :: Value -> Parser PartialResultParams # parseJSONList :: Value -> Parser [PartialResultParams] # omittedField :: Maybe PartialResultParams #
ToJSON PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods toJSON :: PartialResultParams -> Value # toEncoding :: PartialResultParams -> Encoding # toJSONList :: [PartialResultParams] -> Value # toEncodingList :: [PartialResultParams] -> Encoding # omitField :: PartialResultParams -> Bool #
NFData PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods rnf :: PartialResultParams -> () #
Generic PartialResultParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams

Associated Types

type Rep PartialResultParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams

type Rep PartialResultParams = D1 ('MetaData "PartialResultParams" "Language.LSP.Protocol.Internal.Types.PartialResultParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PartialResultParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))))

Methods

from :: PartialResultParams -> Rep PartialResultParams x #

to :: Rep PartialResultParams x -> PartialResultParams #

Show PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods showsPrec :: Int -> PartialResultParams -> ShowS # show :: PartialResultParams -> String # showList :: [PartialResultParams] -> ShowS #
Eq PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods (==) :: PartialResultParams -> PartialResultParams -> Bool # (/=) :: PartialResultParams -> PartialResultParams -> Bool #
Ord PartialResultParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams

Methods

compare :: PartialResultParams -> PartialResultParams -> Ordering #

(<) :: PartialResultParams -> PartialResultParams -> Bool #

(<=) :: PartialResultParams -> PartialResultParams -> Bool #

(>) :: PartialResultParams -> PartialResultParams -> Bool #

(>=) :: PartialResultParams -> PartialResultParams -> Bool #

max :: PartialResultParams -> PartialResultParams -> PartialResultParams #

min :: PartialResultParams -> PartialResultParams -> PartialResultParams #

Hashable PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods hashWithSalt :: Int -> PartialResultParams -> Int # hash :: PartialResultParams -> Int #
Pretty PartialResultParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams Methods pretty :: PartialResultParams -> Doc ann # prettyList :: [PartialResultParams] -> Doc ann #
HasPartialResultToken PartialResultParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' PartialResultParams (Maybe ProgressToken) #
type Rep PartialResultParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PartialResultParams

type Rep PartialResultParams = D1 ('MetaData "PartialResultParams" "Language.LSP.Protocol.Internal.Types.PartialResultParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PartialResultParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_partialResultToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))))

newtype Pattern #

The glob pattern to watch relative to the base path. 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`)

Since: 3.17.0

Constructors

Pattern Text |

#### Instances

Instances details

FromJSON Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods parseJSON :: Value -> Parser Pattern # parseJSONList :: Value -> Parser [Pattern] # omittedField :: Maybe Pattern #
FromJSONKey Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods fromJSONKey :: FromJSONKeyFunction Pattern # fromJSONKeyList :: FromJSONKeyFunction [Pattern] #
ToJSON Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods toJSON :: Pattern -> Value # toEncoding :: Pattern -> Encoding # toJSONList :: [Pattern] -> Value # toEncodingList :: [Pattern] -> Encoding # omitField :: Pattern -> Bool #
ToJSONKey Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods toJSONKey :: ToJSONKeyFunction Pattern # toJSONKeyList :: ToJSONKeyFunction [Pattern] #
NFData Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods rnf :: Pattern -> () #
Generic Pattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Pattern

Associated Types

type Rep Pattern |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern type Rep Pattern = D1 ('MetaData "Pattern" "Language.LSP.Protocol.Internal.Types.Pattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Pattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: Pattern -> Rep Pattern x #

to :: Rep Pattern x -> Pattern #

Show Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods showsPrec :: Int -> Pattern -> ShowS # show :: Pattern -> String # showList :: [Pattern] -> ShowS #
Eq Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods (==) :: Pattern -> Pattern -> Bool # (/=) :: Pattern -> Pattern -> Bool #
Ord Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods compare :: Pattern -> Pattern -> Ordering # (<) :: Pattern -> Pattern -> Bool # (<=) :: Pattern -> Pattern -> Bool # (>) :: Pattern -> Pattern -> Bool # (>=) :: Pattern -> Pattern -> Bool # max :: Pattern -> Pattern -> Pattern # min :: Pattern -> Pattern -> Pattern #
Hashable Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods hashWithSalt :: Int -> Pattern -> Int # hash :: Pattern -> Int #
Pretty Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern Methods pretty :: Pattern -> Doc ann # prettyList :: [Pattern] -> Doc ann #
HasPattern RelativePattern Pattern # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' RelativePattern Pattern #
type Rep Pattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Pattern type Rep Pattern = D1 ('MetaData "Pattern" "Language.LSP.Protocol.Internal.Types.Pattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "Pattern" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data PositionEncodingKind #

A set of predefined position encoding kinds.

Since: 3.17.0

Constructors

PositionEncodingKind_UTF8 | Character offsets count UTF-8 code units (e.g. bytes).
PositionEncodingKind_UTF16 | Character offsets count UTF-16 code units. This is the default and must always be supported by servers
PositionEncodingKind_UTF32 | Character offsets count UTF-32 code units. Implementation note: these are the same as Unicode codepoints, so this `PositionEncodingKind` may also be used for an encoding-agnostic representation of character offsets.
PositionEncodingKind_Custom Text |

#### Instances

Instances details

FromJSON PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods parseJSON :: Value -> Parser PositionEncodingKind # parseJSONList :: Value -> Parser [PositionEncodingKind] # omittedField :: Maybe PositionEncodingKind #
ToJSON PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods toJSON :: PositionEncodingKind -> Value # toEncoding :: PositionEncodingKind -> Encoding # toJSONList :: [PositionEncodingKind] -> Value # toEncodingList :: [PositionEncodingKind] -> Encoding # omitField :: PositionEncodingKind -> Bool #
NFData PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods rnf :: PositionEncodingKind -> () #
IsString PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods fromString :: String -> PositionEncodingKind #
Generic PositionEncodingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind

Associated Types

type Rep PositionEncodingKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind

type Rep PositionEncodingKind = D1 ('MetaData "PositionEncodingKind" "Language.LSP.Protocol.Internal.Types.PositionEncodingKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "PositionEncodingKind_UTF8" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PositionEncodingKind_UTF16" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PositionEncodingKind_UTF32" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PositionEncodingKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: PositionEncodingKind -> Rep PositionEncodingKind x #

to :: Rep PositionEncodingKind x -> PositionEncodingKind #

Show PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods showsPrec :: Int -> PositionEncodingKind -> ShowS # show :: PositionEncodingKind -> String # showList :: [PositionEncodingKind] -> ShowS #
Eq PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods (==) :: PositionEncodingKind -> PositionEncodingKind -> Bool # (/=) :: PositionEncodingKind -> PositionEncodingKind -> Bool #
Ord PositionEncodingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind

Methods

compare :: PositionEncodingKind -> PositionEncodingKind -> Ordering #

(<) :: PositionEncodingKind -> PositionEncodingKind -> Bool #

(<=) :: PositionEncodingKind -> PositionEncodingKind -> Bool #

(>) :: PositionEncodingKind -> PositionEncodingKind -> Bool #

(>=) :: PositionEncodingKind -> PositionEncodingKind -> Bool #

max :: PositionEncodingKind -> PositionEncodingKind -> PositionEncodingKind #

min :: PositionEncodingKind -> PositionEncodingKind -> PositionEncodingKind #

Hashable PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods hashWithSalt :: Int -> PositionEncodingKind -> Int # hash :: PositionEncodingKind -> Int #
LspEnum PositionEncodingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind

Associated Types

type EnumBaseType PositionEncodingKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind type EnumBaseType PositionEncodingKind = Text

Methods

knownValues :: Set PositionEncodingKind #

toEnumBaseType :: PositionEncodingKind -> EnumBaseType PositionEncodingKind #

fromEnumBaseType :: EnumBaseType PositionEncodingKind -> Maybe PositionEncodingKind #

LspOpenEnum PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods fromOpenEnumBaseType :: EnumBaseType PositionEncodingKind -> PositionEncodingKind #
Pretty PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind Methods pretty :: PositionEncodingKind -> Doc ann # prettyList :: [PositionEncodingKind] -> Doc ann #
HasPositionEncoding ServerCapabilities (Maybe PositionEncodingKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods positionEncoding :: Lens' ServerCapabilities (Maybe PositionEncodingKind) #
HasPositionEncodings GeneralClientCapabilities (Maybe [PositionEncodingKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods positionEncodings :: Lens' GeneralClientCapabilities (Maybe [PositionEncodingKind]) #
type Rep PositionEncodingKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind

type Rep PositionEncodingKind = D1 ('MetaData "PositionEncodingKind" "Language.LSP.Protocol.Internal.Types.PositionEncodingKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "PositionEncodingKind_UTF8" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PositionEncodingKind_UTF16" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PositionEncodingKind_UTF32" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PositionEncodingKind_Custom" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

type EnumBaseType PositionEncodingKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PositionEncodingKind type EnumBaseType PositionEncodingKind = Text

data PrepareRenameDefaultBehavior #

@proposed

Since: 3.18.0

Constructors

PrepareRenameDefaultBehavior |

Fields

- _defaultBehavior :: Bool

#### Instances

Instances details

FromJSON PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods parseJSON :: Value -> Parser PrepareRenameDefaultBehavior # parseJSONList :: Value -> Parser [PrepareRenameDefaultBehavior] # omittedField :: Maybe PrepareRenameDefaultBehavior #
ToJSON PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods toJSON :: PrepareRenameDefaultBehavior -> Value # toEncoding :: PrepareRenameDefaultBehavior -> Encoding # toJSONList :: [PrepareRenameDefaultBehavior] -> Value # toEncodingList :: [PrepareRenameDefaultBehavior] -> Encoding # omitField :: PrepareRenameDefaultBehavior -> Bool #
NFData PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods rnf :: PrepareRenameDefaultBehavior -> () #
Generic PrepareRenameDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior

Associated Types

type Rep PrepareRenameDefaultBehavior |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior

type Rep PrepareRenameDefaultBehavior = D1 ('MetaData "PrepareRenameDefaultBehavior" "Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareRenameDefaultBehavior" 'PrefixI 'True) (S1 ('MetaSel ('Just "_defaultBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

Methods

from :: PrepareRenameDefaultBehavior -> Rep PrepareRenameDefaultBehavior x #

to :: Rep PrepareRenameDefaultBehavior x -> PrepareRenameDefaultBehavior #

Show PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods showsPrec :: Int -> PrepareRenameDefaultBehavior -> ShowS # show :: PrepareRenameDefaultBehavior -> String # showList :: [PrepareRenameDefaultBehavior] -> ShowS #
Eq PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods (==) :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Bool # (/=) :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Bool #
Ord PrepareRenameDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior

Methods

compare :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Ordering #

(<) :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Bool #

(<=) :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Bool #

(>) :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Bool #

(>=) :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> Bool #

max :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior #

min :: PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior -> PrepareRenameDefaultBehavior #

Hashable PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods hashWithSalt :: Int -> PrepareRenameDefaultBehavior -> Int # hash :: PrepareRenameDefaultBehavior -> Int #
Pretty PrepareRenameDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior Methods pretty :: PrepareRenameDefaultBehavior -> Doc ann # prettyList :: [PrepareRenameDefaultBehavior] -> Doc ann #
HasDefaultBehavior PrepareRenameDefaultBehavior Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods defaultBehavior :: Lens' PrepareRenameDefaultBehavior Bool #
type Rep PrepareRenameDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior

type Rep PrepareRenameDefaultBehavior = D1 ('MetaData "PrepareRenameDefaultBehavior" "Language.LSP.Protocol.Internal.Types.PrepareRenameDefaultBehavior" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareRenameDefaultBehavior" 'PrefixI 'True) (S1 ('MetaSel ('Just "_defaultBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data PrepareRenamePlaceholder #

@proposed

Since: 3.18.0

Constructors

PrepareRenamePlaceholder |

Fields

- _range :: Range
- _placeholder :: Text

#### Instances

Instances details

FromJSON PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods parseJSON :: Value -> Parser PrepareRenamePlaceholder # parseJSONList :: Value -> Parser [PrepareRenamePlaceholder] # omittedField :: Maybe PrepareRenamePlaceholder #
ToJSON PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods toJSON :: PrepareRenamePlaceholder -> Value # toEncoding :: PrepareRenamePlaceholder -> Encoding # toJSONList :: [PrepareRenamePlaceholder] -> Value # toEncodingList :: [PrepareRenamePlaceholder] -> Encoding # omitField :: PrepareRenamePlaceholder -> Bool #
NFData PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods rnf :: PrepareRenamePlaceholder -> () #
Generic PrepareRenamePlaceholder # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder

Associated Types

type Rep PrepareRenamePlaceholder |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder

type Rep PrepareRenamePlaceholder = D1 ('MetaData "PrepareRenamePlaceholder" "Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareRenamePlaceholder" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_placeholder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: PrepareRenamePlaceholder -> Rep PrepareRenamePlaceholder x #

to :: Rep PrepareRenamePlaceholder x -> PrepareRenamePlaceholder #

Show PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods showsPrec :: Int -> PrepareRenamePlaceholder -> ShowS # show :: PrepareRenamePlaceholder -> String # showList :: [PrepareRenamePlaceholder] -> ShowS #
Eq PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods (==) :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Bool # (/=) :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Bool #
Ord PrepareRenamePlaceholder # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder

Methods

compare :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Ordering #

(<) :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Bool #

(<=) :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Bool #

(>) :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Bool #

(>=) :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> Bool #

max :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> PrepareRenamePlaceholder #

min :: PrepareRenamePlaceholder -> PrepareRenamePlaceholder -> PrepareRenamePlaceholder #

Hashable PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods hashWithSalt :: Int -> PrepareRenamePlaceholder -> Int # hash :: PrepareRenamePlaceholder -> Int #
Pretty PrepareRenamePlaceholder # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder Methods pretty :: PrepareRenamePlaceholder -> Doc ann # prettyList :: [PrepareRenamePlaceholder] -> Doc ann #
HasPlaceholder PrepareRenamePlaceholder Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods placeholder :: Lens' PrepareRenamePlaceholder Text #
HasRange PrepareRenamePlaceholder Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' PrepareRenamePlaceholder Range #
type Rep PrepareRenamePlaceholder # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder

type Rep PrepareRenamePlaceholder = D1 ('MetaData "PrepareRenamePlaceholder" "Language.LSP.Protocol.Internal.Types.PrepareRenamePlaceholder" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareRenamePlaceholder" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: S1 ('MetaSel ('Just "_placeholder") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data PrepareSupportDefaultBehavior #

Constructors

PrepareSupportDefaultBehavior_Identifier | The client's default behavior is to select the identifier according the to language's syntax rule.

#### Instances

Instances details

FromJSON PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods parseJSON :: Value -> Parser PrepareSupportDefaultBehavior # parseJSONList :: Value -> Parser [PrepareSupportDefaultBehavior] # omittedField :: Maybe PrepareSupportDefaultBehavior #
ToJSON PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods toJSON :: PrepareSupportDefaultBehavior -> Value # toEncoding :: PrepareSupportDefaultBehavior -> Encoding # toJSONList :: [PrepareSupportDefaultBehavior] -> Value # toEncodingList :: [PrepareSupportDefaultBehavior] -> Encoding # omitField :: PrepareSupportDefaultBehavior -> Bool #
NFData PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods rnf :: PrepareSupportDefaultBehavior -> () #
Generic PrepareSupportDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior

Associated Types

type Rep PrepareSupportDefaultBehavior |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior type Rep PrepareSupportDefaultBehavior = D1 ('MetaData "PrepareSupportDefaultBehavior" "Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareSupportDefaultBehavior_Identifier" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: PrepareSupportDefaultBehavior -> Rep PrepareSupportDefaultBehavior x #

to :: Rep PrepareSupportDefaultBehavior x -> PrepareSupportDefaultBehavior #

Show PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods showsPrec :: Int -> PrepareSupportDefaultBehavior -> ShowS # show :: PrepareSupportDefaultBehavior -> String # showList :: [PrepareSupportDefaultBehavior] -> ShowS #
Eq PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods (==) :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Bool # (/=) :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Bool #
Ord PrepareSupportDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior

Methods

compare :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Ordering #

(<) :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Bool #

(<=) :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Bool #

(>) :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Bool #

(>=) :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> Bool #

max :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior #

min :: PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior -> PrepareSupportDefaultBehavior #

Hashable PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods hashWithSalt :: Int -> PrepareSupportDefaultBehavior -> Int # hash :: PrepareSupportDefaultBehavior -> Int #
LspEnum PrepareSupportDefaultBehavior # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior

Associated Types

type EnumBaseType PrepareSupportDefaultBehavior |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior type EnumBaseType PrepareSupportDefaultBehavior = UInt

Methods

knownValues :: Set PrepareSupportDefaultBehavior #

toEnumBaseType :: PrepareSupportDefaultBehavior -> EnumBaseType PrepareSupportDefaultBehavior #

fromEnumBaseType :: EnumBaseType PrepareSupportDefaultBehavior -> Maybe PrepareSupportDefaultBehavior #

Pretty PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior Methods pretty :: PrepareSupportDefaultBehavior -> Doc ann # prettyList :: [PrepareSupportDefaultBehavior] -> Doc ann #
HasPrepareSupportDefaultBehavior RenameClientCapabilities (Maybe PrepareSupportDefaultBehavior) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods prepareSupportDefaultBehavior :: Lens' RenameClientCapabilities (Maybe PrepareSupportDefaultBehavior) #
type Rep PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior type Rep PrepareSupportDefaultBehavior = D1 ('MetaData "PrepareSupportDefaultBehavior" "Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PrepareSupportDefaultBehavior_Identifier" 'PrefixI 'False) (U1 :: Type -> Type))
type EnumBaseType PrepareSupportDefaultBehavior # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PrepareSupportDefaultBehavior type EnumBaseType PrepareSupportDefaultBehavior = UInt

data PreviousResultId #

A previous result id in a workspace pull request.

Since: 3.17.0

Constructors

PreviousResultId |

Fields

- _uri :: Uri

  The URI for which the client knowns a result id.

- _value :: Text

  The value of the previous result id.

#### Instances

Instances details

FromJSON PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods parseJSON :: Value -> Parser PreviousResultId # parseJSONList :: Value -> Parser [PreviousResultId] # omittedField :: Maybe PreviousResultId #
ToJSON PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods toJSON :: PreviousResultId -> Value # toEncoding :: PreviousResultId -> Encoding # toJSONList :: [PreviousResultId] -> Value # toEncodingList :: [PreviousResultId] -> Encoding # omitField :: PreviousResultId -> Bool #
NFData PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods rnf :: PreviousResultId -> () #
Generic PreviousResultId # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId

Associated Types

type Rep PreviousResultId |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId

type Rep PreviousResultId = D1 ('MetaData "PreviousResultId" "Language.LSP.Protocol.Internal.Types.PreviousResultId" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PreviousResultId" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: PreviousResultId -> Rep PreviousResultId x #

to :: Rep PreviousResultId x -> PreviousResultId #

Show PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods showsPrec :: Int -> PreviousResultId -> ShowS # show :: PreviousResultId -> String # showList :: [PreviousResultId] -> ShowS #
Eq PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods (==) :: PreviousResultId -> PreviousResultId -> Bool # (/=) :: PreviousResultId -> PreviousResultId -> Bool #
Ord PreviousResultId # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId

Methods

compare :: PreviousResultId -> PreviousResultId -> Ordering #

(<) :: PreviousResultId -> PreviousResultId -> Bool #

(<=) :: PreviousResultId -> PreviousResultId -> Bool #

(>) :: PreviousResultId -> PreviousResultId -> Bool #

(>=) :: PreviousResultId -> PreviousResultId -> Bool #

max :: PreviousResultId -> PreviousResultId -> PreviousResultId #

min :: PreviousResultId -> PreviousResultId -> PreviousResultId #

Hashable PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods hashWithSalt :: Int -> PreviousResultId -> Int # hash :: PreviousResultId -> Int #
Pretty PreviousResultId # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId Methods pretty :: PreviousResultId -> Doc ann # prettyList :: [PreviousResultId] -> Doc ann #
HasUri PreviousResultId Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' PreviousResultId Uri #
HasValue PreviousResultId Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' PreviousResultId Text #
HasPreviousResultIds WorkspaceDiagnosticParams [PreviousResultId] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods previousResultIds :: Lens' WorkspaceDiagnosticParams [PreviousResultId] #
type Rep PreviousResultId # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PreviousResultId

type Rep PreviousResultId = D1 ('MetaData "PreviousResultId" "Language.LSP.Protocol.Internal.Types.PreviousResultId" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PreviousResultId" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newtype ProgressToken #

Constructors

ProgressToken (Int32 |? Text) |

#### Instances

Instances details

FromJSON ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods parseJSON :: Value -> Parser ProgressToken # parseJSONList :: Value -> Parser [ProgressToken] # omittedField :: Maybe ProgressToken #
ToJSON ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods toJSON :: ProgressToken -> Value # toEncoding :: ProgressToken -> Encoding # toJSONList :: [ProgressToken] -> Value # toEncodingList :: [ProgressToken] -> Encoding # omitField :: ProgressToken -> Bool #
NFData ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods rnf :: ProgressToken -> () #
Generic ProgressToken # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressToken

Associated Types

type Rep ProgressToken |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressToken

type Rep ProgressToken = D1 ('MetaData "ProgressToken" "Language.LSP.Protocol.Internal.Types.ProgressToken" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "ProgressToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int32 |? Text))))

Methods

from :: ProgressToken -> Rep ProgressToken x #

to :: Rep ProgressToken x -> ProgressToken #

Show ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods showsPrec :: Int -> ProgressToken -> ShowS # show :: ProgressToken -> String # showList :: [ProgressToken] -> ShowS #
Eq ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods (==) :: ProgressToken -> ProgressToken -> Bool # (/=) :: ProgressToken -> ProgressToken -> Bool #
Ord ProgressToken # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressToken

Methods

compare :: ProgressToken -> ProgressToken -> Ordering #

(<) :: ProgressToken -> ProgressToken -> Bool #

(<=) :: ProgressToken -> ProgressToken -> Bool #

(>) :: ProgressToken -> ProgressToken -> Bool #

(>=) :: ProgressToken -> ProgressToken -> Bool #

max :: ProgressToken -> ProgressToken -> ProgressToken #

min :: ProgressToken -> ProgressToken -> ProgressToken #

Hashable ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods hashWithSalt :: Int -> ProgressToken -> Int # hash :: ProgressToken -> Int #
Pretty ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ProgressToken Methods pretty :: ProgressToken -> Doc ann # prettyList :: [ProgressToken] -> Doc ann #
HasToken ProgressParams ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods token :: Lens' ProgressParams ProgressToken #
HasToken WorkDoneProgressCancelParams ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods token :: Lens' WorkDoneProgressCancelParams ProgressToken #
HasToken WorkDoneProgressCreateParams ProgressToken # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods token :: Lens' WorkDoneProgressCreateParams ProgressToken #
HasPartialResultToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CallHierarchyIncomingCallsParams (Maybe ProgressToken) #
HasPartialResultToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CallHierarchyOutgoingCallsParams (Maybe ProgressToken) #
HasPartialResultToken CodeActionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CodeActionParams (Maybe ProgressToken) #
HasPartialResultToken CodeLensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CodeLensParams (Maybe ProgressToken) #
HasPartialResultToken ColorPresentationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' ColorPresentationParams (Maybe ProgressToken) #
HasPartialResultToken CompletionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' CompletionParams (Maybe ProgressToken) #
HasPartialResultToken DeclarationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DeclarationParams (Maybe ProgressToken) #
HasPartialResultToken DefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DefinitionParams (Maybe ProgressToken) #
HasPartialResultToken DocumentColorParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentColorParams (Maybe ProgressToken) #
HasPartialResultToken DocumentDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentDiagnosticParams (Maybe ProgressToken) #
HasPartialResultToken DocumentHighlightParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentHighlightParams (Maybe ProgressToken) #
HasPartialResultToken DocumentLinkParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentLinkParams (Maybe ProgressToken) #
HasPartialResultToken DocumentSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' DocumentSymbolParams (Maybe ProgressToken) #
HasPartialResultToken FoldingRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' FoldingRangeParams (Maybe ProgressToken) #
HasPartialResultToken ImplementationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' ImplementationParams (Maybe ProgressToken) #
HasPartialResultToken MonikerParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' MonikerParams (Maybe ProgressToken) #
HasPartialResultToken PartialResultParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' PartialResultParams (Maybe ProgressToken) #
HasPartialResultToken ReferenceParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' ReferenceParams (Maybe ProgressToken) #
HasPartialResultToken SelectionRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SelectionRangeParams (Maybe ProgressToken) #
HasPartialResultToken SemanticTokensDeltaParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SemanticTokensDeltaParams (Maybe ProgressToken) #
HasPartialResultToken SemanticTokensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SemanticTokensParams (Maybe ProgressToken) #
HasPartialResultToken SemanticTokensRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' SemanticTokensRangeParams (Maybe ProgressToken) #
HasPartialResultToken TypeDefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' TypeDefinitionParams (Maybe ProgressToken) #
HasPartialResultToken TypeHierarchySubtypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' TypeHierarchySubtypesParams (Maybe ProgressToken) #
HasPartialResultToken TypeHierarchySupertypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' TypeHierarchySupertypesParams (Maybe ProgressToken) #
HasPartialResultToken WorkspaceDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' WorkspaceDiagnosticParams (Maybe ProgressToken) #
HasPartialResultToken WorkspaceSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods partialResultToken :: Lens' WorkspaceSymbolParams (Maybe ProgressToken) #
HasWorkDoneToken CallHierarchyIncomingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CallHierarchyIncomingCallsParams (Maybe ProgressToken) #
HasWorkDoneToken CallHierarchyOutgoingCallsParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CallHierarchyOutgoingCallsParams (Maybe ProgressToken) #
HasWorkDoneToken CallHierarchyPrepareParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CallHierarchyPrepareParams (Maybe ProgressToken) #
HasWorkDoneToken CodeActionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CodeActionParams (Maybe ProgressToken) #
HasWorkDoneToken CodeLensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CodeLensParams (Maybe ProgressToken) #
HasWorkDoneToken ColorPresentationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ColorPresentationParams (Maybe ProgressToken) #
HasWorkDoneToken CompletionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' CompletionParams (Maybe ProgressToken) #
HasWorkDoneToken DeclarationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DeclarationParams (Maybe ProgressToken) #
HasWorkDoneToken DefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DefinitionParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentColorParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentColorParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentDiagnosticParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentFormattingParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentFormattingParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentHighlightParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentHighlightParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentLinkParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentLinkParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentRangeFormattingParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentRangeFormattingParams (Maybe ProgressToken) #
HasWorkDoneToken DocumentSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' DocumentSymbolParams (Maybe ProgressToken) #
HasWorkDoneToken ExecuteCommandParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ExecuteCommandParams (Maybe ProgressToken) #
HasWorkDoneToken FoldingRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' FoldingRangeParams (Maybe ProgressToken) #
HasWorkDoneToken HoverParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' HoverParams (Maybe ProgressToken) #
HasWorkDoneToken ImplementationParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ImplementationParams (Maybe ProgressToken) #
HasWorkDoneToken InitializeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' InitializeParams (Maybe ProgressToken) #
HasWorkDoneToken InlayHintParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' InlayHintParams (Maybe ProgressToken) #
HasWorkDoneToken InlineValueParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' InlineValueParams (Maybe ProgressToken) #
HasWorkDoneToken LinkedEditingRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' LinkedEditingRangeParams (Maybe ProgressToken) #
HasWorkDoneToken MonikerParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' MonikerParams (Maybe ProgressToken) #
HasWorkDoneToken PrepareRenameParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' PrepareRenameParams (Maybe ProgressToken) #
HasWorkDoneToken ReferenceParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' ReferenceParams (Maybe ProgressToken) #
HasWorkDoneToken RenameParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' RenameParams (Maybe ProgressToken) #
HasWorkDoneToken SelectionRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SelectionRangeParams (Maybe ProgressToken) #
HasWorkDoneToken SemanticTokensDeltaParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SemanticTokensDeltaParams (Maybe ProgressToken) #
HasWorkDoneToken SemanticTokensParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SemanticTokensParams (Maybe ProgressToken) #
HasWorkDoneToken SemanticTokensRangeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SemanticTokensRangeParams (Maybe ProgressToken) #
HasWorkDoneToken SignatureHelpParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' SignatureHelpParams (Maybe ProgressToken) #
HasWorkDoneToken TypeDefinitionParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeDefinitionParams (Maybe ProgressToken) #
HasWorkDoneToken TypeHierarchyPrepareParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeHierarchyPrepareParams (Maybe ProgressToken) #
HasWorkDoneToken TypeHierarchySubtypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeHierarchySubtypesParams (Maybe ProgressToken) #
HasWorkDoneToken TypeHierarchySupertypesParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' TypeHierarchySupertypesParams (Maybe ProgressToken) #
HasWorkDoneToken UInitializeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' UInitializeParams (Maybe ProgressToken) #
HasWorkDoneToken WorkDoneProgressParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' WorkDoneProgressParams (Maybe ProgressToken) #
HasWorkDoneToken WorkspaceDiagnosticParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' WorkspaceDiagnosticParams (Maybe ProgressToken) #
HasWorkDoneToken WorkspaceSymbolParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' WorkspaceSymbolParams (Maybe ProgressToken) #
type Rep ProgressToken # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ProgressToken

type Rep ProgressToken = D1 ('MetaData "ProgressToken" "Language.LSP.Protocol.Internal.Types.ProgressToken" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "ProgressToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int32 |? Text))))

data PublishDiagnosticsClientCapabilities #

The publish diagnostic client capabilities.

Constructors

PublishDiagnosticsClientCapabilities |

Fields

- _relatedInformation :: Maybe Bool

  Whether the clients accepts diagnostics with related information.

- _tagSupport :: Maybe ClientDiagnosticsTagOptions

  Client supports the tag property to provide meta data about a diagnostic. Clients supporting tags have to handle unknown tags gracefully.

  Since: 3.15.0

- _versionSupport :: Maybe Bool

  Whether the client interprets the version property of the `textDocument/publishDiagnostics` notification's parameter.

  Since: 3.15.0

- _codeDescriptionSupport :: Maybe Bool

  Client supports a codeDescription property

  Since: 3.16.0

- _dataSupport :: Maybe Bool

  Whether code action supports the `data` property which is preserved between a `textDocument/publishDiagnostics` and `textDocument/codeAction` request.

  Since: 3.16.0

#### Instances

Instances details

FromJSON PublishDiagnosticsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities Methods parseJSON :: Value -> Parser PublishDiagnosticsClientCapabilities # parseJSONList :: Value -> Parser [PublishDiagnosticsClientCapabilities] # omittedField :: Maybe PublishDiagnosticsClientCapabilities #
ToJSON PublishDiagnosticsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities

Methods

toJSON :: PublishDiagnosticsClientCapabilities -> Value #

toEncoding :: PublishDiagnosticsClientCapabilities -> Encoding #

toJSONList :: [PublishDiagnosticsClientCapabilities] -> Value #

toEncodingList :: [PublishDiagnosticsClientCapabilities] -> Encoding #

omitField :: PublishDiagnosticsClientCapabilities -> Bool #

NFData PublishDiagnosticsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities Methods rnf :: PublishDiagnosticsClientCapabilities -> () #
Generic PublishDiagnosticsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities

Associated Types

type Rep PublishDiagnosticsClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities

type Rep PublishDiagnosticsClientCapabilities = D1 ('MetaData "PublishDiagnosticsClientCapabilities" "Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PublishDiagnosticsClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_relatedInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientDiagnosticsTagOptions))) :*: (S1 ('MetaSel ('Just "_versionSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_codeDescriptionSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_dataSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

Methods

from :: PublishDiagnosticsClientCapabilities -> Rep PublishDiagnosticsClientCapabilities x #

to :: Rep PublishDiagnosticsClientCapabilities x -> PublishDiagnosticsClientCapabilities #

Show PublishDiagnosticsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities Methods showsPrec :: Int -> PublishDiagnosticsClientCapabilities -> ShowS # show :: PublishDiagnosticsClientCapabilities -> String # showList :: [PublishDiagnosticsClientCapabilities] -> ShowS #
Eq PublishDiagnosticsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities Methods (==) :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Bool # (/=) :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Bool #
Ord PublishDiagnosticsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities

Methods

compare :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Ordering #

(<) :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Bool #

(<=) :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Bool #

(>) :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Bool #

(>=) :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> Bool #

max :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities #

min :: PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities -> PublishDiagnosticsClientCapabilities #

Hashable PublishDiagnosticsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities Methods hashWithSalt :: Int -> PublishDiagnosticsClientCapabilities -> Int # hash :: PublishDiagnosticsClientCapabilities -> Int #
Pretty PublishDiagnosticsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities Methods pretty :: PublishDiagnosticsClientCapabilities -> Doc ann # prettyList :: [PublishDiagnosticsClientCapabilities] -> Doc ann #
HasCodeDescriptionSupport PublishDiagnosticsClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeDescriptionSupport :: Lens' PublishDiagnosticsClientCapabilities (Maybe Bool) #
HasDataSupport PublishDiagnosticsClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dataSupport :: Lens' PublishDiagnosticsClientCapabilities (Maybe Bool) #
HasPublishDiagnostics TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods publishDiagnostics :: Lens' TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) #
HasRelatedInformation PublishDiagnosticsClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedInformation :: Lens' PublishDiagnosticsClientCapabilities (Maybe Bool) #
HasTagSupport PublishDiagnosticsClientCapabilities (Maybe ClientDiagnosticsTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' PublishDiagnosticsClientCapabilities (Maybe ClientDiagnosticsTagOptions) #
HasVersionSupport PublishDiagnosticsClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods versionSupport :: Lens' PublishDiagnosticsClientCapabilities (Maybe Bool) #
type Rep PublishDiagnosticsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities

type Rep PublishDiagnosticsClientCapabilities = D1 ('MetaData "PublishDiagnosticsClientCapabilities" "Language.LSP.Protocol.Internal.Types.PublishDiagnosticsClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "PublishDiagnosticsClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_relatedInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientDiagnosticsTagOptions))) :*: (S1 ('MetaSel ('Just "_versionSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_codeDescriptionSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_dataSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

data ReferenceClientCapabilities #

Client Capabilities for a `ReferencesRequest`.

Constructors

ReferenceClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether references supports dynamic registration.

#### Instances

Instances details

FromJSON ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods parseJSON :: Value -> Parser ReferenceClientCapabilities # parseJSONList :: Value -> Parser [ReferenceClientCapabilities] # omittedField :: Maybe ReferenceClientCapabilities #
ToJSON ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods toJSON :: ReferenceClientCapabilities -> Value # toEncoding :: ReferenceClientCapabilities -> Encoding # toJSONList :: [ReferenceClientCapabilities] -> Value # toEncodingList :: [ReferenceClientCapabilities] -> Encoding # omitField :: ReferenceClientCapabilities -> Bool #
NFData ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods rnf :: ReferenceClientCapabilities -> () #
Generic ReferenceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities

Associated Types

type Rep ReferenceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities

type Rep ReferenceClientCapabilities = D1 ('MetaData "ReferenceClientCapabilities" "Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ReferenceClientCapabilities -> Rep ReferenceClientCapabilities x #

to :: Rep ReferenceClientCapabilities x -> ReferenceClientCapabilities #

Show ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods showsPrec :: Int -> ReferenceClientCapabilities -> ShowS # show :: ReferenceClientCapabilities -> String # showList :: [ReferenceClientCapabilities] -> ShowS #
Eq ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods (==) :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Bool # (/=) :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Bool #
Ord ReferenceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities

Methods

compare :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Ordering #

(<) :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Bool #

(<=) :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Bool #

(>) :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Bool #

(>=) :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> Bool #

max :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> ReferenceClientCapabilities #

min :: ReferenceClientCapabilities -> ReferenceClientCapabilities -> ReferenceClientCapabilities #

Hashable ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods hashWithSalt :: Int -> ReferenceClientCapabilities -> Int # hash :: ReferenceClientCapabilities -> Int #
Pretty ReferenceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities Methods pretty :: ReferenceClientCapabilities -> Doc ann # prettyList :: [ReferenceClientCapabilities] -> Doc ann #
HasDynamicRegistration ReferenceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' ReferenceClientCapabilities (Maybe Bool) #
HasReferences TextDocumentClientCapabilities (Maybe ReferenceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods references :: Lens' TextDocumentClientCapabilities (Maybe ReferenceClientCapabilities) #
type Rep ReferenceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities

type Rep ReferenceClientCapabilities = D1 ('MetaData "ReferenceClientCapabilities" "Language.LSP.Protocol.Internal.Types.ReferenceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ReferenceContext #

Value-object that contains additional information when requesting references.

Constructors

ReferenceContext |

Fields

- _includeDeclaration :: Bool

  Include the declaration of the current symbol.

#### Instances

Instances details

FromJSON ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods parseJSON :: Value -> Parser ReferenceContext # parseJSONList :: Value -> Parser [ReferenceContext] # omittedField :: Maybe ReferenceContext #
ToJSON ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods toJSON :: ReferenceContext -> Value # toEncoding :: ReferenceContext -> Encoding # toJSONList :: [ReferenceContext] -> Value # toEncodingList :: [ReferenceContext] -> Encoding # omitField :: ReferenceContext -> Bool #
NFData ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods rnf :: ReferenceContext -> () #
Generic ReferenceContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext

Associated Types

type Rep ReferenceContext |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext

type Rep ReferenceContext = D1 ('MetaData "ReferenceContext" "Language.LSP.Protocol.Internal.Types.ReferenceContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_includeDeclaration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

Methods

from :: ReferenceContext -> Rep ReferenceContext x #

to :: Rep ReferenceContext x -> ReferenceContext #

Show ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods showsPrec :: Int -> ReferenceContext -> ShowS # show :: ReferenceContext -> String # showList :: [ReferenceContext] -> ShowS #
Eq ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods (==) :: ReferenceContext -> ReferenceContext -> Bool # (/=) :: ReferenceContext -> ReferenceContext -> Bool #
Ord ReferenceContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext

Methods

compare :: ReferenceContext -> ReferenceContext -> Ordering #

(<) :: ReferenceContext -> ReferenceContext -> Bool #

(<=) :: ReferenceContext -> ReferenceContext -> Bool #

(>) :: ReferenceContext -> ReferenceContext -> Bool #

(>=) :: ReferenceContext -> ReferenceContext -> Bool #

max :: ReferenceContext -> ReferenceContext -> ReferenceContext #

min :: ReferenceContext -> ReferenceContext -> ReferenceContext #

Hashable ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods hashWithSalt :: Int -> ReferenceContext -> Int # hash :: ReferenceContext -> Int #
Pretty ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext Methods pretty :: ReferenceContext -> Doc ann # prettyList :: [ReferenceContext] -> Doc ann #
HasContext ReferenceParams ReferenceContext # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' ReferenceParams ReferenceContext #
HasIncludeDeclaration ReferenceContext Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods includeDeclaration :: Lens' ReferenceContext Bool #
type Rep ReferenceContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceContext

type Rep ReferenceContext = D1 ('MetaData "ReferenceContext" "Language.LSP.Protocol.Internal.Types.ReferenceContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceContext" 'PrefixI 'True) (S1 ('MetaSel ('Just "_includeDeclaration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data ReferenceOptions #

Reference options.

Constructors

ReferenceOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods parseJSON :: Value -> Parser ReferenceOptions # parseJSONList :: Value -> Parser [ReferenceOptions] # omittedField :: Maybe ReferenceOptions #
ToJSON ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods toJSON :: ReferenceOptions -> Value # toEncoding :: ReferenceOptions -> Encoding # toJSONList :: [ReferenceOptions] -> Value # toEncodingList :: [ReferenceOptions] -> Encoding # omitField :: ReferenceOptions -> Bool #
NFData ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods rnf :: ReferenceOptions -> () #
Generic ReferenceOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions

Associated Types

type Rep ReferenceOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions

type Rep ReferenceOptions = D1 ('MetaData "ReferenceOptions" "Language.LSP.Protocol.Internal.Types.ReferenceOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ReferenceOptions -> Rep ReferenceOptions x #

to :: Rep ReferenceOptions x -> ReferenceOptions #

Show ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods showsPrec :: Int -> ReferenceOptions -> ShowS # show :: ReferenceOptions -> String # showList :: [ReferenceOptions] -> ShowS #
Eq ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods (==) :: ReferenceOptions -> ReferenceOptions -> Bool # (/=) :: ReferenceOptions -> ReferenceOptions -> Bool #
Ord ReferenceOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions

Methods

compare :: ReferenceOptions -> ReferenceOptions -> Ordering #

(<) :: ReferenceOptions -> ReferenceOptions -> Bool #

(<=) :: ReferenceOptions -> ReferenceOptions -> Bool #

(>) :: ReferenceOptions -> ReferenceOptions -> Bool #

(>=) :: ReferenceOptions -> ReferenceOptions -> Bool #

max :: ReferenceOptions -> ReferenceOptions -> ReferenceOptions #

min :: ReferenceOptions -> ReferenceOptions -> ReferenceOptions #

Hashable ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods hashWithSalt :: Int -> ReferenceOptions -> Int # hash :: ReferenceOptions -> Int #
Pretty ReferenceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions Methods pretty :: ReferenceOptions -> Doc ann # prettyList :: [ReferenceOptions] -> Doc ann #
HasReferencesProvider ServerCapabilities (Maybe (Bool |? ReferenceOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods referencesProvider :: Lens' ServerCapabilities (Maybe (Bool |? ReferenceOptions)) #
HasWorkDoneProgress ReferenceOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' ReferenceOptions (Maybe Bool) #
type Rep ReferenceOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ReferenceOptions

type Rep ReferenceOptions = D1 ('MetaData "ReferenceOptions" "Language.LSP.Protocol.Internal.Types.ReferenceOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ReferenceOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newtype RegularExpressionEngineKind #

Constructors

RegularExpressionEngineKind Text |

#### Instances

Instances details

FromJSON RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods parseJSON :: Value -> Parser RegularExpressionEngineKind # parseJSONList :: Value -> Parser [RegularExpressionEngineKind] # omittedField :: Maybe RegularExpressionEngineKind #
FromJSONKey RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods fromJSONKey :: FromJSONKeyFunction RegularExpressionEngineKind # fromJSONKeyList :: FromJSONKeyFunction [RegularExpressionEngineKind] #
ToJSON RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods toJSON :: RegularExpressionEngineKind -> Value # toEncoding :: RegularExpressionEngineKind -> Encoding # toJSONList :: [RegularExpressionEngineKind] -> Value # toEncodingList :: [RegularExpressionEngineKind] -> Encoding # omitField :: RegularExpressionEngineKind -> Bool #
ToJSONKey RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods toJSONKey :: ToJSONKeyFunction RegularExpressionEngineKind # toJSONKeyList :: ToJSONKeyFunction [RegularExpressionEngineKind] #
NFData RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods rnf :: RegularExpressionEngineKind -> () #
Generic RegularExpressionEngineKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind

Associated Types

type Rep RegularExpressionEngineKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind

type Rep RegularExpressionEngineKind = D1 ('MetaData "RegularExpressionEngineKind" "Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "RegularExpressionEngineKind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Methods

from :: RegularExpressionEngineKind -> Rep RegularExpressionEngineKind x #

to :: Rep RegularExpressionEngineKind x -> RegularExpressionEngineKind #

Show RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods showsPrec :: Int -> RegularExpressionEngineKind -> ShowS # show :: RegularExpressionEngineKind -> String # showList :: [RegularExpressionEngineKind] -> ShowS #
Eq RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods (==) :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Bool # (/=) :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Bool #
Ord RegularExpressionEngineKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind

Methods

compare :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Ordering #

(<) :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Bool #

(<=) :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Bool #

(>) :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Bool #

(>=) :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> Bool #

max :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> RegularExpressionEngineKind #

min :: RegularExpressionEngineKind -> RegularExpressionEngineKind -> RegularExpressionEngineKind #

Hashable RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods hashWithSalt :: Int -> RegularExpressionEngineKind -> Int # hash :: RegularExpressionEngineKind -> Int #
Pretty RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind Methods pretty :: RegularExpressionEngineKind -> Doc ann # prettyList :: [RegularExpressionEngineKind] -> Doc ann #
HasEngine RegularExpressionsClientCapabilities RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods engine :: Lens' RegularExpressionsClientCapabilities RegularExpressionEngineKind #
type Rep RegularExpressionEngineKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind

type Rep RegularExpressionEngineKind = D1 ('MetaData "RegularExpressionEngineKind" "Language.LSP.Protocol.Internal.Types.RegularExpressionEngineKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "RegularExpressionEngineKind" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data RegularExpressionsClientCapabilities #

Client capabilities specific to regular expressions.

Since: 3.16.0

Constructors

RegularExpressionsClientCapabilities |

Fields

- _engine :: RegularExpressionEngineKind

  The engine's name.

- _version :: Maybe Text

  The engine's version.

#### Instances

Instances details

FromJSON RegularExpressionsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities Methods parseJSON :: Value -> Parser RegularExpressionsClientCapabilities # parseJSONList :: Value -> Parser [RegularExpressionsClientCapabilities] # omittedField :: Maybe RegularExpressionsClientCapabilities #
ToJSON RegularExpressionsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities

Methods

toJSON :: RegularExpressionsClientCapabilities -> Value #

toEncoding :: RegularExpressionsClientCapabilities -> Encoding #

toJSONList :: [RegularExpressionsClientCapabilities] -> Value #

toEncodingList :: [RegularExpressionsClientCapabilities] -> Encoding #

omitField :: RegularExpressionsClientCapabilities -> Bool #

NFData RegularExpressionsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities Methods rnf :: RegularExpressionsClientCapabilities -> () #
Generic RegularExpressionsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities

Associated Types

type Rep RegularExpressionsClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities

type Rep RegularExpressionsClientCapabilities = D1 ('MetaData "RegularExpressionsClientCapabilities" "Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RegularExpressionsClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegularExpressionEngineKind) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: RegularExpressionsClientCapabilities -> Rep RegularExpressionsClientCapabilities x #

to :: Rep RegularExpressionsClientCapabilities x -> RegularExpressionsClientCapabilities #

Show RegularExpressionsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities Methods showsPrec :: Int -> RegularExpressionsClientCapabilities -> ShowS # show :: RegularExpressionsClientCapabilities -> String # showList :: [RegularExpressionsClientCapabilities] -> ShowS #
Eq RegularExpressionsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities Methods (==) :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Bool # (/=) :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Bool #
Ord RegularExpressionsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities

Methods

compare :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Ordering #

(<) :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Bool #

(<=) :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Bool #

(>) :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Bool #

(>=) :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> Bool #

max :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities #

min :: RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities -> RegularExpressionsClientCapabilities #

Hashable RegularExpressionsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities Methods hashWithSalt :: Int -> RegularExpressionsClientCapabilities -> Int # hash :: RegularExpressionsClientCapabilities -> Int #
Pretty RegularExpressionsClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities Methods pretty :: RegularExpressionsClientCapabilities -> Doc ann # prettyList :: [RegularExpressionsClientCapabilities] -> Doc ann #
HasEngine RegularExpressionsClientCapabilities RegularExpressionEngineKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods engine :: Lens' RegularExpressionsClientCapabilities RegularExpressionEngineKind #
HasRegularExpressions GeneralClientCapabilities (Maybe RegularExpressionsClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods regularExpressions :: Lens' GeneralClientCapabilities (Maybe RegularExpressionsClientCapabilities) #
HasVersion RegularExpressionsClientCapabilities (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' RegularExpressionsClientCapabilities (Maybe Text) #
type Rep RegularExpressionsClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities

type Rep RegularExpressionsClientCapabilities = D1 ('MetaData "RegularExpressionsClientCapabilities" "Language.LSP.Protocol.Internal.Types.RegularExpressionsClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RegularExpressionsClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_engine") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RegularExpressionEngineKind) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data RelatedFullDocumentDiagnosticReport #

A full diagnostic report with a set of related documents.

Since: 3.17.0

Constructors

RelatedFullDocumentDiagnosticReport |

Fields

- _kind :: AString "full"

  A full document diagnostic report.

- _resultId :: Maybe Text

  An optional result id. If provided it will be sent on the next diagnostic request for the same document.

- _items :: [Diagnostic]

  The actual items.

- _relatedDocuments :: Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))

  Diagnostics of related documents. This information is useful in programming languages where code in a file A can generate diagnostics in a file B which A depends on. An example of such a language is C/C++ where marco definitions in a file a.cpp and result in errors in a header file b.hpp.

  Since: 3.17.0

#### Instances

Instances details

FromJSON RelatedFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport Methods parseJSON :: Value -> Parser RelatedFullDocumentDiagnosticReport # parseJSONList :: Value -> Parser [RelatedFullDocumentDiagnosticReport] # omittedField :: Maybe RelatedFullDocumentDiagnosticReport #
ToJSON RelatedFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport

Methods

toJSON :: RelatedFullDocumentDiagnosticReport -> Value #

toEncoding :: RelatedFullDocumentDiagnosticReport -> Encoding #

toJSONList :: [RelatedFullDocumentDiagnosticReport] -> Value #

toEncodingList :: [RelatedFullDocumentDiagnosticReport] -> Encoding #

omitField :: RelatedFullDocumentDiagnosticReport -> Bool #

NFData RelatedFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport Methods rnf :: RelatedFullDocumentDiagnosticReport -> () #
Generic RelatedFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport

Associated Types

type Rep RelatedFullDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport

type Rep RelatedFullDocumentDiagnosticReport = D1 ('MetaData "RelatedFullDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RelatedFullDocumentDiagnosticReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "full")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]) :*: S1 ('MetaSel ('Just "_relatedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)))))))

Methods

from :: RelatedFullDocumentDiagnosticReport -> Rep RelatedFullDocumentDiagnosticReport x #

to :: Rep RelatedFullDocumentDiagnosticReport x -> RelatedFullDocumentDiagnosticReport #

Show RelatedFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport Methods showsPrec :: Int -> RelatedFullDocumentDiagnosticReport -> ShowS # show :: RelatedFullDocumentDiagnosticReport -> String # showList :: [RelatedFullDocumentDiagnosticReport] -> ShowS #
Eq RelatedFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport Methods (==) :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Bool # (/=) :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Bool #
Ord RelatedFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport

Methods

compare :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Ordering #

(<) :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Bool #

(<=) :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Bool #

(>) :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Bool #

(>=) :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> Bool #

max :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport #

min :: RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport -> RelatedFullDocumentDiagnosticReport #

Hashable RelatedFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport Methods hashWithSalt :: Int -> RelatedFullDocumentDiagnosticReport -> Int # hash :: RelatedFullDocumentDiagnosticReport -> Int #
Pretty RelatedFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport Methods pretty :: RelatedFullDocumentDiagnosticReport -> Doc ann # prettyList :: [RelatedFullDocumentDiagnosticReport] -> Doc ann #
HasItems RelatedFullDocumentDiagnosticReport [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' RelatedFullDocumentDiagnosticReport [Diagnostic] #
HasKind RelatedFullDocumentDiagnosticReport (AString "full") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' RelatedFullDocumentDiagnosticReport (AString "full") #
HasRelatedDocuments RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasResultId RelatedFullDocumentDiagnosticReport (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' RelatedFullDocumentDiagnosticReport (Maybe Text) #
type Rep RelatedFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport

type Rep RelatedFullDocumentDiagnosticReport = D1 ('MetaData "RelatedFullDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.RelatedFullDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RelatedFullDocumentDiagnosticReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "full")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]) :*: S1 ('MetaSel ('Just "_relatedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)))))))

data RelatedUnchangedDocumentDiagnosticReport #

An unchanged diagnostic report with a set of related documents.

Since: 3.17.0

Constructors

RelatedUnchangedDocumentDiagnosticReport |

Fields

- _kind :: AString "unchanged"

  A document diagnostic report indicating no changes to the last result. A server can only return `unchanged` if result ids are provided.

- _resultId :: Text

  A result id which will be sent on the next diagnostic request for the same document.

- _relatedDocuments :: Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))

  Diagnostics of related documents. This information is useful in programming languages where code in a file A can generate diagnostics in a file B which A depends on. An example of such a language is C/C++ where marco definitions in a file a.cpp and result in errors in a header file b.hpp.

  Since: 3.17.0

#### Instances

Instances details

FromJSON RelatedUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport Methods parseJSON :: Value -> Parser RelatedUnchangedDocumentDiagnosticReport # parseJSONList :: Value -> Parser [RelatedUnchangedDocumentDiagnosticReport] # omittedField :: Maybe RelatedUnchangedDocumentDiagnosticReport #
ToJSON RelatedUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport

Methods

toJSON :: RelatedUnchangedDocumentDiagnosticReport -> Value #

toEncoding :: RelatedUnchangedDocumentDiagnosticReport -> Encoding #

toJSONList :: [RelatedUnchangedDocumentDiagnosticReport] -> Value #

toEncodingList :: [RelatedUnchangedDocumentDiagnosticReport] -> Encoding #

omitField :: RelatedUnchangedDocumentDiagnosticReport -> Bool #

NFData RelatedUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport Methods rnf :: RelatedUnchangedDocumentDiagnosticReport -> () #
Generic RelatedUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport

Associated Types

type Rep RelatedUnchangedDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport

type Rep RelatedUnchangedDocumentDiagnosticReport = D1 ('MetaData "RelatedUnchangedDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RelatedUnchangedDocumentDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "unchanged")) :*: (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_relatedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)))))))

Methods

from :: RelatedUnchangedDocumentDiagnosticReport -> Rep RelatedUnchangedDocumentDiagnosticReport x #

to :: Rep RelatedUnchangedDocumentDiagnosticReport x -> RelatedUnchangedDocumentDiagnosticReport #

Show RelatedUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport Methods showsPrec :: Int -> RelatedUnchangedDocumentDiagnosticReport -> ShowS # show :: RelatedUnchangedDocumentDiagnosticReport -> String # showList :: [RelatedUnchangedDocumentDiagnosticReport] -> ShowS #
Eq RelatedUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport Methods (==) :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Bool # (/=) :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Bool #
Ord RelatedUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport

Methods

compare :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Ordering #

(<) :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Bool #

(<=) :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Bool #

(>) :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Bool #

(>=) :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> Bool #

max :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport #

min :: RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport -> RelatedUnchangedDocumentDiagnosticReport #

Hashable RelatedUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport Methods hashWithSalt :: Int -> RelatedUnchangedDocumentDiagnosticReport -> Int # hash :: RelatedUnchangedDocumentDiagnosticReport -> Int #
Pretty RelatedUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport Methods pretty :: RelatedUnchangedDocumentDiagnosticReport -> Doc ann # prettyList :: [RelatedUnchangedDocumentDiagnosticReport] -> Doc ann #
HasResultId RelatedUnchangedDocumentDiagnosticReport Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' RelatedUnchangedDocumentDiagnosticReport Text #
HasKind RelatedUnchangedDocumentDiagnosticReport (AString "unchanged") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' RelatedUnchangedDocumentDiagnosticReport (AString "unchanged") #
HasRelatedDocuments RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
type Rep RelatedUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport

type Rep RelatedUnchangedDocumentDiagnosticReport = D1 ('MetaData "RelatedUnchangedDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.RelatedUnchangedDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RelatedUnchangedDocumentDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "unchanged")) :*: (S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_relatedDocuments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)))))))

data RelativePattern #

A relative pattern is a helper to construct glob patterns that are matched relatively to a base URI. The common value for a `baseUri` is a workspace folder root, but it can be another absolute URI as well.

Since: 3.17.0

Constructors

RelativePattern |

Fields

- _baseUri :: WorkspaceFolder |? Uri

  A workspace folder or a base URI to which this pattern will be matched against relatively.

- _pattern :: Pattern

  The actual glob pattern;

#### Instances

Instances details

FromJSON RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods parseJSON :: Value -> Parser RelativePattern # parseJSONList :: Value -> Parser [RelativePattern] # omittedField :: Maybe RelativePattern #
ToJSON RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods toJSON :: RelativePattern -> Value # toEncoding :: RelativePattern -> Encoding # toJSONList :: [RelativePattern] -> Value # toEncodingList :: [RelativePattern] -> Encoding # omitField :: RelativePattern -> Bool #
NFData RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods rnf :: RelativePattern -> () #
Generic RelativePattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelativePattern

Associated Types

type Rep RelativePattern |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelativePattern

type Rep RelativePattern = D1 ('MetaData "RelativePattern" "Language.LSP.Protocol.Internal.Types.RelativePattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RelativePattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_baseUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (WorkspaceFolder |? Uri)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Pattern)))

Methods

from :: RelativePattern -> Rep RelativePattern x #

to :: Rep RelativePattern x -> RelativePattern #

Show RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods showsPrec :: Int -> RelativePattern -> ShowS # show :: RelativePattern -> String # showList :: [RelativePattern] -> ShowS #
Eq RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods (==) :: RelativePattern -> RelativePattern -> Bool # (/=) :: RelativePattern -> RelativePattern -> Bool #
Ord RelativePattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelativePattern

Methods

compare :: RelativePattern -> RelativePattern -> Ordering #

(<) :: RelativePattern -> RelativePattern -> Bool #

(<=) :: RelativePattern -> RelativePattern -> Bool #

(>) :: RelativePattern -> RelativePattern -> Bool #

(>=) :: RelativePattern -> RelativePattern -> Bool #

max :: RelativePattern -> RelativePattern -> RelativePattern #

min :: RelativePattern -> RelativePattern -> RelativePattern #

Hashable RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods hashWithSalt :: Int -> RelativePattern -> Int # hash :: RelativePattern -> Int #
Pretty RelativePattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RelativePattern Methods pretty :: RelativePattern -> Doc ann # prettyList :: [RelativePattern] -> Doc ann #
HasPattern RelativePattern Pattern # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' RelativePattern Pattern #
HasBaseUri RelativePattern (WorkspaceFolder |? Uri) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods baseUri :: Lens' RelativePattern (WorkspaceFolder |? Uri) #
type Rep RelativePattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RelativePattern

type Rep RelativePattern = D1 ('MetaData "RelativePattern" "Language.LSP.Protocol.Internal.Types.RelativePattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RelativePattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_baseUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (WorkspaceFolder |? Uri)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Pattern)))

data RenameClientCapabilities #

Constructors

RenameClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether rename supports dynamic registration.

- _prepareSupport :: Maybe Bool

  Client supports testing for validity of rename operations before execution.

  Since: 3.12.0

- _prepareSupportDefaultBehavior :: Maybe PrepareSupportDefaultBehavior

  Client supports the default behavior result.

  The value indicates the default behavior used by the client.

  Since: 3.16.0

- _honorsChangeAnnotations :: Maybe Bool

  Whether the client honors the change annotations in text edits and resource operations returned via the rename request's workspace edit by for example presenting the workspace edit in the user interface and asking for confirmation.

  Since: 3.16.0

#### Instances

Instances details

FromJSON RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods parseJSON :: Value -> Parser RenameClientCapabilities # parseJSONList :: Value -> Parser [RenameClientCapabilities] # omittedField :: Maybe RenameClientCapabilities #
ToJSON RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods toJSON :: RenameClientCapabilities -> Value # toEncoding :: RenameClientCapabilities -> Encoding # toJSONList :: [RenameClientCapabilities] -> Value # toEncodingList :: [RenameClientCapabilities] -> Encoding # omitField :: RenameClientCapabilities -> Bool #
NFData RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods rnf :: RenameClientCapabilities -> () #
Generic RenameClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities

Associated Types

type Rep RenameClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities

type Rep RenameClientCapabilities = D1 ('MetaData "RenameClientCapabilities" "Language.LSP.Protocol.Internal.Types.RenameClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_prepareSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_prepareSupportDefaultBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrepareSupportDefaultBehavior)) :*: S1 ('MetaSel ('Just "_honorsChangeAnnotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: RenameClientCapabilities -> Rep RenameClientCapabilities x #

to :: Rep RenameClientCapabilities x -> RenameClientCapabilities #

Show RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods showsPrec :: Int -> RenameClientCapabilities -> ShowS # show :: RenameClientCapabilities -> String # showList :: [RenameClientCapabilities] -> ShowS #
Eq RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods (==) :: RenameClientCapabilities -> RenameClientCapabilities -> Bool # (/=) :: RenameClientCapabilities -> RenameClientCapabilities -> Bool #
Ord RenameClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities

Methods

compare :: RenameClientCapabilities -> RenameClientCapabilities -> Ordering #

(<) :: RenameClientCapabilities -> RenameClientCapabilities -> Bool #

(<=) :: RenameClientCapabilities -> RenameClientCapabilities -> Bool #

(>) :: RenameClientCapabilities -> RenameClientCapabilities -> Bool #

(>=) :: RenameClientCapabilities -> RenameClientCapabilities -> Bool #

max :: RenameClientCapabilities -> RenameClientCapabilities -> RenameClientCapabilities #

min :: RenameClientCapabilities -> RenameClientCapabilities -> RenameClientCapabilities #

Hashable RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods hashWithSalt :: Int -> RenameClientCapabilities -> Int # hash :: RenameClientCapabilities -> Int #
Pretty RenameClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities Methods pretty :: RenameClientCapabilities -> Doc ann # prettyList :: [RenameClientCapabilities] -> Doc ann #
HasDynamicRegistration RenameClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' RenameClientCapabilities (Maybe Bool) #
HasHonorsChangeAnnotations RenameClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods honorsChangeAnnotations :: Lens' RenameClientCapabilities (Maybe Bool) #
HasPrepareSupport RenameClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods prepareSupport :: Lens' RenameClientCapabilities (Maybe Bool) #
HasPrepareSupportDefaultBehavior RenameClientCapabilities (Maybe PrepareSupportDefaultBehavior) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods prepareSupportDefaultBehavior :: Lens' RenameClientCapabilities (Maybe PrepareSupportDefaultBehavior) #
HasRename TextDocumentClientCapabilities (Maybe RenameClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rename :: Lens' TextDocumentClientCapabilities (Maybe RenameClientCapabilities) #
type Rep RenameClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameClientCapabilities

type Rep RenameClientCapabilities = D1 ('MetaData "RenameClientCapabilities" "Language.LSP.Protocol.Internal.Types.RenameClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_prepareSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_prepareSupportDefaultBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrepareSupportDefaultBehavior)) :*: S1 ('MetaSel ('Just "_honorsChangeAnnotations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data RenameFile #

Rename file operation

Constructors

RenameFile |

Fields

- _annotationId :: Maybe ChangeAnnotationIdentifier

  An optional annotation identifier describing the operation.

  Since: 3.16.0

- _kind :: AString "rename"

  A rename

- _oldUri :: Uri

  The old (existing) location.

- _newUri :: Uri

  The new location.

- _options :: Maybe RenameFileOptions

  Rename options.

#### Instances

Instances details

FromJSON RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods parseJSON :: Value -> Parser RenameFile # parseJSONList :: Value -> Parser [RenameFile] # omittedField :: Maybe RenameFile #
ToJSON RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods toJSON :: RenameFile -> Value # toEncoding :: RenameFile -> Encoding # toJSONList :: [RenameFile] -> Value # toEncodingList :: [RenameFile] -> Encoding # omitField :: RenameFile -> Bool #
NFData RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods rnf :: RenameFile -> () #
Generic RenameFile # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFile

Associated Types

type Rep RenameFile |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFile

type Rep RenameFile = D1 ('MetaData "RenameFile" "Language.LSP.Protocol.Internal.Types.RenameFile" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier)) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "rename"))) :*: (S1 ('MetaSel ('Just "_oldUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: (S1 ('MetaSel ('Just "_newUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RenameFileOptions))))))

Methods

from :: RenameFile -> Rep RenameFile x #

to :: Rep RenameFile x -> RenameFile #

Show RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods showsPrec :: Int -> RenameFile -> ShowS # show :: RenameFile -> String # showList :: [RenameFile] -> ShowS #
Eq RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods (==) :: RenameFile -> RenameFile -> Bool # (/=) :: RenameFile -> RenameFile -> Bool #
Ord RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods compare :: RenameFile -> RenameFile -> Ordering # (<) :: RenameFile -> RenameFile -> Bool # (<=) :: RenameFile -> RenameFile -> Bool # (>) :: RenameFile -> RenameFile -> Bool # (>=) :: RenameFile -> RenameFile -> Bool # max :: RenameFile -> RenameFile -> RenameFile # min :: RenameFile -> RenameFile -> RenameFile #
Hashable RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods hashWithSalt :: Int -> RenameFile -> Int # hash :: RenameFile -> Int #
Pretty RenameFile # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFile Methods pretty :: RenameFile -> Doc ann # prettyList :: [RenameFile] -> Doc ann #
HasNewUri RenameFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods newUri :: Lens' RenameFile Uri #
HasOldUri RenameFile Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods oldUri :: Lens' RenameFile Uri #
HasAnnotationId RenameFile (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' RenameFile (Maybe ChangeAnnotationIdentifier) #
HasDocumentChanges WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) #
HasKind RenameFile (AString "rename") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' RenameFile (AString "rename") #
HasOptions RenameFile (Maybe RenameFileOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' RenameFile (Maybe RenameFileOptions) #
type Rep RenameFile # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFile

type Rep RenameFile = D1 ('MetaData "RenameFile" "Language.LSP.Protocol.Internal.Types.RenameFile" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameFile" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier)) :*: S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "rename"))) :*: (S1 ('MetaSel ('Just "_oldUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: (S1 ('MetaSel ('Just "_newUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_options") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RenameFileOptions))))))

data RenameFileOptions #

Rename file options

Constructors

RenameFileOptions |

Fields

- _overwrite :: Maybe Bool

  Overwrite target if existing. Overwrite wins over `ignoreIfExists`

- _ignoreIfExists :: Maybe Bool

  Ignores if target exists.

#### Instances

Instances details

FromJSON RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods parseJSON :: Value -> Parser RenameFileOptions # parseJSONList :: Value -> Parser [RenameFileOptions] # omittedField :: Maybe RenameFileOptions #
ToJSON RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods toJSON :: RenameFileOptions -> Value # toEncoding :: RenameFileOptions -> Encoding # toJSONList :: [RenameFileOptions] -> Value # toEncodingList :: [RenameFileOptions] -> Encoding # omitField :: RenameFileOptions -> Bool #
NFData RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods rnf :: RenameFileOptions -> () #
Generic RenameFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions

Associated Types

type Rep RenameFileOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions

type Rep RenameFileOptions = D1 ('MetaData "RenameFileOptions" "Language.LSP.Protocol.Internal.Types.RenameFileOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameFileOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_overwrite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_ignoreIfExists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: RenameFileOptions -> Rep RenameFileOptions x #

to :: Rep RenameFileOptions x -> RenameFileOptions #

Show RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods showsPrec :: Int -> RenameFileOptions -> ShowS # show :: RenameFileOptions -> String # showList :: [RenameFileOptions] -> ShowS #
Eq RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods (==) :: RenameFileOptions -> RenameFileOptions -> Bool # (/=) :: RenameFileOptions -> RenameFileOptions -> Bool #
Ord RenameFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions

Methods

compare :: RenameFileOptions -> RenameFileOptions -> Ordering #

(<) :: RenameFileOptions -> RenameFileOptions -> Bool #

(<=) :: RenameFileOptions -> RenameFileOptions -> Bool #

(>) :: RenameFileOptions -> RenameFileOptions -> Bool #

(>=) :: RenameFileOptions -> RenameFileOptions -> Bool #

max :: RenameFileOptions -> RenameFileOptions -> RenameFileOptions #

min :: RenameFileOptions -> RenameFileOptions -> RenameFileOptions #

Hashable RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods hashWithSalt :: Int -> RenameFileOptions -> Int # hash :: RenameFileOptions -> Int #
Pretty RenameFileOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions Methods pretty :: RenameFileOptions -> Doc ann # prettyList :: [RenameFileOptions] -> Doc ann #
HasIgnoreIfExists RenameFileOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods ignoreIfExists :: Lens' RenameFileOptions (Maybe Bool) #
HasOptions RenameFile (Maybe RenameFileOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods options :: Lens' RenameFile (Maybe RenameFileOptions) #
HasOverwrite RenameFileOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods overwrite :: Lens' RenameFileOptions (Maybe Bool) #
type Rep RenameFileOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameFileOptions

type Rep RenameFileOptions = D1 ('MetaData "RenameFileOptions" "Language.LSP.Protocol.Internal.Types.RenameFileOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameFileOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_overwrite") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_ignoreIfExists") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data RenameOptions #

Provider options for a `RenameRequest`.

Constructors

RenameOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _prepareProvider :: Maybe Bool

  Renames should be checked and tested before being executed.

  @since version 3.12.0

#### Instances

Instances details

FromJSON RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods parseJSON :: Value -> Parser RenameOptions # parseJSONList :: Value -> Parser [RenameOptions] # omittedField :: Maybe RenameOptions #
ToJSON RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods toJSON :: RenameOptions -> Value # toEncoding :: RenameOptions -> Encoding # toJSONList :: [RenameOptions] -> Value # toEncodingList :: [RenameOptions] -> Encoding # omitField :: RenameOptions -> Bool #
NFData RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods rnf :: RenameOptions -> () #
Generic RenameOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameOptions

Associated Types

type Rep RenameOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameOptions

type Rep RenameOptions = D1 ('MetaData "RenameOptions" "Language.LSP.Protocol.Internal.Types.RenameOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_prepareProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: RenameOptions -> Rep RenameOptions x #

to :: Rep RenameOptions x -> RenameOptions #

Show RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods showsPrec :: Int -> RenameOptions -> ShowS # show :: RenameOptions -> String # showList :: [RenameOptions] -> ShowS #
Eq RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods (==) :: RenameOptions -> RenameOptions -> Bool # (/=) :: RenameOptions -> RenameOptions -> Bool #
Ord RenameOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameOptions

Methods

compare :: RenameOptions -> RenameOptions -> Ordering #

(<) :: RenameOptions -> RenameOptions -> Bool #

(<=) :: RenameOptions -> RenameOptions -> Bool #

(>) :: RenameOptions -> RenameOptions -> Bool #

(>=) :: RenameOptions -> RenameOptions -> Bool #

max :: RenameOptions -> RenameOptions -> RenameOptions #

min :: RenameOptions -> RenameOptions -> RenameOptions #

Hashable RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods hashWithSalt :: Int -> RenameOptions -> Int # hash :: RenameOptions -> Int #
Pretty RenameOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.RenameOptions Methods pretty :: RenameOptions -> Doc ann # prettyList :: [RenameOptions] -> Doc ann #
HasPrepareProvider RenameOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods prepareProvider :: Lens' RenameOptions (Maybe Bool) #
HasRenameProvider ServerCapabilities (Maybe (Bool |? RenameOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods renameProvider :: Lens' ServerCapabilities (Maybe (Bool |? RenameOptions)) #
HasWorkDoneProgress RenameOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' RenameOptions (Maybe Bool) #
type Rep RenameOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.RenameOptions

type Rep RenameOptions = D1 ('MetaData "RenameOptions" "Language.LSP.Protocol.Internal.Types.RenameOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "RenameOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_prepareProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ResourceOperation #

A generic resource operation.

Constructors

ResourceOperation |

Fields

- _kind :: Text

  The resource operation kind.

- _annotationId :: Maybe ChangeAnnotationIdentifier

  An optional annotation identifier describing the operation.

  Since: 3.16.0

#### Instances

Instances details

FromJSON ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods parseJSON :: Value -> Parser ResourceOperation # parseJSONList :: Value -> Parser [ResourceOperation] # omittedField :: Maybe ResourceOperation #
ToJSON ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods toJSON :: ResourceOperation -> Value # toEncoding :: ResourceOperation -> Encoding # toJSONList :: [ResourceOperation] -> Value # toEncodingList :: [ResourceOperation] -> Encoding # omitField :: ResourceOperation -> Bool #
NFData ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods rnf :: ResourceOperation -> () #
Generic ResourceOperation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation

Associated Types

type Rep ResourceOperation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation

type Rep ResourceOperation = D1 ('MetaData "ResourceOperation" "Language.LSP.Protocol.Internal.Types.ResourceOperation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ResourceOperation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier))))

Methods

from :: ResourceOperation -> Rep ResourceOperation x #

to :: Rep ResourceOperation x -> ResourceOperation #

Show ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods showsPrec :: Int -> ResourceOperation -> ShowS # show :: ResourceOperation -> String # showList :: [ResourceOperation] -> ShowS #
Eq ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods (==) :: ResourceOperation -> ResourceOperation -> Bool # (/=) :: ResourceOperation -> ResourceOperation -> Bool #
Ord ResourceOperation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation

Methods

compare :: ResourceOperation -> ResourceOperation -> Ordering #

(<) :: ResourceOperation -> ResourceOperation -> Bool #

(<=) :: ResourceOperation -> ResourceOperation -> Bool #

(>) :: ResourceOperation -> ResourceOperation -> Bool #

(>=) :: ResourceOperation -> ResourceOperation -> Bool #

max :: ResourceOperation -> ResourceOperation -> ResourceOperation #

min :: ResourceOperation -> ResourceOperation -> ResourceOperation #

Hashable ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods hashWithSalt :: Int -> ResourceOperation -> Int # hash :: ResourceOperation -> Int #
Pretty ResourceOperation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation Methods pretty :: ResourceOperation -> Doc ann # prettyList :: [ResourceOperation] -> Doc ann #
HasKind ResourceOperation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' ResourceOperation Text #
HasAnnotationId ResourceOperation (Maybe ChangeAnnotationIdentifier) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods annotationId :: Lens' ResourceOperation (Maybe ChangeAnnotationIdentifier) #
type Rep ResourceOperation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperation

type Rep ResourceOperation = D1 ('MetaData "ResourceOperation" "Language.LSP.Protocol.Internal.Types.ResourceOperation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ResourceOperation" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_annotationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationIdentifier))))

data ResourceOperationKind #

Constructors

ResourceOperationKind_Create | Supports creating new files and folders.
ResourceOperationKind_Rename | Supports renaming existing files and folders.
ResourceOperationKind_Delete | Supports deleting existing files and folders.

#### Instances

Instances details

FromJSON ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods parseJSON :: Value -> Parser ResourceOperationKind # parseJSONList :: Value -> Parser [ResourceOperationKind] # omittedField :: Maybe ResourceOperationKind #
ToJSON ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods toJSON :: ResourceOperationKind -> Value # toEncoding :: ResourceOperationKind -> Encoding # toJSONList :: [ResourceOperationKind] -> Value # toEncodingList :: [ResourceOperationKind] -> Encoding # omitField :: ResourceOperationKind -> Bool #
NFData ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods rnf :: ResourceOperationKind -> () #
Generic ResourceOperationKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind

Associated Types

type Rep ResourceOperationKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind

type Rep ResourceOperationKind = D1 ('MetaData "ResourceOperationKind" "Language.LSP.Protocol.Internal.Types.ResourceOperationKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ResourceOperationKind_Create" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ResourceOperationKind_Rename" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ResourceOperationKind_Delete" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: ResourceOperationKind -> Rep ResourceOperationKind x #

to :: Rep ResourceOperationKind x -> ResourceOperationKind #

Show ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods showsPrec :: Int -> ResourceOperationKind -> ShowS # show :: ResourceOperationKind -> String # showList :: [ResourceOperationKind] -> ShowS #
Eq ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods (==) :: ResourceOperationKind -> ResourceOperationKind -> Bool # (/=) :: ResourceOperationKind -> ResourceOperationKind -> Bool #
Ord ResourceOperationKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind

Methods

compare :: ResourceOperationKind -> ResourceOperationKind -> Ordering #

(<) :: ResourceOperationKind -> ResourceOperationKind -> Bool #

(<=) :: ResourceOperationKind -> ResourceOperationKind -> Bool #

(>) :: ResourceOperationKind -> ResourceOperationKind -> Bool #

(>=) :: ResourceOperationKind -> ResourceOperationKind -> Bool #

max :: ResourceOperationKind -> ResourceOperationKind -> ResourceOperationKind #

min :: ResourceOperationKind -> ResourceOperationKind -> ResourceOperationKind #

Hashable ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods hashWithSalt :: Int -> ResourceOperationKind -> Int # hash :: ResourceOperationKind -> Int #
LspEnum ResourceOperationKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind

Associated Types

type EnumBaseType ResourceOperationKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind type EnumBaseType ResourceOperationKind = Text

Methods

knownValues :: Set ResourceOperationKind #

toEnumBaseType :: ResourceOperationKind -> EnumBaseType ResourceOperationKind #

fromEnumBaseType :: EnumBaseType ResourceOperationKind -> Maybe ResourceOperationKind #

Pretty ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind Methods pretty :: ResourceOperationKind -> Doc ann # prettyList :: [ResourceOperationKind] -> Doc ann #
HasResourceOperations WorkspaceEditClientCapabilities (Maybe [ResourceOperationKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resourceOperations :: Lens' WorkspaceEditClientCapabilities (Maybe [ResourceOperationKind]) #
type Rep ResourceOperationKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind

type Rep ResourceOperationKind = D1 ('MetaData "ResourceOperationKind" "Language.LSP.Protocol.Internal.Types.ResourceOperationKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ResourceOperationKind_Create" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ResourceOperationKind_Rename" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ResourceOperationKind_Delete" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType ResourceOperationKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ResourceOperationKind type EnumBaseType ResourceOperationKind = Text

data SaveOptions #

Save options.

Constructors

SaveOptions |

Fields

- _includeText :: Maybe Bool

  The client is supposed to include the content on save.

#### Instances

Instances details

FromJSON SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods parseJSON :: Value -> Parser SaveOptions # parseJSONList :: Value -> Parser [SaveOptions] # omittedField :: Maybe SaveOptions #
ToJSON SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods toJSON :: SaveOptions -> Value # toEncoding :: SaveOptions -> Encoding # toJSONList :: [SaveOptions] -> Value # toEncodingList :: [SaveOptions] -> Encoding # omitField :: SaveOptions -> Bool #
NFData SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods rnf :: SaveOptions -> () #
Generic SaveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SaveOptions

Associated Types

type Rep SaveOptions |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions type Rep SaveOptions = D1 ('MetaData "SaveOptions" "Language.LSP.Protocol.Internal.Types.SaveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SaveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_includeText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: SaveOptions -> Rep SaveOptions x #

to :: Rep SaveOptions x -> SaveOptions #

Show SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods showsPrec :: Int -> SaveOptions -> ShowS # show :: SaveOptions -> String # showList :: [SaveOptions] -> ShowS #
Eq SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods (==) :: SaveOptions -> SaveOptions -> Bool # (/=) :: SaveOptions -> SaveOptions -> Bool #
Ord SaveOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SaveOptions

Methods

compare :: SaveOptions -> SaveOptions -> Ordering #

(<) :: SaveOptions -> SaveOptions -> Bool #

(<=) :: SaveOptions -> SaveOptions -> Bool #

(>) :: SaveOptions -> SaveOptions -> Bool #

(>=) :: SaveOptions -> SaveOptions -> Bool #

max :: SaveOptions -> SaveOptions -> SaveOptions #

min :: SaveOptions -> SaveOptions -> SaveOptions #

Hashable SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods hashWithSalt :: Int -> SaveOptions -> Int # hash :: SaveOptions -> Int #
Pretty SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions Methods pretty :: SaveOptions -> Doc ann # prettyList :: [SaveOptions] -> Doc ann #
HasIncludeText SaveOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods includeText :: Lens' SaveOptions (Maybe Bool) #
HasSave TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods save :: Lens' TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) #
type Rep SaveOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SaveOptions type Rep SaveOptions = D1 ('MetaData "SaveOptions" "Language.LSP.Protocol.Internal.Types.SaveOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SaveOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_includeText") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data SelectionRangeClientCapabilities #

Constructors

SelectionRangeClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration for selection range providers. If this is set to `true` the client supports the new `SelectionRangeRegistrationOptions` return value for the corresponding server capability as well.

#### Instances

Instances details

FromJSON SelectionRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities Methods parseJSON :: Value -> Parser SelectionRangeClientCapabilities # parseJSONList :: Value -> Parser [SelectionRangeClientCapabilities] # omittedField :: Maybe SelectionRangeClientCapabilities #
ToJSON SelectionRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities

Methods

toJSON :: SelectionRangeClientCapabilities -> Value #

toEncoding :: SelectionRangeClientCapabilities -> Encoding #

toJSONList :: [SelectionRangeClientCapabilities] -> Value #

toEncodingList :: [SelectionRangeClientCapabilities] -> Encoding #

omitField :: SelectionRangeClientCapabilities -> Bool #

NFData SelectionRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities Methods rnf :: SelectionRangeClientCapabilities -> () #
Generic SelectionRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities

Associated Types

type Rep SelectionRangeClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities

type Rep SelectionRangeClientCapabilities = D1 ('MetaData "SelectionRangeClientCapabilities" "Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: SelectionRangeClientCapabilities -> Rep SelectionRangeClientCapabilities x #

to :: Rep SelectionRangeClientCapabilities x -> SelectionRangeClientCapabilities #

Show SelectionRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities Methods showsPrec :: Int -> SelectionRangeClientCapabilities -> ShowS # show :: SelectionRangeClientCapabilities -> String # showList :: [SelectionRangeClientCapabilities] -> ShowS #
Eq SelectionRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities Methods (==) :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Bool # (/=) :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Bool #
Ord SelectionRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities

Methods

compare :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Ordering #

(<) :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Bool #

(<=) :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Bool #

(>) :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Bool #

(>=) :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> Bool #

max :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities #

min :: SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities -> SelectionRangeClientCapabilities #

Hashable SelectionRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities Methods hashWithSalt :: Int -> SelectionRangeClientCapabilities -> Int # hash :: SelectionRangeClientCapabilities -> Int #
Pretty SelectionRangeClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities Methods pretty :: SelectionRangeClientCapabilities -> Doc ann # prettyList :: [SelectionRangeClientCapabilities] -> Doc ann #
HasDynamicRegistration SelectionRangeClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' SelectionRangeClientCapabilities (Maybe Bool) #
HasSelectionRange TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) #
type Rep SelectionRangeClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities

type Rep SelectionRangeClientCapabilities = D1 ('MetaData "SelectionRangeClientCapabilities" "Language.LSP.Protocol.Internal.Types.SelectionRangeClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data SelectionRangeOptions #

Constructors

SelectionRangeOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods parseJSON :: Value -> Parser SelectionRangeOptions # parseJSONList :: Value -> Parser [SelectionRangeOptions] # omittedField :: Maybe SelectionRangeOptions #
ToJSON SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods toJSON :: SelectionRangeOptions -> Value # toEncoding :: SelectionRangeOptions -> Encoding # toJSONList :: [SelectionRangeOptions] -> Value # toEncodingList :: [SelectionRangeOptions] -> Encoding # omitField :: SelectionRangeOptions -> Bool #
NFData SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods rnf :: SelectionRangeOptions -> () #
Generic SelectionRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions

Associated Types

type Rep SelectionRangeOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions

type Rep SelectionRangeOptions = D1 ('MetaData "SelectionRangeOptions" "Language.LSP.Protocol.Internal.Types.SelectionRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: SelectionRangeOptions -> Rep SelectionRangeOptions x #

to :: Rep SelectionRangeOptions x -> SelectionRangeOptions #

Show SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods showsPrec :: Int -> SelectionRangeOptions -> ShowS # show :: SelectionRangeOptions -> String # showList :: [SelectionRangeOptions] -> ShowS #
Eq SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods (==) :: SelectionRangeOptions -> SelectionRangeOptions -> Bool # (/=) :: SelectionRangeOptions -> SelectionRangeOptions -> Bool #
Ord SelectionRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions

Methods

compare :: SelectionRangeOptions -> SelectionRangeOptions -> Ordering #

(<) :: SelectionRangeOptions -> SelectionRangeOptions -> Bool #

(<=) :: SelectionRangeOptions -> SelectionRangeOptions -> Bool #

(>) :: SelectionRangeOptions -> SelectionRangeOptions -> Bool #

(>=) :: SelectionRangeOptions -> SelectionRangeOptions -> Bool #

max :: SelectionRangeOptions -> SelectionRangeOptions -> SelectionRangeOptions #

min :: SelectionRangeOptions -> SelectionRangeOptions -> SelectionRangeOptions #

Hashable SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods hashWithSalt :: Int -> SelectionRangeOptions -> Int # hash :: SelectionRangeOptions -> Int #
Pretty SelectionRangeOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions Methods pretty :: SelectionRangeOptions -> Doc ann # prettyList :: [SelectionRangeOptions] -> Doc ann #
HasSelectionRangeProvider ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) #
HasWorkDoneProgress SelectionRangeOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' SelectionRangeOptions (Maybe Bool) #
type Rep SelectionRangeOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SelectionRangeOptions

type Rep SelectionRangeOptions = D1 ('MetaData "SelectionRangeOptions" "Language.LSP.Protocol.Internal.Types.SelectionRangeOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SelectionRangeOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data SemanticTokensClientCapabilities #

Since: 3.16.0

Constructors

SemanticTokensClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration. If this is set to `true` the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)` return value for the corresponding server capability as well.

- _requests :: ClientSemanticTokensRequestOptions

  Which requests the client supports and might send to the server depending on the server's capability. Please note that clients might not show semantic tokens or degrade some of the user experience if a range or full request is advertised by the client but not provided by the server. If for example the client capability `requests.full` and `request.range` are both set to true but the server only provides a range provider the client might not render a minimap correctly or might even decide to not show any semantic tokens at all.

- _tokenTypes :: [Text]

  The token types that the client supports.

- _tokenModifiers :: [Text]

  The token modifiers that the client supports.

- _formats :: [TokenFormat]

  The token formats the clients supports.

- _overlappingTokenSupport :: Maybe Bool

  Whether the client supports tokens that can overlap each other.

- _multilineTokenSupport :: Maybe Bool

  Whether the client supports tokens that can span multiple lines.

- _serverCancelSupport :: Maybe Bool

  Whether the client allows the server to actively cancel a semantic token request, e.g. supports returning LSPErrorCodes.ServerCancelled. If a server does the client needs to retrigger the request.

  Since: 3.17.0

- _augmentsSyntaxTokens :: Maybe Bool

  Whether the client uses semantic tokens to augment existing syntax tokens. If set to `true` client side created syntax tokens and semantic tokens are both used for colorization. If set to `false` the client only uses the returned semantic tokens for colorization.

  If the value is `undefined` then the client behavior is not specified.

  Since: 3.17.0

#### Instances

Instances details

FromJSON SemanticTokensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities Methods parseJSON :: Value -> Parser SemanticTokensClientCapabilities # parseJSONList :: Value -> Parser [SemanticTokensClientCapabilities] # omittedField :: Maybe SemanticTokensClientCapabilities #
ToJSON SemanticTokensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities

Methods

toJSON :: SemanticTokensClientCapabilities -> Value #

toEncoding :: SemanticTokensClientCapabilities -> Encoding #

toJSONList :: [SemanticTokensClientCapabilities] -> Value #

toEncodingList :: [SemanticTokensClientCapabilities] -> Encoding #

omitField :: SemanticTokensClientCapabilities -> Bool #

NFData SemanticTokensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities Methods rnf :: SemanticTokensClientCapabilities -> () #
Generic SemanticTokensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities

Associated Types

type Rep SemanticTokensClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities

type Rep SemanticTokensClientCapabilities = D1 ('MetaData "SemanticTokensClientCapabilities" "Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensClientCapabilities" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_requests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientSemanticTokensRequestOptions)) :*: (S1 ('MetaSel ('Just "_tokenTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_tokenModifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))) :*: ((S1 ('MetaSel ('Just "_formats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TokenFormat]) :*: S1 ('MetaSel ('Just "_overlappingTokenSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_multilineTokenSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_serverCancelSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_augmentsSyntaxTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

Methods

from :: SemanticTokensClientCapabilities -> Rep SemanticTokensClientCapabilities x #

to :: Rep SemanticTokensClientCapabilities x -> SemanticTokensClientCapabilities #

Show SemanticTokensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities Methods showsPrec :: Int -> SemanticTokensClientCapabilities -> ShowS # show :: SemanticTokensClientCapabilities -> String # showList :: [SemanticTokensClientCapabilities] -> ShowS #
Eq SemanticTokensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities Methods (==) :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Bool # (/=) :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Bool #
Ord SemanticTokensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities

Methods

compare :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Ordering #

(<) :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Bool #

(<=) :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Bool #

(>) :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Bool #

(>=) :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> Bool #

max :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities #

min :: SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities -> SemanticTokensClientCapabilities #

Hashable SemanticTokensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities Methods hashWithSalt :: Int -> SemanticTokensClientCapabilities -> Int # hash :: SemanticTokensClientCapabilities -> Int #
Pretty SemanticTokensClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities Methods pretty :: SemanticTokensClientCapabilities -> Doc ann # prettyList :: [SemanticTokensClientCapabilities] -> Doc ann #
HasRequests SemanticTokensClientCapabilities ClientSemanticTokensRequestOptions # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods requests :: Lens' SemanticTokensClientCapabilities ClientSemanticTokensRequestOptions #
HasAugmentsSyntaxTokens SemanticTokensClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods augmentsSyntaxTokens :: Lens' SemanticTokensClientCapabilities (Maybe Bool) #
HasDynamicRegistration SemanticTokensClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' SemanticTokensClientCapabilities (Maybe Bool) #
HasFormats SemanticTokensClientCapabilities [TokenFormat] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods formats :: Lens' SemanticTokensClientCapabilities [TokenFormat] #
HasMultilineTokenSupport SemanticTokensClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods multilineTokenSupport :: Lens' SemanticTokensClientCapabilities (Maybe Bool) #
HasOverlappingTokenSupport SemanticTokensClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods overlappingTokenSupport :: Lens' SemanticTokensClientCapabilities (Maybe Bool) #
HasSemanticTokens TextDocumentClientCapabilities (Maybe SemanticTokensClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokens :: Lens' TextDocumentClientCapabilities (Maybe SemanticTokensClientCapabilities) #
HasServerCancelSupport SemanticTokensClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods serverCancelSupport :: Lens' SemanticTokensClientCapabilities (Maybe Bool) #
HasTokenModifiers SemanticTokensClientCapabilities [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenModifiers :: Lens' SemanticTokensClientCapabilities [Text] #
HasTokenTypes SemanticTokensClientCapabilities [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tokenTypes :: Lens' SemanticTokensClientCapabilities [Text] #
type Rep SemanticTokensClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities

type Rep SemanticTokensClientCapabilities = D1 ('MetaData "SemanticTokensClientCapabilities" "Language.LSP.Protocol.Internal.Types.SemanticTokensClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensClientCapabilities" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_requests") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientSemanticTokensRequestOptions)) :*: (S1 ('MetaSel ('Just "_tokenTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "_tokenModifiers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))) :*: ((S1 ('MetaSel ('Just "_formats") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TokenFormat]) :*: S1 ('MetaSel ('Just "_overlappingTokenSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_multilineTokenSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_serverCancelSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_augmentsSyntaxTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))))

data SemanticTokensDeltaPartialResult #

Since: 3.16.0

Constructors

SemanticTokensDeltaPartialResult |

Fields

- _edits :: [SemanticTokensEdit]

#### Instances

Instances details

FromJSON SemanticTokensDeltaPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult Methods parseJSON :: Value -> Parser SemanticTokensDeltaPartialResult # parseJSONList :: Value -> Parser [SemanticTokensDeltaPartialResult] # omittedField :: Maybe SemanticTokensDeltaPartialResult #
ToJSON SemanticTokensDeltaPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult

Methods

toJSON :: SemanticTokensDeltaPartialResult -> Value #

toEncoding :: SemanticTokensDeltaPartialResult -> Encoding #

toJSONList :: [SemanticTokensDeltaPartialResult] -> Value #

toEncodingList :: [SemanticTokensDeltaPartialResult] -> Encoding #

omitField :: SemanticTokensDeltaPartialResult -> Bool #

NFData SemanticTokensDeltaPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult Methods rnf :: SemanticTokensDeltaPartialResult -> () #
Generic SemanticTokensDeltaPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult

Associated Types

type Rep SemanticTokensDeltaPartialResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult

type Rep SemanticTokensDeltaPartialResult = D1 ('MetaData "SemanticTokensDeltaPartialResult" "Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensDeltaPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_edits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SemanticTokensEdit])))

Methods

from :: SemanticTokensDeltaPartialResult -> Rep SemanticTokensDeltaPartialResult x #

to :: Rep SemanticTokensDeltaPartialResult x -> SemanticTokensDeltaPartialResult #

Show SemanticTokensDeltaPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult Methods showsPrec :: Int -> SemanticTokensDeltaPartialResult -> ShowS # show :: SemanticTokensDeltaPartialResult -> String # showList :: [SemanticTokensDeltaPartialResult] -> ShowS #
Eq SemanticTokensDeltaPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult Methods (==) :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Bool # (/=) :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Bool #
Ord SemanticTokensDeltaPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult

Methods

compare :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Ordering #

(<) :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Bool #

(<=) :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Bool #

(>) :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Bool #

(>=) :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> Bool #

max :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult #

min :: SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult -> SemanticTokensDeltaPartialResult #

Hashable SemanticTokensDeltaPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult Methods hashWithSalt :: Int -> SemanticTokensDeltaPartialResult -> Int # hash :: SemanticTokensDeltaPartialResult -> Int #
Pretty SemanticTokensDeltaPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult Methods pretty :: SemanticTokensDeltaPartialResult -> Doc ann # prettyList :: [SemanticTokensDeltaPartialResult] -> Doc ann #
HasEdits SemanticTokensDeltaPartialResult [SemanticTokensEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' SemanticTokensDeltaPartialResult [SemanticTokensEdit] #
type Rep SemanticTokensDeltaPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult

type Rep SemanticTokensDeltaPartialResult = D1 ('MetaData "SemanticTokensDeltaPartialResult" "Language.LSP.Protocol.Internal.Types.SemanticTokensDeltaPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensDeltaPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_edits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [SemanticTokensEdit])))

data SemanticTokensFullDelta #

Semantic tokens options to support deltas for full documents

@proposed

Since: 3.18.0

Constructors

SemanticTokensFullDelta |

Fields

- _delta :: Maybe Bool

  The server supports deltas for full documents.

#### Instances

Instances details

FromJSON SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods parseJSON :: Value -> Parser SemanticTokensFullDelta # parseJSONList :: Value -> Parser [SemanticTokensFullDelta] # omittedField :: Maybe SemanticTokensFullDelta #
ToJSON SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods toJSON :: SemanticTokensFullDelta -> Value # toEncoding :: SemanticTokensFullDelta -> Encoding # toJSONList :: [SemanticTokensFullDelta] -> Value # toEncodingList :: [SemanticTokensFullDelta] -> Encoding # omitField :: SemanticTokensFullDelta -> Bool #
NFData SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods rnf :: SemanticTokensFullDelta -> () #
Generic SemanticTokensFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta

Associated Types

type Rep SemanticTokensFullDelta |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta

type Rep SemanticTokensFullDelta = D1 ('MetaData "SemanticTokensFullDelta" "Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensFullDelta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: SemanticTokensFullDelta -> Rep SemanticTokensFullDelta x #

to :: Rep SemanticTokensFullDelta x -> SemanticTokensFullDelta #

Show SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods showsPrec :: Int -> SemanticTokensFullDelta -> ShowS # show :: SemanticTokensFullDelta -> String # showList :: [SemanticTokensFullDelta] -> ShowS #
Eq SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods (==) :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Bool # (/=) :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Bool #
Ord SemanticTokensFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta

Methods

compare :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Ordering #

(<) :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Bool #

(<=) :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Bool #

(>) :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Bool #

(>=) :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> Bool #

max :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> SemanticTokensFullDelta #

min :: SemanticTokensFullDelta -> SemanticTokensFullDelta -> SemanticTokensFullDelta #

Hashable SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods hashWithSalt :: Int -> SemanticTokensFullDelta -> Int # hash :: SemanticTokensFullDelta -> Int #
Pretty SemanticTokensFullDelta # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta Methods pretty :: SemanticTokensFullDelta -> Doc ann # prettyList :: [SemanticTokensFullDelta] -> Doc ann #
HasDelta SemanticTokensFullDelta (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods delta :: Lens' SemanticTokensFullDelta (Maybe Bool) #
HasFull SemanticTokensOptions (Maybe (Bool |? SemanticTokensFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' SemanticTokensOptions (Maybe (Bool |? SemanticTokensFullDelta)) #
HasFull SemanticTokensRegistrationOptions (Maybe (Bool |? SemanticTokensFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' SemanticTokensRegistrationOptions (Maybe (Bool |? SemanticTokensFullDelta)) #
type Rep SemanticTokensFullDelta # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta

type Rep SemanticTokensFullDelta = D1 ('MetaData "SemanticTokensFullDelta" "Language.LSP.Protocol.Internal.Types.SemanticTokensFullDelta" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensFullDelta" 'PrefixI 'True) (S1 ('MetaSel ('Just "_delta") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data SemanticTokensOptions #

Since: 3.16.0

Constructors

SemanticTokensOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _legend :: SemanticTokensLegend

  The legend used by the server

- _range :: Maybe (Bool |? Rec (Empty :: Row Type))

  Server supports providing semantic tokens for a specific range of a document.

- _full :: Maybe (Bool |? SemanticTokensFullDelta)

  Server supports providing semantic tokens for a full document.

#### Instances

Instances details

FromJSON SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods parseJSON :: Value -> Parser SemanticTokensOptions # parseJSONList :: Value -> Parser [SemanticTokensOptions] # omittedField :: Maybe SemanticTokensOptions #
ToJSON SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods toJSON :: SemanticTokensOptions -> Value # toEncoding :: SemanticTokensOptions -> Encoding # toJSONList :: [SemanticTokensOptions] -> Value # toEncodingList :: [SemanticTokensOptions] -> Encoding # omitField :: SemanticTokensOptions -> Bool #
NFData SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods rnf :: SemanticTokensOptions -> () #
Generic SemanticTokensOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions

Associated Types

type Rep SemanticTokensOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions

type Rep SemanticTokensOptions = D1 ('MetaData "SemanticTokensOptions" "Language.LSP.Protocol.Internal.Types.SemanticTokensOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_legend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SemanticTokensLegend)) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? Rec (Empty :: Row Type)))) :*: S1 ('MetaSel ('Just "_full") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? SemanticTokensFullDelta))))))

Methods

from :: SemanticTokensOptions -> Rep SemanticTokensOptions x #

to :: Rep SemanticTokensOptions x -> SemanticTokensOptions #

Show SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods showsPrec :: Int -> SemanticTokensOptions -> ShowS # show :: SemanticTokensOptions -> String # showList :: [SemanticTokensOptions] -> ShowS #
Eq SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods (==) :: SemanticTokensOptions -> SemanticTokensOptions -> Bool # (/=) :: SemanticTokensOptions -> SemanticTokensOptions -> Bool #
Ord SemanticTokensOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions

Methods

compare :: SemanticTokensOptions -> SemanticTokensOptions -> Ordering #

(<) :: SemanticTokensOptions -> SemanticTokensOptions -> Bool #

(<=) :: SemanticTokensOptions -> SemanticTokensOptions -> Bool #

(>) :: SemanticTokensOptions -> SemanticTokensOptions -> Bool #

(>=) :: SemanticTokensOptions -> SemanticTokensOptions -> Bool #

max :: SemanticTokensOptions -> SemanticTokensOptions -> SemanticTokensOptions #

min :: SemanticTokensOptions -> SemanticTokensOptions -> SemanticTokensOptions #

Hashable SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods hashWithSalt :: Int -> SemanticTokensOptions -> Int # hash :: SemanticTokensOptions -> Int #
Pretty SemanticTokensOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions Methods pretty :: SemanticTokensOptions -> Doc ann # prettyList :: [SemanticTokensOptions] -> Doc ann #
HasLegend SemanticTokensOptions SemanticTokensLegend # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods legend :: Lens' SemanticTokensOptions SemanticTokensLegend #
HasFull SemanticTokensOptions (Maybe (Bool |? SemanticTokensFullDelta)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods full :: Lens' SemanticTokensOptions (Maybe (Bool |? SemanticTokensFullDelta)) #
HasRange SemanticTokensOptions (Maybe (Bool |? Rec (Empty :: Row Type))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' SemanticTokensOptions (Maybe (Bool |? Rec (Empty :: Row Type))) #
HasSemanticTokensProvider ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokensProvider :: Lens' ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) #
HasWorkDoneProgress SemanticTokensOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' SemanticTokensOptions (Maybe Bool) #
type Rep SemanticTokensOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensOptions

type Rep SemanticTokensOptions = D1 ('MetaData "SemanticTokensOptions" "Language.LSP.Protocol.Internal.Types.SemanticTokensOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_legend") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SemanticTokensLegend)) :*: (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? Rec (Empty :: Row Type)))) :*: S1 ('MetaSel ('Just "_full") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? SemanticTokensFullDelta))))))

data SemanticTokensPartialResult #

Since: 3.16.0

Constructors

SemanticTokensPartialResult |

Fields

- _data_ :: [UInt]

#### Instances

Instances details

FromJSON SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods parseJSON :: Value -> Parser SemanticTokensPartialResult # parseJSONList :: Value -> Parser [SemanticTokensPartialResult] # omittedField :: Maybe SemanticTokensPartialResult #
ToJSON SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods toJSON :: SemanticTokensPartialResult -> Value # toEncoding :: SemanticTokensPartialResult -> Encoding # toJSONList :: [SemanticTokensPartialResult] -> Value # toEncodingList :: [SemanticTokensPartialResult] -> Encoding # omitField :: SemanticTokensPartialResult -> Bool #
NFData SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods rnf :: SemanticTokensPartialResult -> () #
Generic SemanticTokensPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult

Associated Types

type Rep SemanticTokensPartialResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult

type Rep SemanticTokensPartialResult = D1 ('MetaData "SemanticTokensPartialResult" "Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UInt])))

Methods

from :: SemanticTokensPartialResult -> Rep SemanticTokensPartialResult x #

to :: Rep SemanticTokensPartialResult x -> SemanticTokensPartialResult #

Show SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods showsPrec :: Int -> SemanticTokensPartialResult -> ShowS # show :: SemanticTokensPartialResult -> String # showList :: [SemanticTokensPartialResult] -> ShowS #
Eq SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods (==) :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Bool # (/=) :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Bool #
Ord SemanticTokensPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult

Methods

compare :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Ordering #

(<) :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Bool #

(<=) :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Bool #

(>) :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Bool #

(>=) :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> Bool #

max :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> SemanticTokensPartialResult #

min :: SemanticTokensPartialResult -> SemanticTokensPartialResult -> SemanticTokensPartialResult #

Hashable SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods hashWithSalt :: Int -> SemanticTokensPartialResult -> Int # hash :: SemanticTokensPartialResult -> Int #
Pretty SemanticTokensPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult Methods pretty :: SemanticTokensPartialResult -> Doc ann # prettyList :: [SemanticTokensPartialResult] -> Doc ann #
HasData_ SemanticTokensPartialResult [UInt] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods data_ :: Lens' SemanticTokensPartialResult [UInt] #
type Rep SemanticTokensPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult

type Rep SemanticTokensPartialResult = D1 ('MetaData "SemanticTokensPartialResult" "Language.LSP.Protocol.Internal.Types.SemanticTokensPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_data_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UInt])))

data SemanticTokensWorkspaceClientCapabilities #

Since: 3.16.0

Constructors

SemanticTokensWorkspaceClientCapabilities |

Fields

- _refreshSupport :: Maybe Bool

  Whether the client implementation supports a refresh request sent from the server to the client.

  Note that this event is global and will force the client to refresh all semantic tokens currently shown. It should be used with absolute care and is useful for situation where a server for example detects a project wide change that requires such a calculation.

#### Instances

Instances details

FromJSON SemanticTokensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities Methods parseJSON :: Value -> Parser SemanticTokensWorkspaceClientCapabilities # parseJSONList :: Value -> Parser [SemanticTokensWorkspaceClientCapabilities] # omittedField :: Maybe SemanticTokensWorkspaceClientCapabilities #
ToJSON SemanticTokensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities

Methods

toJSON :: SemanticTokensWorkspaceClientCapabilities -> Value #

toEncoding :: SemanticTokensWorkspaceClientCapabilities -> Encoding #

toJSONList :: [SemanticTokensWorkspaceClientCapabilities] -> Value #

toEncodingList :: [SemanticTokensWorkspaceClientCapabilities] -> Encoding #

omitField :: SemanticTokensWorkspaceClientCapabilities -> Bool #

NFData SemanticTokensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities Methods rnf :: SemanticTokensWorkspaceClientCapabilities -> () #
Generic SemanticTokensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities

Associated Types

type Rep SemanticTokensWorkspaceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities

type Rep SemanticTokensWorkspaceClientCapabilities = D1 ('MetaData "SemanticTokensWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: SemanticTokensWorkspaceClientCapabilities -> Rep SemanticTokensWorkspaceClientCapabilities x #

to :: Rep SemanticTokensWorkspaceClientCapabilities x -> SemanticTokensWorkspaceClientCapabilities #

Show SemanticTokensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities Methods showsPrec :: Int -> SemanticTokensWorkspaceClientCapabilities -> ShowS # show :: SemanticTokensWorkspaceClientCapabilities -> String # showList :: [SemanticTokensWorkspaceClientCapabilities] -> ShowS #
Eq SemanticTokensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities Methods (==) :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Bool # (/=) :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Bool #
Ord SemanticTokensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities

Methods

compare :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Ordering #

(<) :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Bool #

(<=) :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Bool #

(>) :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Bool #

(>=) :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> Bool #

max :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities #

min :: SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities -> SemanticTokensWorkspaceClientCapabilities #

Hashable SemanticTokensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities Methods hashWithSalt :: Int -> SemanticTokensWorkspaceClientCapabilities -> Int # hash :: SemanticTokensWorkspaceClientCapabilities -> Int #
Pretty SemanticTokensWorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities Methods pretty :: SemanticTokensWorkspaceClientCapabilities -> Doc ann # prettyList :: [SemanticTokensWorkspaceClientCapabilities] -> Doc ann #
HasRefreshSupport SemanticTokensWorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods refreshSupport :: Lens' SemanticTokensWorkspaceClientCapabilities (Maybe Bool) #
HasSemanticTokens WorkspaceClientCapabilities (Maybe SemanticTokensWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokens :: Lens' WorkspaceClientCapabilities (Maybe SemanticTokensWorkspaceClientCapabilities) #
type Rep SemanticTokensWorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities

type Rep SemanticTokensWorkspaceClientCapabilities = D1 ('MetaData "SemanticTokensWorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.SemanticTokensWorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SemanticTokensWorkspaceClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_refreshSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ServerCapabilities #

Defines the capabilities provided by a language server.

Constructors

ServerCapabilities |

Fields

- _positionEncoding :: Maybe PositionEncodingKind

  The position encoding the server picked from the encodings offered by the client via the client capability `general.positionEncodings`.

  If the client didn't provide any position encodings the only valid value that a server can return is 'utf-16'.

  If omitted it defaults to 'utf-16'.

  Since: 3.17.0

- _textDocumentSync :: Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)

  Defines how text documents are synced. Is either a detailed structure defining each notification or for backwards compatibility the TextDocumentSyncKind number.

- _notebookDocumentSync :: Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)

  Defines how notebook documents are synced.

  Since: 3.17.0

- _completionProvider :: Maybe CompletionOptions

  The server provides completion support.

- _hoverProvider :: Maybe (Bool |? HoverOptions)

  The server provides hover support.

- _signatureHelpProvider :: Maybe SignatureHelpOptions

  The server provides signature help support.

- _declarationProvider :: Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))

  The server provides Goto Declaration support.

- _definitionProvider :: Maybe (Bool |? DefinitionOptions)

  The server provides goto definition support.

- _typeDefinitionProvider :: Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))

  The server provides Goto Type Definition support.

- _implementationProvider :: Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))

  The server provides Goto Implementation support.

- _referencesProvider :: Maybe (Bool |? ReferenceOptions)

  The server provides find references support.

- _documentHighlightProvider :: Maybe (Bool |? DocumentHighlightOptions)

  The server provides document highlight support.

- _documentSymbolProvider :: Maybe (Bool |? DocumentSymbolOptions)

  The server provides document symbol support.

- _codeActionProvider :: Maybe (Bool |? CodeActionOptions)

  The server provides code actions. CodeActionOptions may only be specified if the client states that it supports `codeActionLiteralSupport` in its initial `initialize` request.

- _codeLensProvider :: Maybe CodeLensOptions

  The server provides code lens.

- _documentLinkProvider :: Maybe DocumentLinkOptions

  The server provides document link support.

- _colorProvider :: Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))

  The server provides color provider support.

- _workspaceSymbolProvider :: Maybe (Bool |? WorkspaceSymbolOptions)

  The server provides workspace symbol support.

- _documentFormattingProvider :: Maybe (Bool |? DocumentFormattingOptions)

  The server provides document formatting.

- _documentRangeFormattingProvider :: Maybe (Bool |? DocumentRangeFormattingOptions)

  The server provides document range formatting.

- _documentOnTypeFormattingProvider :: Maybe DocumentOnTypeFormattingOptions

  The server provides document formatting on typing.

- _renameProvider :: Maybe (Bool |? RenameOptions)

  The server provides rename support. RenameOptions may only be specified if the client states that it supports `prepareSupport` in its initial `initialize` request.

- _foldingRangeProvider :: Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))

  The server provides folding provider support.

- _selectionRangeProvider :: Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))

  The server provides selection range support.

- _executeCommandProvider :: Maybe ExecuteCommandOptions

  The server provides execute command support.

- _callHierarchyProvider :: Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))

  The server provides call hierarchy support.

  Since: 3.16.0

- _linkedEditingRangeProvider :: Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))

  The server provides linked editing range support.

  Since: 3.16.0

- _semanticTokensProvider :: Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)

  The server provides semantic tokens support.

  Since: 3.16.0

- _monikerProvider :: Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))

  The server provides moniker support.

  Since: 3.16.0

- _typeHierarchyProvider :: Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))

  The server provides type hierarchy support.

  Since: 3.17.0

- _inlineValueProvider :: Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))

  The server provides inline values.

  Since: 3.17.0

- _inlayHintProvider :: Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))

  The server provides inlay hints.

  Since: 3.17.0

- _diagnosticProvider :: Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)

  The server has support for pull model diagnostics.

  Since: 3.17.0

- _workspace :: Maybe WorkspaceOptions

  Workspace specific server capabilities.

- _experimental :: Maybe Value

  Experimental server capabilities.

#### Instances

Instances details

FromJSON ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods parseJSON :: Value -> Parser ServerCapabilities # parseJSONList :: Value -> Parser [ServerCapabilities] # omittedField :: Maybe ServerCapabilities #
ToJSON ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods toJSON :: ServerCapabilities -> Value # toEncoding :: ServerCapabilities -> Encoding # toJSONList :: [ServerCapabilities] -> Value # toEncodingList :: [ServerCapabilities] -> Encoding # omitField :: ServerCapabilities -> Bool #
NFData ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods rnf :: ServerCapabilities -> () #
Generic ServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities

Associated Types

type Rep ServerCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities

type Rep ServerCapabilities = D1 ('MetaData "ServerCapabilities" "Language.LSP.Protocol.Internal.Types.ServerCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ServerCapabilities" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "_positionEncoding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PositionEncodingKind)) :*: S1 ('MetaSel ('Just "_textDocumentSync") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)))) :*: (S1 ('MetaSel ('Just "_notebookDocumentSync") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions))) :*: S1 ('MetaSel ('Just "_completionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionOptions)))) :*: ((S1 ('MetaSel ('Just "_hoverProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? HoverOptions))) :*: S1 ('MetaSel ('Just "_signatureHelpProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelpOptions))) :*: (S1 ('MetaSel ('Just "_declarationProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_definitionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DefinitionOptions)))))) :*: (((S1 ('MetaSel ('Just "_typeDefinitionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_implementationProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))))) :*: (S1 ('MetaSel ('Just "_referencesProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? ReferenceOptions))) :*: S1 ('MetaSel ('Just "_documentHighlightProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentHighlightOptions))))) :*: ((S1 ('MetaSel ('Just "_documentSymbolProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentSymbolOptions))) :*: S1 ('MetaSel ('Just "_codeActionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? CodeActionOptions)))) :*: (S1 ('MetaSel ('Just "_codeLensProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeLensOptions)) :*: (S1 ('MetaSel ('Just "_documentLinkProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentLinkOptions)) :*: S1 ('MetaSel ('Just "_colorProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))))))))) :*: ((((S1 ('MetaSel ('Just "_workspaceSymbolProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? WorkspaceSymbolOptions))) :*: S1 ('MetaSel ('Just "_documentFormattingProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentFormattingOptions)))) :*: (S1 ('MetaSel ('Just "_documentRangeFormattingProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentRangeFormattingOptions))) :*: S1 ('MetaSel ('Just "_documentOnTypeFormattingProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentOnTypeFormattingOptions)))) :*: ((S1 ('MetaSel ('Just "_renameProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? RenameOptions))) :*: S1 ('MetaSel ('Just "_foldingRangeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))))) :*: (S1 ('MetaSel ('Just "_selectionRangeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions)))) :*: (S1 ('MetaSel ('Just "_executeCommandProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecuteCommandOptions)) :*: S1 ('MetaSel ('Just "_callHierarchyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions)))))))) :*: (((S1 ('MetaSel ('Just "_linkedEditingRangeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_semanticTokensProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)))) :*: (S1 ('MetaSel ('Just "_monikerProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_typeHierarchyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions)))))) :*: ((S1 ('MetaSel ('Just "_inlineValueProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_inlayHintProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))))) :*: (S1 ('MetaSel ('Just "_diagnosticProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions))) :*: (S1 ('MetaSel ('Just "_workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceOptions)) :*: S1 ('MetaSel ('Just "_experimental") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))))))

Methods

from :: ServerCapabilities -> Rep ServerCapabilities x #

to :: Rep ServerCapabilities x -> ServerCapabilities #

Show ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods showsPrec :: Int -> ServerCapabilities -> ShowS # show :: ServerCapabilities -> String # showList :: [ServerCapabilities] -> ShowS #
Eq ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods (==) :: ServerCapabilities -> ServerCapabilities -> Bool # (/=) :: ServerCapabilities -> ServerCapabilities -> Bool #
Ord ServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities

Methods

compare :: ServerCapabilities -> ServerCapabilities -> Ordering #

(<) :: ServerCapabilities -> ServerCapabilities -> Bool #

(<=) :: ServerCapabilities -> ServerCapabilities -> Bool #

(>) :: ServerCapabilities -> ServerCapabilities -> Bool #

(>=) :: ServerCapabilities -> ServerCapabilities -> Bool #

max :: ServerCapabilities -> ServerCapabilities -> ServerCapabilities #

min :: ServerCapabilities -> ServerCapabilities -> ServerCapabilities #

Hashable ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods hashWithSalt :: Int -> ServerCapabilities -> Int # hash :: ServerCapabilities -> Int #
Pretty ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities Methods pretty :: ServerCapabilities -> Doc ann # prettyList :: [ServerCapabilities] -> Doc ann #
HasCapabilities InitializeResult ServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods capabilities :: Lens' InitializeResult ServerCapabilities #
HasCallHierarchyProvider ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods callHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions))) #
HasCodeActionProvider ServerCapabilities (Maybe (Bool |? CodeActionOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeActionProvider :: Lens' ServerCapabilities (Maybe (Bool |? CodeActionOptions)) #
HasCodeLensProvider ServerCapabilities (Maybe CodeLensOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeLensProvider :: Lens' ServerCapabilities (Maybe CodeLensOptions) #
HasColorProvider ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods colorProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))) #
HasCompletionProvider ServerCapabilities (Maybe CompletionOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionProvider :: Lens' ServerCapabilities (Maybe CompletionOptions) #
HasDeclarationProvider ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods declarationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions))) #
HasDefinitionProvider ServerCapabilities (Maybe (Bool |? DefinitionOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods definitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? DefinitionOptions)) #
HasDiagnosticProvider ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnosticProvider :: Lens' ServerCapabilities (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions)) #
HasDocumentFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentFormattingProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentFormattingOptions)) #
HasDocumentHighlightProvider ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentHighlightProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentHighlightOptions)) #
HasDocumentLinkProvider ServerCapabilities (Maybe DocumentLinkOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentLinkProvider :: Lens' ServerCapabilities (Maybe DocumentLinkOptions) #
HasDocumentOnTypeFormattingProvider ServerCapabilities (Maybe DocumentOnTypeFormattingOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentOnTypeFormattingProvider :: Lens' ServerCapabilities (Maybe DocumentOnTypeFormattingOptions) #
HasDocumentRangeFormattingProvider ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentRangeFormattingProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentRangeFormattingOptions)) #
HasDocumentSymbolProvider ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSymbolProvider :: Lens' ServerCapabilities (Maybe (Bool |? DocumentSymbolOptions)) #
HasExecuteCommandProvider ServerCapabilities (Maybe ExecuteCommandOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executeCommandProvider :: Lens' ServerCapabilities (Maybe ExecuteCommandOptions) #
HasExperimental ServerCapabilities (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods experimental :: Lens' ServerCapabilities (Maybe Value) #
HasFoldingRangeProvider ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))) #
HasHoverProvider ServerCapabilities (Maybe (Bool |? HoverOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods hoverProvider :: Lens' ServerCapabilities (Maybe (Bool |? HoverOptions)) #
HasImplementationProvider ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods implementationProvider :: Lens' ServerCapabilities (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))) #
HasInlayHintProvider ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHintProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))) #
HasInlineValueProvider ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValueProvider :: Lens' ServerCapabilities (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions))) #
HasLinkedEditingRangeProvider ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkedEditingRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions))) #
HasMonikerProvider ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods monikerProvider :: Lens' ServerCapabilities (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions))) #
HasNotebookDocumentSync ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocumentSync :: Lens' ServerCapabilities (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions)) #
HasPositionEncoding ServerCapabilities (Maybe PositionEncodingKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods positionEncoding :: Lens' ServerCapabilities (Maybe PositionEncodingKind) #
HasReferencesProvider ServerCapabilities (Maybe (Bool |? ReferenceOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods referencesProvider :: Lens' ServerCapabilities (Maybe (Bool |? ReferenceOptions)) #
HasRenameProvider ServerCapabilities (Maybe (Bool |? RenameOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods renameProvider :: Lens' ServerCapabilities (Maybe (Bool |? RenameOptions)) #
HasSelectionRangeProvider ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRangeProvider :: Lens' ServerCapabilities (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions))) #
HasSemanticTokensProvider ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokensProvider :: Lens' ServerCapabilities (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)) #
HasSignatureHelpProvider ServerCapabilities (Maybe SignatureHelpOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatureHelpProvider :: Lens' ServerCapabilities (Maybe SignatureHelpOptions) #
HasTextDocumentSync ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocumentSync :: Lens' ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) #
HasTypeDefinitionProvider ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeDefinitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) #
HasTypeHierarchyProvider ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) #
HasWorkspace ServerCapabilities (Maybe WorkspaceOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspace :: Lens' ServerCapabilities (Maybe WorkspaceOptions) #
HasWorkspaceSymbolProvider ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceSymbolProvider :: Lens' ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) #
type Rep ServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCapabilities

type Rep ServerCapabilities = D1 ('MetaData "ServerCapabilities" "Language.LSP.Protocol.Internal.Types.ServerCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ServerCapabilities" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "_positionEncoding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PositionEncodingKind)) :*: S1 ('MetaSel ('Just "_textDocumentSync") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)))) :*: (S1 ('MetaSel ('Just "_notebookDocumentSync") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NotebookDocumentSyncOptions |? NotebookDocumentSyncRegistrationOptions))) :*: S1 ('MetaSel ('Just "_completionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionOptions)))) :*: ((S1 ('MetaSel ('Just "_hoverProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? HoverOptions))) :*: S1 ('MetaSel ('Just "_signatureHelpProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelpOptions))) :*: (S1 ('MetaSel ('Just "_declarationProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (DeclarationOptions |? DeclarationRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_definitionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DefinitionOptions)))))) :*: (((S1 ('MetaSel ('Just "_typeDefinitionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_implementationProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (ImplementationOptions |? ImplementationRegistrationOptions))))) :*: (S1 ('MetaSel ('Just "_referencesProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? ReferenceOptions))) :*: S1 ('MetaSel ('Just "_documentHighlightProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentHighlightOptions))))) :*: ((S1 ('MetaSel ('Just "_documentSymbolProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentSymbolOptions))) :*: S1 ('MetaSel ('Just "_codeActionProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? CodeActionOptions)))) :*: (S1 ('MetaSel ('Just "_codeLensProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeLensOptions)) :*: (S1 ('MetaSel ('Just "_documentLinkProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentLinkOptions)) :*: S1 ('MetaSel ('Just "_colorProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (DocumentColorOptions |? DocumentColorRegistrationOptions))))))))) :*: ((((S1 ('MetaSel ('Just "_workspaceSymbolProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? WorkspaceSymbolOptions))) :*: S1 ('MetaSel ('Just "_documentFormattingProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentFormattingOptions)))) :*: (S1 ('MetaSel ('Just "_documentRangeFormattingProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? DocumentRangeFormattingOptions))) :*: S1 ('MetaSel ('Just "_documentOnTypeFormattingProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentOnTypeFormattingOptions)))) :*: ((S1 ('MetaSel ('Just "_renameProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? RenameOptions))) :*: S1 ('MetaSel ('Just "_foldingRangeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (FoldingRangeOptions |? FoldingRangeRegistrationOptions))))) :*: (S1 ('MetaSel ('Just "_selectionRangeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (SelectionRangeOptions |? SelectionRangeRegistrationOptions)))) :*: (S1 ('MetaSel ('Just "_executeCommandProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecuteCommandOptions)) :*: S1 ('MetaSel ('Just "_callHierarchyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (CallHierarchyOptions |? CallHierarchyRegistrationOptions)))))))) :*: (((S1 ('MetaSel ('Just "_linkedEditingRangeProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (LinkedEditingRangeOptions |? LinkedEditingRangeRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_semanticTokensProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (SemanticTokensOptions |? SemanticTokensRegistrationOptions)))) :*: (S1 ('MetaSel ('Just "_monikerProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (MonikerOptions |? MonikerRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_typeHierarchyProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions)))))) :*: ((S1 ('MetaSel ('Just "_inlineValueProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (InlineValueOptions |? InlineValueRegistrationOptions)))) :*: S1 ('MetaSel ('Just "_inlayHintProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? (InlayHintOptions |? InlayHintRegistrationOptions))))) :*: (S1 ('MetaSel ('Just "_diagnosticProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (DiagnosticOptions |? DiagnosticRegistrationOptions))) :*: (S1 ('MetaSel ('Just "_workspace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceOptions)) :*: S1 ('MetaSel ('Just "_experimental") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)))))))))

data ServerCompletionItemOptions #

@proposed

Since: 3.18.0

Constructors

ServerCompletionItemOptions |

Fields

- _labelDetailsSupport :: Maybe Bool

  The server has support for completion item label details (see also `CompletionItemLabelDetails`) when receiving a completion item in a resolve call.

  Since: 3.17.0

#### Instances

Instances details

FromJSON ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods parseJSON :: Value -> Parser ServerCompletionItemOptions # parseJSONList :: Value -> Parser [ServerCompletionItemOptions] # omittedField :: Maybe ServerCompletionItemOptions #
ToJSON ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods toJSON :: ServerCompletionItemOptions -> Value # toEncoding :: ServerCompletionItemOptions -> Encoding # toJSONList :: [ServerCompletionItemOptions] -> Value # toEncodingList :: [ServerCompletionItemOptions] -> Encoding # omitField :: ServerCompletionItemOptions -> Bool #
NFData ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods rnf :: ServerCompletionItemOptions -> () #
Generic ServerCompletionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions

Associated Types

type Rep ServerCompletionItemOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions

type Rep ServerCompletionItemOptions = D1 ('MetaData "ServerCompletionItemOptions" "Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ServerCompletionItemOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_labelDetailsSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: ServerCompletionItemOptions -> Rep ServerCompletionItemOptions x #

to :: Rep ServerCompletionItemOptions x -> ServerCompletionItemOptions #

Show ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods showsPrec :: Int -> ServerCompletionItemOptions -> ShowS # show :: ServerCompletionItemOptions -> String # showList :: [ServerCompletionItemOptions] -> ShowS #
Eq ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods (==) :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Bool # (/=) :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Bool #
Ord ServerCompletionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions

Methods

compare :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Ordering #

(<) :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Bool #

(<=) :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Bool #

(>) :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Bool #

(>=) :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> Bool #

max :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> ServerCompletionItemOptions #

min :: ServerCompletionItemOptions -> ServerCompletionItemOptions -> ServerCompletionItemOptions #

Hashable ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods hashWithSalt :: Int -> ServerCompletionItemOptions -> Int # hash :: ServerCompletionItemOptions -> Int #
Pretty ServerCompletionItemOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions Methods pretty :: ServerCompletionItemOptions -> Doc ann # prettyList :: [ServerCompletionItemOptions] -> Doc ann #
HasCompletionItem CompletionOptions (Maybe ServerCompletionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItem :: Lens' CompletionOptions (Maybe ServerCompletionItemOptions) #
HasCompletionItem CompletionRegistrationOptions (Maybe ServerCompletionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completionItem :: Lens' CompletionRegistrationOptions (Maybe ServerCompletionItemOptions) #
HasLabelDetailsSupport ServerCompletionItemOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods labelDetailsSupport :: Lens' ServerCompletionItemOptions (Maybe Bool) #
type Rep ServerCompletionItemOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions

type Rep ServerCompletionItemOptions = D1 ('MetaData "ServerCompletionItemOptions" "Language.LSP.Protocol.Internal.Types.ServerCompletionItemOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ServerCompletionItemOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_labelDetailsSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data ServerInfo #

Information about the server

`since 3.18.0 ServerInfo type name added.` proposed

Since: 3.15.0

Constructors

ServerInfo |

Fields

- _name :: Text

  The name of the server as defined by the server.

- _version :: Maybe Text

  The server's version as defined by the server.

#### Instances

Instances details

FromJSON ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods parseJSON :: Value -> Parser ServerInfo # parseJSONList :: Value -> Parser [ServerInfo] # omittedField :: Maybe ServerInfo #
ToJSON ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods toJSON :: ServerInfo -> Value # toEncoding :: ServerInfo -> Encoding # toJSONList :: [ServerInfo] -> Value # toEncodingList :: [ServerInfo] -> Encoding # omitField :: ServerInfo -> Bool #
NFData ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods rnf :: ServerInfo -> () #
Generic ServerInfo # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerInfo

Associated Types

type Rep ServerInfo |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerInfo

type Rep ServerInfo = D1 ('MetaData "ServerInfo" "Language.LSP.Protocol.Internal.Types.ServerInfo" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ServerInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: ServerInfo -> Rep ServerInfo x #

to :: Rep ServerInfo x -> ServerInfo #

Show ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods showsPrec :: Int -> ServerInfo -> ShowS # show :: ServerInfo -> String # showList :: [ServerInfo] -> ShowS #
Eq ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods (==) :: ServerInfo -> ServerInfo -> Bool # (/=) :: ServerInfo -> ServerInfo -> Bool #
Ord ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods compare :: ServerInfo -> ServerInfo -> Ordering # (<) :: ServerInfo -> ServerInfo -> Bool # (<=) :: ServerInfo -> ServerInfo -> Bool # (>) :: ServerInfo -> ServerInfo -> Bool # (>=) :: ServerInfo -> ServerInfo -> Bool # max :: ServerInfo -> ServerInfo -> ServerInfo # min :: ServerInfo -> ServerInfo -> ServerInfo #
Hashable ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods hashWithSalt :: Int -> ServerInfo -> Int # hash :: ServerInfo -> Int #
Pretty ServerInfo # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ServerInfo Methods pretty :: ServerInfo -> Doc ann # prettyList :: [ServerInfo] -> Doc ann #
HasName ServerInfo Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods name :: Lens' ServerInfo Text #
HasServerInfo InitializeResult (Maybe ServerInfo) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods serverInfo :: Lens' InitializeResult (Maybe ServerInfo) #
HasVersion ServerInfo (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' ServerInfo (Maybe Text) #
type Rep ServerInfo # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ServerInfo

type Rep ServerInfo = D1 ('MetaData "ServerInfo" "Language.LSP.Protocol.Internal.Types.ServerInfo" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ServerInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "_name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data ShowDocumentClientCapabilities #

Client capabilities for the showDocument request.

Since: 3.16.0

Constructors

ShowDocumentClientCapabilities |

Fields

- _support :: Bool

  The client has support for the showDocument request.

#### Instances

Instances details

FromJSON ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods parseJSON :: Value -> Parser ShowDocumentClientCapabilities # parseJSONList :: Value -> Parser [ShowDocumentClientCapabilities] # omittedField :: Maybe ShowDocumentClientCapabilities #
ToJSON ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods toJSON :: ShowDocumentClientCapabilities -> Value # toEncoding :: ShowDocumentClientCapabilities -> Encoding # toJSONList :: [ShowDocumentClientCapabilities] -> Value # toEncodingList :: [ShowDocumentClientCapabilities] -> Encoding # omitField :: ShowDocumentClientCapabilities -> Bool #
NFData ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods rnf :: ShowDocumentClientCapabilities -> () #
Generic ShowDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities

Associated Types

type Rep ShowDocumentClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities

type Rep ShowDocumentClientCapabilities = D1 ('MetaData "ShowDocumentClientCapabilities" "Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowDocumentClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_support") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

Methods

from :: ShowDocumentClientCapabilities -> Rep ShowDocumentClientCapabilities x #

to :: Rep ShowDocumentClientCapabilities x -> ShowDocumentClientCapabilities #

Show ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods showsPrec :: Int -> ShowDocumentClientCapabilities -> ShowS # show :: ShowDocumentClientCapabilities -> String # showList :: [ShowDocumentClientCapabilities] -> ShowS #
Eq ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods (==) :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Bool # (/=) :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Bool #
Ord ShowDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities

Methods

compare :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Ordering #

(<) :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Bool #

(<=) :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Bool #

(>) :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Bool #

(>=) :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> Bool #

max :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities #

min :: ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities -> ShowDocumentClientCapabilities #

Hashable ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods hashWithSalt :: Int -> ShowDocumentClientCapabilities -> Int # hash :: ShowDocumentClientCapabilities -> Int #
Pretty ShowDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities Methods pretty :: ShowDocumentClientCapabilities -> Doc ann # prettyList :: [ShowDocumentClientCapabilities] -> Doc ann #
HasSupport ShowDocumentClientCapabilities Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods support :: Lens' ShowDocumentClientCapabilities Bool #
HasShowDocument WindowClientCapabilities (Maybe ShowDocumentClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods showDocument :: Lens' WindowClientCapabilities (Maybe ShowDocumentClientCapabilities) #
type Rep ShowDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities

type Rep ShowDocumentClientCapabilities = D1 ('MetaData "ShowDocumentClientCapabilities" "Language.LSP.Protocol.Internal.Types.ShowDocumentClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowDocumentClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_support") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

data ShowMessageRequestClientCapabilities #

Show message request client capabilities

Constructors

ShowMessageRequestClientCapabilities |

Fields

- _messageActionItem :: Maybe ClientShowMessageActionItemOptions

  Capabilities specific to the `MessageActionItem` type.

#### Instances

Instances details

FromJSON ShowMessageRequestClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities Methods parseJSON :: Value -> Parser ShowMessageRequestClientCapabilities # parseJSONList :: Value -> Parser [ShowMessageRequestClientCapabilities] # omittedField :: Maybe ShowMessageRequestClientCapabilities #
ToJSON ShowMessageRequestClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities

Methods

toJSON :: ShowMessageRequestClientCapabilities -> Value #

toEncoding :: ShowMessageRequestClientCapabilities -> Encoding #

toJSONList :: [ShowMessageRequestClientCapabilities] -> Value #

toEncodingList :: [ShowMessageRequestClientCapabilities] -> Encoding #

omitField :: ShowMessageRequestClientCapabilities -> Bool #

NFData ShowMessageRequestClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities Methods rnf :: ShowMessageRequestClientCapabilities -> () #
Generic ShowMessageRequestClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities

Associated Types

type Rep ShowMessageRequestClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities

type Rep ShowMessageRequestClientCapabilities = D1 ('MetaData "ShowMessageRequestClientCapabilities" "Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowMessageRequestClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_messageActionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientShowMessageActionItemOptions))))

Methods

from :: ShowMessageRequestClientCapabilities -> Rep ShowMessageRequestClientCapabilities x #

to :: Rep ShowMessageRequestClientCapabilities x -> ShowMessageRequestClientCapabilities #

Show ShowMessageRequestClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities Methods showsPrec :: Int -> ShowMessageRequestClientCapabilities -> ShowS # show :: ShowMessageRequestClientCapabilities -> String # showList :: [ShowMessageRequestClientCapabilities] -> ShowS #
Eq ShowMessageRequestClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities Methods (==) :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Bool # (/=) :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Bool #
Ord ShowMessageRequestClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities

Methods

compare :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Ordering #

(<) :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Bool #

(<=) :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Bool #

(>) :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Bool #

(>=) :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> Bool #

max :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities #

min :: ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities -> ShowMessageRequestClientCapabilities #

Hashable ShowMessageRequestClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities Methods hashWithSalt :: Int -> ShowMessageRequestClientCapabilities -> Int # hash :: ShowMessageRequestClientCapabilities -> Int #
Pretty ShowMessageRequestClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities Methods pretty :: ShowMessageRequestClientCapabilities -> Doc ann # prettyList :: [ShowMessageRequestClientCapabilities] -> Doc ann #
HasMessageActionItem ShowMessageRequestClientCapabilities (Maybe ClientShowMessageActionItemOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods messageActionItem :: Lens' ShowMessageRequestClientCapabilities (Maybe ClientShowMessageActionItemOptions) #
HasShowMessage WindowClientCapabilities (Maybe ShowMessageRequestClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods showMessage :: Lens' WindowClientCapabilities (Maybe ShowMessageRequestClientCapabilities) #
type Rep ShowMessageRequestClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities

type Rep ShowMessageRequestClientCapabilities = D1 ('MetaData "ShowMessageRequestClientCapabilities" "Language.LSP.Protocol.Internal.Types.ShowMessageRequestClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "ShowMessageRequestClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_messageActionItem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientShowMessageActionItemOptions))))

data SignatureHelpClientCapabilities #

Client Capabilities for a `SignatureHelpRequest`.

Constructors

SignatureHelpClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether signature help supports dynamic registration.

- _signatureInformation :: Maybe ClientSignatureInformationOptions

  The client supports the following `SignatureInformation` specific properties.

- _contextSupport :: Maybe Bool

  The client supports to send additional context information for a `textDocument/signatureHelp` request. A client that opts into contextSupport will also support the `retriggerCharacters` on `SignatureHelpOptions`.

  Since: 3.15.0

#### Instances

Instances details

FromJSON SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods parseJSON :: Value -> Parser SignatureHelpClientCapabilities # parseJSONList :: Value -> Parser [SignatureHelpClientCapabilities] # omittedField :: Maybe SignatureHelpClientCapabilities #
ToJSON SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods toJSON :: SignatureHelpClientCapabilities -> Value # toEncoding :: SignatureHelpClientCapabilities -> Encoding # toJSONList :: [SignatureHelpClientCapabilities] -> Value # toEncodingList :: [SignatureHelpClientCapabilities] -> Encoding # omitField :: SignatureHelpClientCapabilities -> Bool #
NFData SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods rnf :: SignatureHelpClientCapabilities -> () #
Generic SignatureHelpClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities

Associated Types

type Rep SignatureHelpClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities

type Rep SignatureHelpClientCapabilities = D1 ('MetaData "SignatureHelpClientCapabilities" "Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_signatureInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSignatureInformationOptions)) :*: S1 ('MetaSel ('Just "_contextSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: SignatureHelpClientCapabilities -> Rep SignatureHelpClientCapabilities x #

to :: Rep SignatureHelpClientCapabilities x -> SignatureHelpClientCapabilities #

Show SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods showsPrec :: Int -> SignatureHelpClientCapabilities -> ShowS # show :: SignatureHelpClientCapabilities -> String # showList :: [SignatureHelpClientCapabilities] -> ShowS #
Eq SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods (==) :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Bool # (/=) :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Bool #
Ord SignatureHelpClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities

Methods

compare :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Ordering #

(<) :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Bool #

(<=) :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Bool #

(>) :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Bool #

(>=) :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> Bool #

max :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities #

min :: SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities -> SignatureHelpClientCapabilities #

Hashable SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods hashWithSalt :: Int -> SignatureHelpClientCapabilities -> Int # hash :: SignatureHelpClientCapabilities -> Int #
Pretty SignatureHelpClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities Methods pretty :: SignatureHelpClientCapabilities -> Doc ann # prettyList :: [SignatureHelpClientCapabilities] -> Doc ann #
HasContextSupport SignatureHelpClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contextSupport :: Lens' SignatureHelpClientCapabilities (Maybe Bool) #
HasDynamicRegistration SignatureHelpClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' SignatureHelpClientCapabilities (Maybe Bool) #
HasSignatureHelp TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatureHelp :: Lens' TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) #
HasSignatureInformation SignatureHelpClientCapabilities (Maybe ClientSignatureInformationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatureInformation :: Lens' SignatureHelpClientCapabilities (Maybe ClientSignatureInformationOptions) #
type Rep SignatureHelpClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities

type Rep SignatureHelpClientCapabilities = D1 ('MetaData "SignatureHelpClientCapabilities" "Language.LSP.Protocol.Internal.Types.SignatureHelpClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_signatureInformation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSignatureInformationOptions)) :*: S1 ('MetaSel ('Just "_contextSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data SignatureHelpContext #

Additional information about the context in which a signature help request was triggered.

Since: 3.15.0

Constructors

SignatureHelpContext |

Fields

- _triggerKind :: SignatureHelpTriggerKind

  Action that caused signature help to be triggered.

- _triggerCharacter :: Maybe Text

  Character that caused signature help to be triggered.

  This is undefined when `triggerKind !== SignatureHelpTriggerKind.TriggerCharacter`

- _isRetrigger :: Bool

  `true` if signature help was already showing when it was triggered.

  Retriggers occurs when the signature help is already active and can be caused by actions such as typing a trigger character, a cursor move, or document content changes.

- _activeSignatureHelp :: Maybe SignatureHelp

  The currently active `SignatureHelp`.

  The `activeSignatureHelp` has its `activeSignature` field updated based on the user navigating through available signatures.

#### Instances

Instances details

FromJSON SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods parseJSON :: Value -> Parser SignatureHelpContext # parseJSONList :: Value -> Parser [SignatureHelpContext] # omittedField :: Maybe SignatureHelpContext #
ToJSON SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods toJSON :: SignatureHelpContext -> Value # toEncoding :: SignatureHelpContext -> Encoding # toJSONList :: [SignatureHelpContext] -> Value # toEncodingList :: [SignatureHelpContext] -> Encoding # omitField :: SignatureHelpContext -> Bool #
NFData SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods rnf :: SignatureHelpContext -> () #
Generic SignatureHelpContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext

Associated Types

type Rep SignatureHelpContext |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext

type Rep SignatureHelpContext = D1 ('MetaData "SignatureHelpContext" "Language.LSP.Protocol.Internal.Types.SignatureHelpContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpContext" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_triggerKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SignatureHelpTriggerKind) :*: S1 ('MetaSel ('Just "_triggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_isRetrigger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_activeSignatureHelp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelp)))))

Methods

from :: SignatureHelpContext -> Rep SignatureHelpContext x #

to :: Rep SignatureHelpContext x -> SignatureHelpContext #

Show SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods showsPrec :: Int -> SignatureHelpContext -> ShowS # show :: SignatureHelpContext -> String # showList :: [SignatureHelpContext] -> ShowS #
Eq SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods (==) :: SignatureHelpContext -> SignatureHelpContext -> Bool # (/=) :: SignatureHelpContext -> SignatureHelpContext -> Bool #
Ord SignatureHelpContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext

Methods

compare :: SignatureHelpContext -> SignatureHelpContext -> Ordering #

(<) :: SignatureHelpContext -> SignatureHelpContext -> Bool #

(<=) :: SignatureHelpContext -> SignatureHelpContext -> Bool #

(>) :: SignatureHelpContext -> SignatureHelpContext -> Bool #

(>=) :: SignatureHelpContext -> SignatureHelpContext -> Bool #

max :: SignatureHelpContext -> SignatureHelpContext -> SignatureHelpContext #

min :: SignatureHelpContext -> SignatureHelpContext -> SignatureHelpContext #

Hashable SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods hashWithSalt :: Int -> SignatureHelpContext -> Int # hash :: SignatureHelpContext -> Int #
Pretty SignatureHelpContext # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext Methods pretty :: SignatureHelpContext -> Doc ann # prettyList :: [SignatureHelpContext] -> Doc ann #
HasIsRetrigger SignatureHelpContext Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods isRetrigger :: Lens' SignatureHelpContext Bool #
HasTriggerKind SignatureHelpContext SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerKind :: Lens' SignatureHelpContext SignatureHelpTriggerKind #
HasActiveSignatureHelp SignatureHelpContext (Maybe SignatureHelp) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeSignatureHelp :: Lens' SignatureHelpContext (Maybe SignatureHelp) #
HasContext SignatureHelpParams (Maybe SignatureHelpContext) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods context :: Lens' SignatureHelpParams (Maybe SignatureHelpContext) #
HasTriggerCharacter SignatureHelpContext (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerCharacter :: Lens' SignatureHelpContext (Maybe Text) #
type Rep SignatureHelpContext # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpContext

type Rep SignatureHelpContext = D1 ('MetaData "SignatureHelpContext" "Language.LSP.Protocol.Internal.Types.SignatureHelpContext" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpContext" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_triggerKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SignatureHelpTriggerKind) :*: S1 ('MetaSel ('Just "_triggerCharacter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_isRetrigger") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_activeSignatureHelp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelp)))))

data SignatureHelpOptions #

Server Capabilities for a `SignatureHelpRequest`.

Constructors

SignatureHelpOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _triggerCharacters :: Maybe [Text]

  List of characters that trigger signature help automatically.

- _retriggerCharacters :: Maybe [Text]

  List of characters that re-trigger signature help.

  These trigger characters are only active when signature help is already showing. All trigger characters are also counted as re-trigger characters.

  Since: 3.15.0

#### Instances

Instances details

FromJSON SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods parseJSON :: Value -> Parser SignatureHelpOptions # parseJSONList :: Value -> Parser [SignatureHelpOptions] # omittedField :: Maybe SignatureHelpOptions #
ToJSON SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods toJSON :: SignatureHelpOptions -> Value # toEncoding :: SignatureHelpOptions -> Encoding # toJSONList :: [SignatureHelpOptions] -> Value # toEncodingList :: [SignatureHelpOptions] -> Encoding # omitField :: SignatureHelpOptions -> Bool #
NFData SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods rnf :: SignatureHelpOptions -> () #
Generic SignatureHelpOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions

Associated Types

type Rep SignatureHelpOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions

type Rep SignatureHelpOptions = D1 ('MetaData "SignatureHelpOptions" "Language.LSP.Protocol.Internal.Types.SignatureHelpOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "_retriggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

Methods

from :: SignatureHelpOptions -> Rep SignatureHelpOptions x #

to :: Rep SignatureHelpOptions x -> SignatureHelpOptions #

Show SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods showsPrec :: Int -> SignatureHelpOptions -> ShowS # show :: SignatureHelpOptions -> String # showList :: [SignatureHelpOptions] -> ShowS #
Eq SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods (==) :: SignatureHelpOptions -> SignatureHelpOptions -> Bool # (/=) :: SignatureHelpOptions -> SignatureHelpOptions -> Bool #
Ord SignatureHelpOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions

Methods

compare :: SignatureHelpOptions -> SignatureHelpOptions -> Ordering #

(<) :: SignatureHelpOptions -> SignatureHelpOptions -> Bool #

(<=) :: SignatureHelpOptions -> SignatureHelpOptions -> Bool #

(>) :: SignatureHelpOptions -> SignatureHelpOptions -> Bool #

(>=) :: SignatureHelpOptions -> SignatureHelpOptions -> Bool #

max :: SignatureHelpOptions -> SignatureHelpOptions -> SignatureHelpOptions #

min :: SignatureHelpOptions -> SignatureHelpOptions -> SignatureHelpOptions #

Hashable SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods hashWithSalt :: Int -> SignatureHelpOptions -> Int # hash :: SignatureHelpOptions -> Int #
Pretty SignatureHelpOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions Methods pretty :: SignatureHelpOptions -> Doc ann # prettyList :: [SignatureHelpOptions] -> Doc ann #
HasRetriggerCharacters SignatureHelpOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods retriggerCharacters :: Lens' SignatureHelpOptions (Maybe [Text]) #
HasSignatureHelpProvider ServerCapabilities (Maybe SignatureHelpOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatureHelpProvider :: Lens' ServerCapabilities (Maybe SignatureHelpOptions) #
HasTriggerCharacters SignatureHelpOptions (Maybe [Text]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerCharacters :: Lens' SignatureHelpOptions (Maybe [Text]) #
HasWorkDoneProgress SignatureHelpOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' SignatureHelpOptions (Maybe Bool) #
type Rep SignatureHelpOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpOptions

type Rep SignatureHelpOptions = D1 ('MetaData "SignatureHelpOptions" "Language.LSP.Protocol.Internal.Types.SignatureHelpOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_triggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "_retriggerCharacters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

data SignatureHelpTriggerKind #

How a signature help was triggered.

Since: 3.15.0

Constructors

SignatureHelpTriggerKind_Invoked | Signature help was invoked manually by the user or by a command.
SignatureHelpTriggerKind_TriggerCharacter | Signature help was triggered by a trigger character.
SignatureHelpTriggerKind_ContentChange | Signature help was triggered by the cursor moving or by the document content changing.

#### Instances

Instances details

FromJSON SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods parseJSON :: Value -> Parser SignatureHelpTriggerKind # parseJSONList :: Value -> Parser [SignatureHelpTriggerKind] # omittedField :: Maybe SignatureHelpTriggerKind #
ToJSON SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods toJSON :: SignatureHelpTriggerKind -> Value # toEncoding :: SignatureHelpTriggerKind -> Encoding # toJSONList :: [SignatureHelpTriggerKind] -> Value # toEncodingList :: [SignatureHelpTriggerKind] -> Encoding # omitField :: SignatureHelpTriggerKind -> Bool #
NFData SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods rnf :: SignatureHelpTriggerKind -> () #
Generic SignatureHelpTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind

Associated Types

type Rep SignatureHelpTriggerKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind

type Rep SignatureHelpTriggerKind = D1 ('MetaData "SignatureHelpTriggerKind" "Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpTriggerKind_Invoked" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SignatureHelpTriggerKind_TriggerCharacter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SignatureHelpTriggerKind_ContentChange" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: SignatureHelpTriggerKind -> Rep SignatureHelpTriggerKind x #

to :: Rep SignatureHelpTriggerKind x -> SignatureHelpTriggerKind #

Show SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods showsPrec :: Int -> SignatureHelpTriggerKind -> ShowS # show :: SignatureHelpTriggerKind -> String # showList :: [SignatureHelpTriggerKind] -> ShowS #
Eq SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods (==) :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Bool # (/=) :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Bool #
Ord SignatureHelpTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind

Methods

compare :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Ordering #

(<) :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Bool #

(<=) :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Bool #

(>) :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Bool #

(>=) :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> Bool #

max :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> SignatureHelpTriggerKind #

min :: SignatureHelpTriggerKind -> SignatureHelpTriggerKind -> SignatureHelpTriggerKind #

Hashable SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods hashWithSalt :: Int -> SignatureHelpTriggerKind -> Int # hash :: SignatureHelpTriggerKind -> Int #
LspEnum SignatureHelpTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind

Associated Types

type EnumBaseType SignatureHelpTriggerKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind type EnumBaseType SignatureHelpTriggerKind = UInt

Methods

knownValues :: Set SignatureHelpTriggerKind #

toEnumBaseType :: SignatureHelpTriggerKind -> EnumBaseType SignatureHelpTriggerKind #

fromEnumBaseType :: EnumBaseType SignatureHelpTriggerKind -> Maybe SignatureHelpTriggerKind #

Pretty SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind Methods pretty :: SignatureHelpTriggerKind -> Doc ann # prettyList :: [SignatureHelpTriggerKind] -> Doc ann #
HasTriggerKind SignatureHelpContext SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods triggerKind :: Lens' SignatureHelpContext SignatureHelpTriggerKind #
type Rep SignatureHelpTriggerKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind

type Rep SignatureHelpTriggerKind = D1 ('MetaData "SignatureHelpTriggerKind" "Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureHelpTriggerKind_Invoked" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SignatureHelpTriggerKind_TriggerCharacter" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SignatureHelpTriggerKind_ContentChange" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType SignatureHelpTriggerKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureHelpTriggerKind type EnumBaseType SignatureHelpTriggerKind = UInt

data SignatureInformation #

Represents the signature of something callable. A signature can have a label, like a function-name, a doc-comment, and a set of parameters.

Constructors

SignatureInformation |

Fields

- _label :: Text

  The label of this signature. Will be shown in the UI.

- _documentation :: Maybe (Text |? MarkupContent)

  The human-readable doc-comment of this signature. Will be shown in the UI but can be omitted.

- _parameters :: Maybe [ParameterInformation]

  The parameters of this signature.

- _activeParameter :: Maybe (UInt |? Null)

  The index of the active parameter.

  If `null`, no parameter of the signature is active (for example a named argument that does not match any declared parameters). This is only valid if the client specifies the client capability `textDocument.signatureHelp.noActiveParameterSupport === true`

  If provided (or `null`), this is used in place of `activeParameter`.

  Since: 3.16.0

#### Instances

Instances details

FromJSON SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods parseJSON :: Value -> Parser SignatureInformation # parseJSONList :: Value -> Parser [SignatureInformation] # omittedField :: Maybe SignatureInformation #
ToJSON SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods toJSON :: SignatureInformation -> Value # toEncoding :: SignatureInformation -> Encoding # toJSONList :: [SignatureInformation] -> Value # toEncodingList :: [SignatureInformation] -> Encoding # omitField :: SignatureInformation -> Bool #
NFData SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods rnf :: SignatureInformation -> () #
Generic SignatureInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation

Associated Types

type Rep SignatureInformation |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation

type Rep SignatureInformation = D1 ('MetaData "SignatureInformation" "Language.LSP.Protocol.Internal.Types.SignatureInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_documentation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))) :*: (S1 ('MetaSel ('Just "_parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterInformation])) :*: S1 ('MetaSel ('Just "_activeParameter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (UInt |? Null))))))

Methods

from :: SignatureInformation -> Rep SignatureInformation x #

to :: Rep SignatureInformation x -> SignatureInformation #

Show SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods showsPrec :: Int -> SignatureInformation -> ShowS # show :: SignatureInformation -> String # showList :: [SignatureInformation] -> ShowS #
Eq SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods (==) :: SignatureInformation -> SignatureInformation -> Bool # (/=) :: SignatureInformation -> SignatureInformation -> Bool #
Ord SignatureInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation

Methods

compare :: SignatureInformation -> SignatureInformation -> Ordering #

(<) :: SignatureInformation -> SignatureInformation -> Bool #

(<=) :: SignatureInformation -> SignatureInformation -> Bool #

(>) :: SignatureInformation -> SignatureInformation -> Bool #

(>=) :: SignatureInformation -> SignatureInformation -> Bool #

max :: SignatureInformation -> SignatureInformation -> SignatureInformation #

min :: SignatureInformation -> SignatureInformation -> SignatureInformation #

Hashable SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods hashWithSalt :: Int -> SignatureInformation -> Int # hash :: SignatureInformation -> Int #
Pretty SignatureInformation # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation Methods pretty :: SignatureInformation -> Doc ann # prettyList :: [SignatureInformation] -> Doc ann #
HasLabel SignatureInformation Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods label :: Lens' SignatureInformation Text #
HasActiveParameter SignatureInformation (Maybe (UInt |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods activeParameter :: Lens' SignatureInformation (Maybe (UInt |? Null)) #
HasDocumentation SignatureInformation (Maybe (Text |? MarkupContent)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentation :: Lens' SignatureInformation (Maybe (Text |? MarkupContent)) #
HasParameters SignatureInformation (Maybe [ParameterInformation]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods parameters :: Lens' SignatureInformation (Maybe [ParameterInformation]) #
HasSignatures SignatureHelp [SignatureInformation] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatures :: Lens' SignatureHelp [SignatureInformation] #
type Rep SignatureInformation # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SignatureInformation

type Rep SignatureInformation = D1 ('MetaData "SignatureInformation" "Language.LSP.Protocol.Internal.Types.SignatureInformation" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SignatureInformation" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_documentation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? MarkupContent)))) :*: (S1 ('MetaSel ('Just "_parameters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ParameterInformation])) :*: S1 ('MetaSel ('Just "_activeParameter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (UInt |? Null))))))

data StaleRequestSupportOptions #

@proposed

Since: 3.18.0

Constructors

StaleRequestSupportOptions |

Fields

- _cancel :: Bool

  The client will actively cancel the request.

- _retryOnContentModified :: [Text]

  The list of requests for which the client will retry the request if it receives a response with error code `ContentModified`

#### Instances

Instances details

FromJSON StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods parseJSON :: Value -> Parser StaleRequestSupportOptions # parseJSONList :: Value -> Parser [StaleRequestSupportOptions] # omittedField :: Maybe StaleRequestSupportOptions #
ToJSON StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods toJSON :: StaleRequestSupportOptions -> Value # toEncoding :: StaleRequestSupportOptions -> Encoding # toJSONList :: [StaleRequestSupportOptions] -> Value # toEncodingList :: [StaleRequestSupportOptions] -> Encoding # omitField :: StaleRequestSupportOptions -> Bool #
NFData StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods rnf :: StaleRequestSupportOptions -> () #
Generic StaleRequestSupportOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions

Associated Types

type Rep StaleRequestSupportOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions

type Rep StaleRequestSupportOptions = D1 ('MetaData "StaleRequestSupportOptions" "Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "StaleRequestSupportOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cancel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_retryOnContentModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

Methods

from :: StaleRequestSupportOptions -> Rep StaleRequestSupportOptions x #

to :: Rep StaleRequestSupportOptions x -> StaleRequestSupportOptions #

Show StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods showsPrec :: Int -> StaleRequestSupportOptions -> ShowS # show :: StaleRequestSupportOptions -> String # showList :: [StaleRequestSupportOptions] -> ShowS #
Eq StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods (==) :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Bool # (/=) :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Bool #
Ord StaleRequestSupportOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions

Methods

compare :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Ordering #

(<) :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Bool #

(<=) :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Bool #

(>) :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Bool #

(>=) :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> Bool #

max :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> StaleRequestSupportOptions #

min :: StaleRequestSupportOptions -> StaleRequestSupportOptions -> StaleRequestSupportOptions #

Hashable StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods hashWithSalt :: Int -> StaleRequestSupportOptions -> Int # hash :: StaleRequestSupportOptions -> Int #
Pretty StaleRequestSupportOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions Methods pretty :: StaleRequestSupportOptions -> Doc ann # prettyList :: [StaleRequestSupportOptions] -> Doc ann #
HasCancel StaleRequestSupportOptions Bool # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cancel :: Lens' StaleRequestSupportOptions Bool #
HasRetryOnContentModified StaleRequestSupportOptions [Text] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods retryOnContentModified :: Lens' StaleRequestSupportOptions [Text] #
HasStaleRequestSupport GeneralClientCapabilities (Maybe StaleRequestSupportOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods staleRequestSupport :: Lens' GeneralClientCapabilities (Maybe StaleRequestSupportOptions) #
type Rep StaleRequestSupportOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions

type Rep StaleRequestSupportOptions = D1 ('MetaData "StaleRequestSupportOptions" "Language.LSP.Protocol.Internal.Types.StaleRequestSupportOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "StaleRequestSupportOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_cancel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_retryOnContentModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

data StaticRegistrationOptions #

Static registration options to be returned in the initialize request.

Constructors

StaticRegistrationOptions |

Fields

- _id :: Maybe Text

  The id used to register the request. The id can be used to deregister the request again. See also Registration#id.

#### Instances

Instances details

FromJSON StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods parseJSON :: Value -> Parser StaticRegistrationOptions # parseJSONList :: Value -> Parser [StaticRegistrationOptions] # omittedField :: Maybe StaticRegistrationOptions #
ToJSON StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods toJSON :: StaticRegistrationOptions -> Value # toEncoding :: StaticRegistrationOptions -> Encoding # toJSONList :: [StaticRegistrationOptions] -> Value # toEncodingList :: [StaticRegistrationOptions] -> Encoding # omitField :: StaticRegistrationOptions -> Bool #
NFData StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods rnf :: StaticRegistrationOptions -> () #
Generic StaticRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions

Associated Types

type Rep StaticRegistrationOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions

type Rep StaticRegistrationOptions = D1 ('MetaData "StaticRegistrationOptions" "Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "StaticRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

Methods

from :: StaticRegistrationOptions -> Rep StaticRegistrationOptions x #

to :: Rep StaticRegistrationOptions x -> StaticRegistrationOptions #

Show StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods showsPrec :: Int -> StaticRegistrationOptions -> ShowS # show :: StaticRegistrationOptions -> String # showList :: [StaticRegistrationOptions] -> ShowS #
Eq StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods (==) :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool # (/=) :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool #
Ord StaticRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions

Methods

compare :: StaticRegistrationOptions -> StaticRegistrationOptions -> Ordering #

(<) :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool #

(<=) :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool #

(>) :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool #

(>=) :: StaticRegistrationOptions -> StaticRegistrationOptions -> Bool #

max :: StaticRegistrationOptions -> StaticRegistrationOptions -> StaticRegistrationOptions #

min :: StaticRegistrationOptions -> StaticRegistrationOptions -> StaticRegistrationOptions #

Hashable StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods hashWithSalt :: Int -> StaticRegistrationOptions -> Int # hash :: StaticRegistrationOptions -> Int #
Pretty StaticRegistrationOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions Methods pretty :: StaticRegistrationOptions -> Doc ann # prettyList :: [StaticRegistrationOptions] -> Doc ann #
HasId StaticRegistrationOptions (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' StaticRegistrationOptions (Maybe Text) #
type Rep StaticRegistrationOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions

type Rep StaticRegistrationOptions = D1 ('MetaData "StaticRegistrationOptions" "Language.LSP.Protocol.Internal.Types.StaticRegistrationOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "StaticRegistrationOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

data SymbolKind #

A symbol kind.

Constructors

SymbolKind_File |
SymbolKind_Module |
SymbolKind_Namespace |
SymbolKind_Package |
SymbolKind_Class |
SymbolKind_Method |
SymbolKind_Property |
SymbolKind_Field |
SymbolKind_Constructor |
SymbolKind_Enum |
SymbolKind_Interface |
SymbolKind_Function |
SymbolKind_Variable |
SymbolKind_Constant |
SymbolKind_String |
SymbolKind_Number |
SymbolKind_Boolean |
SymbolKind_Array |
SymbolKind_Object |
SymbolKind_Key |
SymbolKind_Null |
SymbolKind_EnumMember |
SymbolKind_Struct |
SymbolKind_Event |
SymbolKind_Operator |
SymbolKind_TypeParameter |

#### Instances

Instances details

FromJSON SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods parseJSON :: Value -> Parser SymbolKind # parseJSONList :: Value -> Parser [SymbolKind] # omittedField :: Maybe SymbolKind #
ToJSON SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods toJSON :: SymbolKind -> Value # toEncoding :: SymbolKind -> Encoding # toJSONList :: [SymbolKind] -> Value # toEncodingList :: [SymbolKind] -> Encoding # omitField :: SymbolKind -> Bool #
NFData SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods rnf :: SymbolKind -> () #
Generic SymbolKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolKind

Associated Types

type Rep SymbolKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolKind

type Rep SymbolKind = D1 ('MetaData "SymbolKind" "Language.LSP.Protocol.Internal.Types.SymbolKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((((C1 ('MetaCons "SymbolKind_File" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Module" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Namespace" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SymbolKind_Package" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Class" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Method" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SymbolKind_Property" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Field" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Constructor" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SymbolKind_Enum" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Interface" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SymbolKind_Function" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Variable" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SymbolKind_Constant" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_String" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Number" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SymbolKind_Boolean" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Array" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Object" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SymbolKind_Key" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Null" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_EnumMember" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SymbolKind_Struct" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Event" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SymbolKind_Operator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_TypeParameter" 'PrefixI 'False) (U1 :: Type -> Type))))))

Methods

from :: SymbolKind -> Rep SymbolKind x #

to :: Rep SymbolKind x -> SymbolKind #

Show SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods showsPrec :: Int -> SymbolKind -> ShowS # show :: SymbolKind -> String # showList :: [SymbolKind] -> ShowS #
Eq SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods (==) :: SymbolKind -> SymbolKind -> Bool # (/=) :: SymbolKind -> SymbolKind -> Bool #
Ord SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods compare :: SymbolKind -> SymbolKind -> Ordering # (<) :: SymbolKind -> SymbolKind -> Bool # (<=) :: SymbolKind -> SymbolKind -> Bool # (>) :: SymbolKind -> SymbolKind -> Bool # (>=) :: SymbolKind -> SymbolKind -> Bool # max :: SymbolKind -> SymbolKind -> SymbolKind # min :: SymbolKind -> SymbolKind -> SymbolKind #
Hashable SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods hashWithSalt :: Int -> SymbolKind -> Int # hash :: SymbolKind -> Int #
LspEnum SymbolKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolKind

Associated Types

type EnumBaseType SymbolKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind type EnumBaseType SymbolKind = UInt

Methods

knownValues :: Set SymbolKind #

toEnumBaseType :: SymbolKind -> EnumBaseType SymbolKind #

fromEnumBaseType :: EnumBaseType SymbolKind -> Maybe SymbolKind #

Pretty SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind Methods pretty :: SymbolKind -> Doc ann # prettyList :: [SymbolKind] -> Doc ann #
HasKind BaseSymbolInformation SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' BaseSymbolInformation SymbolKind #
HasKind CallHierarchyItem SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' CallHierarchyItem SymbolKind #
HasKind DocumentSymbol SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' DocumentSymbol SymbolKind #
HasKind SymbolInformation SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' SymbolInformation SymbolKind #
HasKind TypeHierarchyItem SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' TypeHierarchyItem SymbolKind #
HasKind WorkspaceSymbol SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkspaceSymbol SymbolKind #
HasValueSet ClientSymbolKindOptions (Maybe [SymbolKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientSymbolKindOptions (Maybe [SymbolKind]) #
type Rep SymbolKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolKind

type Rep SymbolKind = D1 ('MetaData "SymbolKind" "Language.LSP.Protocol.Internal.Types.SymbolKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((((C1 ('MetaCons "SymbolKind_File" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Module" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Namespace" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SymbolKind_Package" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Class" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Method" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SymbolKind_Property" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Field" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Constructor" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SymbolKind_Enum" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Interface" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SymbolKind_Function" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Variable" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SymbolKind_Constant" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_String" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Number" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "SymbolKind_Boolean" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Array" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Object" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SymbolKind_Key" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SymbolKind_Null" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_EnumMember" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "SymbolKind_Struct" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_Event" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "SymbolKind_Operator" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SymbolKind_TypeParameter" 'PrefixI 'False) (U1 :: Type -> Type))))))

type EnumBaseType SymbolKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolKind type EnumBaseType SymbolKind = UInt

data SymbolTag #

Symbol tags are extra annotations that tweak the rendering of a symbol.

Since: 3.16

Constructors

SymbolTag_Deprecated | Render a symbol as obsolete, usually using a strike-out.

#### Instances

Instances details

FromJSON SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods parseJSON :: Value -> Parser SymbolTag # parseJSONList :: Value -> Parser [SymbolTag] # omittedField :: Maybe SymbolTag #
ToJSON SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods toJSON :: SymbolTag -> Value # toEncoding :: SymbolTag -> Encoding # toJSONList :: [SymbolTag] -> Value # toEncodingList :: [SymbolTag] -> Encoding # omitField :: SymbolTag -> Bool #
NFData SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods rnf :: SymbolTag -> () #
Generic SymbolTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolTag

Associated Types

type Rep SymbolTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag type Rep SymbolTag = D1 ('MetaData "SymbolTag" "Language.LSP.Protocol.Internal.Types.SymbolTag" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SymbolTag_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: SymbolTag -> Rep SymbolTag x #

to :: Rep SymbolTag x -> SymbolTag #

Show SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods showsPrec :: Int -> SymbolTag -> ShowS # show :: SymbolTag -> String # showList :: [SymbolTag] -> ShowS #
Eq SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods (==) :: SymbolTag -> SymbolTag -> Bool # (/=) :: SymbolTag -> SymbolTag -> Bool #
Ord SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods compare :: SymbolTag -> SymbolTag -> Ordering # (<) :: SymbolTag -> SymbolTag -> Bool # (<=) :: SymbolTag -> SymbolTag -> Bool # (>) :: SymbolTag -> SymbolTag -> Bool # (>=) :: SymbolTag -> SymbolTag -> Bool # max :: SymbolTag -> SymbolTag -> SymbolTag # min :: SymbolTag -> SymbolTag -> SymbolTag #
Hashable SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods hashWithSalt :: Int -> SymbolTag -> Int # hash :: SymbolTag -> Int #
LspEnum SymbolTag # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.SymbolTag

Associated Types

type EnumBaseType SymbolTag |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag type EnumBaseType SymbolTag = UInt

Methods

knownValues :: Set SymbolTag #

toEnumBaseType :: SymbolTag -> EnumBaseType SymbolTag #

fromEnumBaseType :: EnumBaseType SymbolTag -> Maybe SymbolTag #

Pretty SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag Methods pretty :: SymbolTag -> Doc ann # prettyList :: [SymbolTag] -> Doc ann #
HasTags BaseSymbolInformation (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' BaseSymbolInformation (Maybe [SymbolTag]) #
HasTags CallHierarchyItem (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' CallHierarchyItem (Maybe [SymbolTag]) #
HasTags DocumentSymbol (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' DocumentSymbol (Maybe [SymbolTag]) #
HasTags SymbolInformation (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' SymbolInformation (Maybe [SymbolTag]) #
HasTags TypeHierarchyItem (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' TypeHierarchyItem (Maybe [SymbolTag]) #
HasTags WorkspaceSymbol (Maybe [SymbolTag]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tags :: Lens' WorkspaceSymbol (Maybe [SymbolTag]) #
HasValueSet ClientSymbolTagOptions [SymbolTag] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods valueSet :: Lens' ClientSymbolTagOptions [SymbolTag] #
type Rep SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag type Rep SymbolTag = D1 ('MetaData "SymbolTag" "Language.LSP.Protocol.Internal.Types.SymbolTag" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "SymbolTag_Deprecated" 'PrefixI 'False) (U1 :: Type -> Type))
type EnumBaseType SymbolTag # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.SymbolTag type EnumBaseType SymbolTag = UInt

data TextDocumentClientCapabilities #

Text document specific client capabilities.

Constructors

TextDocumentClientCapabilities |

Fields

- _synchronization :: Maybe TextDocumentSyncClientCapabilities

  Defines which synchronization capabilities the client supports.

- _completion :: Maybe CompletionClientCapabilities

  Capabilities specific to the `textDocument/completion` request.

- _hover :: Maybe HoverClientCapabilities

  Capabilities specific to the `textDocument/hover` request.

- _signatureHelp :: Maybe SignatureHelpClientCapabilities

  Capabilities specific to the `textDocument/signatureHelp` request.

- _declaration :: Maybe DeclarationClientCapabilities

  Capabilities specific to the `textDocument/declaration` request.

  Since: 3.14.0

- _definition :: Maybe DefinitionClientCapabilities

  Capabilities specific to the `textDocument/definition` request.

- _typeDefinition :: Maybe TypeDefinitionClientCapabilities

  Capabilities specific to the `textDocument/typeDefinition` request.

  Since: 3.6.0

- _implementation :: Maybe ImplementationClientCapabilities

  Capabilities specific to the `textDocument/implementation` request.

  Since: 3.6.0

- _references :: Maybe ReferenceClientCapabilities

  Capabilities specific to the `textDocument/references` request.

- _documentHighlight :: Maybe DocumentHighlightClientCapabilities

  Capabilities specific to the `textDocument/documentHighlight` request.

- _documentSymbol :: Maybe DocumentSymbolClientCapabilities

  Capabilities specific to the `textDocument/documentSymbol` request.

- _codeAction :: Maybe CodeActionClientCapabilities

  Capabilities specific to the `textDocument/codeAction` request.

- _codeLens :: Maybe CodeLensClientCapabilities

  Capabilities specific to the `textDocument/codeLens` request.

- _documentLink :: Maybe DocumentLinkClientCapabilities

  Capabilities specific to the `textDocument/documentLink` request.

- _colorProvider :: Maybe DocumentColorClientCapabilities

  Capabilities specific to the `textDocument/documentColor` and the `textDocument/colorPresentation` request.

  Since: 3.6.0

- _formatting :: Maybe DocumentFormattingClientCapabilities

  Capabilities specific to the `textDocument/formatting` request.

- _rangeFormatting :: Maybe DocumentRangeFormattingClientCapabilities

  Capabilities specific to the `textDocument/rangeFormatting` request.

- _onTypeFormatting :: Maybe DocumentOnTypeFormattingClientCapabilities

  Capabilities specific to the `textDocument/onTypeFormatting` request.

- _rename :: Maybe RenameClientCapabilities

  Capabilities specific to the `textDocument/rename` request.

- _foldingRange :: Maybe FoldingRangeClientCapabilities

  Capabilities specific to the `textDocument/foldingRange` request.

  Since: 3.10.0

- _selectionRange :: Maybe SelectionRangeClientCapabilities

  Capabilities specific to the `textDocument/selectionRange` request.

  Since: 3.15.0

- _publishDiagnostics :: Maybe PublishDiagnosticsClientCapabilities

  Capabilities specific to the `textDocument/publishDiagnostics` notification.

- _callHierarchy :: Maybe CallHierarchyClientCapabilities

  Capabilities specific to the various call hierarchy requests.

  Since: 3.16.0

- _semanticTokens :: Maybe SemanticTokensClientCapabilities

  Capabilities specific to the various semantic token request.

  Since: 3.16.0

- _linkedEditingRange :: Maybe LinkedEditingRangeClientCapabilities

  Capabilities specific to the `textDocument/linkedEditingRange` request.

  Since: 3.16.0

- _moniker :: Maybe MonikerClientCapabilities

  Client capabilities specific to the `textDocument/moniker` request.

  Since: 3.16.0

- _typeHierarchy :: Maybe TypeHierarchyClientCapabilities

  Capabilities specific to the various type hierarchy requests.

  Since: 3.17.0

- _inlineValue :: Maybe InlineValueClientCapabilities

  Capabilities specific to the `textDocument/inlineValue` request.

  Since: 3.17.0

- _inlayHint :: Maybe InlayHintClientCapabilities

  Capabilities specific to the `textDocument/inlayHint` request.

  Since: 3.17.0

- _diagnostic :: Maybe DiagnosticClientCapabilities

  Capabilities specific to the diagnostic pull model.

  Since: 3.17.0

#### Instances

Instances details

FromJSON TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods parseJSON :: Value -> Parser TextDocumentClientCapabilities # parseJSONList :: Value -> Parser [TextDocumentClientCapabilities] # omittedField :: Maybe TextDocumentClientCapabilities #
ToJSON TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods toJSON :: TextDocumentClientCapabilities -> Value # toEncoding :: TextDocumentClientCapabilities -> Encoding # toJSONList :: [TextDocumentClientCapabilities] -> Value # toEncodingList :: [TextDocumentClientCapabilities] -> Encoding # omitField :: TextDocumentClientCapabilities -> Bool #
Default TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: TextDocumentClientCapabilities #
NFData TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods rnf :: TextDocumentClientCapabilities -> () #
Generic TextDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities

Associated Types

type Rep TextDocumentClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities

type Rep TextDocumentClientCapabilities = D1 ('MetaData "TextDocumentClientCapabilities" "Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentClientCapabilities" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_synchronization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextDocumentSyncClientCapabilities)) :*: (S1 ('MetaSel ('Just "_completion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionClientCapabilities)) :*: S1 ('MetaSel ('Just "_hover") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HoverClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_signatureHelp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelpClientCapabilities)) :*: S1 ('MetaSel ('Just "_declaration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeclarationClientCapabilities))) :*: (S1 ('MetaSel ('Just "_definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DefinitionClientCapabilities)) :*: S1 ('MetaSel ('Just "_typeDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeDefinitionClientCapabilities))))) :*: (((S1 ('MetaSel ('Just "_implementation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImplementationClientCapabilities)) :*: S1 ('MetaSel ('Just "_references") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReferenceClientCapabilities))) :*: (S1 ('MetaSel ('Just "_documentHighlight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentHighlightClientCapabilities)) :*: S1 ('MetaSel ('Just "_documentSymbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentSymbolClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_codeAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionClientCapabilities)) :*: S1 ('MetaSel ('Just "_codeLens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeLensClientCapabilities))) :*: (S1 ('MetaSel ('Just "_documentLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentLinkClientCapabilities)) :*: S1 ('MetaSel ('Just "_colorProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentColorClientCapabilities)))))) :*: (((S1 ('MetaSel ('Just "_formatting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentFormattingClientCapabilities)) :*: (S1 ('MetaSel ('Just "_rangeFormatting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentRangeFormattingClientCapabilities)) :*: S1 ('MetaSel ('Just "_onTypeFormatting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentOnTypeFormattingClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_rename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RenameClientCapabilities)) :*: S1 ('MetaSel ('Just "_foldingRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FoldingRangeClientCapabilities))) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectionRangeClientCapabilities)) :*: S1 ('MetaSel ('Just "_publishDiagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PublishDiagnosticsClientCapabilities))))) :*: (((S1 ('MetaSel ('Just "_callHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CallHierarchyClientCapabilities)) :*: S1 ('MetaSel ('Just "_semanticTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SemanticTokensClientCapabilities))) :*: (S1 ('MetaSel ('Just "_linkedEditingRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LinkedEditingRangeClientCapabilities)) :*: S1 ('MetaSel ('Just "_moniker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonikerClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_typeHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeHierarchyClientCapabilities)) :*: S1 ('MetaSel ('Just "_inlineValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlineValueClientCapabilities))) :*: (S1 ('MetaSel ('Just "_inlayHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlayHintClientCapabilities)) :*: S1 ('MetaSel ('Just "_diagnostic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiagnosticClientCapabilities))))))))

Methods

from :: TextDocumentClientCapabilities -> Rep TextDocumentClientCapabilities x #

to :: Rep TextDocumentClientCapabilities x -> TextDocumentClientCapabilities #

Show TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods showsPrec :: Int -> TextDocumentClientCapabilities -> ShowS # show :: TextDocumentClientCapabilities -> String # showList :: [TextDocumentClientCapabilities] -> ShowS #
Eq TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods (==) :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Bool # (/=) :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Bool #
Ord TextDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities

Methods

compare :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Ordering #

(<) :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Bool #

(<=) :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Bool #

(>) :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Bool #

(>=) :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> Bool #

max :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> TextDocumentClientCapabilities #

min :: TextDocumentClientCapabilities -> TextDocumentClientCapabilities -> TextDocumentClientCapabilities #

Hashable TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods hashWithSalt :: Int -> TextDocumentClientCapabilities -> Int # hash :: TextDocumentClientCapabilities -> Int #
Pretty TextDocumentClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities Methods pretty :: TextDocumentClientCapabilities -> Doc ann # prettyList :: [TextDocumentClientCapabilities] -> Doc ann #
HasCallHierarchy TextDocumentClientCapabilities (Maybe CallHierarchyClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods callHierarchy :: Lens' TextDocumentClientCapabilities (Maybe CallHierarchyClientCapabilities) #
HasCodeAction TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeAction :: Lens' TextDocumentClientCapabilities (Maybe CodeActionClientCapabilities) #
HasCodeLens TextDocumentClientCapabilities (Maybe CodeLensClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeLens :: Lens' TextDocumentClientCapabilities (Maybe CodeLensClientCapabilities) #
HasColorProvider TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods colorProvider :: Lens' TextDocumentClientCapabilities (Maybe DocumentColorClientCapabilities) #
HasCompletion TextDocumentClientCapabilities (Maybe CompletionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods completion :: Lens' TextDocumentClientCapabilities (Maybe CompletionClientCapabilities) #
HasDeclaration TextDocumentClientCapabilities (Maybe DeclarationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods declaration :: Lens' TextDocumentClientCapabilities (Maybe DeclarationClientCapabilities) #
HasDefinition TextDocumentClientCapabilities (Maybe DefinitionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods definition :: Lens' TextDocumentClientCapabilities (Maybe DefinitionClientCapabilities) #
HasDiagnostic TextDocumentClientCapabilities (Maybe DiagnosticClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostic :: Lens' TextDocumentClientCapabilities (Maybe DiagnosticClientCapabilities) #
HasDocumentHighlight TextDocumentClientCapabilities (Maybe DocumentHighlightClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentHighlight :: Lens' TextDocumentClientCapabilities (Maybe DocumentHighlightClientCapabilities) #
HasDocumentLink TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentLink :: Lens' TextDocumentClientCapabilities (Maybe DocumentLinkClientCapabilities) #
HasDocumentSymbol TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentSymbol :: Lens' TextDocumentClientCapabilities (Maybe DocumentSymbolClientCapabilities) #
HasFoldingRange TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods foldingRange :: Lens' TextDocumentClientCapabilities (Maybe FoldingRangeClientCapabilities) #
HasFormatting TextDocumentClientCapabilities (Maybe DocumentFormattingClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods formatting :: Lens' TextDocumentClientCapabilities (Maybe DocumentFormattingClientCapabilities) #
HasHover TextDocumentClientCapabilities (Maybe HoverClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods hover :: Lens' TextDocumentClientCapabilities (Maybe HoverClientCapabilities) #
HasImplementation TextDocumentClientCapabilities (Maybe ImplementationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods implementation :: Lens' TextDocumentClientCapabilities (Maybe ImplementationClientCapabilities) #
HasInlayHint TextDocumentClientCapabilities (Maybe InlayHintClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHint :: Lens' TextDocumentClientCapabilities (Maybe InlayHintClientCapabilities) #
HasInlineValue TextDocumentClientCapabilities (Maybe InlineValueClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValue :: Lens' TextDocumentClientCapabilities (Maybe InlineValueClientCapabilities) #
HasLinkedEditingRange TextDocumentClientCapabilities (Maybe LinkedEditingRangeClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkedEditingRange :: Lens' TextDocumentClientCapabilities (Maybe LinkedEditingRangeClientCapabilities) #
HasMoniker TextDocumentClientCapabilities (Maybe MonikerClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods moniker :: Lens' TextDocumentClientCapabilities (Maybe MonikerClientCapabilities) #
HasOnTypeFormatting TextDocumentClientCapabilities (Maybe DocumentOnTypeFormattingClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods onTypeFormatting :: Lens' TextDocumentClientCapabilities (Maybe DocumentOnTypeFormattingClientCapabilities) #
HasPublishDiagnostics TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods publishDiagnostics :: Lens' TextDocumentClientCapabilities (Maybe PublishDiagnosticsClientCapabilities) #
HasRangeFormatting TextDocumentClientCapabilities (Maybe DocumentRangeFormattingClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rangeFormatting :: Lens' TextDocumentClientCapabilities (Maybe DocumentRangeFormattingClientCapabilities) #
HasReferences TextDocumentClientCapabilities (Maybe ReferenceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods references :: Lens' TextDocumentClientCapabilities (Maybe ReferenceClientCapabilities) #
HasRename TextDocumentClientCapabilities (Maybe RenameClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rename :: Lens' TextDocumentClientCapabilities (Maybe RenameClientCapabilities) #
HasSelectionRange TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods selectionRange :: Lens' TextDocumentClientCapabilities (Maybe SelectionRangeClientCapabilities) #
HasSemanticTokens TextDocumentClientCapabilities (Maybe SemanticTokensClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokens :: Lens' TextDocumentClientCapabilities (Maybe SemanticTokensClientCapabilities) #
HasSignatureHelp TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods signatureHelp :: Lens' TextDocumentClientCapabilities (Maybe SignatureHelpClientCapabilities) #
HasSynchronization TextDocumentClientCapabilities (Maybe TextDocumentSyncClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods synchronization :: Lens' TextDocumentClientCapabilities (Maybe TextDocumentSyncClientCapabilities) #
HasTextDocument ClientCapabilities (Maybe TextDocumentClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ClientCapabilities (Maybe TextDocumentClientCapabilities) #
HasTypeDefinition TextDocumentClientCapabilities (Maybe TypeDefinitionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeDefinition :: Lens' TextDocumentClientCapabilities (Maybe TypeDefinitionClientCapabilities) #
HasTypeHierarchy TextDocumentClientCapabilities (Maybe TypeHierarchyClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeHierarchy :: Lens' TextDocumentClientCapabilities (Maybe TypeHierarchyClientCapabilities) #
type Rep TextDocumentClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities

type Rep TextDocumentClientCapabilities = D1 ('MetaData "TextDocumentClientCapabilities" "Language.LSP.Protocol.Internal.Types.TextDocumentClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentClientCapabilities" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "_synchronization") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextDocumentSyncClientCapabilities)) :*: (S1 ('MetaSel ('Just "_completion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CompletionClientCapabilities)) :*: S1 ('MetaSel ('Just "_hover") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HoverClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_signatureHelp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SignatureHelpClientCapabilities)) :*: S1 ('MetaSel ('Just "_declaration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DeclarationClientCapabilities))) :*: (S1 ('MetaSel ('Just "_definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DefinitionClientCapabilities)) :*: S1 ('MetaSel ('Just "_typeDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeDefinitionClientCapabilities))))) :*: (((S1 ('MetaSel ('Just "_implementation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ImplementationClientCapabilities)) :*: S1 ('MetaSel ('Just "_references") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReferenceClientCapabilities))) :*: (S1 ('MetaSel ('Just "_documentHighlight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentHighlightClientCapabilities)) :*: S1 ('MetaSel ('Just "_documentSymbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentSymbolClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_codeAction") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeActionClientCapabilities)) :*: S1 ('MetaSel ('Just "_codeLens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeLensClientCapabilities))) :*: (S1 ('MetaSel ('Just "_documentLink") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentLinkClientCapabilities)) :*: S1 ('MetaSel ('Just "_colorProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentColorClientCapabilities)))))) :*: (((S1 ('MetaSel ('Just "_formatting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentFormattingClientCapabilities)) :*: (S1 ('MetaSel ('Just "_rangeFormatting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentRangeFormattingClientCapabilities)) :*: S1 ('MetaSel ('Just "_onTypeFormatting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentOnTypeFormattingClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_rename") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RenameClientCapabilities)) :*: S1 ('MetaSel ('Just "_foldingRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FoldingRangeClientCapabilities))) :*: (S1 ('MetaSel ('Just "_selectionRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SelectionRangeClientCapabilities)) :*: S1 ('MetaSel ('Just "_publishDiagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PublishDiagnosticsClientCapabilities))))) :*: (((S1 ('MetaSel ('Just "_callHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CallHierarchyClientCapabilities)) :*: S1 ('MetaSel ('Just "_semanticTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SemanticTokensClientCapabilities))) :*: (S1 ('MetaSel ('Just "_linkedEditingRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LinkedEditingRangeClientCapabilities)) :*: S1 ('MetaSel ('Just "_moniker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MonikerClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_typeHierarchy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TypeHierarchyClientCapabilities)) :*: S1 ('MetaSel ('Just "_inlineValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlineValueClientCapabilities))) :*: (S1 ('MetaSel ('Just "_inlayHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlayHintClientCapabilities)) :*: S1 ('MetaSel ('Just "_diagnostic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiagnosticClientCapabilities))))))))

newtype TextDocumentContentChangeEvent #

An event describing a change to a text document. If only a text is provided it is considered to be the full content of the document.

Constructors

TextDocumentContentChangeEvent (TextDocumentContentChangePartial |? TextDocumentContentChangeWholeDocument) |

#### Instances

Instances details

FromJSON TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods parseJSON :: Value -> Parser TextDocumentContentChangeEvent # parseJSONList :: Value -> Parser [TextDocumentContentChangeEvent] # omittedField :: Maybe TextDocumentContentChangeEvent #
ToJSON TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods toJSON :: TextDocumentContentChangeEvent -> Value # toEncoding :: TextDocumentContentChangeEvent -> Encoding # toJSONList :: [TextDocumentContentChangeEvent] -> Value # toEncodingList :: [TextDocumentContentChangeEvent] -> Encoding # omitField :: TextDocumentContentChangeEvent -> Bool #
NFData TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods rnf :: TextDocumentContentChangeEvent -> () #
Generic TextDocumentContentChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent

Associated Types

type Rep TextDocumentContentChangeEvent |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent

type Rep TextDocumentContentChangeEvent = D1 ('MetaData "TextDocumentContentChangeEvent" "Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "TextDocumentContentChangeEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TextDocumentContentChangePartial |? TextDocumentContentChangeWholeDocument))))

Methods

from :: TextDocumentContentChangeEvent -> Rep TextDocumentContentChangeEvent x #

to :: Rep TextDocumentContentChangeEvent x -> TextDocumentContentChangeEvent #

Show TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods showsPrec :: Int -> TextDocumentContentChangeEvent -> ShowS # show :: TextDocumentContentChangeEvent -> String # showList :: [TextDocumentContentChangeEvent] -> ShowS #
Eq TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods (==) :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Bool # (/=) :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Bool #
Ord TextDocumentContentChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent

Methods

compare :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Ordering #

(<) :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Bool #

(<=) :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Bool #

(>) :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Bool #

(>=) :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> Bool #

max :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent #

min :: TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent -> TextDocumentContentChangeEvent #

Hashable TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods hashWithSalt :: Int -> TextDocumentContentChangeEvent -> Int # hash :: TextDocumentContentChangeEvent -> Int #
Pretty TextDocumentContentChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent Methods pretty :: TextDocumentContentChangeEvent -> Doc ann # prettyList :: [TextDocumentContentChangeEvent] -> Doc ann #
HasChanges NotebookDocumentCellContentChanges [TextDocumentContentChangeEvent] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changes :: Lens' NotebookDocumentCellContentChanges [TextDocumentContentChangeEvent] #
HasContentChanges DidChangeTextDocumentParams [TextDocumentContentChangeEvent] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods contentChanges :: Lens' DidChangeTextDocumentParams [TextDocumentContentChangeEvent] #
type Rep TextDocumentContentChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent

type Rep TextDocumentContentChangeEvent = D1 ('MetaData "TextDocumentContentChangeEvent" "Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "TextDocumentContentChangeEvent" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TextDocumentContentChangePartial |? TextDocumentContentChangeWholeDocument))))

data TextDocumentContentChangePartial #

@proposed

Since: 3.18.0

Constructors

TextDocumentContentChangePartial |

Fields

- _range :: Range

  The range of the document that changed.

- _rangeLength :: Maybe UInt

  The optional length of the range that got replaced.

  @deprecated use range instead.

- _text :: Text

  The new text for the provided range.

#### Instances

Instances details

FromJSON TextDocumentContentChangePartial # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial Methods parseJSON :: Value -> Parser TextDocumentContentChangePartial # parseJSONList :: Value -> Parser [TextDocumentContentChangePartial] # omittedField :: Maybe TextDocumentContentChangePartial #
ToJSON TextDocumentContentChangePartial # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial

Methods

toJSON :: TextDocumentContentChangePartial -> Value #

toEncoding :: TextDocumentContentChangePartial -> Encoding #

toJSONList :: [TextDocumentContentChangePartial] -> Value #

toEncodingList :: [TextDocumentContentChangePartial] -> Encoding #

omitField :: TextDocumentContentChangePartial -> Bool #

NFData TextDocumentContentChangePartial # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial Methods rnf :: TextDocumentContentChangePartial -> () #
Generic TextDocumentContentChangePartial # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial

Associated Types

type Rep TextDocumentContentChangePartial |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial

type Rep TextDocumentContentChangePartial = D1 ('MetaData "TextDocumentContentChangePartial" "Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentContentChangePartial" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_rangeLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: TextDocumentContentChangePartial -> Rep TextDocumentContentChangePartial x #

to :: Rep TextDocumentContentChangePartial x -> TextDocumentContentChangePartial #

Show TextDocumentContentChangePartial # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial Methods showsPrec :: Int -> TextDocumentContentChangePartial -> ShowS # show :: TextDocumentContentChangePartial -> String # showList :: [TextDocumentContentChangePartial] -> ShowS #
Eq TextDocumentContentChangePartial # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial Methods (==) :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Bool # (/=) :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Bool #
Ord TextDocumentContentChangePartial # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial

Methods

compare :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Ordering #

(<) :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Bool #

(<=) :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Bool #

(>) :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Bool #

(>=) :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> Bool #

max :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> TextDocumentContentChangePartial #

min :: TextDocumentContentChangePartial -> TextDocumentContentChangePartial -> TextDocumentContentChangePartial #

Hashable TextDocumentContentChangePartial # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial Methods hashWithSalt :: Int -> TextDocumentContentChangePartial -> Int # hash :: TextDocumentContentChangePartial -> Int #
Pretty TextDocumentContentChangePartial # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial Methods pretty :: TextDocumentContentChangePartial -> Doc ann # prettyList :: [TextDocumentContentChangePartial] -> Doc ann #
HasRange TextDocumentContentChangePartial Range # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods range :: Lens' TextDocumentContentChangePartial Range #
HasText TextDocumentContentChangePartial Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods text :: Lens' TextDocumentContentChangePartial Text #
HasRangeLength TextDocumentContentChangePartial (Maybe UInt) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rangeLength :: Lens' TextDocumentContentChangePartial (Maybe UInt) #
type Rep TextDocumentContentChangePartial # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial

type Rep TextDocumentContentChangePartial = D1 ('MetaData "TextDocumentContentChangePartial" "Language.LSP.Protocol.Internal.Types.TextDocumentContentChangePartial" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentContentChangePartial" 'PrefixI 'True) (S1 ('MetaSel ('Just "_range") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Range) :*: (S1 ('MetaSel ('Just "_rangeLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UInt)) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data TextDocumentContentChangeWholeDocument #

@proposed

Since: 3.18.0

Constructors

TextDocumentContentChangeWholeDocument |

Fields

- _text :: Text

  The new text of the whole document.

#### Instances

Instances details

FromJSON TextDocumentContentChangeWholeDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument Methods parseJSON :: Value -> Parser TextDocumentContentChangeWholeDocument # parseJSONList :: Value -> Parser [TextDocumentContentChangeWholeDocument] # omittedField :: Maybe TextDocumentContentChangeWholeDocument #
ToJSON TextDocumentContentChangeWholeDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument

Methods

toJSON :: TextDocumentContentChangeWholeDocument -> Value #

toEncoding :: TextDocumentContentChangeWholeDocument -> Encoding #

toJSONList :: [TextDocumentContentChangeWholeDocument] -> Value #

toEncodingList :: [TextDocumentContentChangeWholeDocument] -> Encoding #

omitField :: TextDocumentContentChangeWholeDocument -> Bool #

NFData TextDocumentContentChangeWholeDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument Methods rnf :: TextDocumentContentChangeWholeDocument -> () #
Generic TextDocumentContentChangeWholeDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument

Associated Types

type Rep TextDocumentContentChangeWholeDocument |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument

type Rep TextDocumentContentChangeWholeDocument = D1 ('MetaData "TextDocumentContentChangeWholeDocument" "Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentContentChangeWholeDocument" 'PrefixI 'True) (S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: TextDocumentContentChangeWholeDocument -> Rep TextDocumentContentChangeWholeDocument x #

to :: Rep TextDocumentContentChangeWholeDocument x -> TextDocumentContentChangeWholeDocument #

Show TextDocumentContentChangeWholeDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument Methods showsPrec :: Int -> TextDocumentContentChangeWholeDocument -> ShowS # show :: TextDocumentContentChangeWholeDocument -> String # showList :: [TextDocumentContentChangeWholeDocument] -> ShowS #
Eq TextDocumentContentChangeWholeDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument Methods (==) :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Bool # (/=) :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Bool #
Ord TextDocumentContentChangeWholeDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument

Methods

compare :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Ordering #

(<) :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Bool #

(<=) :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Bool #

(>) :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Bool #

(>=) :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> Bool #

max :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument #

min :: TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument -> TextDocumentContentChangeWholeDocument #

Hashable TextDocumentContentChangeWholeDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument Methods hashWithSalt :: Int -> TextDocumentContentChangeWholeDocument -> Int # hash :: TextDocumentContentChangeWholeDocument -> Int #
Pretty TextDocumentContentChangeWholeDocument # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument Methods pretty :: TextDocumentContentChangeWholeDocument -> Doc ann # prettyList :: [TextDocumentContentChangeWholeDocument] -> Doc ann #
HasText TextDocumentContentChangeWholeDocument Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods text :: Lens' TextDocumentContentChangeWholeDocument Text #
type Rep TextDocumentContentChangeWholeDocument # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument

type Rep TextDocumentContentChangeWholeDocument = D1 ('MetaData "TextDocumentContentChangeWholeDocument" "Language.LSP.Protocol.Internal.Types.TextDocumentContentChangeWholeDocument" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentContentChangeWholeDocument" 'PrefixI 'True) (S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data TextDocumentEdit #

Describes textual changes on a text document. A TextDocumentEdit describes all changes on a document version Si and after they are applied move the document to version Si+1. So the creator of a TextDocumentEdit doesn't need to sort the array of edits or do any kind of ordering. However the edits must be non overlapping.

Constructors

TextDocumentEdit |

Fields

- _textDocument :: OptionalVersionedTextDocumentIdentifier

  The text document to change.

- _edits :: [TextEdit |? AnnotatedTextEdit]

  The edits to be applied.

  @since 3.16.0 - support for AnnotatedTextEdit. This is guarded using a client capability.

#### Instances

Instances details

FromJSON TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods parseJSON :: Value -> Parser TextDocumentEdit # parseJSONList :: Value -> Parser [TextDocumentEdit] # omittedField :: Maybe TextDocumentEdit #
ToJSON TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods toJSON :: TextDocumentEdit -> Value # toEncoding :: TextDocumentEdit -> Encoding # toJSONList :: [TextDocumentEdit] -> Value # toEncodingList :: [TextDocumentEdit] -> Encoding # omitField :: TextDocumentEdit -> Bool #
NFData TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods rnf :: TextDocumentEdit -> () #
Generic TextDocumentEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit

Associated Types

type Rep TextDocumentEdit |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit

type Rep TextDocumentEdit = D1 ('MetaData "TextDocumentEdit" "Language.LSP.Protocol.Internal.Types.TextDocumentEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OptionalVersionedTextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_edits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextEdit |? AnnotatedTextEdit])))

Methods

from :: TextDocumentEdit -> Rep TextDocumentEdit x #

to :: Rep TextDocumentEdit x -> TextDocumentEdit #

Show TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods showsPrec :: Int -> TextDocumentEdit -> ShowS # show :: TextDocumentEdit -> String # showList :: [TextDocumentEdit] -> ShowS #
Eq TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods (==) :: TextDocumentEdit -> TextDocumentEdit -> Bool # (/=) :: TextDocumentEdit -> TextDocumentEdit -> Bool #
Ord TextDocumentEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit

Methods

compare :: TextDocumentEdit -> TextDocumentEdit -> Ordering #

(<) :: TextDocumentEdit -> TextDocumentEdit -> Bool #

(<=) :: TextDocumentEdit -> TextDocumentEdit -> Bool #

(>) :: TextDocumentEdit -> TextDocumentEdit -> Bool #

(>=) :: TextDocumentEdit -> TextDocumentEdit -> Bool #

max :: TextDocumentEdit -> TextDocumentEdit -> TextDocumentEdit #

min :: TextDocumentEdit -> TextDocumentEdit -> TextDocumentEdit #

Hashable TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods hashWithSalt :: Int -> TextDocumentEdit -> Int # hash :: TextDocumentEdit -> Int #
Pretty TextDocumentEdit # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit Methods pretty :: TextDocumentEdit -> Doc ann # prettyList :: [TextDocumentEdit] -> Doc ann #
HasTextDocument TextDocumentEdit OptionalVersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TextDocumentEdit OptionalVersionedTextDocumentIdentifier #
HasDocumentChanges WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEdit (Maybe [TextDocumentEdit |? (CreateFile |? (RenameFile |? DeleteFile))]) #
HasEdits TextDocumentEdit [TextEdit |? AnnotatedTextEdit] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods edits :: Lens' TextDocumentEdit [TextEdit |? AnnotatedTextEdit] #
type Rep TextDocumentEdit # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentEdit

type Rep TextDocumentEdit = D1 ('MetaData "TextDocumentEdit" "Language.LSP.Protocol.Internal.Types.TextDocumentEdit" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentEdit" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OptionalVersionedTextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_edits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [TextEdit |? AnnotatedTextEdit])))

newtype TextDocumentFilter #

A document filter denotes a document by different properties like the `languageId` of its resource, or a glob-pattern that is applied to the `fileName`.

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 sub patterns into an OR expression. (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`)

`sample A language filter that applies to typescript files on disk: `{ language: `typescript`, scheme: `file` }`` sample A language filter that applies to all package.json paths: `{ language: `json`, pattern: '**package.json' }`

Since: 3.17.0

Constructors

TextDocumentFilter (TextDocumentFilterLanguage |? (TextDocumentFilterScheme |? TextDocumentFilterPattern)) |

#### Instances

Instances details

FromJSON TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods parseJSON :: Value -> Parser TextDocumentFilter # parseJSONList :: Value -> Parser [TextDocumentFilter] # omittedField :: Maybe TextDocumentFilter #
ToJSON TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods toJSON :: TextDocumentFilter -> Value # toEncoding :: TextDocumentFilter -> Encoding # toJSONList :: [TextDocumentFilter] -> Value # toEncodingList :: [TextDocumentFilter] -> Encoding # omitField :: TextDocumentFilter -> Bool #
NFData TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods rnf :: TextDocumentFilter -> () #
Generic TextDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter

Associated Types

type Rep TextDocumentFilter |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter

type Rep TextDocumentFilter = D1 ('MetaData "TextDocumentFilter" "Language.LSP.Protocol.Internal.Types.TextDocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "TextDocumentFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TextDocumentFilterLanguage |? (TextDocumentFilterScheme |? TextDocumentFilterPattern)))))

Methods

from :: TextDocumentFilter -> Rep TextDocumentFilter x #

to :: Rep TextDocumentFilter x -> TextDocumentFilter #

Show TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods showsPrec :: Int -> TextDocumentFilter -> ShowS # show :: TextDocumentFilter -> String # showList :: [TextDocumentFilter] -> ShowS #
Eq TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods (==) :: TextDocumentFilter -> TextDocumentFilter -> Bool # (/=) :: TextDocumentFilter -> TextDocumentFilter -> Bool #
Ord TextDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter

Methods

compare :: TextDocumentFilter -> TextDocumentFilter -> Ordering #

(<) :: TextDocumentFilter -> TextDocumentFilter -> Bool #

(<=) :: TextDocumentFilter -> TextDocumentFilter -> Bool #

(>) :: TextDocumentFilter -> TextDocumentFilter -> Bool #

(>=) :: TextDocumentFilter -> TextDocumentFilter -> Bool #

max :: TextDocumentFilter -> TextDocumentFilter -> TextDocumentFilter #

min :: TextDocumentFilter -> TextDocumentFilter -> TextDocumentFilter #

Hashable TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods hashWithSalt :: Int -> TextDocumentFilter -> Int # hash :: TextDocumentFilter -> Int #
Pretty TextDocumentFilter # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter Methods pretty :: TextDocumentFilter -> Doc ann # prettyList :: [TextDocumentFilter] -> Doc ann #
type Rep TextDocumentFilter # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilter

type Rep TextDocumentFilter = D1 ('MetaData "TextDocumentFilter" "Language.LSP.Protocol.Internal.Types.TextDocumentFilter" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "TextDocumentFilter" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (TextDocumentFilterLanguage |? (TextDocumentFilterScheme |? TextDocumentFilterPattern)))))

data TextDocumentFilterLanguage #

A document filter where `language` is required field.

@proposed

Since: 3.18.0

Constructors

TextDocumentFilterLanguage |

Fields

- _language :: 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}. See TextDocumentFilter for examples.

#### Instances

Instances details

FromJSON TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods parseJSON :: Value -> Parser TextDocumentFilterLanguage # parseJSONList :: Value -> Parser [TextDocumentFilterLanguage] # omittedField :: Maybe TextDocumentFilterLanguage #
ToJSON TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods toJSON :: TextDocumentFilterLanguage -> Value # toEncoding :: TextDocumentFilterLanguage -> Encoding # toJSONList :: [TextDocumentFilterLanguage] -> Value # toEncodingList :: [TextDocumentFilterLanguage] -> Encoding # omitField :: TextDocumentFilterLanguage -> Bool #
NFData TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods rnf :: TextDocumentFilterLanguage -> () #
Generic TextDocumentFilterLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage

Associated Types

type Rep TextDocumentFilterLanguage |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage

type Rep TextDocumentFilterLanguage = D1 ('MetaData "TextDocumentFilterLanguage" "Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentFilterLanguage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: TextDocumentFilterLanguage -> Rep TextDocumentFilterLanguage x #

to :: Rep TextDocumentFilterLanguage x -> TextDocumentFilterLanguage #

Show TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods showsPrec :: Int -> TextDocumentFilterLanguage -> ShowS # show :: TextDocumentFilterLanguage -> String # showList :: [TextDocumentFilterLanguage] -> ShowS #
Eq TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods (==) :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Bool # (/=) :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Bool #
Ord TextDocumentFilterLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage

Methods

compare :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Ordering #

(<) :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Bool #

(<=) :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Bool #

(>) :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Bool #

(>=) :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> Bool #

max :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> TextDocumentFilterLanguage #

min :: TextDocumentFilterLanguage -> TextDocumentFilterLanguage -> TextDocumentFilterLanguage #

Hashable TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods hashWithSalt :: Int -> TextDocumentFilterLanguage -> Int # hash :: TextDocumentFilterLanguage -> Int #
Pretty TextDocumentFilterLanguage # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage Methods pretty :: TextDocumentFilterLanguage -> Doc ann # prettyList :: [TextDocumentFilterLanguage] -> Doc ann #
HasLanguage TextDocumentFilterLanguage Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods language :: Lens' TextDocumentFilterLanguage Text #
HasPattern TextDocumentFilterLanguage (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' TextDocumentFilterLanguage (Maybe Text) #
HasScheme TextDocumentFilterLanguage (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' TextDocumentFilterLanguage (Maybe Text) #
type Rep TextDocumentFilterLanguage # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage

type Rep TextDocumentFilterLanguage = D1 ('MetaData "TextDocumentFilterLanguage" "Language.LSP.Protocol.Internal.Types.TextDocumentFilterLanguage" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentFilterLanguage" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data TextDocumentFilterPattern #

A document filter where `pattern` is required field.

@proposed

Since: 3.18.0

Constructors

TextDocumentFilterPattern |

Fields

- _language :: Maybe Text

  A language id, like `typescript`.

- _scheme :: Maybe Text

  A Uri `scheme`, like `file` or `untitled`.

- _pattern :: Text

  A glob pattern, like **​/*.{ts,js}. See TextDocumentFilter for examples.

#### Instances

Instances details

FromJSON TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods parseJSON :: Value -> Parser TextDocumentFilterPattern # parseJSONList :: Value -> Parser [TextDocumentFilterPattern] # omittedField :: Maybe TextDocumentFilterPattern #
ToJSON TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods toJSON :: TextDocumentFilterPattern -> Value # toEncoding :: TextDocumentFilterPattern -> Encoding # toJSONList :: [TextDocumentFilterPattern] -> Value # toEncodingList :: [TextDocumentFilterPattern] -> Encoding # omitField :: TextDocumentFilterPattern -> Bool #
NFData TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods rnf :: TextDocumentFilterPattern -> () #
Generic TextDocumentFilterPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern

Associated Types

type Rep TextDocumentFilterPattern |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern

type Rep TextDocumentFilterPattern = D1 ('MetaData "TextDocumentFilterPattern" "Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentFilterPattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: TextDocumentFilterPattern -> Rep TextDocumentFilterPattern x #

to :: Rep TextDocumentFilterPattern x -> TextDocumentFilterPattern #

Show TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods showsPrec :: Int -> TextDocumentFilterPattern -> ShowS # show :: TextDocumentFilterPattern -> String # showList :: [TextDocumentFilterPattern] -> ShowS #
Eq TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods (==) :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Bool # (/=) :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Bool #
Ord TextDocumentFilterPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern

Methods

compare :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Ordering #

(<) :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Bool #

(<=) :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Bool #

(>) :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Bool #

(>=) :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> Bool #

max :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> TextDocumentFilterPattern #

min :: TextDocumentFilterPattern -> TextDocumentFilterPattern -> TextDocumentFilterPattern #

Hashable TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods hashWithSalt :: Int -> TextDocumentFilterPattern -> Int # hash :: TextDocumentFilterPattern -> Int #
Pretty TextDocumentFilterPattern # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern Methods pretty :: TextDocumentFilterPattern -> Doc ann # prettyList :: [TextDocumentFilterPattern] -> Doc ann #
HasPattern TextDocumentFilterPattern Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' TextDocumentFilterPattern Text #
HasLanguage TextDocumentFilterPattern (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods language :: Lens' TextDocumentFilterPattern (Maybe Text) #
HasScheme TextDocumentFilterPattern (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' TextDocumentFilterPattern (Maybe Text) #
type Rep TextDocumentFilterPattern # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern

type Rep TextDocumentFilterPattern = D1 ('MetaData "TextDocumentFilterPattern" "Language.LSP.Protocol.Internal.Types.TextDocumentFilterPattern" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentFilterPattern" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data TextDocumentFilterScheme #

A document filter where `scheme` is required field.

@proposed

Since: 3.18.0

Constructors

TextDocumentFilterScheme |

Fields

- _language :: Maybe Text

  A language id, like `typescript`.

- _scheme :: Text

  A Uri `scheme`, like `file` or `untitled`.

- _pattern :: Maybe Text

  A glob pattern, like **​/*.{ts,js}. See TextDocumentFilter for examples.

#### Instances

Instances details

FromJSON TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods parseJSON :: Value -> Parser TextDocumentFilterScheme # parseJSONList :: Value -> Parser [TextDocumentFilterScheme] # omittedField :: Maybe TextDocumentFilterScheme #
ToJSON TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods toJSON :: TextDocumentFilterScheme -> Value # toEncoding :: TextDocumentFilterScheme -> Encoding # toJSONList :: [TextDocumentFilterScheme] -> Value # toEncodingList :: [TextDocumentFilterScheme] -> Encoding # omitField :: TextDocumentFilterScheme -> Bool #
NFData TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods rnf :: TextDocumentFilterScheme -> () #
Generic TextDocumentFilterScheme # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme

Associated Types

type Rep TextDocumentFilterScheme |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme

type Rep TextDocumentFilterScheme = D1 ('MetaData "TextDocumentFilterScheme" "Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentFilterScheme" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

Methods

from :: TextDocumentFilterScheme -> Rep TextDocumentFilterScheme x #

to :: Rep TextDocumentFilterScheme x -> TextDocumentFilterScheme #

Show TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods showsPrec :: Int -> TextDocumentFilterScheme -> ShowS # show :: TextDocumentFilterScheme -> String # showList :: [TextDocumentFilterScheme] -> ShowS #
Eq TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods (==) :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Bool # (/=) :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Bool #
Ord TextDocumentFilterScheme # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme

Methods

compare :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Ordering #

(<) :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Bool #

(<=) :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Bool #

(>) :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Bool #

(>=) :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> Bool #

max :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> TextDocumentFilterScheme #

min :: TextDocumentFilterScheme -> TextDocumentFilterScheme -> TextDocumentFilterScheme #

Hashable TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods hashWithSalt :: Int -> TextDocumentFilterScheme -> Int # hash :: TextDocumentFilterScheme -> Int #
Pretty TextDocumentFilterScheme # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme Methods pretty :: TextDocumentFilterScheme -> Doc ann # prettyList :: [TextDocumentFilterScheme] -> Doc ann #
HasScheme TextDocumentFilterScheme Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods scheme :: Lens' TextDocumentFilterScheme Text #
HasLanguage TextDocumentFilterScheme (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods language :: Lens' TextDocumentFilterScheme (Maybe Text) #
HasPattern TextDocumentFilterScheme (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods pattern :: Lens' TextDocumentFilterScheme (Maybe Text) #
type Rep TextDocumentFilterScheme # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme

type Rep TextDocumentFilterScheme = D1 ('MetaData "TextDocumentFilterScheme" "Language.LSP.Protocol.Internal.Types.TextDocumentFilterScheme" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentFilterScheme" 'PrefixI 'True) (S1 ('MetaSel ('Just "_language") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "_scheme") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_pattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

data TextDocumentIdentifier #

A literal to identify a text document in the client.

Constructors

TextDocumentIdentifier |

Fields

- _uri :: Uri

  The text document's uri.

#### Instances

Instances details

FromJSON TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods parseJSON :: Value -> Parser TextDocumentIdentifier # parseJSONList :: Value -> Parser [TextDocumentIdentifier] # omittedField :: Maybe TextDocumentIdentifier #
ToJSON TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods toJSON :: TextDocumentIdentifier -> Value # toEncoding :: TextDocumentIdentifier -> Encoding # toJSONList :: [TextDocumentIdentifier] -> Value # toEncodingList :: [TextDocumentIdentifier] -> Encoding # omitField :: TextDocumentIdentifier -> Bool #
NFData TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods rnf :: TextDocumentIdentifier -> () #
Generic TextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier

Associated Types

type Rep TextDocumentIdentifier |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier

type Rep TextDocumentIdentifier = D1 ('MetaData "TextDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

Methods

from :: TextDocumentIdentifier -> Rep TextDocumentIdentifier x #

to :: Rep TextDocumentIdentifier x -> TextDocumentIdentifier #

Show TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods showsPrec :: Int -> TextDocumentIdentifier -> ShowS # show :: TextDocumentIdentifier -> String # showList :: [TextDocumentIdentifier] -> ShowS #
Eq TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods (==) :: TextDocumentIdentifier -> TextDocumentIdentifier -> Bool # (/=) :: TextDocumentIdentifier -> TextDocumentIdentifier -> Bool #
Ord TextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier

Methods

compare :: TextDocumentIdentifier -> TextDocumentIdentifier -> Ordering #

(<) :: TextDocumentIdentifier -> TextDocumentIdentifier -> Bool #

(<=) :: TextDocumentIdentifier -> TextDocumentIdentifier -> Bool #

(>) :: TextDocumentIdentifier -> TextDocumentIdentifier -> Bool #

(>=) :: TextDocumentIdentifier -> TextDocumentIdentifier -> Bool #

max :: TextDocumentIdentifier -> TextDocumentIdentifier -> TextDocumentIdentifier #

min :: TextDocumentIdentifier -> TextDocumentIdentifier -> TextDocumentIdentifier #

Hashable TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods hashWithSalt :: Int -> TextDocumentIdentifier -> Int # hash :: TextDocumentIdentifier -> Int #
Pretty TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier Methods pretty :: TextDocumentIdentifier -> Doc ann # prettyList :: [TextDocumentIdentifier] -> Doc ann #
HasTextDocument CallHierarchyPrepareParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CallHierarchyPrepareParams TextDocumentIdentifier #
HasTextDocument CodeActionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CodeActionParams TextDocumentIdentifier #
HasTextDocument CodeLensParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CodeLensParams TextDocumentIdentifier #
HasTextDocument ColorPresentationParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ColorPresentationParams TextDocumentIdentifier #
HasTextDocument CompletionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' CompletionParams TextDocumentIdentifier #
HasTextDocument DeclarationParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DeclarationParams TextDocumentIdentifier #
HasTextDocument DefinitionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DefinitionParams TextDocumentIdentifier #
HasTextDocument DidCloseTextDocumentParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidCloseTextDocumentParams TextDocumentIdentifier #
HasTextDocument DidSaveTextDocumentParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidSaveTextDocumentParams TextDocumentIdentifier #
HasTextDocument DocumentColorParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentColorParams TextDocumentIdentifier #
HasTextDocument DocumentDiagnosticParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentDiagnosticParams TextDocumentIdentifier #
HasTextDocument DocumentFormattingParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentFormattingParams TextDocumentIdentifier #
HasTextDocument DocumentHighlightParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentHighlightParams TextDocumentIdentifier #
HasTextDocument DocumentLinkParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentLinkParams TextDocumentIdentifier #
HasTextDocument DocumentOnTypeFormattingParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentOnTypeFormattingParams TextDocumentIdentifier #
HasTextDocument DocumentRangeFormattingParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentRangeFormattingParams TextDocumentIdentifier #
HasTextDocument DocumentSymbolParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DocumentSymbolParams TextDocumentIdentifier #
HasTextDocument FoldingRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' FoldingRangeParams TextDocumentIdentifier #
HasTextDocument HoverParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' HoverParams TextDocumentIdentifier #
HasTextDocument ImplementationParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ImplementationParams TextDocumentIdentifier #
HasTextDocument InlayHintParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' InlayHintParams TextDocumentIdentifier #
HasTextDocument InlineValueParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' InlineValueParams TextDocumentIdentifier #
HasTextDocument LinkedEditingRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' LinkedEditingRangeParams TextDocumentIdentifier #
HasTextDocument MonikerParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' MonikerParams TextDocumentIdentifier #
HasTextDocument PrepareRenameParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' PrepareRenameParams TextDocumentIdentifier #
HasTextDocument ReferenceParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' ReferenceParams TextDocumentIdentifier #
HasTextDocument RenameParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' RenameParams TextDocumentIdentifier #
HasTextDocument SelectionRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SelectionRangeParams TextDocumentIdentifier #
HasTextDocument SemanticTokensDeltaParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SemanticTokensDeltaParams TextDocumentIdentifier #
HasTextDocument SemanticTokensParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SemanticTokensParams TextDocumentIdentifier #
HasTextDocument SemanticTokensRangeParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SemanticTokensRangeParams TextDocumentIdentifier #
HasTextDocument SignatureHelpParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' SignatureHelpParams TextDocumentIdentifier #
HasTextDocument TextDocumentPositionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TextDocumentPositionParams TextDocumentIdentifier #
HasTextDocument TypeDefinitionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TypeDefinitionParams TextDocumentIdentifier #
HasTextDocument TypeHierarchyPrepareParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TypeHierarchyPrepareParams TextDocumentIdentifier #
HasTextDocument WillSaveTextDocumentParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' WillSaveTextDocumentParams TextDocumentIdentifier #
HasUri TextDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' TextDocumentIdentifier Uri #
HasCellTextDocuments DidCloseNotebookDocumentParams [TextDocumentIdentifier] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cellTextDocuments :: Lens' DidCloseNotebookDocumentParams [TextDocumentIdentifier] #
HasDidClose NotebookDocumentCellChangeStructure (Maybe [TextDocumentIdentifier]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didClose :: Lens' NotebookDocumentCellChangeStructure (Maybe [TextDocumentIdentifier]) #
type Rep TextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier

type Rep TextDocumentIdentifier = D1 ('MetaData "TextDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.TextDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

data TextDocumentItem #

An item to transfer a text document from the client to the server.

Constructors

TextDocumentItem |

Fields

- _uri :: Uri

  The text document's uri.

- _languageId :: LanguageKind

  The text document's language identifier.

- _version :: Int32

  The version number of this document (it will increase after each change, including undo/redo).

- _text :: Text

  The content of the opened text document.

#### Instances

Instances details

FromJSON TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods parseJSON :: Value -> Parser TextDocumentItem # parseJSONList :: Value -> Parser [TextDocumentItem] # omittedField :: Maybe TextDocumentItem #
ToJSON TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods toJSON :: TextDocumentItem -> Value # toEncoding :: TextDocumentItem -> Encoding # toJSONList :: [TextDocumentItem] -> Value # toEncodingList :: [TextDocumentItem] -> Encoding # omitField :: TextDocumentItem -> Bool #
NFData TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods rnf :: TextDocumentItem -> () #
Generic TextDocumentItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem

Associated Types

type Rep TextDocumentItem |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem

type Rep TextDocumentItem = D1 ('MetaData "TextDocumentItem" "Language.LSP.Protocol.Internal.Types.TextDocumentItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentItem" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_languageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LanguageKind)) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Methods

from :: TextDocumentItem -> Rep TextDocumentItem x #

to :: Rep TextDocumentItem x -> TextDocumentItem #

Show TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods showsPrec :: Int -> TextDocumentItem -> ShowS # show :: TextDocumentItem -> String # showList :: [TextDocumentItem] -> ShowS #
Eq TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods (==) :: TextDocumentItem -> TextDocumentItem -> Bool # (/=) :: TextDocumentItem -> TextDocumentItem -> Bool #
Ord TextDocumentItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem

Methods

compare :: TextDocumentItem -> TextDocumentItem -> Ordering #

(<) :: TextDocumentItem -> TextDocumentItem -> Bool #

(<=) :: TextDocumentItem -> TextDocumentItem -> Bool #

(>) :: TextDocumentItem -> TextDocumentItem -> Bool #

(>=) :: TextDocumentItem -> TextDocumentItem -> Bool #

max :: TextDocumentItem -> TextDocumentItem -> TextDocumentItem #

min :: TextDocumentItem -> TextDocumentItem -> TextDocumentItem #

Hashable TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods hashWithSalt :: Int -> TextDocumentItem -> Int # hash :: TextDocumentItem -> Int #
Pretty TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem Methods pretty :: TextDocumentItem -> Doc ann # prettyList :: [TextDocumentItem] -> Doc ann #
HasLanguageId TextDocumentItem LanguageKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods languageId :: Lens' TextDocumentItem LanguageKind #
HasText TextDocumentItem Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods text :: Lens' TextDocumentItem Text #
HasTextDocument DidOpenTextDocumentParams TextDocumentItem # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidOpenTextDocumentParams TextDocumentItem #
HasUri TextDocumentItem Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' TextDocumentItem Uri #
HasVersion TextDocumentItem Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' TextDocumentItem Int32 #
HasCellTextDocuments DidOpenNotebookDocumentParams [TextDocumentItem] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods cellTextDocuments :: Lens' DidOpenNotebookDocumentParams [TextDocumentItem] #
HasDidOpen NotebookDocumentCellChangeStructure (Maybe [TextDocumentItem]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didOpen :: Lens' NotebookDocumentCellChangeStructure (Maybe [TextDocumentItem]) #
type Rep TextDocumentItem # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentItem

type Rep TextDocumentItem = D1 ('MetaData "TextDocumentItem" "Language.LSP.Protocol.Internal.Types.TextDocumentItem" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentItem" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_languageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LanguageKind)) :*: (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "_text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

data TextDocumentPositionParams #

A parameter literal used in requests to pass a text document and a position inside that document.

Constructors

TextDocumentPositionParams |

Fields

- _textDocument :: TextDocumentIdentifier

  The text document.

- _position :: Position

  The position inside the text document.

#### Instances

Instances details

FromJSON TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods parseJSON :: Value -> Parser TextDocumentPositionParams # parseJSONList :: Value -> Parser [TextDocumentPositionParams] # omittedField :: Maybe TextDocumentPositionParams #
ToJSON TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods toJSON :: TextDocumentPositionParams -> Value # toEncoding :: TextDocumentPositionParams -> Encoding # toJSONList :: [TextDocumentPositionParams] -> Value # toEncodingList :: [TextDocumentPositionParams] -> Encoding # omitField :: TextDocumentPositionParams -> Bool #
NFData TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods rnf :: TextDocumentPositionParams -> () #
Generic TextDocumentPositionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams

Associated Types

type Rep TextDocumentPositionParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams

type Rep TextDocumentPositionParams = D1 ('MetaData "TextDocumentPositionParams" "Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentPositionParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)))

Methods

from :: TextDocumentPositionParams -> Rep TextDocumentPositionParams x #

to :: Rep TextDocumentPositionParams x -> TextDocumentPositionParams #

Show TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods showsPrec :: Int -> TextDocumentPositionParams -> ShowS # show :: TextDocumentPositionParams -> String # showList :: [TextDocumentPositionParams] -> ShowS #
Eq TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods (==) :: TextDocumentPositionParams -> TextDocumentPositionParams -> Bool # (/=) :: TextDocumentPositionParams -> TextDocumentPositionParams -> Bool #
Ord TextDocumentPositionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams

Methods

compare :: TextDocumentPositionParams -> TextDocumentPositionParams -> Ordering #

(<) :: TextDocumentPositionParams -> TextDocumentPositionParams -> Bool #

(<=) :: TextDocumentPositionParams -> TextDocumentPositionParams -> Bool #

(>) :: TextDocumentPositionParams -> TextDocumentPositionParams -> Bool #

(>=) :: TextDocumentPositionParams -> TextDocumentPositionParams -> Bool #

max :: TextDocumentPositionParams -> TextDocumentPositionParams -> TextDocumentPositionParams #

min :: TextDocumentPositionParams -> TextDocumentPositionParams -> TextDocumentPositionParams #

Hashable TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods hashWithSalt :: Int -> TextDocumentPositionParams -> Int # hash :: TextDocumentPositionParams -> Int #
Pretty TextDocumentPositionParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams Methods pretty :: TextDocumentPositionParams -> Doc ann # prettyList :: [TextDocumentPositionParams] -> Doc ann #
HasPosition TextDocumentPositionParams Position # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods position :: Lens' TextDocumentPositionParams Position #
HasTextDocument TextDocumentPositionParams TextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' TextDocumentPositionParams TextDocumentIdentifier #
type Rep TextDocumentPositionParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams

type Rep TextDocumentPositionParams = D1 ('MetaData "TextDocumentPositionParams" "Language.LSP.Protocol.Internal.Types.TextDocumentPositionParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentPositionParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_textDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TextDocumentIdentifier) :*: S1 ('MetaSel ('Just "_position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Position)))

data TextDocumentSaveReason #

Represents reasons why a text document is saved.

Constructors

TextDocumentSaveReason_Manual | Manually triggered, e.g. by the user pressing save, by starting debugging, or by an API call.
TextDocumentSaveReason_AfterDelay | Automatic after a delay.
TextDocumentSaveReason_FocusOut | When the editor lost focus.

#### Instances

Instances details

FromJSON TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods parseJSON :: Value -> Parser TextDocumentSaveReason # parseJSONList :: Value -> Parser [TextDocumentSaveReason] # omittedField :: Maybe TextDocumentSaveReason #
ToJSON TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods toJSON :: TextDocumentSaveReason -> Value # toEncoding :: TextDocumentSaveReason -> Encoding # toJSONList :: [TextDocumentSaveReason] -> Value # toEncodingList :: [TextDocumentSaveReason] -> Encoding # omitField :: TextDocumentSaveReason -> Bool #
NFData TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods rnf :: TextDocumentSaveReason -> () #
Generic TextDocumentSaveReason # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason

Associated Types

type Rep TextDocumentSaveReason |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason

type Rep TextDocumentSaveReason = D1 ('MetaData "TextDocumentSaveReason" "Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSaveReason_Manual" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextDocumentSaveReason_AfterDelay" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextDocumentSaveReason_FocusOut" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: TextDocumentSaveReason -> Rep TextDocumentSaveReason x #

to :: Rep TextDocumentSaveReason x -> TextDocumentSaveReason #

Show TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods showsPrec :: Int -> TextDocumentSaveReason -> ShowS # show :: TextDocumentSaveReason -> String # showList :: [TextDocumentSaveReason] -> ShowS #
Eq TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods (==) :: TextDocumentSaveReason -> TextDocumentSaveReason -> Bool # (/=) :: TextDocumentSaveReason -> TextDocumentSaveReason -> Bool #
Ord TextDocumentSaveReason # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason

Methods

compare :: TextDocumentSaveReason -> TextDocumentSaveReason -> Ordering #

(<) :: TextDocumentSaveReason -> TextDocumentSaveReason -> Bool #

(<=) :: TextDocumentSaveReason -> TextDocumentSaveReason -> Bool #

(>) :: TextDocumentSaveReason -> TextDocumentSaveReason -> Bool #

(>=) :: TextDocumentSaveReason -> TextDocumentSaveReason -> Bool #

max :: TextDocumentSaveReason -> TextDocumentSaveReason -> TextDocumentSaveReason #

min :: TextDocumentSaveReason -> TextDocumentSaveReason -> TextDocumentSaveReason #

Hashable TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods hashWithSalt :: Int -> TextDocumentSaveReason -> Int # hash :: TextDocumentSaveReason -> Int #
LspEnum TextDocumentSaveReason # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason

Associated Types

type EnumBaseType TextDocumentSaveReason |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason type EnumBaseType TextDocumentSaveReason = UInt

Methods

knownValues :: Set TextDocumentSaveReason #

toEnumBaseType :: TextDocumentSaveReason -> EnumBaseType TextDocumentSaveReason #

fromEnumBaseType :: EnumBaseType TextDocumentSaveReason -> Maybe TextDocumentSaveReason #

Pretty TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason Methods pretty :: TextDocumentSaveReason -> Doc ann # prettyList :: [TextDocumentSaveReason] -> Doc ann #
HasReason WillSaveTextDocumentParams TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods reason :: Lens' WillSaveTextDocumentParams TextDocumentSaveReason #
type Rep TextDocumentSaveReason # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason

type Rep TextDocumentSaveReason = D1 ('MetaData "TextDocumentSaveReason" "Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSaveReason_Manual" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextDocumentSaveReason_AfterDelay" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextDocumentSaveReason_FocusOut" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType TextDocumentSaveReason # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSaveReason type EnumBaseType TextDocumentSaveReason = UInt

data TextDocumentSyncClientCapabilities #

Constructors

TextDocumentSyncClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether text document synchronization supports dynamic registration.

- _willSave :: Maybe Bool

  The client supports sending will save notifications.

- _willSaveWaitUntil :: Maybe Bool

  The client supports sending a will save request and waits for a response providing text edits which will be applied to the document before it is saved.

- _didSave :: Maybe Bool

  The client supports did save notifications.

#### Instances

Instances details

FromJSON TextDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities Methods parseJSON :: Value -> Parser TextDocumentSyncClientCapabilities # parseJSONList :: Value -> Parser [TextDocumentSyncClientCapabilities] # omittedField :: Maybe TextDocumentSyncClientCapabilities #
ToJSON TextDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities

Methods

toJSON :: TextDocumentSyncClientCapabilities -> Value #

toEncoding :: TextDocumentSyncClientCapabilities -> Encoding #

toJSONList :: [TextDocumentSyncClientCapabilities] -> Value #

toEncodingList :: [TextDocumentSyncClientCapabilities] -> Encoding #

omitField :: TextDocumentSyncClientCapabilities -> Bool #

NFData TextDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities Methods rnf :: TextDocumentSyncClientCapabilities -> () #
Generic TextDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities

Associated Types

type Rep TextDocumentSyncClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities

type Rep TextDocumentSyncClientCapabilities = D1 ('MetaData "TextDocumentSyncClientCapabilities" "Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSyncClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willSave") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_willSaveWaitUntil") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_didSave") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

Methods

from :: TextDocumentSyncClientCapabilities -> Rep TextDocumentSyncClientCapabilities x #

to :: Rep TextDocumentSyncClientCapabilities x -> TextDocumentSyncClientCapabilities #

Show TextDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities Methods showsPrec :: Int -> TextDocumentSyncClientCapabilities -> ShowS # show :: TextDocumentSyncClientCapabilities -> String # showList :: [TextDocumentSyncClientCapabilities] -> ShowS #
Eq TextDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities Methods (==) :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Bool # (/=) :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Bool #
Ord TextDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities

Methods

compare :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Ordering #

(<) :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Bool #

(<=) :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Bool #

(>) :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Bool #

(>=) :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> Bool #

max :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities #

min :: TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities -> TextDocumentSyncClientCapabilities #

Hashable TextDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities Methods hashWithSalt :: Int -> TextDocumentSyncClientCapabilities -> Int # hash :: TextDocumentSyncClientCapabilities -> Int #
Pretty TextDocumentSyncClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities Methods pretty :: TextDocumentSyncClientCapabilities -> Doc ann # prettyList :: [TextDocumentSyncClientCapabilities] -> Doc ann #
HasDidSave TextDocumentSyncClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didSave :: Lens' TextDocumentSyncClientCapabilities (Maybe Bool) #
HasDynamicRegistration TextDocumentSyncClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' TextDocumentSyncClientCapabilities (Maybe Bool) #
HasSynchronization TextDocumentClientCapabilities (Maybe TextDocumentSyncClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods synchronization :: Lens' TextDocumentClientCapabilities (Maybe TextDocumentSyncClientCapabilities) #
HasWillSave TextDocumentSyncClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willSave :: Lens' TextDocumentSyncClientCapabilities (Maybe Bool) #
HasWillSaveWaitUntil TextDocumentSyncClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willSaveWaitUntil :: Lens' TextDocumentSyncClientCapabilities (Maybe Bool) #
type Rep TextDocumentSyncClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities

type Rep TextDocumentSyncClientCapabilities = D1 ('MetaData "TextDocumentSyncClientCapabilities" "Language.LSP.Protocol.Internal.Types.TextDocumentSyncClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSyncClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_willSave") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "_willSaveWaitUntil") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_didSave") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

data TextDocumentSyncKind #

Defines how the host (editor) should sync document changes to the language server.

Constructors

TextDocumentSyncKind_None | Documents should not be synced at all.
TextDocumentSyncKind_Full | Documents are synced by always sending the full content of the document.
TextDocumentSyncKind_Incremental | Documents are synced by sending the full content on open. After that only incremental updates to the document are send.

#### Instances

Instances details

FromJSON TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods parseJSON :: Value -> Parser TextDocumentSyncKind # parseJSONList :: Value -> Parser [TextDocumentSyncKind] # omittedField :: Maybe TextDocumentSyncKind #
ToJSON TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods toJSON :: TextDocumentSyncKind -> Value # toEncoding :: TextDocumentSyncKind -> Encoding # toJSONList :: [TextDocumentSyncKind] -> Value # toEncodingList :: [TextDocumentSyncKind] -> Encoding # omitField :: TextDocumentSyncKind -> Bool #
NFData TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods rnf :: TextDocumentSyncKind -> () #
Generic TextDocumentSyncKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind

Associated Types

type Rep TextDocumentSyncKind |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind

type Rep TextDocumentSyncKind = D1 ('MetaData "TextDocumentSyncKind" "Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSyncKind_None" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextDocumentSyncKind_Full" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextDocumentSyncKind_Incremental" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: TextDocumentSyncKind -> Rep TextDocumentSyncKind x #

to :: Rep TextDocumentSyncKind x -> TextDocumentSyncKind #

Show TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods showsPrec :: Int -> TextDocumentSyncKind -> ShowS # show :: TextDocumentSyncKind -> String # showList :: [TextDocumentSyncKind] -> ShowS #
Eq TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods (==) :: TextDocumentSyncKind -> TextDocumentSyncKind -> Bool # (/=) :: TextDocumentSyncKind -> TextDocumentSyncKind -> Bool #
Ord TextDocumentSyncKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind

Methods

compare :: TextDocumentSyncKind -> TextDocumentSyncKind -> Ordering #

(<) :: TextDocumentSyncKind -> TextDocumentSyncKind -> Bool #

(<=) :: TextDocumentSyncKind -> TextDocumentSyncKind -> Bool #

(>) :: TextDocumentSyncKind -> TextDocumentSyncKind -> Bool #

(>=) :: TextDocumentSyncKind -> TextDocumentSyncKind -> Bool #

max :: TextDocumentSyncKind -> TextDocumentSyncKind -> TextDocumentSyncKind #

min :: TextDocumentSyncKind -> TextDocumentSyncKind -> TextDocumentSyncKind #

Hashable TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods hashWithSalt :: Int -> TextDocumentSyncKind -> Int # hash :: TextDocumentSyncKind -> Int #
LspEnum TextDocumentSyncKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind

Associated Types

type EnumBaseType TextDocumentSyncKind |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind type EnumBaseType TextDocumentSyncKind = UInt

Methods

knownValues :: Set TextDocumentSyncKind #

toEnumBaseType :: TextDocumentSyncKind -> EnumBaseType TextDocumentSyncKind #

fromEnumBaseType :: EnumBaseType TextDocumentSyncKind -> Maybe TextDocumentSyncKind #

Pretty TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind Methods pretty :: TextDocumentSyncKind -> Doc ann # prettyList :: [TextDocumentSyncKind] -> Doc ann #
HasSyncKind TextDocumentChangeRegistrationOptions TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods syncKind :: Lens' TextDocumentChangeRegistrationOptions TextDocumentSyncKind #
HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods change :: Lens' TextDocumentSyncOptions (Maybe TextDocumentSyncKind) #
HasTextDocumentSync ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocumentSync :: Lens' ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) #
type Rep TextDocumentSyncKind # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind

type Rep TextDocumentSyncKind = D1 ('MetaData "TextDocumentSyncKind" "Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSyncKind_None" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TextDocumentSyncKind_Full" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TextDocumentSyncKind_Incremental" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType TextDocumentSyncKind # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncKind type EnumBaseType TextDocumentSyncKind = UInt

data TextDocumentSyncOptions #

Constructors

TextDocumentSyncOptions |

Fields

- _openClose :: Maybe Bool

  Open and close notifications are sent to the server. If omitted open close notification should not be sent.

- _change :: Maybe TextDocumentSyncKind

  Change notifications are sent to the server. See TextDocumentSyncKind.None, TextDocumentSyncKind.Full and TextDocumentSyncKind.Incremental. If omitted it defaults to TextDocumentSyncKind.None.

- _willSave :: Maybe Bool

  If present will save notifications are sent to the server. If omitted the notification should not be sent.

- _willSaveWaitUntil :: Maybe Bool

  If present will save wait until requests are sent to the server. If omitted the request should not be sent.

- _save :: Maybe (Bool |? SaveOptions)

  If present save notifications are sent to the server. If omitted the notification should not be sent.

#### Instances

Instances details

FromJSON TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods parseJSON :: Value -> Parser TextDocumentSyncOptions # parseJSONList :: Value -> Parser [TextDocumentSyncOptions] # omittedField :: Maybe TextDocumentSyncOptions #
ToJSON TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods toJSON :: TextDocumentSyncOptions -> Value # toEncoding :: TextDocumentSyncOptions -> Encoding # toJSONList :: [TextDocumentSyncOptions] -> Value # toEncodingList :: [TextDocumentSyncOptions] -> Encoding # omitField :: TextDocumentSyncOptions -> Bool #
NFData TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods rnf :: TextDocumentSyncOptions -> () #
Generic TextDocumentSyncOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions

Associated Types

type Rep TextDocumentSyncOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions

type Rep TextDocumentSyncOptions = D1 ('MetaData "TextDocumentSyncOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSyncOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_openClose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_change") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextDocumentSyncKind))) :*: (S1 ('MetaSel ('Just "_willSave") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_willSaveWaitUntil") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_save") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? SaveOptions)))))))

Methods

from :: TextDocumentSyncOptions -> Rep TextDocumentSyncOptions x #

to :: Rep TextDocumentSyncOptions x -> TextDocumentSyncOptions #

Show TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods showsPrec :: Int -> TextDocumentSyncOptions -> ShowS # show :: TextDocumentSyncOptions -> String # showList :: [TextDocumentSyncOptions] -> ShowS #
Eq TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods (==) :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Bool # (/=) :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Bool #
Ord TextDocumentSyncOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions

Methods

compare :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Ordering #

(<) :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Bool #

(<=) :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Bool #

(>) :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Bool #

(>=) :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> Bool #

max :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> TextDocumentSyncOptions #

min :: TextDocumentSyncOptions -> TextDocumentSyncOptions -> TextDocumentSyncOptions #

Hashable TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods hashWithSalt :: Int -> TextDocumentSyncOptions -> Int # hash :: TextDocumentSyncOptions -> Int #
Pretty TextDocumentSyncOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions Methods pretty :: TextDocumentSyncOptions -> Doc ann # prettyList :: [TextDocumentSyncOptions] -> Doc ann #
HasChange TextDocumentSyncOptions (Maybe TextDocumentSyncKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods change :: Lens' TextDocumentSyncOptions (Maybe TextDocumentSyncKind) #
HasOpenClose TextDocumentSyncOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods openClose :: Lens' TextDocumentSyncOptions (Maybe Bool) #
HasSave TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods save :: Lens' TextDocumentSyncOptions (Maybe (Bool |? SaveOptions)) #
HasTextDocumentSync ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocumentSync :: Lens' ServerCapabilities (Maybe (TextDocumentSyncOptions |? TextDocumentSyncKind)) #
HasWillSave TextDocumentSyncOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willSave :: Lens' TextDocumentSyncOptions (Maybe Bool) #
HasWillSaveWaitUntil TextDocumentSyncOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods willSaveWaitUntil :: Lens' TextDocumentSyncOptions (Maybe Bool) #
type Rep TextDocumentSyncOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions

type Rep TextDocumentSyncOptions = D1 ('MetaData "TextDocumentSyncOptions" "Language.LSP.Protocol.Internal.Types.TextDocumentSyncOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TextDocumentSyncOptions" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_openClose") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_change") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TextDocumentSyncKind))) :*: (S1 ('MetaSel ('Just "_willSave") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_willSaveWaitUntil") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_save") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Bool |? SaveOptions)))))))

data TokenFormat #

Constructors

TokenFormat_Relative |

#### Instances

Instances details

FromJSON TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods parseJSON :: Value -> Parser TokenFormat # parseJSONList :: Value -> Parser [TokenFormat] # omittedField :: Maybe TokenFormat #
ToJSON TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods toJSON :: TokenFormat -> Value # toEncoding :: TokenFormat -> Encoding # toJSONList :: [TokenFormat] -> Value # toEncodingList :: [TokenFormat] -> Encoding # omitField :: TokenFormat -> Bool #
NFData TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods rnf :: TokenFormat -> () #
Generic TokenFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TokenFormat

Associated Types

type Rep TokenFormat |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat type Rep TokenFormat = D1 ('MetaData "TokenFormat" "Language.LSP.Protocol.Internal.Types.TokenFormat" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TokenFormat_Relative" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: TokenFormat -> Rep TokenFormat x #

to :: Rep TokenFormat x -> TokenFormat #

Show TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods showsPrec :: Int -> TokenFormat -> ShowS # show :: TokenFormat -> String # showList :: [TokenFormat] -> ShowS #
Eq TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods (==) :: TokenFormat -> TokenFormat -> Bool # (/=) :: TokenFormat -> TokenFormat -> Bool #
Ord TokenFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TokenFormat

Methods

compare :: TokenFormat -> TokenFormat -> Ordering #

(<) :: TokenFormat -> TokenFormat -> Bool #

(<=) :: TokenFormat -> TokenFormat -> Bool #

(>) :: TokenFormat -> TokenFormat -> Bool #

(>=) :: TokenFormat -> TokenFormat -> Bool #

max :: TokenFormat -> TokenFormat -> TokenFormat #

min :: TokenFormat -> TokenFormat -> TokenFormat #

Hashable TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods hashWithSalt :: Int -> TokenFormat -> Int # hash :: TokenFormat -> Int #
LspEnum TokenFormat # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TokenFormat

Associated Types

type EnumBaseType TokenFormat |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat type EnumBaseType TokenFormat = Text

Methods

knownValues :: Set TokenFormat #

toEnumBaseType :: TokenFormat -> EnumBaseType TokenFormat #

fromEnumBaseType :: EnumBaseType TokenFormat -> Maybe TokenFormat #

Pretty TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat Methods pretty :: TokenFormat -> Doc ann # prettyList :: [TokenFormat] -> Doc ann #
HasFormats SemanticTokensClientCapabilities [TokenFormat] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods formats :: Lens' SemanticTokensClientCapabilities [TokenFormat] #
type Rep TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat type Rep TokenFormat = D1 ('MetaData "TokenFormat" "Language.LSP.Protocol.Internal.Types.TokenFormat" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TokenFormat_Relative" 'PrefixI 'False) (U1 :: Type -> Type))
type EnumBaseType TokenFormat # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TokenFormat type EnumBaseType TokenFormat = Text

data TraceValue #

Constructors

TraceValue_Off | Turn tracing off.
TraceValue_Messages | Trace messages only.
TraceValue_Verbose | Verbose message tracing.

#### Instances

Instances details

FromJSON TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods parseJSON :: Value -> Parser TraceValue # parseJSONList :: Value -> Parser [TraceValue] # omittedField :: Maybe TraceValue #
ToJSON TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods toJSON :: TraceValue -> Value # toEncoding :: TraceValue -> Encoding # toJSONList :: [TraceValue] -> Value # toEncodingList :: [TraceValue] -> Encoding # omitField :: TraceValue -> Bool #
NFData TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods rnf :: TraceValue -> () #
Generic TraceValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TraceValue

Associated Types

type Rep TraceValue |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TraceValue

type Rep TraceValue = D1 ('MetaData "TraceValue" "Language.LSP.Protocol.Internal.Types.TraceValue" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TraceValue_Off" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TraceValue_Messages" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TraceValue_Verbose" 'PrefixI 'False) (U1 :: Type -> Type)))

Methods

from :: TraceValue -> Rep TraceValue x #

to :: Rep TraceValue x -> TraceValue #

Show TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods showsPrec :: Int -> TraceValue -> ShowS # show :: TraceValue -> String # showList :: [TraceValue] -> ShowS #
Eq TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods (==) :: TraceValue -> TraceValue -> Bool # (/=) :: TraceValue -> TraceValue -> Bool #
Ord TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods compare :: TraceValue -> TraceValue -> Ordering # (<) :: TraceValue -> TraceValue -> Bool # (<=) :: TraceValue -> TraceValue -> Bool # (>) :: TraceValue -> TraceValue -> Bool # (>=) :: TraceValue -> TraceValue -> Bool # max :: TraceValue -> TraceValue -> TraceValue # min :: TraceValue -> TraceValue -> TraceValue #
Hashable TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods hashWithSalt :: Int -> TraceValue -> Int # hash :: TraceValue -> Int #
LspEnum TraceValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TraceValue

Associated Types

type EnumBaseType TraceValue |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue type EnumBaseType TraceValue = Text

Methods

knownValues :: Set TraceValue #

toEnumBaseType :: TraceValue -> EnumBaseType TraceValue #

fromEnumBaseType :: EnumBaseType TraceValue -> Maybe TraceValue #

Pretty TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue Methods pretty :: TraceValue -> Doc ann # prettyList :: [TraceValue] -> Doc ann #
HasValue SetTraceParams TraceValue # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods value :: Lens' SetTraceParams TraceValue #
HasTrace InitializeParams (Maybe TraceValue) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods trace :: Lens' InitializeParams (Maybe TraceValue) #
HasTrace UInitializeParams (Maybe TraceValue) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods trace :: Lens' UInitializeParams (Maybe TraceValue) #
type Rep TraceValue # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TraceValue

type Rep TraceValue = D1 ('MetaData "TraceValue" "Language.LSP.Protocol.Internal.Types.TraceValue" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TraceValue_Off" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TraceValue_Messages" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "TraceValue_Verbose" 'PrefixI 'False) (U1 :: Type -> Type)))

type EnumBaseType TraceValue # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TraceValue type EnumBaseType TraceValue = Text

data TypeDefinitionClientCapabilities #

Since 3.6.0

Constructors

TypeDefinitionClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration. If this is set to `true` the client supports the new `TypeDefinitionRegistrationOptions` return value for the corresponding server capability as well.

- _linkSupport :: Maybe Bool

  The client supports additional metadata in the form of definition links.

  Since 3.14.0

#### Instances

Instances details

FromJSON TypeDefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities Methods parseJSON :: Value -> Parser TypeDefinitionClientCapabilities # parseJSONList :: Value -> Parser [TypeDefinitionClientCapabilities] # omittedField :: Maybe TypeDefinitionClientCapabilities #
ToJSON TypeDefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities

Methods

toJSON :: TypeDefinitionClientCapabilities -> Value #

toEncoding :: TypeDefinitionClientCapabilities -> Encoding #

toJSONList :: [TypeDefinitionClientCapabilities] -> Value #

toEncodingList :: [TypeDefinitionClientCapabilities] -> Encoding #

omitField :: TypeDefinitionClientCapabilities -> Bool #

NFData TypeDefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities Methods rnf :: TypeDefinitionClientCapabilities -> () #
Generic TypeDefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities

Associated Types

type Rep TypeDefinitionClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities

type Rep TypeDefinitionClientCapabilities = D1 ('MetaData "TypeDefinitionClientCapabilities" "Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: TypeDefinitionClientCapabilities -> Rep TypeDefinitionClientCapabilities x #

to :: Rep TypeDefinitionClientCapabilities x -> TypeDefinitionClientCapabilities #

Show TypeDefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities Methods showsPrec :: Int -> TypeDefinitionClientCapabilities -> ShowS # show :: TypeDefinitionClientCapabilities -> String # showList :: [TypeDefinitionClientCapabilities] -> ShowS #
Eq TypeDefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities Methods (==) :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Bool # (/=) :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Bool #
Ord TypeDefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities

Methods

compare :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Ordering #

(<) :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Bool #

(<=) :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Bool #

(>) :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Bool #

(>=) :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> Bool #

max :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities #

min :: TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities -> TypeDefinitionClientCapabilities #

Hashable TypeDefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities Methods hashWithSalt :: Int -> TypeDefinitionClientCapabilities -> Int # hash :: TypeDefinitionClientCapabilities -> Int #
Pretty TypeDefinitionClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities Methods pretty :: TypeDefinitionClientCapabilities -> Doc ann # prettyList :: [TypeDefinitionClientCapabilities] -> Doc ann #
HasDynamicRegistration TypeDefinitionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' TypeDefinitionClientCapabilities (Maybe Bool) #
HasLinkSupport TypeDefinitionClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods linkSupport :: Lens' TypeDefinitionClientCapabilities (Maybe Bool) #
HasTypeDefinition TextDocumentClientCapabilities (Maybe TypeDefinitionClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeDefinition :: Lens' TextDocumentClientCapabilities (Maybe TypeDefinitionClientCapabilities) #
type Rep TypeDefinitionClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities

type Rep TypeDefinitionClientCapabilities = D1 ('MetaData "TypeDefinitionClientCapabilities" "Language.LSP.Protocol.Internal.Types.TypeDefinitionClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_linkSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data TypeDefinitionOptions #

Constructors

TypeDefinitionOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods parseJSON :: Value -> Parser TypeDefinitionOptions # parseJSONList :: Value -> Parser [TypeDefinitionOptions] # omittedField :: Maybe TypeDefinitionOptions #
ToJSON TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods toJSON :: TypeDefinitionOptions -> Value # toEncoding :: TypeDefinitionOptions -> Encoding # toJSONList :: [TypeDefinitionOptions] -> Value # toEncodingList :: [TypeDefinitionOptions] -> Encoding # omitField :: TypeDefinitionOptions -> Bool #
NFData TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods rnf :: TypeDefinitionOptions -> () #
Generic TypeDefinitionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions

Associated Types

type Rep TypeDefinitionOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions

type Rep TypeDefinitionOptions = D1 ('MetaData "TypeDefinitionOptions" "Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: TypeDefinitionOptions -> Rep TypeDefinitionOptions x #

to :: Rep TypeDefinitionOptions x -> TypeDefinitionOptions #

Show TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods showsPrec :: Int -> TypeDefinitionOptions -> ShowS # show :: TypeDefinitionOptions -> String # showList :: [TypeDefinitionOptions] -> ShowS #
Eq TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods (==) :: TypeDefinitionOptions -> TypeDefinitionOptions -> Bool # (/=) :: TypeDefinitionOptions -> TypeDefinitionOptions -> Bool #
Ord TypeDefinitionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions

Methods

compare :: TypeDefinitionOptions -> TypeDefinitionOptions -> Ordering #

(<) :: TypeDefinitionOptions -> TypeDefinitionOptions -> Bool #

(<=) :: TypeDefinitionOptions -> TypeDefinitionOptions -> Bool #

(>) :: TypeDefinitionOptions -> TypeDefinitionOptions -> Bool #

(>=) :: TypeDefinitionOptions -> TypeDefinitionOptions -> Bool #

max :: TypeDefinitionOptions -> TypeDefinitionOptions -> TypeDefinitionOptions #

min :: TypeDefinitionOptions -> TypeDefinitionOptions -> TypeDefinitionOptions #

Hashable TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods hashWithSalt :: Int -> TypeDefinitionOptions -> Int # hash :: TypeDefinitionOptions -> Int #
Pretty TypeDefinitionOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions Methods pretty :: TypeDefinitionOptions -> Doc ann # prettyList :: [TypeDefinitionOptions] -> Doc ann #
HasTypeDefinitionProvider ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeDefinitionProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeDefinitionOptions |? TypeDefinitionRegistrationOptions))) #
HasWorkDoneProgress TypeDefinitionOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' TypeDefinitionOptions (Maybe Bool) #
type Rep TypeDefinitionOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions

type Rep TypeDefinitionOptions = D1 ('MetaData "TypeDefinitionOptions" "Language.LSP.Protocol.Internal.Types.TypeDefinitionOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeDefinitionOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data TypeHierarchyClientCapabilities #

Since: 3.17.0

Constructors

TypeHierarchyClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Whether implementation supports dynamic registration. If this is set to `true` the client supports the new `(TextDocumentRegistrationOptions & StaticRegistrationOptions)` return value for the corresponding server capability as well.

#### Instances

Instances details

FromJSON TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods parseJSON :: Value -> Parser TypeHierarchyClientCapabilities # parseJSONList :: Value -> Parser [TypeHierarchyClientCapabilities] # omittedField :: Maybe TypeHierarchyClientCapabilities #
ToJSON TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods toJSON :: TypeHierarchyClientCapabilities -> Value # toEncoding :: TypeHierarchyClientCapabilities -> Encoding # toJSONList :: [TypeHierarchyClientCapabilities] -> Value # toEncodingList :: [TypeHierarchyClientCapabilities] -> Encoding # omitField :: TypeHierarchyClientCapabilities -> Bool #
NFData TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods rnf :: TypeHierarchyClientCapabilities -> () #
Generic TypeHierarchyClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities

Associated Types

type Rep TypeHierarchyClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities

type Rep TypeHierarchyClientCapabilities = D1 ('MetaData "TypeHierarchyClientCapabilities" "Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: TypeHierarchyClientCapabilities -> Rep TypeHierarchyClientCapabilities x #

to :: Rep TypeHierarchyClientCapabilities x -> TypeHierarchyClientCapabilities #

Show TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods showsPrec :: Int -> TypeHierarchyClientCapabilities -> ShowS # show :: TypeHierarchyClientCapabilities -> String # showList :: [TypeHierarchyClientCapabilities] -> ShowS #
Eq TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods (==) :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Bool # (/=) :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Bool #
Ord TypeHierarchyClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities

Methods

compare :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Ordering #

(<) :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Bool #

(<=) :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Bool #

(>) :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Bool #

(>=) :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> Bool #

max :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities #

min :: TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities -> TypeHierarchyClientCapabilities #

Hashable TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods hashWithSalt :: Int -> TypeHierarchyClientCapabilities -> Int # hash :: TypeHierarchyClientCapabilities -> Int #
Pretty TypeHierarchyClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities Methods pretty :: TypeHierarchyClientCapabilities -> Doc ann # prettyList :: [TypeHierarchyClientCapabilities] -> Doc ann #
HasDynamicRegistration TypeHierarchyClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' TypeHierarchyClientCapabilities (Maybe Bool) #
HasTypeHierarchy TextDocumentClientCapabilities (Maybe TypeHierarchyClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeHierarchy :: Lens' TextDocumentClientCapabilities (Maybe TypeHierarchyClientCapabilities) #
type Rep TypeHierarchyClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities

type Rep TypeHierarchyClientCapabilities = D1 ('MetaData "TypeHierarchyClientCapabilities" "Language.LSP.Protocol.Internal.Types.TypeHierarchyClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data TypeHierarchyOptions #

Type hierarchy options used during static registration.

Since: 3.17.0

Constructors

TypeHierarchyOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods parseJSON :: Value -> Parser TypeHierarchyOptions # parseJSONList :: Value -> Parser [TypeHierarchyOptions] # omittedField :: Maybe TypeHierarchyOptions #
ToJSON TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods toJSON :: TypeHierarchyOptions -> Value # toEncoding :: TypeHierarchyOptions -> Encoding # toJSONList :: [TypeHierarchyOptions] -> Value # toEncodingList :: [TypeHierarchyOptions] -> Encoding # omitField :: TypeHierarchyOptions -> Bool #
NFData TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods rnf :: TypeHierarchyOptions -> () #
Generic TypeHierarchyOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions

Associated Types

type Rep TypeHierarchyOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions

type Rep TypeHierarchyOptions = D1 ('MetaData "TypeHierarchyOptions" "Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: TypeHierarchyOptions -> Rep TypeHierarchyOptions x #

to :: Rep TypeHierarchyOptions x -> TypeHierarchyOptions #

Show TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods showsPrec :: Int -> TypeHierarchyOptions -> ShowS # show :: TypeHierarchyOptions -> String # showList :: [TypeHierarchyOptions] -> ShowS #
Eq TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods (==) :: TypeHierarchyOptions -> TypeHierarchyOptions -> Bool # (/=) :: TypeHierarchyOptions -> TypeHierarchyOptions -> Bool #
Ord TypeHierarchyOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions

Methods

compare :: TypeHierarchyOptions -> TypeHierarchyOptions -> Ordering #

(<) :: TypeHierarchyOptions -> TypeHierarchyOptions -> Bool #

(<=) :: TypeHierarchyOptions -> TypeHierarchyOptions -> Bool #

(>) :: TypeHierarchyOptions -> TypeHierarchyOptions -> Bool #

(>=) :: TypeHierarchyOptions -> TypeHierarchyOptions -> Bool #

max :: TypeHierarchyOptions -> TypeHierarchyOptions -> TypeHierarchyOptions #

min :: TypeHierarchyOptions -> TypeHierarchyOptions -> TypeHierarchyOptions #

Hashable TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods hashWithSalt :: Int -> TypeHierarchyOptions -> Int # hash :: TypeHierarchyOptions -> Int #
Pretty TypeHierarchyOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions Methods pretty :: TypeHierarchyOptions -> Doc ann # prettyList :: [TypeHierarchyOptions] -> Doc ann #
HasTypeHierarchyProvider ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods typeHierarchyProvider :: Lens' ServerCapabilities (Maybe (Bool |? (TypeHierarchyOptions |? TypeHierarchyRegistrationOptions))) #
HasWorkDoneProgress TypeHierarchyOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' TypeHierarchyOptions (Maybe Bool) #
type Rep TypeHierarchyOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions

type Rep TypeHierarchyOptions = D1 ('MetaData "TypeHierarchyOptions" "Language.LSP.Protocol.Internal.Types.TypeHierarchyOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "TypeHierarchyOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data UInitializeParams #

The initialize parameters

Constructors

UInitializeParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

- _processId :: Int32 |? Null

  The process Id of the parent process that started the server.

  Is `null` if the process has not been started by another process. If the parent process is not alive then the server should exit.

- _clientInfo :: Maybe ClientInfo

  Information about the client

  Since: 3.15.0

- _locale :: Maybe Text

  The locale the client is currently showing the user interface in. This must not necessarily be the locale of the operating system.

  Uses IETF language tags as the value's syntax (See https://en.wikipedia.org/wiki/IETF_language_tag)

  Since: 3.16.0

- _rootPath :: Maybe (Text |? Null)

  The rootPath of the workspace. Is null if no folder is open.

  @deprecated in favour of rootUri.

- _rootUri :: Uri |? Null

  The rootUri of the workspace. Is null if no folder is open. If both `rootPath` and `rootUri` are set `rootUri` wins.

  @deprecated in favour of workspaceFolders.

- _capabilities :: ClientCapabilities

  The capabilities provided by the client (editor or tool)

- _initializationOptions :: Maybe Value

  User provided initialization options.

- _trace :: Maybe TraceValue

  The initial trace setting. If omitted trace is disabled (`off`).

#### Instances

Instances details

FromJSON UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods parseJSON :: Value -> Parser UInitializeParams # parseJSONList :: Value -> Parser [UInitializeParams] # omittedField :: Maybe UInitializeParams #
ToJSON UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods toJSON :: UInitializeParams -> Value # toEncoding :: UInitializeParams -> Encoding # toJSONList :: [UInitializeParams] -> Value # toEncodingList :: [UInitializeParams] -> Encoding # omitField :: UInitializeParams -> Bool #
NFData UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods rnf :: UInitializeParams -> () #
Generic UInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams

Associated Types

type Rep UInitializeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams

type Rep UInitializeParams = D1 ('MetaData "UInitializeParams" "Language.LSP.Protocol.Internal.Types.UInitializeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "UInitializeParams" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_processId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))) :*: (S1 ('MetaSel ('Just "_clientInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientInfo)) :*: S1 ('MetaSel ('Just "_locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_rootPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? Null))) :*: S1 ('MetaSel ('Just "_rootUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Uri |? Null))) :*: (S1 ('MetaSel ('Just "_capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientCapabilities) :*: (S1 ('MetaSel ('Just "_initializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "_trace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TraceValue)))))))

Methods

from :: UInitializeParams -> Rep UInitializeParams x #

to :: Rep UInitializeParams x -> UInitializeParams #

Show UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods showsPrec :: Int -> UInitializeParams -> ShowS # show :: UInitializeParams -> String # showList :: [UInitializeParams] -> ShowS #
Eq UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods (==) :: UInitializeParams -> UInitializeParams -> Bool # (/=) :: UInitializeParams -> UInitializeParams -> Bool #
Ord UInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams

Methods

compare :: UInitializeParams -> UInitializeParams -> Ordering #

(<) :: UInitializeParams -> UInitializeParams -> Bool #

(<=) :: UInitializeParams -> UInitializeParams -> Bool #

(>) :: UInitializeParams -> UInitializeParams -> Bool #

(>=) :: UInitializeParams -> UInitializeParams -> Bool #

max :: UInitializeParams -> UInitializeParams -> UInitializeParams #

min :: UInitializeParams -> UInitializeParams -> UInitializeParams #

Hashable UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods hashWithSalt :: Int -> UInitializeParams -> Int # hash :: UInitializeParams -> Int #
Pretty UInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams Methods pretty :: UInitializeParams -> Doc ann # prettyList :: [UInitializeParams] -> Doc ann #
HasCapabilities UInitializeParams ClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods capabilities :: Lens' UInitializeParams ClientCapabilities #
HasClientInfo UInitializeParams (Maybe ClientInfo) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods clientInfo :: Lens' UInitializeParams (Maybe ClientInfo) #
HasInitializationOptions UInitializeParams (Maybe Value) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods initializationOptions :: Lens' UInitializeParams (Maybe Value) #
HasLocale UInitializeParams (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods locale :: Lens' UInitializeParams (Maybe Text) #
HasRootPath UInitializeParams (Maybe (Text |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootPath :: Lens' UInitializeParams (Maybe (Text |? Null)) #
HasTrace UInitializeParams (Maybe TraceValue) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods trace :: Lens' UInitializeParams (Maybe TraceValue) #
HasWorkDoneToken UInitializeParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' UInitializeParams (Maybe ProgressToken) #
HasProcessId UInitializeParams (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods processId :: Lens' UInitializeParams (Int32 |? Null) #
HasRootUri UInitializeParams (Uri |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods rootUri :: Lens' UInitializeParams (Uri |? Null) #
type Rep UInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UInitializeParams

type Rep UInitializeParams = D1 ('MetaData "UInitializeParams" "Language.LSP.Protocol.Internal.Types.UInitializeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "UInitializeParams" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken)) :*: S1 ('MetaSel ('Just "_processId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))) :*: (S1 ('MetaSel ('Just "_clientInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientInfo)) :*: S1 ('MetaSel ('Just "_locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "_rootPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? Null))) :*: S1 ('MetaSel ('Just "_rootUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Uri |? Null))) :*: (S1 ('MetaSel ('Just "_capabilities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClientCapabilities) :*: (S1 ('MetaSel ('Just "_initializationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Value)) :*: S1 ('MetaSel ('Just "_trace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TraceValue)))))))

data UnchangedDocumentDiagnosticReport #

A diagnostic report indicating that the last returned report is still accurate.

Since: 3.17.0

Constructors

UnchangedDocumentDiagnosticReport |

Fields

- _kind :: AString "unchanged"

  A document diagnostic report indicating no changes to the last result. A server can only return `unchanged` if result ids are provided.

- _resultId :: Text

  A result id which will be sent on the next diagnostic request for the same document.

#### Instances

Instances details

FromJSON UnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport Methods parseJSON :: Value -> Parser UnchangedDocumentDiagnosticReport # parseJSONList :: Value -> Parser [UnchangedDocumentDiagnosticReport] # omittedField :: Maybe UnchangedDocumentDiagnosticReport #
ToJSON UnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport

Methods

toJSON :: UnchangedDocumentDiagnosticReport -> Value #

toEncoding :: UnchangedDocumentDiagnosticReport -> Encoding #

toJSONList :: [UnchangedDocumentDiagnosticReport] -> Value #

toEncodingList :: [UnchangedDocumentDiagnosticReport] -> Encoding #

omitField :: UnchangedDocumentDiagnosticReport -> Bool #

NFData UnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport Methods rnf :: UnchangedDocumentDiagnosticReport -> () #
Generic UnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport

Associated Types

type Rep UnchangedDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport

type Rep UnchangedDocumentDiagnosticReport = D1 ('MetaData "UnchangedDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "UnchangedDocumentDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "unchanged")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: UnchangedDocumentDiagnosticReport -> Rep UnchangedDocumentDiagnosticReport x #

to :: Rep UnchangedDocumentDiagnosticReport x -> UnchangedDocumentDiagnosticReport #

Show UnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport Methods showsPrec :: Int -> UnchangedDocumentDiagnosticReport -> ShowS # show :: UnchangedDocumentDiagnosticReport -> String # showList :: [UnchangedDocumentDiagnosticReport] -> ShowS #
Eq UnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport Methods (==) :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Bool # (/=) :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Bool #
Ord UnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport

Methods

compare :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Ordering #

(<) :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Bool #

(<=) :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Bool #

(>) :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Bool #

(>=) :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> Bool #

max :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport #

min :: UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport -> UnchangedDocumentDiagnosticReport #

Hashable UnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport Methods hashWithSalt :: Int -> UnchangedDocumentDiagnosticReport -> Int # hash :: UnchangedDocumentDiagnosticReport -> Int #
Pretty UnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport Methods pretty :: UnchangedDocumentDiagnosticReport -> Doc ann # prettyList :: [UnchangedDocumentDiagnosticReport] -> Doc ann #
HasResultId UnchangedDocumentDiagnosticReport Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' UnchangedDocumentDiagnosticReport Text #
HasKind UnchangedDocumentDiagnosticReport (AString "unchanged") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' UnchangedDocumentDiagnosticReport (AString "unchanged") #
HasRelatedDocuments RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedFullDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasRelatedDocuments RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' RelatedUnchangedDocumentDiagnosticReport (Maybe (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport))) #
HasRelatedDocuments DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods relatedDocuments :: Lens' DocumentDiagnosticReportPartialResult (Map Uri (FullDocumentDiagnosticReport |? UnchangedDocumentDiagnosticReport)) #
type Rep UnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport

type Rep UnchangedDocumentDiagnosticReport = D1 ('MetaData "UnchangedDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.UnchangedDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "UnchangedDocumentDiagnosticReport" 'PrefixI 'True) (S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "unchanged")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data UniquenessLevel #

Moniker uniqueness level to define scope of the moniker.

Since: 3.16.0

Constructors

UniquenessLevel_Document | The moniker is only unique inside a document
UniquenessLevel_Project | The moniker is unique inside a project for which a dump got created
UniquenessLevel_Group | The moniker is unique inside the group to which a project belongs
UniquenessLevel_Scheme | The moniker is unique inside the moniker scheme.
UniquenessLevel_Global | The moniker is globally unique

#### Instances

Instances details

FromJSON UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods parseJSON :: Value -> Parser UniquenessLevel # parseJSONList :: Value -> Parser [UniquenessLevel] # omittedField :: Maybe UniquenessLevel #
ToJSON UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods toJSON :: UniquenessLevel -> Value # toEncoding :: UniquenessLevel -> Encoding # toJSONList :: [UniquenessLevel] -> Value # toEncodingList :: [UniquenessLevel] -> Encoding # omitField :: UniquenessLevel -> Bool #
NFData UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods rnf :: UniquenessLevel -> () #
Generic UniquenessLevel # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel

Associated Types

type Rep UniquenessLevel |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel

type Rep UniquenessLevel = D1 ('MetaData "UniquenessLevel" "Language.LSP.Protocol.Internal.Types.UniquenessLevel" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "UniquenessLevel_Document" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UniquenessLevel_Project" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UniquenessLevel_Group" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UniquenessLevel_Scheme" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UniquenessLevel_Global" 'PrefixI 'False) (U1 :: Type -> Type))))

Methods

from :: UniquenessLevel -> Rep UniquenessLevel x #

to :: Rep UniquenessLevel x -> UniquenessLevel #

Show UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods showsPrec :: Int -> UniquenessLevel -> ShowS # show :: UniquenessLevel -> String # showList :: [UniquenessLevel] -> ShowS #
Eq UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods (==) :: UniquenessLevel -> UniquenessLevel -> Bool # (/=) :: UniquenessLevel -> UniquenessLevel -> Bool #
Ord UniquenessLevel # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel

Methods

compare :: UniquenessLevel -> UniquenessLevel -> Ordering #

(<) :: UniquenessLevel -> UniquenessLevel -> Bool #

(<=) :: UniquenessLevel -> UniquenessLevel -> Bool #

(>) :: UniquenessLevel -> UniquenessLevel -> Bool #

(>=) :: UniquenessLevel -> UniquenessLevel -> Bool #

max :: UniquenessLevel -> UniquenessLevel -> UniquenessLevel #

min :: UniquenessLevel -> UniquenessLevel -> UniquenessLevel #

Hashable UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods hashWithSalt :: Int -> UniquenessLevel -> Int # hash :: UniquenessLevel -> Int #
LspEnum UniquenessLevel # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel

Associated Types

type EnumBaseType UniquenessLevel |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel type EnumBaseType UniquenessLevel = Text

Methods

knownValues :: Set UniquenessLevel #

toEnumBaseType :: UniquenessLevel -> EnumBaseType UniquenessLevel #

fromEnumBaseType :: EnumBaseType UniquenessLevel -> Maybe UniquenessLevel #

Pretty UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel Methods pretty :: UniquenessLevel -> Doc ann # prettyList :: [UniquenessLevel] -> Doc ann #
HasUnique Moniker UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods unique :: Lens' Moniker UniquenessLevel #
type Rep UniquenessLevel # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel

type Rep UniquenessLevel = D1 ('MetaData "UniquenessLevel" "Language.LSP.Protocol.Internal.Types.UniquenessLevel" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) ((C1 ('MetaCons "UniquenessLevel_Document" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UniquenessLevel_Project" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "UniquenessLevel_Group" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "UniquenessLevel_Scheme" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "UniquenessLevel_Global" 'PrefixI 'False) (U1 :: Type -> Type))))

type EnumBaseType UniquenessLevel # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.UniquenessLevel type EnumBaseType UniquenessLevel = Text

data Unregistration #

General parameters to unregister a request or notification.

Constructors

Unregistration |

Fields

- _id :: Text

  The id used to unregister the request or notification. Usually an id provided during the register request.

- _method :: Text

  The method to unregister for.

#### Instances

Instances details

FromJSON Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods parseJSON :: Value -> Parser Unregistration # parseJSONList :: Value -> Parser [Unregistration] # omittedField :: Maybe Unregistration #
ToJSON Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods toJSON :: Unregistration -> Value # toEncoding :: Unregistration -> Encoding # toJSONList :: [Unregistration] -> Value # toEncodingList :: [Unregistration] -> Encoding # omitField :: Unregistration -> Bool #
NFData Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods rnf :: Unregistration -> () #
Generic Unregistration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Unregistration

Associated Types

type Rep Unregistration |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Unregistration

type Rep Unregistration = D1 ('MetaData "Unregistration" "Language.LSP.Protocol.Internal.Types.Unregistration" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Unregistration" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Methods

from :: Unregistration -> Rep Unregistration x #

to :: Rep Unregistration x -> Unregistration #

Show Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods showsPrec :: Int -> Unregistration -> ShowS # show :: Unregistration -> String # showList :: [Unregistration] -> ShowS #
Eq Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods (==) :: Unregistration -> Unregistration -> Bool # (/=) :: Unregistration -> Unregistration -> Bool #
Ord Unregistration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Unregistration

Methods

compare :: Unregistration -> Unregistration -> Ordering #

(<) :: Unregistration -> Unregistration -> Bool #

(<=) :: Unregistration -> Unregistration -> Bool #

(>) :: Unregistration -> Unregistration -> Bool #

(>=) :: Unregistration -> Unregistration -> Bool #

max :: Unregistration -> Unregistration -> Unregistration #

min :: Unregistration -> Unregistration -> Unregistration #

Hashable Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods hashWithSalt :: Int -> Unregistration -> Int # hash :: Unregistration -> Int #
Pretty Unregistration # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.Unregistration Methods pretty :: Unregistration -> Doc ann # prettyList :: [Unregistration] -> Doc ann #
HasId Unregistration Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods id :: Lens' Unregistration Text #
HasMethod Unregistration Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods method :: Lens' Unregistration Text #
HasUnregisterations UnregistrationParams [Unregistration] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods unregisterations :: Lens' UnregistrationParams [Unregistration] #
type Rep Unregistration # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.Unregistration

type Rep Unregistration = D1 ('MetaData "Unregistration" "Language.LSP.Protocol.Internal.Types.Unregistration" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "Unregistration" 'PrefixI 'True) (S1 ('MetaSel ('Just "_id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "_method") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

data VersionedNotebookDocumentIdentifier #

A versioned notebook document identifier.

Since: 3.17.0

Constructors

VersionedNotebookDocumentIdentifier |

Fields

- _version :: Int32

  The version number of this notebook document.

- _uri :: Uri

  The notebook document's uri.

#### Instances

Instances details

FromJSON VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier Methods parseJSON :: Value -> Parser VersionedNotebookDocumentIdentifier # parseJSONList :: Value -> Parser [VersionedNotebookDocumentIdentifier] # omittedField :: Maybe VersionedNotebookDocumentIdentifier #
ToJSON VersionedNotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier

Methods

toJSON :: VersionedNotebookDocumentIdentifier -> Value #

toEncoding :: VersionedNotebookDocumentIdentifier -> Encoding #

toJSONList :: [VersionedNotebookDocumentIdentifier] -> Value #

toEncodingList :: [VersionedNotebookDocumentIdentifier] -> Encoding #

omitField :: VersionedNotebookDocumentIdentifier -> Bool #

NFData VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier Methods rnf :: VersionedNotebookDocumentIdentifier -> () #
Generic VersionedNotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier

Associated Types

type Rep VersionedNotebookDocumentIdentifier |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier

type Rep VersionedNotebookDocumentIdentifier = D1 ('MetaData "VersionedNotebookDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "VersionedNotebookDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

Methods

from :: VersionedNotebookDocumentIdentifier -> Rep VersionedNotebookDocumentIdentifier x #

to :: Rep VersionedNotebookDocumentIdentifier x -> VersionedNotebookDocumentIdentifier #

Show VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier Methods showsPrec :: Int -> VersionedNotebookDocumentIdentifier -> ShowS # show :: VersionedNotebookDocumentIdentifier -> String # showList :: [VersionedNotebookDocumentIdentifier] -> ShowS #
Eq VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier Methods (==) :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Bool # (/=) :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Bool #
Ord VersionedNotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier

Methods

compare :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Ordering #

(<) :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Bool #

(<=) :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Bool #

(>) :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Bool #

(>=) :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> Bool #

max :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier #

min :: VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier -> VersionedNotebookDocumentIdentifier #

Hashable VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier Methods hashWithSalt :: Int -> VersionedNotebookDocumentIdentifier -> Int # hash :: VersionedNotebookDocumentIdentifier -> Int #
Pretty VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier Methods pretty :: VersionedNotebookDocumentIdentifier -> Doc ann # prettyList :: [VersionedNotebookDocumentIdentifier] -> Doc ann #
HasNotebookDocument DidChangeNotebookDocumentParams VersionedNotebookDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods notebookDocument :: Lens' DidChangeNotebookDocumentParams VersionedNotebookDocumentIdentifier #
HasUri VersionedNotebookDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' VersionedNotebookDocumentIdentifier Uri #
HasVersion VersionedNotebookDocumentIdentifier Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' VersionedNotebookDocumentIdentifier Int32 #
type Rep VersionedNotebookDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier

type Rep VersionedNotebookDocumentIdentifier = D1 ('MetaData "VersionedNotebookDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.VersionedNotebookDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "VersionedNotebookDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32) :*: S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri)))

data VersionedTextDocumentIdentifier #

A text document identifier to denote a specific version of a text document.

Constructors

VersionedTextDocumentIdentifier |

Fields

- _uri :: Uri

  The text document's uri.

- _version :: Int32

  The version number of this document.

#### Instances

Instances details

FromJSON VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods parseJSON :: Value -> Parser VersionedTextDocumentIdentifier # parseJSONList :: Value -> Parser [VersionedTextDocumentIdentifier] # omittedField :: Maybe VersionedTextDocumentIdentifier #
ToJSON VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods toJSON :: VersionedTextDocumentIdentifier -> Value # toEncoding :: VersionedTextDocumentIdentifier -> Encoding # toJSONList :: [VersionedTextDocumentIdentifier] -> Value # toEncodingList :: [VersionedTextDocumentIdentifier] -> Encoding # omitField :: VersionedTextDocumentIdentifier -> Bool #
NFData VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods rnf :: VersionedTextDocumentIdentifier -> () #
Generic VersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier

Associated Types

type Rep VersionedTextDocumentIdentifier |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier

type Rep VersionedTextDocumentIdentifier = D1 ('MetaData "VersionedTextDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "VersionedTextDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32)))

Methods

from :: VersionedTextDocumentIdentifier -> Rep VersionedTextDocumentIdentifier x #

to :: Rep VersionedTextDocumentIdentifier x -> VersionedTextDocumentIdentifier #

Show VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods showsPrec :: Int -> VersionedTextDocumentIdentifier -> ShowS # show :: VersionedTextDocumentIdentifier -> String # showList :: [VersionedTextDocumentIdentifier] -> ShowS #
Eq VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods (==) :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Bool # (/=) :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Bool #
Ord VersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier

Methods

compare :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Ordering #

(<) :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Bool #

(<=) :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Bool #

(>) :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Bool #

(>=) :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> Bool #

max :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier #

min :: VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier -> VersionedTextDocumentIdentifier #

Hashable VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods hashWithSalt :: Int -> VersionedTextDocumentIdentifier -> Int # hash :: VersionedTextDocumentIdentifier -> Int #
Pretty VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier Methods pretty :: VersionedTextDocumentIdentifier -> Doc ann # prettyList :: [VersionedTextDocumentIdentifier] -> Doc ann #
HasDocument NotebookDocumentCellContentChanges VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods document :: Lens' NotebookDocumentCellContentChanges VersionedTextDocumentIdentifier #
HasTextDocument DidChangeTextDocumentParams VersionedTextDocumentIdentifier # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods textDocument :: Lens' DidChangeTextDocumentParams VersionedTextDocumentIdentifier #
HasUri VersionedTextDocumentIdentifier Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' VersionedTextDocumentIdentifier Uri #
HasVersion VersionedTextDocumentIdentifier Int32 # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' VersionedTextDocumentIdentifier Int32 #
type Rep VersionedTextDocumentIdentifier # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier

type Rep VersionedTextDocumentIdentifier = D1 ('MetaData "VersionedTextDocumentIdentifier" "Language.LSP.Protocol.Internal.Types.VersionedTextDocumentIdentifier" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "VersionedTextDocumentIdentifier" 'PrefixI 'True) (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int32)))

data WindowClientCapabilities #

Constructors

WindowClientCapabilities |

Fields

- _workDoneProgress :: Maybe Bool

  It indicates whether the client supports server initiated progress using the `windowworkDoneProgresscreate` request.

  The capability also controls Whether client supports handling of progress notifications. If set servers are allowed to report a `workDoneProgress` property in the request specific server capabilities.

  Since: 3.15.0

- _showMessage :: Maybe ShowMessageRequestClientCapabilities

  Capabilities specific to the showMessage request.

  Since: 3.16.0

- _showDocument :: Maybe ShowDocumentClientCapabilities

  Capabilities specific to the showDocument request.

  Since: 3.16.0

#### Instances

Instances details

FromJSON WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods parseJSON :: Value -> Parser WindowClientCapabilities # parseJSONList :: Value -> Parser [WindowClientCapabilities] # omittedField :: Maybe WindowClientCapabilities #
ToJSON WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods toJSON :: WindowClientCapabilities -> Value # toEncoding :: WindowClientCapabilities -> Encoding # toJSONList :: [WindowClientCapabilities] -> Value # toEncodingList :: [WindowClientCapabilities] -> Encoding # omitField :: WindowClientCapabilities -> Bool #
Default WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: WindowClientCapabilities #
NFData WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods rnf :: WindowClientCapabilities -> () #
Generic WindowClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities

Associated Types

type Rep WindowClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities

type Rep WindowClientCapabilities = D1 ('MetaData "WindowClientCapabilities" "Language.LSP.Protocol.Internal.Types.WindowClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WindowClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_showMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShowMessageRequestClientCapabilities)) :*: S1 ('MetaSel ('Just "_showDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShowDocumentClientCapabilities)))))

Methods

from :: WindowClientCapabilities -> Rep WindowClientCapabilities x #

to :: Rep WindowClientCapabilities x -> WindowClientCapabilities #

Show WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods showsPrec :: Int -> WindowClientCapabilities -> ShowS # show :: WindowClientCapabilities -> String # showList :: [WindowClientCapabilities] -> ShowS #
Eq WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods (==) :: WindowClientCapabilities -> WindowClientCapabilities -> Bool # (/=) :: WindowClientCapabilities -> WindowClientCapabilities -> Bool #
Ord WindowClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities

Methods

compare :: WindowClientCapabilities -> WindowClientCapabilities -> Ordering #

(<) :: WindowClientCapabilities -> WindowClientCapabilities -> Bool #

(<=) :: WindowClientCapabilities -> WindowClientCapabilities -> Bool #

(>) :: WindowClientCapabilities -> WindowClientCapabilities -> Bool #

(>=) :: WindowClientCapabilities -> WindowClientCapabilities -> Bool #

max :: WindowClientCapabilities -> WindowClientCapabilities -> WindowClientCapabilities #

min :: WindowClientCapabilities -> WindowClientCapabilities -> WindowClientCapabilities #

Hashable WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods hashWithSalt :: Int -> WindowClientCapabilities -> Int # hash :: WindowClientCapabilities -> Int #
Pretty WindowClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities Methods pretty :: WindowClientCapabilities -> Doc ann # prettyList :: [WindowClientCapabilities] -> Doc ann #
HasShowDocument WindowClientCapabilities (Maybe ShowDocumentClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods showDocument :: Lens' WindowClientCapabilities (Maybe ShowDocumentClientCapabilities) #
HasShowMessage WindowClientCapabilities (Maybe ShowMessageRequestClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods showMessage :: Lens' WindowClientCapabilities (Maybe ShowMessageRequestClientCapabilities) #
HasWindow ClientCapabilities (Maybe WindowClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods window :: Lens' ClientCapabilities (Maybe WindowClientCapabilities) #
HasWorkDoneProgress WindowClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' WindowClientCapabilities (Maybe Bool) #
type Rep WindowClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WindowClientCapabilities

type Rep WindowClientCapabilities = D1 ('MetaData "WindowClientCapabilities" "Language.LSP.Protocol.Internal.Types.WindowClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WindowClientCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_showMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShowMessageRequestClientCapabilities)) :*: S1 ('MetaSel ('Just "_showDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShowDocumentClientCapabilities)))))

data WorkDoneProgressOptions #

Constructors

WorkDoneProgressOptions |

Fields

- _workDoneProgress :: Maybe Bool

#### Instances

Instances details

FromJSON WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods parseJSON :: Value -> Parser WorkDoneProgressOptions # parseJSONList :: Value -> Parser [WorkDoneProgressOptions] # omittedField :: Maybe WorkDoneProgressOptions #
ToJSON WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods toJSON :: WorkDoneProgressOptions -> Value # toEncoding :: WorkDoneProgressOptions -> Encoding # toJSONList :: [WorkDoneProgressOptions] -> Value # toEncodingList :: [WorkDoneProgressOptions] -> Encoding # omitField :: WorkDoneProgressOptions -> Bool #
NFData WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods rnf :: WorkDoneProgressOptions -> () #
Generic WorkDoneProgressOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions

Associated Types

type Rep WorkDoneProgressOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions

type Rep WorkDoneProgressOptions = D1 ('MetaData "WorkDoneProgressOptions" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: WorkDoneProgressOptions -> Rep WorkDoneProgressOptions x #

to :: Rep WorkDoneProgressOptions x -> WorkDoneProgressOptions #

Show WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods showsPrec :: Int -> WorkDoneProgressOptions -> ShowS # show :: WorkDoneProgressOptions -> String # showList :: [WorkDoneProgressOptions] -> ShowS #
Eq WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods (==) :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Bool # (/=) :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Bool #
Ord WorkDoneProgressOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions

Methods

compare :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Ordering #

(<) :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Bool #

(<=) :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Bool #

(>) :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Bool #

(>=) :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> Bool #

max :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> WorkDoneProgressOptions #

min :: WorkDoneProgressOptions -> WorkDoneProgressOptions -> WorkDoneProgressOptions #

Hashable WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods hashWithSalt :: Int -> WorkDoneProgressOptions -> Int # hash :: WorkDoneProgressOptions -> Int #
Pretty WorkDoneProgressOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions Methods pretty :: WorkDoneProgressOptions -> Doc ann # prettyList :: [WorkDoneProgressOptions] -> Doc ann #
HasWorkDoneProgress WorkDoneProgressOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' WorkDoneProgressOptions (Maybe Bool) #
type Rep WorkDoneProgressOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions

type Rep WorkDoneProgressOptions = D1 ('MetaData "WorkDoneProgressOptions" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data WorkDoneProgressParams #

Constructors

WorkDoneProgressParams |

Fields

- _workDoneToken :: Maybe ProgressToken

  An optional token that a server can use to report work done progress.

#### Instances

Instances details

FromJSON WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods parseJSON :: Value -> Parser WorkDoneProgressParams # parseJSONList :: Value -> Parser [WorkDoneProgressParams] # omittedField :: Maybe WorkDoneProgressParams #
ToJSON WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods toJSON :: WorkDoneProgressParams -> Value # toEncoding :: WorkDoneProgressParams -> Encoding # toJSONList :: [WorkDoneProgressParams] -> Value # toEncodingList :: [WorkDoneProgressParams] -> Encoding # omitField :: WorkDoneProgressParams -> Bool #
NFData WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods rnf :: WorkDoneProgressParams -> () #
Generic WorkDoneProgressParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams

Associated Types

type Rep WorkDoneProgressParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams

type Rep WorkDoneProgressParams = D1 ('MetaData "WorkDoneProgressParams" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))))

Methods

from :: WorkDoneProgressParams -> Rep WorkDoneProgressParams x #

to :: Rep WorkDoneProgressParams x -> WorkDoneProgressParams #

Show WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods showsPrec :: Int -> WorkDoneProgressParams -> ShowS # show :: WorkDoneProgressParams -> String # showList :: [WorkDoneProgressParams] -> ShowS #
Eq WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods (==) :: WorkDoneProgressParams -> WorkDoneProgressParams -> Bool # (/=) :: WorkDoneProgressParams -> WorkDoneProgressParams -> Bool #
Ord WorkDoneProgressParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams

Methods

compare :: WorkDoneProgressParams -> WorkDoneProgressParams -> Ordering #

(<) :: WorkDoneProgressParams -> WorkDoneProgressParams -> Bool #

(<=) :: WorkDoneProgressParams -> WorkDoneProgressParams -> Bool #

(>) :: WorkDoneProgressParams -> WorkDoneProgressParams -> Bool #

(>=) :: WorkDoneProgressParams -> WorkDoneProgressParams -> Bool #

max :: WorkDoneProgressParams -> WorkDoneProgressParams -> WorkDoneProgressParams #

min :: WorkDoneProgressParams -> WorkDoneProgressParams -> WorkDoneProgressParams #

Hashable WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods hashWithSalt :: Int -> WorkDoneProgressParams -> Int # hash :: WorkDoneProgressParams -> Int #
Pretty WorkDoneProgressParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams Methods pretty :: WorkDoneProgressParams -> Doc ann # prettyList :: [WorkDoneProgressParams] -> Doc ann #
HasWorkDoneToken WorkDoneProgressParams (Maybe ProgressToken) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneToken :: Lens' WorkDoneProgressParams (Maybe ProgressToken) #
type Rep WorkDoneProgressParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams

type Rep WorkDoneProgressParams = D1 ('MetaData "WorkDoneProgressParams" "Language.LSP.Protocol.Internal.Types.WorkDoneProgressParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkDoneProgressParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ProgressToken))))

data WorkspaceClientCapabilities #

Workspace specific client capabilities.

Constructors

WorkspaceClientCapabilities |

Fields

- _applyEdit :: Maybe Bool

  The client supports applying batch edits to the workspace by supporting the request 'workspace/applyEdit'

- _workspaceEdit :: Maybe WorkspaceEditClientCapabilities

  Capabilities specific to `WorkspaceEdit`s.

- _didChangeConfiguration :: Maybe DidChangeConfigurationClientCapabilities

  Capabilities specific to the `workspace/didChangeConfiguration` notification.

- _didChangeWatchedFiles :: Maybe DidChangeWatchedFilesClientCapabilities

  Capabilities specific to the `workspace/didChangeWatchedFiles` notification.

- _symbol :: Maybe WorkspaceSymbolClientCapabilities

  Capabilities specific to the `workspace/symbol` request.

- _executeCommand :: Maybe ExecuteCommandClientCapabilities

  Capabilities specific to the `workspace/executeCommand` request.

- _workspaceFolders :: Maybe Bool

  The client has support for workspace folders.

  Since: 3.6.0

- _configuration :: Maybe Bool

  The client supports `workspace/configuration` requests.

  Since: 3.6.0

- _semanticTokens :: Maybe SemanticTokensWorkspaceClientCapabilities

  Capabilities specific to the semantic token requests scoped to the workspace.

  @since 3.16.0.

- _codeLens :: Maybe CodeLensWorkspaceClientCapabilities

  Capabilities specific to the code lens requests scoped to the workspace.

  @since 3.16.0.

- _fileOperations :: Maybe FileOperationClientCapabilities

  The client has support for file notifications/requests for user operations on files.

  Since 3.16.0

- _inlineValue :: Maybe InlineValueWorkspaceClientCapabilities

  Capabilities specific to the inline values requests scoped to the workspace.

  @since 3.17.0.

- _inlayHint :: Maybe InlayHintWorkspaceClientCapabilities

  Capabilities specific to the inlay hint requests scoped to the workspace.

  @since 3.17.0.

- _diagnostics :: Maybe DiagnosticWorkspaceClientCapabilities

  Capabilities specific to the diagnostic requests scoped to the workspace.

  @since 3.17.0.

#### Instances

Instances details

FromJSON WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods parseJSON :: Value -> Parser WorkspaceClientCapabilities # parseJSONList :: Value -> Parser [WorkspaceClientCapabilities] # omittedField :: Maybe WorkspaceClientCapabilities #
ToJSON WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods toJSON :: WorkspaceClientCapabilities -> Value # toEncoding :: WorkspaceClientCapabilities -> Encoding # toJSONList :: [WorkspaceClientCapabilities] -> Value # toEncodingList :: [WorkspaceClientCapabilities] -> Encoding # omitField :: WorkspaceClientCapabilities -> Bool #
Default WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Types.Orphans Methods def :: WorkspaceClientCapabilities #
NFData WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods rnf :: WorkspaceClientCapabilities -> () #
Generic WorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities

Associated Types

type Rep WorkspaceClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities

type Rep WorkspaceClientCapabilities = D1 ('MetaData "WorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceClientCapabilities" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_applyEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_workspaceEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceEditClientCapabilities)) :*: S1 ('MetaSel ('Just "_didChangeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DidChangeConfigurationClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_didChangeWatchedFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DidChangeWatchedFilesClientCapabilities)) :*: S1 ('MetaSel ('Just "_symbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceSymbolClientCapabilities))) :*: (S1 ('MetaSel ('Just "_executeCommand") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecuteCommandClientCapabilities)) :*: S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "_configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_semanticTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SemanticTokensWorkspaceClientCapabilities)) :*: S1 ('MetaSel ('Just "_codeLens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeLensWorkspaceClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_fileOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationClientCapabilities)) :*: S1 ('MetaSel ('Just "_inlineValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlineValueWorkspaceClientCapabilities))) :*: (S1 ('MetaSel ('Just "_inlayHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlayHintWorkspaceClientCapabilities)) :*: S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiagnosticWorkspaceClientCapabilities)))))))

Methods

from :: WorkspaceClientCapabilities -> Rep WorkspaceClientCapabilities x #

to :: Rep WorkspaceClientCapabilities x -> WorkspaceClientCapabilities #

Show WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods showsPrec :: Int -> WorkspaceClientCapabilities -> ShowS # show :: WorkspaceClientCapabilities -> String # showList :: [WorkspaceClientCapabilities] -> ShowS #
Eq WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods (==) :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Bool # (/=) :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Bool #
Ord WorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities

Methods

compare :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Ordering #

(<) :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Bool #

(<=) :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Bool #

(>) :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Bool #

(>=) :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> Bool #

max :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> WorkspaceClientCapabilities #

min :: WorkspaceClientCapabilities -> WorkspaceClientCapabilities -> WorkspaceClientCapabilities #

Hashable WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods hashWithSalt :: Int -> WorkspaceClientCapabilities -> Int # hash :: WorkspaceClientCapabilities -> Int #
Pretty WorkspaceClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities Methods pretty :: WorkspaceClientCapabilities -> Doc ann # prettyList :: [WorkspaceClientCapabilities] -> Doc ann #
HasApplyEdit WorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods applyEdit :: Lens' WorkspaceClientCapabilities (Maybe Bool) #
HasCodeLens WorkspaceClientCapabilities (Maybe CodeLensWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods codeLens :: Lens' WorkspaceClientCapabilities (Maybe CodeLensWorkspaceClientCapabilities) #
HasConfiguration WorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods configuration :: Lens' WorkspaceClientCapabilities (Maybe Bool) #
HasDiagnostics WorkspaceClientCapabilities (Maybe DiagnosticWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods diagnostics :: Lens' WorkspaceClientCapabilities (Maybe DiagnosticWorkspaceClientCapabilities) #
HasDidChangeConfiguration WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didChangeConfiguration :: Lens' WorkspaceClientCapabilities (Maybe DidChangeConfigurationClientCapabilities) #
HasDidChangeWatchedFiles WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods didChangeWatchedFiles :: Lens' WorkspaceClientCapabilities (Maybe DidChangeWatchedFilesClientCapabilities) #
HasExecuteCommand WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods executeCommand :: Lens' WorkspaceClientCapabilities (Maybe ExecuteCommandClientCapabilities) #
HasFileOperations WorkspaceClientCapabilities (Maybe FileOperationClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fileOperations :: Lens' WorkspaceClientCapabilities (Maybe FileOperationClientCapabilities) #
HasInlayHint WorkspaceClientCapabilities (Maybe InlayHintWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlayHint :: Lens' WorkspaceClientCapabilities (Maybe InlayHintWorkspaceClientCapabilities) #
HasInlineValue WorkspaceClientCapabilities (Maybe InlineValueWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods inlineValue :: Lens' WorkspaceClientCapabilities (Maybe InlineValueWorkspaceClientCapabilities) #
HasSemanticTokens WorkspaceClientCapabilities (Maybe SemanticTokensWorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods semanticTokens :: Lens' WorkspaceClientCapabilities (Maybe SemanticTokensWorkspaceClientCapabilities) #
HasSymbol WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods symbol :: Lens' WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) #
HasWorkspace ClientCapabilities (Maybe WorkspaceClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspace :: Lens' ClientCapabilities (Maybe WorkspaceClientCapabilities) #
HasWorkspaceEdit WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceEdit :: Lens' WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) #
HasWorkspaceFolders WorkspaceClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceClientCapabilities (Maybe Bool) #
type Rep WorkspaceClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities

type Rep WorkspaceClientCapabilities = D1 ('MetaData "WorkspaceClientCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceClientCapabilities" 'PrefixI 'True) (((S1 ('MetaSel ('Just "_applyEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_workspaceEdit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceEditClientCapabilities)) :*: S1 ('MetaSel ('Just "_didChangeConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DidChangeConfigurationClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_didChangeWatchedFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DidChangeWatchedFilesClientCapabilities)) :*: S1 ('MetaSel ('Just "_symbol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceSymbolClientCapabilities))) :*: (S1 ('MetaSel ('Just "_executeCommand") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExecuteCommandClientCapabilities)) :*: S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "_configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "_semanticTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SemanticTokensWorkspaceClientCapabilities)) :*: S1 ('MetaSel ('Just "_codeLens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CodeLensWorkspaceClientCapabilities)))) :*: ((S1 ('MetaSel ('Just "_fileOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationClientCapabilities)) :*: S1 ('MetaSel ('Just "_inlineValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlineValueWorkspaceClientCapabilities))) :*: (S1 ('MetaSel ('Just "_inlayHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InlayHintWorkspaceClientCapabilities)) :*: S1 ('MetaSel ('Just "_diagnostics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiagnosticWorkspaceClientCapabilities)))))))

data WorkspaceDiagnosticReportPartialResult #

A partial result for a workspace diagnostic report.

Since: 3.17.0

Constructors

WorkspaceDiagnosticReportPartialResult |

Fields

- _items :: [WorkspaceDocumentDiagnosticReport]

#### Instances

Instances details

FromJSON WorkspaceDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult Methods parseJSON :: Value -> Parser WorkspaceDiagnosticReportPartialResult # parseJSONList :: Value -> Parser [WorkspaceDiagnosticReportPartialResult] # omittedField :: Maybe WorkspaceDiagnosticReportPartialResult #
ToJSON WorkspaceDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult

Methods

toJSON :: WorkspaceDiagnosticReportPartialResult -> Value #

toEncoding :: WorkspaceDiagnosticReportPartialResult -> Encoding #

toJSONList :: [WorkspaceDiagnosticReportPartialResult] -> Value #

toEncodingList :: [WorkspaceDiagnosticReportPartialResult] -> Encoding #

omitField :: WorkspaceDiagnosticReportPartialResult -> Bool #

NFData WorkspaceDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult Methods rnf :: WorkspaceDiagnosticReportPartialResult -> () #
Generic WorkspaceDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult

Associated Types

type Rep WorkspaceDiagnosticReportPartialResult |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult

type Rep WorkspaceDiagnosticReportPartialResult = D1 ('MetaData "WorkspaceDiagnosticReportPartialResult" "Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceDiagnosticReportPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceDocumentDiagnosticReport])))

Methods

from :: WorkspaceDiagnosticReportPartialResult -> Rep WorkspaceDiagnosticReportPartialResult x #

to :: Rep WorkspaceDiagnosticReportPartialResult x -> WorkspaceDiagnosticReportPartialResult #

Show WorkspaceDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult Methods showsPrec :: Int -> WorkspaceDiagnosticReportPartialResult -> ShowS # show :: WorkspaceDiagnosticReportPartialResult -> String # showList :: [WorkspaceDiagnosticReportPartialResult] -> ShowS #
Eq WorkspaceDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult Methods (==) :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Bool # (/=) :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Bool #
Ord WorkspaceDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult

Methods

compare :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Ordering #

(<) :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Bool #

(<=) :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Bool #

(>) :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Bool #

(>=) :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> Bool #

max :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult #

min :: WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult -> WorkspaceDiagnosticReportPartialResult #

Hashable WorkspaceDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult Methods hashWithSalt :: Int -> WorkspaceDiagnosticReportPartialResult -> Int # hash :: WorkspaceDiagnosticReportPartialResult -> Int #
Pretty WorkspaceDiagnosticReportPartialResult # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult Methods pretty :: WorkspaceDiagnosticReportPartialResult -> Doc ann # prettyList :: [WorkspaceDiagnosticReportPartialResult] -> Doc ann #
HasItems WorkspaceDiagnosticReportPartialResult [WorkspaceDocumentDiagnosticReport] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' WorkspaceDiagnosticReportPartialResult [WorkspaceDocumentDiagnosticReport] #
type Rep WorkspaceDiagnosticReportPartialResult # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult

type Rep WorkspaceDiagnosticReportPartialResult = D1 ('MetaData "WorkspaceDiagnosticReportPartialResult" "Language.LSP.Protocol.Internal.Types.WorkspaceDiagnosticReportPartialResult" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceDiagnosticReportPartialResult" 'PrefixI 'True) (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceDocumentDiagnosticReport])))

newtype WorkspaceDocumentDiagnosticReport #

A workspace diagnostic document report.

Since: 3.17.0

Constructors

WorkspaceDocumentDiagnosticReport (WorkspaceFullDocumentDiagnosticReport |? WorkspaceUnchangedDocumentDiagnosticReport) |

#### Instances

Instances details

FromJSON WorkspaceDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport Methods parseJSON :: Value -> Parser WorkspaceDocumentDiagnosticReport # parseJSONList :: Value -> Parser [WorkspaceDocumentDiagnosticReport] # omittedField :: Maybe WorkspaceDocumentDiagnosticReport #
ToJSON WorkspaceDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport

Methods

toJSON :: WorkspaceDocumentDiagnosticReport -> Value #

toEncoding :: WorkspaceDocumentDiagnosticReport -> Encoding #

toJSONList :: [WorkspaceDocumentDiagnosticReport] -> Value #

toEncodingList :: [WorkspaceDocumentDiagnosticReport] -> Encoding #

omitField :: WorkspaceDocumentDiagnosticReport -> Bool #

NFData WorkspaceDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport Methods rnf :: WorkspaceDocumentDiagnosticReport -> () #
Generic WorkspaceDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport

Associated Types

type Rep WorkspaceDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport

type Rep WorkspaceDocumentDiagnosticReport = D1 ('MetaData "WorkspaceDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "WorkspaceDocumentDiagnosticReport" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WorkspaceFullDocumentDiagnosticReport |? WorkspaceUnchangedDocumentDiagnosticReport))))

Methods

from :: WorkspaceDocumentDiagnosticReport -> Rep WorkspaceDocumentDiagnosticReport x #

to :: Rep WorkspaceDocumentDiagnosticReport x -> WorkspaceDocumentDiagnosticReport #

Show WorkspaceDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport Methods showsPrec :: Int -> WorkspaceDocumentDiagnosticReport -> ShowS # show :: WorkspaceDocumentDiagnosticReport -> String # showList :: [WorkspaceDocumentDiagnosticReport] -> ShowS #
Eq WorkspaceDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport Methods (==) :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Bool # (/=) :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Bool #
Ord WorkspaceDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport

Methods

compare :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Ordering #

(<) :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Bool #

(<=) :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Bool #

(>) :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Bool #

(>=) :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> Bool #

max :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport #

min :: WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport -> WorkspaceDocumentDiagnosticReport #

Hashable WorkspaceDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport Methods hashWithSalt :: Int -> WorkspaceDocumentDiagnosticReport -> Int # hash :: WorkspaceDocumentDiagnosticReport -> Int #
Pretty WorkspaceDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport Methods pretty :: WorkspaceDocumentDiagnosticReport -> Doc ann # prettyList :: [WorkspaceDocumentDiagnosticReport] -> Doc ann #
HasItems WorkspaceDiagnosticReport [WorkspaceDocumentDiagnosticReport] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' WorkspaceDiagnosticReport [WorkspaceDocumentDiagnosticReport] #
HasItems WorkspaceDiagnosticReportPartialResult [WorkspaceDocumentDiagnosticReport] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' WorkspaceDiagnosticReportPartialResult [WorkspaceDocumentDiagnosticReport] #
type Rep WorkspaceDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport

type Rep WorkspaceDocumentDiagnosticReport = D1 ('MetaData "WorkspaceDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'True) (C1 ('MetaCons "WorkspaceDocumentDiagnosticReport" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (WorkspaceFullDocumentDiagnosticReport |? WorkspaceUnchangedDocumentDiagnosticReport))))

data WorkspaceEditClientCapabilities #

Constructors

WorkspaceEditClientCapabilities |

Fields

- _documentChanges :: Maybe Bool

  The client supports versioned document changes in `WorkspaceEdit`s

- _resourceOperations :: Maybe [ResourceOperationKind]

  The resource operations the client supports. Clients should at least support `create`, `rename` and `delete` files and folders.

  Since: 3.13.0

- _failureHandling :: Maybe FailureHandlingKind

  The failure handling strategy of a client if applying the workspace edit fails.

  Since: 3.13.0

- _normalizesLineEndings :: Maybe Bool

  Whether the client normalizes line endings to the client specific setting. If set to `true` the client will normalize line ending characters in a workspace edit to the client-specified new line character.

  Since: 3.16.0

- _changeAnnotationSupport :: Maybe ChangeAnnotationsSupportOptions

  Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.

  Since: 3.16.0

#### Instances

Instances details

FromJSON WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods parseJSON :: Value -> Parser WorkspaceEditClientCapabilities # parseJSONList :: Value -> Parser [WorkspaceEditClientCapabilities] # omittedField :: Maybe WorkspaceEditClientCapabilities #
ToJSON WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods toJSON :: WorkspaceEditClientCapabilities -> Value # toEncoding :: WorkspaceEditClientCapabilities -> Encoding # toJSONList :: [WorkspaceEditClientCapabilities] -> Value # toEncodingList :: [WorkspaceEditClientCapabilities] -> Encoding # omitField :: WorkspaceEditClientCapabilities -> Bool #
NFData WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods rnf :: WorkspaceEditClientCapabilities -> () #
Generic WorkspaceEditClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities

Associated Types

type Rep WorkspaceEditClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities

type Rep WorkspaceEditClientCapabilities = D1 ('MetaData "WorkspaceEditClientCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceEditClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resourceOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceOperationKind]))) :*: (S1 ('MetaSel ('Just "_failureHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FailureHandlingKind)) :*: (S1 ('MetaSel ('Just "_normalizesLineEndings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_changeAnnotationSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationsSupportOptions))))))

Methods

from :: WorkspaceEditClientCapabilities -> Rep WorkspaceEditClientCapabilities x #

to :: Rep WorkspaceEditClientCapabilities x -> WorkspaceEditClientCapabilities #

Show WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods showsPrec :: Int -> WorkspaceEditClientCapabilities -> ShowS # show :: WorkspaceEditClientCapabilities -> String # showList :: [WorkspaceEditClientCapabilities] -> ShowS #
Eq WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods (==) :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Bool # (/=) :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Bool #
Ord WorkspaceEditClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities

Methods

compare :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Ordering #

(<) :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Bool #

(<=) :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Bool #

(>) :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Bool #

(>=) :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> Bool #

max :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities #

min :: WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities -> WorkspaceEditClientCapabilities #

Hashable WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods hashWithSalt :: Int -> WorkspaceEditClientCapabilities -> Int # hash :: WorkspaceEditClientCapabilities -> Int #
Pretty WorkspaceEditClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities Methods pretty :: WorkspaceEditClientCapabilities -> Doc ann # prettyList :: [WorkspaceEditClientCapabilities] -> Doc ann #
HasChangeAnnotationSupport WorkspaceEditClientCapabilities (Maybe ChangeAnnotationsSupportOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeAnnotationSupport :: Lens' WorkspaceEditClientCapabilities (Maybe ChangeAnnotationsSupportOptions) #
HasDocumentChanges WorkspaceEditClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods documentChanges :: Lens' WorkspaceEditClientCapabilities (Maybe Bool) #
HasFailureHandling WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods failureHandling :: Lens' WorkspaceEditClientCapabilities (Maybe FailureHandlingKind) #
HasNormalizesLineEndings WorkspaceEditClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods normalizesLineEndings :: Lens' WorkspaceEditClientCapabilities (Maybe Bool) #
HasResourceOperations WorkspaceEditClientCapabilities (Maybe [ResourceOperationKind]) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resourceOperations :: Lens' WorkspaceEditClientCapabilities (Maybe [ResourceOperationKind]) #
HasWorkspaceEdit WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceEdit :: Lens' WorkspaceClientCapabilities (Maybe WorkspaceEditClientCapabilities) #
type Rep WorkspaceEditClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities

type Rep WorkspaceEditClientCapabilities = D1 ('MetaData "WorkspaceEditClientCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceEditClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceEditClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_documentChanges") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resourceOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ResourceOperationKind]))) :*: (S1 ('MetaSel ('Just "_failureHandling") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FailureHandlingKind)) :*: (S1 ('MetaSel ('Just "_normalizesLineEndings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_changeAnnotationSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChangeAnnotationsSupportOptions))))))

data WorkspaceFoldersChangeEvent #

The workspace folder change event.

Constructors

WorkspaceFoldersChangeEvent |

Fields

- _added :: [WorkspaceFolder]

  The array of added workspace folders

- _removed :: [WorkspaceFolder]

  The array of the removed workspace folders

#### Instances

Instances details

FromJSON WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods parseJSON :: Value -> Parser WorkspaceFoldersChangeEvent # parseJSONList :: Value -> Parser [WorkspaceFoldersChangeEvent] # omittedField :: Maybe WorkspaceFoldersChangeEvent #
ToJSON WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods toJSON :: WorkspaceFoldersChangeEvent -> Value # toEncoding :: WorkspaceFoldersChangeEvent -> Encoding # toJSONList :: [WorkspaceFoldersChangeEvent] -> Value # toEncodingList :: [WorkspaceFoldersChangeEvent] -> Encoding # omitField :: WorkspaceFoldersChangeEvent -> Bool #
NFData WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods rnf :: WorkspaceFoldersChangeEvent -> () #
Generic WorkspaceFoldersChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent

Associated Types

type Rep WorkspaceFoldersChangeEvent |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent

type Rep WorkspaceFoldersChangeEvent = D1 ('MetaData "WorkspaceFoldersChangeEvent" "Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFoldersChangeEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_added") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceFolder]) :*: S1 ('MetaSel ('Just "_removed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceFolder])))

Methods

from :: WorkspaceFoldersChangeEvent -> Rep WorkspaceFoldersChangeEvent x #

to :: Rep WorkspaceFoldersChangeEvent x -> WorkspaceFoldersChangeEvent #

Show WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods showsPrec :: Int -> WorkspaceFoldersChangeEvent -> ShowS # show :: WorkspaceFoldersChangeEvent -> String # showList :: [WorkspaceFoldersChangeEvent] -> ShowS #
Eq WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods (==) :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Bool # (/=) :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Bool #
Ord WorkspaceFoldersChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent

Methods

compare :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Ordering #

(<) :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Bool #

(<=) :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Bool #

(>) :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Bool #

(>=) :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> Bool #

max :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent #

min :: WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent -> WorkspaceFoldersChangeEvent #

Hashable WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods hashWithSalt :: Int -> WorkspaceFoldersChangeEvent -> Int # hash :: WorkspaceFoldersChangeEvent -> Int #
Pretty WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent Methods pretty :: WorkspaceFoldersChangeEvent -> Doc ann # prettyList :: [WorkspaceFoldersChangeEvent] -> Doc ann #
HasEvent DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods event :: Lens' DidChangeWorkspaceFoldersParams WorkspaceFoldersChangeEvent #
HasAdded WorkspaceFoldersChangeEvent [WorkspaceFolder] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods added :: Lens' WorkspaceFoldersChangeEvent [WorkspaceFolder] #
HasRemoved WorkspaceFoldersChangeEvent [WorkspaceFolder] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods removed :: Lens' WorkspaceFoldersChangeEvent [WorkspaceFolder] #
type Rep WorkspaceFoldersChangeEvent # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent

type Rep WorkspaceFoldersChangeEvent = D1 ('MetaData "WorkspaceFoldersChangeEvent" "Language.LSP.Protocol.Internal.Types.WorkspaceFoldersChangeEvent" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFoldersChangeEvent" 'PrefixI 'True) (S1 ('MetaSel ('Just "_added") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceFolder]) :*: S1 ('MetaSel ('Just "_removed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [WorkspaceFolder])))

data WorkspaceFoldersInitializeParams #

Constructors

WorkspaceFoldersInitializeParams |

Fields

- _workspaceFolders :: Maybe ([WorkspaceFolder] |? Null)

  The workspace folders configured in the client when the server starts.

  This property is only available if the client supports workspace folders. It can be `null` if the client supports workspace folders but none are configured.

  Since: 3.6.0

#### Instances

Instances details

FromJSON WorkspaceFoldersInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams Methods parseJSON :: Value -> Parser WorkspaceFoldersInitializeParams # parseJSONList :: Value -> Parser [WorkspaceFoldersInitializeParams] # omittedField :: Maybe WorkspaceFoldersInitializeParams #
ToJSON WorkspaceFoldersInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams

Methods

toJSON :: WorkspaceFoldersInitializeParams -> Value #

toEncoding :: WorkspaceFoldersInitializeParams -> Encoding #

toJSONList :: [WorkspaceFoldersInitializeParams] -> Value #

toEncodingList :: [WorkspaceFoldersInitializeParams] -> Encoding #

omitField :: WorkspaceFoldersInitializeParams -> Bool #

NFData WorkspaceFoldersInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams Methods rnf :: WorkspaceFoldersInitializeParams -> () #
Generic WorkspaceFoldersInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams

Associated Types

type Rep WorkspaceFoldersInitializeParams |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams

type Rep WorkspaceFoldersInitializeParams = D1 ('MetaData "WorkspaceFoldersInitializeParams" "Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFoldersInitializeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ([WorkspaceFolder] |? Null)))))

Methods

from :: WorkspaceFoldersInitializeParams -> Rep WorkspaceFoldersInitializeParams x #

to :: Rep WorkspaceFoldersInitializeParams x -> WorkspaceFoldersInitializeParams #

Show WorkspaceFoldersInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams Methods showsPrec :: Int -> WorkspaceFoldersInitializeParams -> ShowS # show :: WorkspaceFoldersInitializeParams -> String # showList :: [WorkspaceFoldersInitializeParams] -> ShowS #
Eq WorkspaceFoldersInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams Methods (==) :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Bool # (/=) :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Bool #
Ord WorkspaceFoldersInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams

Methods

compare :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Ordering #

(<) :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Bool #

(<=) :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Bool #

(>) :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Bool #

(>=) :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> Bool #

max :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams #

min :: WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams -> WorkspaceFoldersInitializeParams #

Hashable WorkspaceFoldersInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams Methods hashWithSalt :: Int -> WorkspaceFoldersInitializeParams -> Int # hash :: WorkspaceFoldersInitializeParams -> Int #
Pretty WorkspaceFoldersInitializeParams # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams Methods pretty :: WorkspaceFoldersInitializeParams -> Doc ann # prettyList :: [WorkspaceFoldersInitializeParams] -> Doc ann #
HasWorkspaceFolders WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceFoldersInitializeParams (Maybe ([WorkspaceFolder] |? Null)) #
type Rep WorkspaceFoldersInitializeParams # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams

type Rep WorkspaceFoldersInitializeParams = D1 ('MetaData "WorkspaceFoldersInitializeParams" "Language.LSP.Protocol.Internal.Types.WorkspaceFoldersInitializeParams" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFoldersInitializeParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ([WorkspaceFolder] |? Null)))))

data WorkspaceFoldersServerCapabilities #

Constructors

WorkspaceFoldersServerCapabilities |

Fields

- _supported :: Maybe Bool

  The server has support for workspace folders

- _changeNotifications :: Maybe (Text |? Bool)

  Whether the server wants to receive workspace folder change notifications.

  If a string is provided the string is treated as an ID under which the notification is registered on the client side. The ID can be used to unregister for these events using the `client/unregisterCapability` request.

#### Instances

Instances details

FromJSON WorkspaceFoldersServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities Methods parseJSON :: Value -> Parser WorkspaceFoldersServerCapabilities # parseJSONList :: Value -> Parser [WorkspaceFoldersServerCapabilities] # omittedField :: Maybe WorkspaceFoldersServerCapabilities #
ToJSON WorkspaceFoldersServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities

Methods

toJSON :: WorkspaceFoldersServerCapabilities -> Value #

toEncoding :: WorkspaceFoldersServerCapabilities -> Encoding #

toJSONList :: [WorkspaceFoldersServerCapabilities] -> Value #

toEncodingList :: [WorkspaceFoldersServerCapabilities] -> Encoding #

omitField :: WorkspaceFoldersServerCapabilities -> Bool #

NFData WorkspaceFoldersServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities Methods rnf :: WorkspaceFoldersServerCapabilities -> () #
Generic WorkspaceFoldersServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities

Associated Types

type Rep WorkspaceFoldersServerCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities

type Rep WorkspaceFoldersServerCapabilities = D1 ('MetaData "WorkspaceFoldersServerCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFoldersServerCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_supported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_changeNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? Bool)))))

Methods

from :: WorkspaceFoldersServerCapabilities -> Rep WorkspaceFoldersServerCapabilities x #

to :: Rep WorkspaceFoldersServerCapabilities x -> WorkspaceFoldersServerCapabilities #

Show WorkspaceFoldersServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities Methods showsPrec :: Int -> WorkspaceFoldersServerCapabilities -> ShowS # show :: WorkspaceFoldersServerCapabilities -> String # showList :: [WorkspaceFoldersServerCapabilities] -> ShowS #
Eq WorkspaceFoldersServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities Methods (==) :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Bool # (/=) :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Bool #
Ord WorkspaceFoldersServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities

Methods

compare :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Ordering #

(<) :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Bool #

(<=) :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Bool #

(>) :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Bool #

(>=) :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> Bool #

max :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities #

min :: WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities -> WorkspaceFoldersServerCapabilities #

Hashable WorkspaceFoldersServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities Methods hashWithSalt :: Int -> WorkspaceFoldersServerCapabilities -> Int # hash :: WorkspaceFoldersServerCapabilities -> Int #
Pretty WorkspaceFoldersServerCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities Methods pretty :: WorkspaceFoldersServerCapabilities -> Doc ann # prettyList :: [WorkspaceFoldersServerCapabilities] -> Doc ann #
HasChangeNotifications WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods changeNotifications :: Lens' WorkspaceFoldersServerCapabilities (Maybe (Text |? Bool)) #
HasSupported WorkspaceFoldersServerCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods supported :: Lens' WorkspaceFoldersServerCapabilities (Maybe Bool) #
HasWorkspaceFolders WorkspaceOptions (Maybe WorkspaceFoldersServerCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceOptions (Maybe WorkspaceFoldersServerCapabilities) #
type Rep WorkspaceFoldersServerCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities

type Rep WorkspaceFoldersServerCapabilities = D1 ('MetaData "WorkspaceFoldersServerCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceFoldersServerCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFoldersServerCapabilities" 'PrefixI 'True) (S1 ('MetaSel ('Just "_supported") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_changeNotifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Text |? Bool)))))

data WorkspaceFullDocumentDiagnosticReport #

A full document diagnostic report for a workspace diagnostic result.

Since: 3.17.0

Constructors

WorkspaceFullDocumentDiagnosticReport |

Fields

- _kind :: AString "full"

  A full document diagnostic report.

- _resultId :: Maybe Text

  An optional result id. If provided it will be sent on the next diagnostic request for the same document.

- _items :: [Diagnostic]

  The actual items.

- _uri :: Uri

  The URI for which diagnostic information is reported.

- _version :: Int32 |? Null

  The version number for which the diagnostics are reported. If the document is not marked as open `null` can be provided.

#### Instances

Instances details

FromJSON WorkspaceFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport Methods parseJSON :: Value -> Parser WorkspaceFullDocumentDiagnosticReport # parseJSONList :: Value -> Parser [WorkspaceFullDocumentDiagnosticReport] # omittedField :: Maybe WorkspaceFullDocumentDiagnosticReport #
ToJSON WorkspaceFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport

Methods

toJSON :: WorkspaceFullDocumentDiagnosticReport -> Value #

toEncoding :: WorkspaceFullDocumentDiagnosticReport -> Encoding #

toJSONList :: [WorkspaceFullDocumentDiagnosticReport] -> Value #

toEncodingList :: [WorkspaceFullDocumentDiagnosticReport] -> Encoding #

omitField :: WorkspaceFullDocumentDiagnosticReport -> Bool #

NFData WorkspaceFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport Methods rnf :: WorkspaceFullDocumentDiagnosticReport -> () #
Generic WorkspaceFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport

Associated Types

type Rep WorkspaceFullDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport

type Rep WorkspaceFullDocumentDiagnosticReport = D1 ('MetaData "WorkspaceFullDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFullDocumentDiagnosticReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "full")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))))))

Methods

from :: WorkspaceFullDocumentDiagnosticReport -> Rep WorkspaceFullDocumentDiagnosticReport x #

to :: Rep WorkspaceFullDocumentDiagnosticReport x -> WorkspaceFullDocumentDiagnosticReport #

Show WorkspaceFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport Methods showsPrec :: Int -> WorkspaceFullDocumentDiagnosticReport -> ShowS # show :: WorkspaceFullDocumentDiagnosticReport -> String # showList :: [WorkspaceFullDocumentDiagnosticReport] -> ShowS #
Eq WorkspaceFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport Methods (==) :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Bool # (/=) :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Bool #
Ord WorkspaceFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport

Methods

compare :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Ordering #

(<) :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Bool #

(<=) :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Bool #

(>) :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Bool #

(>=) :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> Bool #

max :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport #

min :: WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport -> WorkspaceFullDocumentDiagnosticReport #

Hashable WorkspaceFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport Methods hashWithSalt :: Int -> WorkspaceFullDocumentDiagnosticReport -> Int # hash :: WorkspaceFullDocumentDiagnosticReport -> Int #
Pretty WorkspaceFullDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport Methods pretty :: WorkspaceFullDocumentDiagnosticReport -> Doc ann # prettyList :: [WorkspaceFullDocumentDiagnosticReport] -> Doc ann #
HasUri WorkspaceFullDocumentDiagnosticReport Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' WorkspaceFullDocumentDiagnosticReport Uri #
HasItems WorkspaceFullDocumentDiagnosticReport [Diagnostic] # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods items :: Lens' WorkspaceFullDocumentDiagnosticReport [Diagnostic] #
HasKind WorkspaceFullDocumentDiagnosticReport (AString "full") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkspaceFullDocumentDiagnosticReport (AString "full") #
HasResultId WorkspaceFullDocumentDiagnosticReport (Maybe Text) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' WorkspaceFullDocumentDiagnosticReport (Maybe Text) #
HasVersion WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceFullDocumentDiagnosticReport (Int32 |? Null) #
type Rep WorkspaceFullDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport

type Rep WorkspaceFullDocumentDiagnosticReport = D1 ('MetaData "WorkspaceFullDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceFullDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceFullDocumentDiagnosticReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "full")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "_items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Diagnostic]) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null))))))

data WorkspaceOptions #

Defines workspace specific capabilities of the server.

@proposed

Since: 3.18.0

Constructors

WorkspaceOptions |

Fields

- _workspaceFolders :: Maybe WorkspaceFoldersServerCapabilities

  The server supports workspace folder.

  Since: 3.6.0

- _fileOperations :: Maybe FileOperationOptions

  The server is interested in notifications/requests for operations on files.

  Since: 3.16.0

#### Instances

Instances details

FromJSON WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods parseJSON :: Value -> Parser WorkspaceOptions # parseJSONList :: Value -> Parser [WorkspaceOptions] # omittedField :: Maybe WorkspaceOptions #
ToJSON WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods toJSON :: WorkspaceOptions -> Value # toEncoding :: WorkspaceOptions -> Encoding # toJSONList :: [WorkspaceOptions] -> Value # toEncodingList :: [WorkspaceOptions] -> Encoding # omitField :: WorkspaceOptions -> Bool #
NFData WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods rnf :: WorkspaceOptions -> () #
Generic WorkspaceOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions

Associated Types

type Rep WorkspaceOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions

type Rep WorkspaceOptions = D1 ('MetaData "WorkspaceOptions" "Language.LSP.Protocol.Internal.Types.WorkspaceOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceFoldersServerCapabilities)) :*: S1 ('MetaSel ('Just "_fileOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationOptions))))

Methods

from :: WorkspaceOptions -> Rep WorkspaceOptions x #

to :: Rep WorkspaceOptions x -> WorkspaceOptions #

Show WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods showsPrec :: Int -> WorkspaceOptions -> ShowS # show :: WorkspaceOptions -> String # showList :: [WorkspaceOptions] -> ShowS #
Eq WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods (==) :: WorkspaceOptions -> WorkspaceOptions -> Bool # (/=) :: WorkspaceOptions -> WorkspaceOptions -> Bool #
Ord WorkspaceOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions

Methods

compare :: WorkspaceOptions -> WorkspaceOptions -> Ordering #

(<) :: WorkspaceOptions -> WorkspaceOptions -> Bool #

(<=) :: WorkspaceOptions -> WorkspaceOptions -> Bool #

(>) :: WorkspaceOptions -> WorkspaceOptions -> Bool #

(>=) :: WorkspaceOptions -> WorkspaceOptions -> Bool #

max :: WorkspaceOptions -> WorkspaceOptions -> WorkspaceOptions #

min :: WorkspaceOptions -> WorkspaceOptions -> WorkspaceOptions #

Hashable WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods hashWithSalt :: Int -> WorkspaceOptions -> Int # hash :: WorkspaceOptions -> Int #
Pretty WorkspaceOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions Methods pretty :: WorkspaceOptions -> Doc ann # prettyList :: [WorkspaceOptions] -> Doc ann #
HasFileOperations WorkspaceOptions (Maybe FileOperationOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods fileOperations :: Lens' WorkspaceOptions (Maybe FileOperationOptions) #
HasWorkspace ServerCapabilities (Maybe WorkspaceOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspace :: Lens' ServerCapabilities (Maybe WorkspaceOptions) #
HasWorkspaceFolders WorkspaceOptions (Maybe WorkspaceFoldersServerCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceFolders :: Lens' WorkspaceOptions (Maybe WorkspaceFoldersServerCapabilities) #
type Rep WorkspaceOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceOptions

type Rep WorkspaceOptions = D1 ('MetaData "WorkspaceOptions" "Language.LSP.Protocol.Internal.Types.WorkspaceOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workspaceFolders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkspaceFoldersServerCapabilities)) :*: S1 ('MetaSel ('Just "_fileOperations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FileOperationOptions))))

data WorkspaceSymbolClientCapabilities #

Client capabilities for a `WorkspaceSymbolRequest`.

Constructors

WorkspaceSymbolClientCapabilities |

Fields

- _dynamicRegistration :: Maybe Bool

  Symbol request supports dynamic registration.

- _symbolKind :: Maybe ClientSymbolKindOptions

  Specific capabilities for the `SymbolKind` in the `workspace/symbol` request.

- _tagSupport :: Maybe ClientSymbolTagOptions

  The client supports tags on `SymbolInformation`. Clients supporting tags have to handle unknown tags gracefully.

  Since: 3.16.0

- _resolveSupport :: Maybe ClientSymbolResolveOptions

  The client support partial workspace symbols. The client will send the request `workspaceSymbol/resolve` to the server to resolve additional properties.

  Since: 3.17.0

#### Instances

Instances details

FromJSON WorkspaceSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities Methods parseJSON :: Value -> Parser WorkspaceSymbolClientCapabilities # parseJSONList :: Value -> Parser [WorkspaceSymbolClientCapabilities] # omittedField :: Maybe WorkspaceSymbolClientCapabilities #
ToJSON WorkspaceSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities

Methods

toJSON :: WorkspaceSymbolClientCapabilities -> Value #

toEncoding :: WorkspaceSymbolClientCapabilities -> Encoding #

toJSONList :: [WorkspaceSymbolClientCapabilities] -> Value #

toEncodingList :: [WorkspaceSymbolClientCapabilities] -> Encoding #

omitField :: WorkspaceSymbolClientCapabilities -> Bool #

NFData WorkspaceSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities Methods rnf :: WorkspaceSymbolClientCapabilities -> () #
Generic WorkspaceSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities

Associated Types

type Rep WorkspaceSymbolClientCapabilities |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities

type Rep WorkspaceSymbolClientCapabilities = D1 ('MetaData "WorkspaceSymbolClientCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_symbolKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolKindOptions))) :*: (S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolTagOptions)) :*: S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolResolveOptions)))))

Methods

from :: WorkspaceSymbolClientCapabilities -> Rep WorkspaceSymbolClientCapabilities x #

to :: Rep WorkspaceSymbolClientCapabilities x -> WorkspaceSymbolClientCapabilities #

Show WorkspaceSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities Methods showsPrec :: Int -> WorkspaceSymbolClientCapabilities -> ShowS # show :: WorkspaceSymbolClientCapabilities -> String # showList :: [WorkspaceSymbolClientCapabilities] -> ShowS #
Eq WorkspaceSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities Methods (==) :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Bool # (/=) :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Bool #
Ord WorkspaceSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities

Methods

compare :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Ordering #

(<) :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Bool #

(<=) :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Bool #

(>) :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Bool #

(>=) :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> Bool #

max :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities #

min :: WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities -> WorkspaceSymbolClientCapabilities #

Hashable WorkspaceSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities Methods hashWithSalt :: Int -> WorkspaceSymbolClientCapabilities -> Int # hash :: WorkspaceSymbolClientCapabilities -> Int #
Pretty WorkspaceSymbolClientCapabilities # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities Methods pretty :: WorkspaceSymbolClientCapabilities -> Doc ann # prettyList :: [WorkspaceSymbolClientCapabilities] -> Doc ann #
HasDynamicRegistration WorkspaceSymbolClientCapabilities (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods dynamicRegistration :: Lens' WorkspaceSymbolClientCapabilities (Maybe Bool) #
HasResolveSupport WorkspaceSymbolClientCapabilities (Maybe ClientSymbolResolveOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveSupport :: Lens' WorkspaceSymbolClientCapabilities (Maybe ClientSymbolResolveOptions) #
HasSymbol WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods symbol :: Lens' WorkspaceClientCapabilities (Maybe WorkspaceSymbolClientCapabilities) #
HasSymbolKind WorkspaceSymbolClientCapabilities (Maybe ClientSymbolKindOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods symbolKind :: Lens' WorkspaceSymbolClientCapabilities (Maybe ClientSymbolKindOptions) #
HasTagSupport WorkspaceSymbolClientCapabilities (Maybe ClientSymbolTagOptions) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods tagSupport :: Lens' WorkspaceSymbolClientCapabilities (Maybe ClientSymbolTagOptions) #
type Rep WorkspaceSymbolClientCapabilities # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities

type Rep WorkspaceSymbolClientCapabilities = D1 ('MetaData "WorkspaceSymbolClientCapabilities" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolClientCapabilities" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolClientCapabilities" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_dynamicRegistration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_symbolKind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolKindOptions))) :*: (S1 ('MetaSel ('Just "_tagSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolTagOptions)) :*: S1 ('MetaSel ('Just "_resolveSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClientSymbolResolveOptions)))))

data WorkspaceSymbolOptions #

Server capabilities for a `WorkspaceSymbolRequest`.

Constructors

WorkspaceSymbolOptions |

Fields

- _workDoneProgress :: Maybe Bool
- _resolveProvider :: Maybe Bool

  The server provides support to resolve additional information for a workspace symbol.

  Since: 3.17.0

#### Instances

Instances details

FromJSON WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods parseJSON :: Value -> Parser WorkspaceSymbolOptions # parseJSONList :: Value -> Parser [WorkspaceSymbolOptions] # omittedField :: Maybe WorkspaceSymbolOptions #
ToJSON WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods toJSON :: WorkspaceSymbolOptions -> Value # toEncoding :: WorkspaceSymbolOptions -> Encoding # toJSONList :: [WorkspaceSymbolOptions] -> Value # toEncodingList :: [WorkspaceSymbolOptions] -> Encoding # omitField :: WorkspaceSymbolOptions -> Bool #
NFData WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods rnf :: WorkspaceSymbolOptions -> () #
Generic WorkspaceSymbolOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions

Associated Types

type Rep WorkspaceSymbolOptions |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions

type Rep WorkspaceSymbolOptions = D1 ('MetaData "WorkspaceSymbolOptions" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

Methods

from :: WorkspaceSymbolOptions -> Rep WorkspaceSymbolOptions x #

to :: Rep WorkspaceSymbolOptions x -> WorkspaceSymbolOptions #

Show WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods showsPrec :: Int -> WorkspaceSymbolOptions -> ShowS # show :: WorkspaceSymbolOptions -> String # showList :: [WorkspaceSymbolOptions] -> ShowS #
Eq WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods (==) :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Bool # (/=) :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Bool #
Ord WorkspaceSymbolOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions

Methods

compare :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Ordering #

(<) :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Bool #

(<=) :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Bool #

(>) :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Bool #

(>=) :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> Bool #

max :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> WorkspaceSymbolOptions #

min :: WorkspaceSymbolOptions -> WorkspaceSymbolOptions -> WorkspaceSymbolOptions #

Hashable WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods hashWithSalt :: Int -> WorkspaceSymbolOptions -> Int # hash :: WorkspaceSymbolOptions -> Int #
Pretty WorkspaceSymbolOptions # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions Methods pretty :: WorkspaceSymbolOptions -> Doc ann # prettyList :: [WorkspaceSymbolOptions] -> Doc ann #
HasResolveProvider WorkspaceSymbolOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resolveProvider :: Lens' WorkspaceSymbolOptions (Maybe Bool) #
HasWorkDoneProgress WorkspaceSymbolOptions (Maybe Bool) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workDoneProgress :: Lens' WorkspaceSymbolOptions (Maybe Bool) #
HasWorkspaceSymbolProvider ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods workspaceSymbolProvider :: Lens' ServerCapabilities (Maybe (Bool |? WorkspaceSymbolOptions)) #
type Rep WorkspaceSymbolOptions # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions

type Rep WorkspaceSymbolOptions = D1 ('MetaData "WorkspaceSymbolOptions" "Language.LSP.Protocol.Internal.Types.WorkspaceSymbolOptions" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceSymbolOptions" 'PrefixI 'True) (S1 ('MetaSel ('Just "_workDoneProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "_resolveProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

data WorkspaceUnchangedDocumentDiagnosticReport #

An unchanged document diagnostic report for a workspace diagnostic result.

Since: 3.17.0

Constructors

WorkspaceUnchangedDocumentDiagnosticReport |

Fields

- _kind :: AString "unchanged"

  A document diagnostic report indicating no changes to the last result. A server can only return `unchanged` if result ids are provided.

- _resultId :: Text

  A result id which will be sent on the next diagnostic request for the same document.

- _uri :: Uri

  The URI for which diagnostic information is reported.

- _version :: Int32 |? Null

  The version number for which the diagnostics are reported. If the document is not marked as open `null` can be provided.

#### Instances

Instances details

FromJSON WorkspaceUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport Methods parseJSON :: Value -> Parser WorkspaceUnchangedDocumentDiagnosticReport # parseJSONList :: Value -> Parser [WorkspaceUnchangedDocumentDiagnosticReport] # omittedField :: Maybe WorkspaceUnchangedDocumentDiagnosticReport #
ToJSON WorkspaceUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport

Methods

toJSON :: WorkspaceUnchangedDocumentDiagnosticReport -> Value #

toEncoding :: WorkspaceUnchangedDocumentDiagnosticReport -> Encoding #

toJSONList :: [WorkspaceUnchangedDocumentDiagnosticReport] -> Value #

toEncodingList :: [WorkspaceUnchangedDocumentDiagnosticReport] -> Encoding #

omitField :: WorkspaceUnchangedDocumentDiagnosticReport -> Bool #

NFData WorkspaceUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport Methods rnf :: WorkspaceUnchangedDocumentDiagnosticReport -> () #
Generic WorkspaceUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport

Associated Types

type Rep WorkspaceUnchangedDocumentDiagnosticReport |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport

type Rep WorkspaceUnchangedDocumentDiagnosticReport = D1 ('MetaData "WorkspaceUnchangedDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceUnchangedDocumentDiagnosticReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "unchanged")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null)))))

Methods

from :: WorkspaceUnchangedDocumentDiagnosticReport -> Rep WorkspaceUnchangedDocumentDiagnosticReport x #

to :: Rep WorkspaceUnchangedDocumentDiagnosticReport x -> WorkspaceUnchangedDocumentDiagnosticReport #

Show WorkspaceUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport Methods showsPrec :: Int -> WorkspaceUnchangedDocumentDiagnosticReport -> ShowS # show :: WorkspaceUnchangedDocumentDiagnosticReport -> String # showList :: [WorkspaceUnchangedDocumentDiagnosticReport] -> ShowS #
Eq WorkspaceUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport Methods (==) :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Bool # (/=) :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Bool #
Ord WorkspaceUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport

Methods

compare :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Ordering #

(<) :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Bool #

(<=) :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Bool #

(>) :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Bool #

(>=) :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> Bool #

max :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport #

min :: WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport -> WorkspaceUnchangedDocumentDiagnosticReport #

Hashable WorkspaceUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport Methods hashWithSalt :: Int -> WorkspaceUnchangedDocumentDiagnosticReport -> Int # hash :: WorkspaceUnchangedDocumentDiagnosticReport -> Int #
Pretty WorkspaceUnchangedDocumentDiagnosticReport # |
Instance details Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport Methods pretty :: WorkspaceUnchangedDocumentDiagnosticReport -> Doc ann # prettyList :: [WorkspaceUnchangedDocumentDiagnosticReport] -> Doc ann #
HasResultId WorkspaceUnchangedDocumentDiagnosticReport Text # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods resultId :: Lens' WorkspaceUnchangedDocumentDiagnosticReport Text #
HasUri WorkspaceUnchangedDocumentDiagnosticReport Uri # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods uri :: Lens' WorkspaceUnchangedDocumentDiagnosticReport Uri #
HasKind WorkspaceUnchangedDocumentDiagnosticReport (AString "unchanged") # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods kind :: Lens' WorkspaceUnchangedDocumentDiagnosticReport (AString "unchanged") #
HasVersion WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) # |
Instance details Defined in Language.LSP.Protocol.Types.Lens Methods version :: Lens' WorkspaceUnchangedDocumentDiagnosticReport (Int32 |? Null) #
type Rep WorkspaceUnchangedDocumentDiagnosticReport # |

Instance details

Defined in Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport

type Rep WorkspaceUnchangedDocumentDiagnosticReport = D1 ('MetaData "WorkspaceUnchangedDocumentDiagnosticReport" "Language.LSP.Protocol.Internal.Types.WorkspaceUnchangedDocumentDiagnosticReport" "lsp-types-2.3.0.1-DRgHF6G3wOAK70a4XwHYCC" 'False) (C1 ('MetaCons "WorkspaceUnchangedDocumentDiagnosticReport" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_kind") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (AString "unchanged")) :*: S1 ('MetaSel ('Just "_resultId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "_uri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Uri) :*: S1 ('MetaSel ('Just "_version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Int32 |? Null)))))