dokato / todor

TODOr - RStudio add-in for finding TODO, FIXME, CHANGED etc. comments in your code.
Other
246 stars 12 forks source link

ignore .R files. only find todo's in .Rmd files #26

Closed daaronr closed 4 years ago

daaronr commented 4 years ago

With my workflow it's better if I can have it ONLY list todo's in .Rmd files, perhaps even in a limited subset of these. Is this a possible feature?

dokato commented 4 years ago

hey @daaronr sorry for coming back so late. Indeed, there wasn't such option before, as I haven't foreseen that scenario. I addressed that in the latest PR #27. Soon to be merged to master. Please install package from GitHub and set this option:

 options(todor_exclude_r=TRUE)

That should do the job.

dokato commented 4 years ago

For TODOring subset of your Rmd's the easiest way would be perhaps to use todor_file