REditorSupport / REditorSupport/languageserver

Insert backtick-quoted non-standard variable names in completion

Open
#495 0 comments 1 reaction 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

Non-standard variable names such as _abc and Variable 1 in completion should be backtick-quoted when inserted to the document.

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

Start by locating the R language server's completion insertion path and how completion names are represented. Check how names such as _abc and Variable 1 are currently inserted, then verify that non-standard names are surrounded by backticks while standard names remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.