System details:
Positron and OS details:
Positron Version: 2026.04.0 build 217
Code - OSS Version: 1.109.2
Commit: c87af6bdec1f7cb6057b76a4b8e30280bb584ae7
Date: 2026-03-27T07:46:17.689Z
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 25.3.0
Session details:
Any
Steps to reproduce the issue:
- Run some commands in an R or Python console
- Open a Quarto document
- Place the cursor in a prose section
- Open the History pane
- Click a statement
- Click the "To Source" button, or right-click and choose "Send to Editor"
The R or Python code is inserted as prose instead of code.
Expected or desired behavior:
Inserting history entries into the editor as-is makes sense if you're inserting into an R or Python file, but for Quarto we could do better.
- Cursor is already in a code cell -> text is inserted as is
- Cursor is outside a code cell -> a new code cell is created with the language matching the history entry
From a conversation with @cwickham at work week.
System details:
Positron and OS details:
Session details:
Any
Steps to reproduce the issue:
The R or Python code is inserted as prose instead of code.
Expected or desired behavior:
Inserting history entries into the editor as-is makes sense if you're inserting into an R or Python file, but for Quarto we could do better.
From a conversation with @cwickham at work week.