-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
Description
When working in Quarto (.qmd) documents in Positron, Ctrl+Enter only executes code inside code chunks. If code is written in the markdown body (inline code), selecting it and pressing Ctrl+Enter results in the error message:
"Editor selection is not within an executable cell."
In RStudio, selecting R code anywhere in an R Markdown or Quarto document and pressing Ctrl+Enter sends the selection to the R console. This makes exploratory work and inline calculations much faster.
Request
Allow Ctrl+Enter (or the equivalent run-selection command) to send selected inline code to the active console.
Example
If the cursor is inside the inline expression r a, pressing Ctrl+Enter should send a to the console and return: [1] 1
Reactions are currently unavailable