Keyboard shortcut for inserting roxygen #' comment start

前端 未结 3 687
遥遥无期
遥遥无期 2020-12-15 05:44

This question might be over-answered but I could not find one. Basically I am using RStudio and the keyboard shortcut cmd + shift + c for in

3条回答
  •  再見小時候
    2020-12-15 06:33

    You could use an RStudio addin, you'll need a fairly recent version of RStudio. I've just created an RStudio addin that comments/uncomments using roxygen2 tags, i.e. works just like code commenting, but with #'. The addin is hosted on github.

    Just install and attach a convenient keyboard shortcut.


    If you are interested in other available addins, see the addinmanager addin.

提交回复
热议问题