Type: | Package |
Title: | Language Server Protocol |
Version: | 0.3.16 |
Date: | 2023-08-17 |
Description: | An implementation of the Language Server Protocol for R. The Language Server protocol is used by an editor client to integrate features like auto completion. See https://microsoft.github.io/language-server-protocol/ for details. |
License: | MIT + file LICENSE |
URL: | https://github.com/REditorSupport/languageserver/ |
Depends: | R (≥ 3.4.0) |
Imports: | callr (≥ 3.0.0), collections (≥ 0.3.0), fs (≥ 1.3.1), jsonlite (≥ 1.6), lintr (≥ 3.0.0), parallel, R6 (≥ 2.4.1), roxygen2 (≥ 7.0.0), stringi (≥ 1.1.7), styler (≥ 1.5.1), tools, utils, xml2 (≥ 1.2.2), xmlparsedata (≥ 1.0.3) |
Suggests: | covr (≥ 3.4.0), magrittr (≥ 1.5), mockery (≥ 0.4.2), pacman, processx (≥ 3.4.1), purrr (≥ 0.3.3), testthat (≥ 2.1.0), withr (≥ 2.3.0), rmarkdown (≥ 2.0) |
ByteCompile: | yes |
Encoding: | UTF-8 |
NeedsCompilation: | yes |
RoxygenNote: | 7.2.1 |
Config/testthat/edition: | 3 |
Packaged: | 2023-08-18 04:06:53 UTC; randylai |
Author: | Randy Lai [aut, cre], Kun Ren [ctb] |
Maintainer: | Randy Lai <randy.cs.lai@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2023-08-18 04:22:32 UTC |
languageserver: Language Server Protocol
Description
An implementation of the Language Server Protocol for R. The Language Server protocol is used by an editor client to integrate features like auto completion. See https://microsoft.github.io/language-server-protocol/ for details.
Details
An implementation of the Language Server Protocol for R
Author(s)
Maintainer: Randy Lai randy.cs.lai@gmail.com
Other contributors:
Kun Ren mail@renkun.me [contributor]
See Also
Useful links:
diagnostics
Description
Diagnose problems in files after linting.
The response to a textDocument/codeAction Request
Description
The response to a textDocument/codeAction Request
Usage
document_code_action_reply(id, uri, workspace, document, range, context)
Run the R language server
Description
Run the R language server
Usage
run(debug = FALSE, host = "localhost", port = NULL)
Arguments
debug |
set |
host |
the hostname used to create the tcp server, not used when |
port |
the port used to create the tcp server. If |
Examples
## Not run:
# to use stdio
languageserver::run()
# to use tcp server
languageserver::run(port = 8888)
## End(Not run)