[rkward-tracker] [ rkward-Bugs-3413350 ] Improve focus switching between source editor and console

SourceForge.net noreply at sourceforge.net
Fri Sep 23 15:46:19 UTC 2011


Bugs item #3413350, was opened at 2011-09-23 17:46
Message generated for change (Tracker Item Submitted) made by nalimilan
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3413350&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Milan Bouchet-Valat (nalimilan)
Assigned to: Nobody/Anonymous (nobody)
Summary: Improve focus switching between source editor and console

Initial Comment:
I find it quite painful to go back and forth between the source code editor and the R console at the bottom of the screen, and yet that's one of my most common working patterns. The problem is that one constantly needs to focus the relevant part of the screen, which requires moving the pointer and clicking on the window; this requires moving the hands off the keyboard, which is quite disruptive. I have a few suggestions to improve this:

1) Avoid the need to change focus at all.
When I'm using the console, I often need to run code from the editor; but none of the normal solutions (Alt+F[789], toolbar button) works, because the editor isn't focused. Moreover, if you want to use one of these solutions, you need to click in the editor to focus it, effectively losing the previous selection you could have wanted to run again (this happens to me very often).
I think this can be solved easily: there's no need to disable shortcuts and toolbar buttons related to the editor when you're using the console. These shortcuts don't conflict with the console, and the console doesn't add toolbar buttons. Thus, I think the commands related to the top pane of the main window (editor, help browser, data editor) should stay active even when the console is focused; the only difference would be that normal text goes in the console instead of in the top pane.

2) Make it easier changing the focused part.
We need a quick shortcut to switch between the top pane and the console. That way, one doesn't need to use the pointer and click at all. Since you're typically typing things, it's much better to keep your hands on the keyboard.

What do you think?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3413350&group_id=50231




More information about the rkward-tracker mailing list