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 TRUE to show debug information in stderr;
or it could be a character string specifying the log file
host
the hostname used to create the tcp server, not used when port is NULL
port
the port used to create the tcp server. If NULL, use stdio instead.
Examples
## Not run:
# to use stdio
languageserver::run()
# to use tcp server
languageserver::run(port = 8888)
## End(Not run)