posit-dev / positron

Positron, a next-generation data science IDE
Other
1.99k stars 60 forks source link

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

Open bhattmaulik opened 3 weeks ago

bhattmaulik commented 3 weeks ago

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.

juliasilge commented 3 weeks ago

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.