Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- supportedCommands :: [Text]
- replaceText :: Text -> TextReplacement -> Command
- data TextReplacement = TextReplacement {
- range :: Range
- description :: Text
- replacementText :: Text
- fileUri :: Uri
- executeCommandHandler :: TRequestMessage 'Method_WorkspaceExecuteCommand -> (Either ResponseError (Value |? Null) -> Lsp ()) -> Lsp ()
Documentation
supportedCommands :: [Text] Source #
replaceText :: Text -> TextReplacement -> Command Source #
data TextReplacement Source #
TextReplacement | |
|
Instances
FromJSON TextReplacement Source # | |
Defined in Unison.LSP.Commands parseJSON :: Value -> Parser TextReplacement # parseJSONList :: Value -> Parser [TextReplacement] # | |
ToJSON TextReplacement Source # | |
Defined in Unison.LSP.Commands toJSON :: TextReplacement -> Value # toEncoding :: TextReplacement -> Encoding # toJSONList :: [TextReplacement] -> Value # toEncodingList :: [TextReplacement] -> Encoding # |