Open GegznaV opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
Is this already implemented?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions.
Currently, what are the main obstacles to have this implemented?
Hey @GegznaV - thanks for interest!
Can you help us understand what you're ultimately trying to do with the programmatic insertion?
For faster interactive use, there's a few option:
There's Command Palette insert for most/all commands: https://docs.posit.co/ide/user/ide/guide/ui/command-palette.html
For inserting text that is then used by Visual Editor, there's also Snippets so you could insert additional items interactively: https://docs.posit.co/ide/user/ide/guide/productivity/snippets.html
Moving to later for now. Thanks!
System details
Issue
Currently, there are no ways to execute RStudio Visual Editor commands programmatically via API. E.g., these commands are not present in the list: https://docs.posit.co/ide/server-pro/reference/rstudio_ide_commands.html They are not available via
rstudioapi
too.Feature Request
Make Visual Editor commands available via API, e.g., inserting/changing headers:
My unanswered questions on Posit Comunity which may provide more details: