haskell-language-server-2.7.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Ide.Plugin.Cabal.LicenseSuggest

Contents

Synopsis

Documentation

licenseErrorSuggestion Source #

Arguments

:: Text

Output of errorDiagnostic

-> [(Text, Text)]

(Original (incorrect) license identifier, suggested replacement)

Given a diagnostic returned by errorDiagnostic, provide possible corrections for SPDX license identifiers based on the list specified in Cabal. Results are sorted by best fit, and prefer solutions that have smaller length distance to the original word.

>>> take 2 $ licenseErrorSuggestion (T.pack "Unknown SPDX license identifier: 'BSD3'")
[("BSD3","BSD-3-Clause"),("BSD3","BSD-3-Clause-LBNL")]

licenseErrorAction Source #

Arguments

:: Uri

File for which the diagnostic was generated

-> Diagnostic

Output of errorDiagnostic

-> [CodeAction] 

Given a diagnostic returned by errorDiagnostic, if it represents an "Unknown SPDX license identifier"-error along with a suggestion, then return a CodeAction for replacing the the incorrect license identifier with the suggestion.

licenseNames :: [Text] Source #

License name of every license supported by cabal

Re-exports

data Text #

A space efficient, packed, unboxed Unicode text type.

Instances

Instances details
Structured Text 
Instance details

Defined in Distribution.Utils.Structured

Chunk Text 
Instance details

Defined in Data.Attoparsec.Internal.Types

Associated Types

type ChunkElem Text #

Hashable Text 
Instance details

Defined in Data.Hashable.Class

Methods

hashWithSalt :: Int -> Text -> Int #

hash :: Text -> Int #

Ixed Text 
Instance details

Defined in Control.Lens.At

AsJSON Text 
Instance details

Defined in Data.Aeson.Lens

Methods

_JSON :: (FromJSON a, ToJSON b) => Prism Text Text a b #

AsNumber Text 
Instance details

Defined in Data.Aeson.Lens

AsValue Text 
Instance details

Defined in Data.Aeson.Lens

IsKey Text 
Instance details

Defined in Data.Aeson.Lens

Methods

_Key :: Iso' Text Key #

Stream Text 
Instance details

Defined in Text.Megaparsec.Stream

Associated Types

type Token Text #

type Tokens Text #

TraversableStream Text 
Instance details

Defined in Text.Megaparsec.Stream

VisualStream Text 
Instance details

Defined in Text.Megaparsec.Stream

Pretty Text

Automatically converts all newlines to line.

>>> pretty ("hello\nworld" :: Text)
hello
world

Note that line can be undone by group:

>>> group (pretty ("hello\nworld" :: Text))
hello world

Manually use hardline if you definitely want newlines.

Instance details

Defined in Prettyprinter.Internal

Methods

pretty :: Text -> Doc ann #

prettyList :: [Text] -> Doc ann #

Extract Text

Since: regex-base-0.94.0.0

Instance details

Defined in Text.Regex.Base.RegexLike

Methods

before :: Int -> Text -> Text #

after :: Int -> Text -> Text #

empty :: Text #

extract :: (Int, Int) -> Text -> Text #

HasJsonrpc NotificationMessage Text 
Instance details

Defined in Language.LSP.Protocol.Message.Lens

Methods

jsonrpc :: Lens' NotificationMessage Text

HasJsonrpc RequestMessage Text 
Instance details

Defined in Language.LSP.Protocol.Message.Lens

Methods

jsonrpc :: Lens' RequestMessage Text

HasJsonrpc ResponseMessage Text 
Instance details

Defined in Language.LSP.Protocol.Message.Lens

Methods

jsonrpc :: Lens' ResponseMessage Text

HasCh DocumentOnTypeFormattingParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

ch :: Lens' DocumentOnTypeFormattingParams Text

HasCommand Command Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

command :: Lens' Command Text

HasCommand ExecuteCommandParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

command :: Lens' ExecuteCommandParams Text

HasEngine RegularExpressionsClientCapabilities Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

engine :: Lens' RegularExpressionsClientCapabilities Text

HasFirstTriggerCharacter DocumentOnTypeFormattingOptions Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

