holgerbrandl / send2terminal

Intellij plugin to send line or selection to terminal
BSD 2-Clause "Simplified" License
17 stars 2 forks source link

Basic usage Questions #4

Closed javadba closed 5 years ago

javadba commented 6 years ago

btw thanks for putting something together: I desperately need a different plugin than the RForIntellij - which does not even support scrolling through the history.

holgerbrandl commented 5 years ago
  • What are the runtime pre-steps to using this plugin? Are we supposed to start an R terminal ourselves e.g. in iTerm?

iterm will be started by applescript manually. R GUI snippet evaluation is just supported on windows and buggy at the moment.

  • When invoking "Send to Terminal | Evaluate Line/Selection in Terminal" where does the code go / where is it evaluated?

To the terminal windows. E.g. iterm2

  • How do we use the snippets? How can we assign shortcuts to the snippets?

You can define arbitrary commands which somehow use $SELECTION$ to inject your code snippet. You can define custom keyboard bindings in the keymap. Changes to snippets require an ide restart.

btw thanks for putting something together: I desperately need a different plugin than the RForIntellij - which does not even support scrolling through the history.

Yeah, r4intellij is not progressing well. Sorry for that.