Skip to content

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

@Hex0822

Description

@Hex0822

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingvscode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions