Currently there are some keyboard shortcuts in RStudio which allow us to run code into the console from the beginning of a script to the current line ('command + option + B') or run the entire script ('command + shift + return').
It would be nice if we could have a terminal equivalent of these like we do for run current line (which is 'command + return' to send to the console and 'command + option + return' to send to the terminal). Is it possible to add these two shortcuts (and any other relevant equivalents such as from current line to end)?
The text was updated successfully, but these errors were encountered:
These are all the commands I see for the terminal in the latest preview:
Still just Ctrl+Alt+Enter for the terminal. OP is asking for terminal equivalents for all execute commands.
Perhaps Ctrl-Alt-Shift B for "Send From Beginning To Line to Terminal" etc.
I would also ask that, if the source file is a .R, "Send to Terminal" behaves just like "Run Selected Line(s)", where it will run the full command if the command is separated over multiple lines.
@maxheld83 those send the script to the console, I would like something that offers the same versatility for the terminal (not just 'send to terminal', but features like 'Run from beginning to line in terminal' as @kendonB suggests).
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.
stalebot
added
the
stale
Issues which have been closed automatically due to inactivitiy.
label
Feb 6, 2021
Currently there are some keyboard shortcuts in RStudio which allow us to run code into the console from the beginning of a script to the current line ('command + option + B') or run the entire script ('command + shift + return').
It would be nice if we could have a terminal equivalent of these like we do for run current line (which is 'command + return' to send to the console and 'command + option + return' to send to the terminal). Is it possible to add these two shortcuts (and any other relevant equivalents such as from current line to end)?
The text was updated successfully, but these errors were encountered: