Safe Haskell | None |
---|---|
Language | Haskell2010 |
Go to the definition of a variable.
Synopsis
- plugin :: Plugin c
- codeAction :: LspFuncs c -> IdeState -> TextDocumentIdentifier -> Range -> CodeActionContext -> IO (Either ResponseError [CAResult])
- codeLens :: LspFuncs c -> IdeState -> CodeLensParams -> IO (Either ResponseError (List CodeLens))
- rulePackageExports :: Rules ()
- commandHandler :: LspFuncs c -> IdeState -> ExecuteCommandParams -> IO (Either ResponseError Value, Maybe (ServerMethod, ApplyWorkspaceEditParams))
- blockCommandId :: Text
- typeSignatureCommandId :: Text
- matchRegExMultipleImports :: Text -> Maybe (Text, [(Text, Text)])
Documentation
For haskell-language-server
codeAction :: LspFuncs c -> IdeState -> TextDocumentIdentifier -> Range -> CodeActionContext -> IO (Either ResponseError [CAResult]) Source #
Generate code actions.
codeLens :: LspFuncs c -> IdeState -> CodeLensParams -> IO (Either ResponseError (List CodeLens)) Source #
Generate code lenses.
rulePackageExports :: Rules () Source #
commandHandler :: LspFuncs c -> IdeState -> ExecuteCommandParams -> IO (Either ResponseError Value, Maybe (ServerMethod, ApplyWorkspaceEditParams)) Source #
Execute the "typesignature.add" command.
For testing
blockCommandId :: Text Source #
a command that blocks forever. Used for testing