posit-dev / posit-dev/positron

Repeatedly sending incomplete code chunks to the console should result in an error

Open
#4,150 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: console bug support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Positron Version:

Positron Version: 2024.07.0 (Universal) build 67
Code - OSS Version: 1.91.0
Commit: 58e22e191273c6fcb403c458ddb3088b0b80dcd0
Date: 2024-07-18T04:44:17.582Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.5.0

Steps to reproduce the issue:

library(dplyr)

data(starwars)

starwars |>
  mutate(des = paste(name, 'has', eye_color, 'eyes')



The syntax error persists after correcting the code and after restarting. Sometimes the error will persist after closing and opening a new positron window

What did you expect to happen?

unmatched_parenthesis = starwars |>

  • mutate(des = paste(name, 'has', eye_color, 'eyes')
  • matched_parenthesis = starwars |>
    Error: unexpected symbol in:
    " mutate(des = paste(name, 'has', eye_color, 'eyes')
    matched_parenthesis"

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

DEBUG Comments: URIs of continue on comments to add to storage . was the only thing that appeared on my end

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

The report names no source file or test. Reproduce the example by repeatedly sending the incomplete R chunk to the Positron console, then inspect the console input path and the Output panel or Developer Tools console for the state that persists after correction or restarting. Done means the corrected chunk is accepted without the earlier syntax error persisting.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.