Skip to content

Keyboard shortcut for exclusively showing "Source" and "Console" panes #5498

Closed

Description

@hzarkoob

While working with RStudio, one would frequently need to work with a pane structure including only "Source" and "Console" panes. That will be used, for example, when sourcing different parts of the source file step by step and examining the outputs of each step in the console.

Because of the frequent use of the above pane structure, I think it would be helpful to have a keyboard shortcut that always forces the pane structure to follow this structure regardless of the currently displayed pane structure.

Activity

  1. ronblum commented on Oct 3, 2019

    @ronblum
    Contributor

    @hzarkoob Thank you for the suggestion. Are you looking for something that combines "Zoom Source" (CTRL-SHIFT-1) and "Zoom Console" (CTRL-SHIFT-2) , into something like "Zoom Source and Console"?

  2. hzarkoob commented on Oct 3, 2019

    @hzarkoob
    Author

    @ronblum That is right!

    A side note. One can get the above pane structure if they manually hide the two panes on the left side (I assume we are working with the default pane structure) and keep only the Source and Console panes. Then, if they keep pressing CTRL-SHIFT-1 (or CTRL-SHIFT-2), the pane structure keeps alternating between "Source only" (or "Console only") and "Source and Console together." This is a good thing and already works in many situations. But it still will be very helpful to have a keyboard shortcut that helps to display the suggested pane structure (as you mentioned, it can be called "Zoom Source and Console") regardless of the current pane structure and the pane structure immediately before it.

  3. ronblum commented on Oct 3, 2019

    @ronblum
    Contributor

    @hzarkoob Clever workaround!

  4. maciejmotyka commented on Dec 10, 2019

    @maciejmotyka

    Yes, please! I'm also constantly closing the right-hand side panels by dragging the divider. It's (almost) the only thing that forces me to use a mouse when working in Rstudio. Many people don't like or have trouble using a mouse.

  5. morrowcj commented on Jan 22, 2020

    @morrowcj

    I would like to suggest that, in the same way CTRL-SHIFT-1 toggles between "move focus to source" and "return focus to previous layout" (as @hzarkoob points out), it would be useful if CTRL-SHIFT-ALT-0 would toggle between "show all panes" (as it currently does) and "return focus to previous layout" (source and console, for example).

  6. stale commented on Feb 5, 2021

    @stale

    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.

  7. added
    stale
    on Feb 5, 2021
  8. jmcphers commented on Feb 10, 2021

    @jmcphers
    Member

    Good news, this is now part of RStudio!

    image

  9. morrowcj commented on Feb 10, 2021

    @morrowcj

    Wow, this is great! Thanks for the update. I'll check it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilityenhancementstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions