R: Missing syntax highlighting for function argument with backticks

Open
#7,480 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
r, typescript
Domain
tooling

Research direction

Start by locating Positron's syntax-highlighting implementation for R function arguments and compare the handling of ordinary and backtick-quoted argument names shown in the issue screenshots. Confirm the expected highlighting against the RStudio example, then add or update coverage so both forms receive consistent argument-value highlighting.

Written by the indexing model from the issue text.

Description

area: highlighting bug lang: r support

Very minor remark, I just noticed that the syntax highlighting of argument values differs depending on whether the argument name is in backticks or not:

  • Positron

image

  • RStudio

image

Originally posted by @etiennebacher in https://github.com/posit-dev/positron/discussions/7446

Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Contributor guide

Open the contributing guide

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.

More from posit-dev/positron

All issues in posit-dev/positron

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.