This is on the back of making Geany behave [more like RStudio](http://wiki.geany.org/howtos/using_geany_with_r?s%5B%5D=rstudio) for interactive use with things like R or Python.
While now it is easy to “Send selection to terminal” (by setting `send_selection_unsafe=true` in `geany.conf` and assigning a key binding), after the line is sent the cursor doesn't move. In RStudio the cursor is being moved at the beginning of the next line. While the interest of this behavior will go down to preference, having used it for some time I find it useful.
Thus it would help to have a `move_down_after_send_selection=true` option, which would: - when the cursor is on a line and nothing is currently selected, after "sending selection to terminal" (i.e. the current line) move the cursor one line down at the beginning of that line - when there is a selection, whether on a line or spanning several lines, after "sending selection to terminal" do nothing with the cursor and maintain current selection (i.e. current behavior) - (optional) when the next (few) line(s) is (are) empty, then move cursor to the next line that is not empty. Personally I never got along with this, so not sure if it's a good idea to implement, but this is how RStudio works right now.
This would make things friendlier for those using R or Python in interactive mode.
As I understand it languages like R (what I call analyst languages) are mostly used interactively, so I wonder what it is that Geany (a tool targeted at a distinctly non-interactive workflow) adds that would make it worth considering over interactive specialists like Atom or Juypter?
There are some aspects of document editing that can be distinctly unsatisfactory in tools like RStudio (say, search and replace). I often find myself juggling between the two, and making modifications with Geany when RStudio falls short, or when interaction isn't necessary.
The integration with the console is helpful for very simple and casual use cases, like wanting to quickly test out something. For instance I'm currently learning Python and I like testing out examples in Geany as the interface is intuitive and the setup incredibly easy. (By comparison, I tried Atom and couldn't figure out how to use it for interactive sessions in Python. Years back when I tried Eclipse for R it felt like an ergonomic horror story. It's likely just me though.)
github-comments@lists.geany.org