Skip to content

Can't really use LanguageServer in .rmd files #213

@ChristopheRoyer21

Description

@ChristopheRoyer21

Describe the bug
First of all, when opening a .rmd file, R LanguageServer doesn't start. To do so, I need to create/open a .R file and then it starts. After working a bit on the R code in the .rmd, lsp often stops working and I don't get any more documentation. So far, it looks perfectly fine in .R file

To Reproduce
Steps to reproduce the behavior:

  1. Open a .rmd file
  2. You see that LanguageServer hasn't started.
  3. Open a .R file
  4. You see that LanguageServer has started
  5. Write some code chunk in the .Rmd
  6. LanguageServer quickly stops working

Expected behavior
The documentation of the variables and functions in a .Rmd work exactly as it does in a .R file

Environment (please complete the following information):

  • OS: Windows 10
  • VSCode Version 1.41.1
  • R Version 3.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions