Skip to content

Option to enable/disable "prompt to install languageserver" #1037

@mcanouil

Description

@mcanouil

Is your feature request related to a problem? Please describe.
The feature from #965 asks to install "languageserver" when switching projects.
(I am using a lot of projects on remote containers (with R installed) and a shared "home", it is annoying to have to discard the prompt on every projects not really using R and get spammed by the prompt until you do install the package.)

Describe the solution you'd like
In the extension settings, an option to enable (default) / disable #965


PS: how packages are installed by vscode-R in a renv setup?
EDIT: I found the answer https://github.com/REditorSupport/vscode-R/blob/master/src/util.ts#L511
It uses either base::install.packages or renv::install.packages in a renv project with an .Rprofile (if the R process is spawned properly at project's root).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions