Install languageserver automatically
See original GitHub issueWhen extension is activated, if languageserver is not installed, we could install it automatically. This looks easy to implement:
We could run a script instead of the expression languageserver::run(...). In the script, we check if languageserver is installed. If not, run install.packages("langaugeserver") before running the language server.
We could either use command args to pass the values of debug and port, or use environment variables instead.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:15 (12 by maintainers)
Top Results From Across the Web
languageserversetup - README
Setup and initialize R language server seamlessly and automatically with editors such as VS Code across platforms. CRAN Dependencies License Coverage Check-CRAN ...
Read more >Automated Setup and Auto Run for R Language Server - Rdrr.io
languageserversetup: Automated Setup and Auto Run for R Language Server. Allows to install the R 'languageserver' with all dependencies into a separate library ......
Read more >Setting up R with Visual Studio Code quickly and easily with ...
In this post, we will look at the `languageserversetup` package that aims to make the setup of the R Language Server robust and...
Read more >An implementation of the Language Server Protocol for R
languageserver is an implementation of the Microsoft's Language Server Protocol for the language of R. Installation; Language Clients; Services Implemented ...
Read more >Language Server Extension Guide - Visual Studio Code
> git clone https://github.com/microsoft/vscode-extension-samples.git > cd vscode-extension-samples/lsp-sample > npm install > npm run compile > code . The ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Speed of installation matters if people are also using devcontainers, every new build of the docker container means the extension has to be reinstalled.
Agree. Closing.