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 ()
- executeAddSignatureCommand :: LspFuncs c -> IdeState -> ExecuteCommandParams -> IO (Either ResponseError Value, Maybe (ServerMethod, ApplyWorkspaceEditParams))
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 #
executeAddSignatureCommand :: LspFuncs c -> IdeState -> ExecuteCommandParams -> IO (Either ResponseError Value, Maybe (ServerMethod, ApplyWorkspaceEditParams)) Source #
Execute the "typesignature.add" command.