firstTriggerCharacter :: Lens' DocumentOnTypeFormattingOptions Text

HasFirstTriggerCharacter DocumentOnTypeFormattingRegistrationOptions Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

firstTriggerCharacter :: Lens' DocumentOnTypeFormattingRegistrationOptions Text

HasGlob FileOperationPattern Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

glob :: Lens' FileOperationPattern Text

HasId Registration Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' Registration Text

HasId Unregistration Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' Unregistration Text

HasIdentifier Moniker Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

identifier :: Lens' Moniker Text

HasKind ResourceOperation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

kind :: Lens' ResourceOperation Text

HasLabel ChangeAnnotation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' ChangeAnnotation Text

HasLabel ColorPresentation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' ColorPresentation Text

HasLabel CompletionItem Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' CompletionItem Text

HasLabel SignatureInformation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' SignatureInformation Text

HasLanguageId TextDocumentItem Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

languageId :: Lens' TextDocumentItem Text

HasMessage Diagnostic Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

HasMessage DiagnosticRelatedInformation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' DiagnosticRelatedInformation Text

HasMessage LogMessageParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' LogMessageParams Text

HasMessage LogTraceParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' LogTraceParams Text

HasMessage ShowMessageParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' ShowMessageParams Text

HasMessage ShowMessageRequestParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' ShowMessageRequestParams Text

HasMethod Registration Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

method :: Lens' Registration Text

HasMethod Unregistration Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

method :: Lens' Unregistration Text

HasName BaseSymbolInformation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' BaseSymbolInformation Text

HasName CallHierarchyItem Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' CallHierarchyItem Text

HasName DocumentSymbol Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' DocumentSymbol Text

HasName SymbolInformation Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' SymbolInformation Text

HasName TypeHierarchyItem Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' TypeHierarchyItem Text

HasName WorkspaceFolder Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' WorkspaceFolder Text

HasName WorkspaceSymbol Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

name :: Lens' WorkspaceSymbol Text

HasNewName RenameParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

newName :: Lens' RenameParams Text

HasNewText AnnotatedTextEdit Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

newText :: Lens' AnnotatedTextEdit Text

HasNewText InsertReplaceEdit Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

newText :: Lens' InsertReplaceEdit Text

HasNewText TextEdit Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

newText :: Lens' TextEdit Text

HasNewUri FileRename Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

newUri :: Lens' FileRename Text

HasNotebookType NotebookDocument Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

notebookType :: Lens' NotebookDocument Text

HasOldUri FileRename Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

oldUri :: Lens' FileRename Text

HasParser MarkdownClientCapabilities Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

parser :: Lens' MarkdownClientCapabilities Text

HasPreviousResultId SemanticTokensDeltaParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

previousResultId :: Lens' SemanticTokensDeltaParams Text

HasQuery WorkspaceSymbolParams Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

query :: Lens' WorkspaceSymbolParams Text

HasResultId RelatedUnchangedDocumentDiagnosticReport Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' RelatedUnchangedDocumentDiagnosticReport Text

HasResultId UnchangedDocumentDiagnosticReport Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' UnchangedDocumentDiagnosticReport Text

HasResultId WorkspaceUnchangedDocumentDiagnosticReport Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' WorkspaceUnchangedDocumentDiagnosticReport Text

HasScheme Moniker Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

scheme :: Lens' Moniker Text

HasText InlineValueText Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

text :: Lens' InlineValueText Text

HasText TextDocumentItem Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

text :: Lens' TextDocumentItem Text

HasTitle CodeAction Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

title :: Lens' CodeAction Text

HasTitle Command Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

title :: Lens' Command Text

HasTitle MessageActionItem Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

title :: Lens' MessageActionItem Text

HasTitle WorkDoneProgressBegin Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

title :: Lens' WorkDoneProgressBegin Text

HasUri FileCreate Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

uri :: Lens' FileCreate Text

HasUri FileDelete Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

uri :: Lens' FileDelete Text

HasValue InlayHintLabelPart Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

value :: Lens' InlayHintLabelPart Text

HasValue MarkupContent Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

value :: Lens' MarkupContent Text

HasValue PreviousResultId Text 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

value :: Lens' PreviousResultId Text

