Keyboard shortcuts for R assignment operators and pipe do not always work in reticulate `.qmd`

Open
#6,982 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, r, typescript

Research direction

Start by reproducing the issue in a blank .qmd document with three Python code chunks followed by an R chunk, then compare shortcut handling in the mixed-cell editor. The work is done when Alt + - and Ctrl + Shift + M behave normally in the R cell regardless of the preceding Python chunks.

Written by the indexing model from the issue text.

Description

area: quarto

System details:

Positron and OS details:

Positron Version: 2025.04.0 (system setup) build 173
Code - OSS Version: 1.97.0
Commit: a66eb310f218298f263a98c9f06268d93bab6b2c
Date: 2025-03-24T02:57:55.373Z
Electron: 32.2.7
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26120

Interpreter details:

Describe the issue:

The keyboard shortcuts Alt + - and Ctrl + Shift + M does not work in R cell if there are 3 python cells above

Steps to reproduce the issue:

  1. Create a blank .qmd file
  2. Add 3 python code chunks then a R code chunk. Try to use keyboard shortcut here

```{python}
a = 1
```

```{python}
b = 2
```

```{python}
c = 3
```

```{r}
x
```

Expected or desired behavior:

Work normally

Were there any error messages in the UI, Output panel, or Developer Tools console?

N/A

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.