posit-dev / posit-dev/positron

quarto: unable to execute inline code expressions

Open
#2,402 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: quarto bug
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Positron Version:

Positron Version: 2024.03.0 (Universal) build 893
Code - OSS Version: 1.87.0
Commit: 864257d0a5e7131c1c3bbe891deefc09b3811f47
Date: 2024-03-05T03:24:32.501Z
Electron: 27.3.2
ElectronBuildId: undefined
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin arm64 23.3.0

Steps to reproduce the issue:

  1. be in quarto document
  2. write `r 1 + 1`
  3. highlight 1 +1 and press Cmd + Enter

https://github.com/posit-dev/positron/assets/14034784/ab934824-2e08-4586-9abd-f69dfbd865d0

What did you expect to happen?

I expected to be able to run code highlighted in inline code expressions

Were there any error messages in the output or Developer Tools console?

Nope

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.

Research direction

Start by reproducing the issue in a Quarto document using the inline expression r 1 + 1, then test the Cmd+Enter entry point with the expression selected. Trace how highlighted inline code is handled and compare it with runnable code blocks; done means the selected inline expression executes without an error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.