quarto-dev / quarto-dev/quarto

Run Cell button not showing for code blocks with uppercase {R} in .qmd files

Open
#835 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Bug description

I found a small but confusing inconsistency in the Quarto VS Code extension.
• When I write a code chunk in a .qmd file with lowercase {r}, VS Code shows the “Run Cell” button above the chunk.
• But if I use uppercase {R}, the Run Cell button does not appear.

Steps to reproduce

in qmd files:

x <- 1:5
mean(x)

(no Run Cell button shown)

Actual behavior
Image
Expected behavior
x <- 1:5
mean(x)

(Run Cell button works as expected)

Your environment

VSCode
Version: 1.104.2 (Universal)
Commit: e3a5acfb517a443235981655413d566533107e92
Date: 2025-09-24T11:21:37.073Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Darwin arm64 25.0.0

quarto extension
Identifier
quarto.quarto
Version
1.124.0
Last Updated
2025-09-30, 17:07:38

R extension
Identifier
reditorsupport.r
Version
2.8.6
Last Updated
2025-09-30, 17:30:31
Size
5.41MB

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 a .qmd file using the shown uppercase {R} and compare it with lowercase {r}. Start by tracing the Quarto VS Code extension’s Run Cell handling for code-cell language labels; done means uppercase {R} shows the same Run Cell button as lowercase {r}.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.