HasAllCommitCharacters CompletionOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

allCommitCharacters :: Lens' CompletionOptions (Maybe [Text])

HasAllCommitCharacters CompletionRegistrationOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

allCommitCharacters :: Lens' CompletionRegistrationOptions (Maybe [Text])

HasAllowedTags MarkdownClientCapabilities (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

allowedTags :: Lens' MarkdownClientCapabilities (Maybe [Text])

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

HasCollapsedText FoldingRange (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

collapsedText :: Lens' FoldingRange (Maybe Text)

HasCommands ExecuteCommandOptions [Text] 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

commands :: Lens' ExecuteCommandOptions [Text]

HasCommands ExecuteCommandRegistrationOptions [Text] 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

commands :: Lens' ExecuteCommandRegistrationOptions [Text]

HasCommitCharacters CompletionItem (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

commitCharacters :: Lens' CompletionItem (Maybe [Text])

HasContainerName BaseSymbolInformation (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

containerName :: Lens' BaseSymbolInformation (Maybe Text)

HasContainerName SymbolInformation (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

containerName :: Lens' SymbolInformation (Maybe Text)

HasContainerName WorkspaceSymbol (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

containerName :: Lens' WorkspaceSymbol (Maybe Text)

HasDescription ChangeAnnotation (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

description :: Lens' ChangeAnnotation (Maybe Text)

HasDescription CompletionItemLabelDetails (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

description :: Lens' CompletionItemLabelDetails (Maybe Text)

HasDetail CallHierarchyItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

detail :: Lens' CallHierarchyItem (Maybe Text)

HasDetail CompletionItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

detail :: Lens' CompletionItem (Maybe Text)

HasDetail CompletionItemLabelDetails (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

detail :: Lens' CompletionItemLabelDetails (Maybe Text)

HasDetail DocumentSymbol (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

detail :: Lens' DocumentSymbol (Maybe Text)

HasDetail TypeHierarchyItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

detail :: Lens' TypeHierarchyItem (Maybe 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))

HasExpression InlineValueEvaluatableExpression (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

expression :: Lens' InlineValueEvaluatableExpression (Maybe Text)

HasFailureReason ApplyWorkspaceEditResult (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

failureReason :: Lens' ApplyWorkspaceEditResult (Maybe Text)

HasFilterText CompletionItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

filterText :: Lens' CompletionItem (Maybe Text)

HasId CallHierarchyRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' CallHierarchyRegistrationOptions (Maybe Text)

HasId DeclarationRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' DeclarationRegistrationOptions (Maybe Text)

HasId DiagnosticRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' DiagnosticRegistrationOptions (Maybe Text)

HasId DocumentColorRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' DocumentColorRegistrationOptions (Maybe Text)

HasId FoldingRangeRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' FoldingRangeRegistrationOptions (Maybe Text)

HasId ImplementationRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' ImplementationRegistrationOptions (Maybe Text)

HasId InlayHintRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' InlayHintRegistrationOptions (Maybe Text)

HasId InlineValueRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' InlineValueRegistrationOptions (Maybe Text)

HasId LinkedEditingRangeRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' LinkedEditingRangeRegistrationOptions (Maybe Text)

HasId NotebookDocumentSyncRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' NotebookDocumentSyncRegistrationOptions (Maybe Text)

HasId SelectionRangeRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' SelectionRangeRegistrationOptions (Maybe Text)

HasId SemanticTokensRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' SemanticTokensRegistrationOptions (Maybe Text)

HasId StaticRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' StaticRegistrationOptions (Maybe Text)

HasId TypeDefinitionRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' TypeDefinitionRegistrationOptions (Maybe Text)

HasId TypeHierarchyRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' TypeHierarchyRegistrationOptions (Maybe Text)

HasIdentifier DiagnosticOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

identifier :: Lens' DiagnosticOptions (Maybe Text)

HasIdentifier DiagnosticRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

identifier :: Lens' DiagnosticRegistrationOptions (Maybe Text)

HasIdentifier DocumentDiagnosticParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

identifier :: Lens' DocumentDiagnosticParams (Maybe Text)

HasIdentifier WorkspaceDiagnosticParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

identifier :: Lens' WorkspaceDiagnosticParams (Maybe Text)

HasInsertText CompletionItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

insertText :: Lens' CompletionItem (Maybe Text)

HasLabel ApplyWorkspaceEditParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' ApplyWorkspaceEditParams (Maybe Text)

HasLabel DocumentSymbolOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' DocumentSymbolOptions (Maybe Text)

HasLabel DocumentSymbolRegistrationOptions (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

label :: Lens' DocumentSymbolRegistrationOptions (Maybe Text)

HasLanguage NotebookCellTextDocumentFilter (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

language :: Lens' NotebookCellTextDocumentFilter (Maybe Text)

HasLocale InitializeParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

locale :: Lens' InitializeParams (Maybe Text)

HasLocale UInitializeParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

locale :: Lens' UInitializeParams (Maybe Text)

HasMessage WorkDoneProgressBegin (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' WorkDoneProgressBegin (Maybe Text)

HasMessage WorkDoneProgressEnd (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' WorkDoneProgressEnd (Maybe Text)

HasMessage WorkDoneProgressReport (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

message :: Lens' WorkDoneProgressReport (Maybe Text)

HasMoreTriggerCharacter DocumentOnTypeFormattingOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

moreTriggerCharacter :: Lens' DocumentOnTypeFormattingOptions (Maybe [Text])

HasMoreTriggerCharacter DocumentOnTypeFormattingRegistrationOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

moreTriggerCharacter :: Lens' DocumentOnTypeFormattingRegistrationOptions (Maybe [Text])

HasPreviousResultId DocumentDiagnosticParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

previousResultId :: Lens' DocumentDiagnosticParams (Maybe Text)

HasResultId FullDocumentDiagnosticReport (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' FullDocumentDiagnosticReport (Maybe Text)

HasResultId RelatedFullDocumentDiagnosticReport (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' RelatedFullDocumentDiagnosticReport (Maybe Text)

HasResultId SemanticTokens (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' SemanticTokens (Maybe Text)

HasResultId SemanticTokensDelta (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' SemanticTokensDelta (Maybe Text)

HasResultId WorkspaceFullDocumentDiagnosticReport (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

resultId :: Lens' WorkspaceFullDocumentDiagnosticReport (Maybe Text)

HasRetriggerCharacters SignatureHelpOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

retriggerCharacters :: Lens' SignatureHelpOptions (Maybe [Text])

HasRetriggerCharacters SignatureHelpRegistrationOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

retriggerCharacters :: Lens' SignatureHelpRegistrationOptions (Maybe [Text])

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

HasScheme FileOperationFilter (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

scheme :: Lens' FileOperationFilter (Maybe Text)

HasScopeUri ConfigurationItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

scopeUri :: Lens' ConfigurationItem (Maybe Text)

HasSection ConfigurationItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

section :: Lens' ConfigurationItem (Maybe Text)

HasSection DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text])) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

section :: Lens' DidChangeConfigurationRegistrationOptions (Maybe (Text |? [Text]))

HasSortText CompletionItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

sortText :: Lens' CompletionItem (Maybe Text)

HasSource Diagnostic (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

HasTarget DocumentLink (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

target :: Lens' DocumentLink (Maybe Text)

HasText DidSaveTextDocumentParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

text :: Lens' DidSaveTextDocumentParams (Maybe Text)

HasTextEditText CompletionItem (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

textEditText :: Lens' CompletionItem (Maybe Text)

HasTokenModifiers SemanticTokensClientCapabilities [Text] 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

tokenModifiers :: Lens' SemanticTokensClientCapabilities [Text]

HasTokenModifiers SemanticTokensLegend [Text] 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

tokenModifiers :: Lens' SemanticTokensLegend [Text]

HasTokenTypes SemanticTokensClientCapabilities [Text] 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

tokenTypes :: Lens' SemanticTokensClientCapabilities [Text]

HasTokenTypes SemanticTokensLegend [Text] 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

tokenTypes :: Lens' SemanticTokensLegend [Text]

HasTooltip DocumentLink (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

tooltip :: Lens' DocumentLink (Maybe Text)

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

HasTriggerCharacter CompletionContext (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

triggerCharacter :: Lens' CompletionContext (Maybe Text)

HasTriggerCharacter SignatureHelpContext (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

triggerCharacter :: Lens' SignatureHelpContext (Maybe Text)

HasTriggerCharacters CompletionOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

triggerCharacters :: Lens' CompletionOptions (Maybe [Text])

HasTriggerCharacters CompletionRegistrationOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

triggerCharacters :: Lens' CompletionRegistrationOptions (Maybe [Text])

HasTriggerCharacters SignatureHelpOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

triggerCharacters :: Lens' SignatureHelpOptions (Maybe [Text])

HasTriggerCharacters SignatureHelpRegistrationOptions (Maybe [Text]) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

triggerCharacters :: Lens' SignatureHelpRegistrationOptions (Maybe [Text])

HasVariableName InlineValueVariableLookup (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

variableName :: Lens' InlineValueVariableLookup (Maybe Text)

HasVerbose LogTraceParams (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

verbose :: Lens' LogTraceParams (Maybe Text)

HasVersion MarkdownClientCapabilities (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

version :: Lens' MarkdownClientCapabilities (Maybe Text)

HasVersion RegularExpressionsClientCapabilities (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

version :: Lens' RegularExpressionsClientCapabilities (Maybe Text)

HasWordPattern LinkedEditingRanges (Maybe Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

wordPattern :: Lens' LinkedEditingRanges (Maybe Text)

HasId CancelParams (Int32 |? Text) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

id :: Lens' CancelParams (Int32 |? Text)

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

HasNotebook NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter) 
Instance details

Defined in Language.LSP.Protocol.Types.Lens

Methods

notebook :: Lens' NotebookCellTextDocumentFilter (Text |? NotebookDocumentFilter)

Stream (NoShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

Associated Types

type Token (NoShareInput Text) #

type Tokens (NoShareInput Text) #

Stream (ShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

Associated Types

type Token (ShareInput Text) #

type Tokens (ShareInput Text) #

HasJsonrpc (TNotificationMessage m) Text 
Instance details

Defined in Language.LSP.Protocol.Message.Lens

Methods

jsonrpc :: Lens' (TNotificationMessage m) Text

HasJsonrpc (TRequestMessage m) Text 
Instance details

Defined in Language.LSP.Protocol.Message.Lens

Methods

jsonrpc :: Lens' (TRequestMessage m) Text

HasJsonrpc (TResponseMessage m) Text 
Instance details

Defined in Language.LSP.Protocol.Message.Lens

Methods

jsonrpc :: Lens' (TResponseMessage m) Text

type ChunkElem Text 
Instance details

Defined in Data.Attoparsec.Internal.Types

type State Text 
Instance details

Defined in Data.Attoparsec.Internal.Types

type State Text = Buffer
type Item Text 
Instance details

Defined in Data.Text

type Item Text = Char
type Index Text 
Instance details

Defined in Control.Lens.At

type Index Text = Int
type IxValue Text 
Instance details

Defined in Control.Lens.At

type Token Text 
Instance details

Defined in Text.Megaparsec.Stream

type Tokens Text 
Instance details

Defined in Text.Megaparsec.Stream

type Token (NoShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

type Token (ShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

type Tokens (NoShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

type Tokens (ShareInput Text) 
Instance details

Defined in Text.Megaparsec.Stream

data Diagnostic #

Constructors

Diagnostic 

Fields

Instances

Instances details
FromJSON Diagnostic 
Instance details

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

ToJSON Diagnostic 
Instance details

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

Generic Diagnostic 
Instance details

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

Associated Types

type Rep Diagnostic :: Type -> Type #

Show Diagnostic 
Instance details

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

NFData Diagnostic 
Instance details

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

Methods

rnf :: Diagnostic -> () #

Eq Diagnostic 
Instance details

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

Ord Diagnostic 
Instance details

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

Hashable Diagnostic 
Instance details

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

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

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

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

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.1.1.0-23BTFeziXop5yscaxJS17x" '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)))))))