Skip to content

[Feature request] Limit the values of type in edit_rstudio_snippets() to reasonable options only #885

@GegznaV

Description

@GegznaV

As I understand, RStudio has a limited number of different types of snippets:
snippet

But edit_rstudio_snippets() argument type can have any value. For example, once I forgot that I have to use "markdown" and not "rmarkdown" and created a wrong type of document. Snippets in it did not have an effect.
I expect that only reasonable values of type should be accepted. In other cases, either a warning or an error message should be issued.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancementtidy-dev-day 🤓Tidyverse Developer Day

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions