Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Insert Chunk" keyboard shortcut not splitting chunks in Quarto notebook when line in existing chunk is selected #1330

Closed
ntentes opened this issue Sep 18, 2023 · 2 comments
Labels
area: quarto Issues related to Quarto category.

Comments

@ntentes
Copy link

ntentes commented Sep 18, 2023

Positron Version:

Positron Version: 2023.09.0 (Universal) build 151
Code - OSS Version: 1.79.0
Commit: b107652
Date: 2023-09-18T02:47:09.360Z
Electron: 22.3.10
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Darwin arm64 22.6.0

Steps to reproduce the issue:

In RStudio notebooks, if you press command + option + I when a line outside of a chunk is selected, a chunk is inserted. Pressing the same when a line in the middle of a chunk is selected, it splits the chunk into two chunks at the selected line.

In Positron notebooks, pressing command + shift + I will select the line under the chunk, insert a new line and then insert a new chunk.

I'm assuming this was not intentional because I couldn't find a "split chunk" shortcut, but I'm happy to be corrected here.

What did you expect to happen?

I expected Positron to split the chunk when using the insert chunk shortcut when a line in a chunk is selected.

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

@jmcphers
Copy link
Collaborator

jmcphers commented Oct 5, 2023

@EmilHvitfeldt also hit this (see #1509)

@juliasilge
Copy link
Contributor

This behavior is from the Quarto VS Code extension, and I logged the issue here: quarto-dev/quarto#382

@wesm wesm added the area: quarto Issues related to Quarto category. label Feb 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: quarto Issues related to Quarto category.
Projects
None yet
Development

No branches or pull requests

4 participants