You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consistent @command args... syntax for all special character strings #65
I like the @news pkg {optional_search} syntax. It does make me wonder if, rather than curly quotes with{dplyr}, we ought to support @pkg dplyr. This would align with the tidy style convention of no special formatting for package names, bring this syntax a little closer to other btw shorthands, and bring the syntax a little closer to e.g. Positron Assistant participants. (This argument could also go for @help topic instead of ?topic, etc, so that folks would only need to remember the @ keyword to use shorthands with btw. Maybe this should be spun off into a more general issue.)
btw("{dplyr}") # now
btw("@pkg dplyr") # and also
btw("?dplyr::across") # now
btw("@help dplyr across") # and also
btw("@help dplyr::across") # also also# etc...
changed the title [-]Consistent `@command args` syntax for all special character strings[/-][+]Consistent `@command args...` syntax for all special character strings[/+]on May 29, 2025
Also btw("@README.md") or btw("@R/source-file.R") to inline file contents into the chat context. Markdown files would be inlined without decoration, other files would be wrapped in code blocks
Also btw("@README.md") or btw("@R/source-file.R") to inline file contents into the chat context. Markdown files would be inlined without decoration, other files would be wrapped in code blocks
Oops, this is already supported with btw("./README.md")
Activity
[-]Consistent `@command args` syntax for all special character strings[/-][+]Consistent `@command args...` syntax for all special character strings[/+]gadenbuie commentedon Oct 22, 2025
Also
btw("@README.md")orbtw("@R/source-file.R")to inline file contents into the chat context. Markdown files would be inlined without decoration, other files would be wrapped in code blocksgadenbuie commentedon Oct 22, 2025
Oops, this is already supported with
btw("./README.md")