Skip to content

Requesting buttons (like RStudio) for "Render" and "Insert Code Chunk" #3923

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

Closed
bhattmaulik opened this issue Jul 8, 2024 · 4 comments
Closed
Assignees
Labels
area: quarto Issues related to Quarto category. area: top bar Issues related to Top Bar category. enhancement New feature or request

Comments

@bhattmaulik
Copy link

Hello Friends,

I am a user of RStudio and Quarto. In last few days, since Positron entered into public beta, I am experimenting with Positron IDE also. I would request a few minor tweaks in the UI of the IDE.

The first one I would request is to add a button to insert a code chunk. This is needed in all Quarto and R Markdown documents. In my case, it is always an R code chunk, but this code chunk can be made dependent upon the engine or active console. If a python console is open, this button would insert a python code chunk.

The second button I request is a Render button. Instead of typing the command to render a quarto document in the terminal, it is easy to press a button, and render the document. This button might read the content of the YAML block of the Qmd file, or if it is not present in the Qmd file, it might search for a _quarto.yml file in the working directory and render the document/folder accordingly.

@bhattmaulik bhattmaulik added the enhancement New feature or request label Jul 8, 2024
@juliasilge
Copy link
Contributor

Thanks for the feedback! Related to #2085

In the meantime, you can take these actions from the command palette (look for "Insert code Cell" and "Render Document") and via keyboard shortcuts.

@juliasilge juliasilge added the area: top bar Issues related to Top Bar category. label Jul 8, 2024
@petetronic petetronic added this to the Release Candidate milestone Jul 10, 2024
@shokru
Copy link

shokru commented Dec 3, 2024

I could not agree more. I teach with RStudio and I use the little green button dozens of times during my classes.
I miss it very dearly in Positron... not everyone is geeky enough to remember these kinds of shortcuts ;).
And while I'm here: thank you for all the great work you do!

@juliasilge
Copy link
Contributor

These buttons are available in the newly released v1.122.0 of the Quarto extension.

@midleman
Copy link
Contributor

Verified Fixed

Positron Version(s) : 2025.06.0-145
OS Version(s) : MacOS

Test scenario(s)

Confirmed that insert code cell and render on save work as expected. Closing as resolved.

Link(s) to test cases run or created:

n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: quarto Issues related to Quarto category. area: top bar Issues related to Top Bar category. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants