Shortcut to insert #| in quarto document.

Is there a shortcut to insert #| into code chunks to set the options?
Simon

If you are in a quarto document, and start a new line with #| (yes you would type the first), and set an option, I believe going to newline with Enter, will write for you the following comments chars.

Otherwise, you can still use Snippets to help you (RStudio Snippets). Markdown snippets are the ones that should work in Quarto doc.

And it would be a feature request for RStudio IDE if you think that should be better.

Hope it helps

where do I submit a feature request?

Hello, if you have a bug report or feature request to make for RStudio, the best place for it would be the GitHub repository .

2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.