REditorSupport / REditorSupport/languageserver

No completion for workspace variables in rmarkdown

Open
#581 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
675
Forks
118
Avg merge
1d 37m
Merged PRs (30d)
11

Description

Hi,

Everything works fine in a normal R file. But in rmd file, it cannot complete workspace variables (See below) after updated to the newest version of Rlanguageserver. This used to work in the version 0.3.12.

I am using Emacs, and both eglot and lsp-mode have this issue in rmarkdown.

Screenshot_20221020_141859

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in an R Markdown file using Emacs with eglot or lsp-mode, comparing workspace-variable completion with a normal R file and with RLanguageServer version 0.3.12. No source file or test is named; done means restoring workspace-variable completion in R Markdown while preserving completion in normal R files.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, r
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.