Brackets: Suggestion: Add a keybind command to swap the files currently open in upper and lower pane.

Created on 23 Jan 2017  ·  12Comments  ·  Source: adobe/brackets

I like to have the upper pane much larger than the lower, so I can take a quick look at another file than the one I'm working on without losing much space on the screen. However, if I decide to work on the file I have open in the lower pane while quick-referencing the one on my upper pane, I have to use the mouse to swap the two files around.

Needless to say, this is an atrocity. I'd like to suggest adding a command to swap the two.

Accessibility F Split View Starter bug

All 12 comments

👍 Calling it an atrocity is a _bit_ too harsh, but I agree that it could be much better. Would you like to take a stab, checking out https://github.com/adobe/brackets/blob/e8bbf5ef8ce08c0d37f8e0218ed0127a1217fe26/src/view/Pane.js#L241 would be a good place to start.

I'm aware it was a bit too harsh, it was intended sarcastically as it's kind of a petty complaint in the big picture (oh no, I have to move my mouse). Sorry if it sounded rude, it wasn't intended as such :)

@petetnt Should it be an extension instead? or would you like it be part of core? I see something very very close to this request already part of core from this #12853

I'm thinking of taking this bug. Would you recommend moving the function to MainViewManager or leaving it in Pane?

I guess if we are making this part of core, it should be enabled only by a preference which by default should be false.

IMHO the fix should be flipping files between panes via buttons: the functionality is already there, but there's no keybindings for the flipview functionality. If we had the flipview functionality mapped to keybindings, SameDocMultiplePanes + FlipView would solve this problem (instead of just flipping two documents around).

Yes @petetnt that makes complete sense.

I'm thinking about picking this up if there are no objections. @petetnt, I looked into mapping the keybindings to the functionality you mentioned but didn't find the 'SameDocMultiplePanes' functionality you mentioned. I have something partially together which swaps the views but will wait to hear back.

@SteveMieskoski go ahead and reference your PR here so we can track the progress, thanks!

Hello everyone i'm new here and wondering why this issue is still open .

Same as above. New here and trying to make contributions. Is this issue still open after @SteveMieskoski's PR #13150? Seems like that was nearly a year ago.

Hello. Only assuming the last PR from over a year ago is pretty much dead, if I were to ask, could someone please take a look at my recent PR here? Thank you in any case.

@zaggino @petetnt

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TheHedge picture TheHedge  ·  3Comments

zaggino picture zaggino  ·  4Comments

rugk picture rugk  ·  4Comments

armandbancila picture armandbancila  ·  4Comments

10polarbears picture 10polarbears  ·  3Comments