Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Pop out tabs to create new editor window #39

Open
chamons opened this issue Mar 21, 2014 · 51 comments · May be fixed by #210
Open

Pop out tabs to create new editor window #39

chamons opened this issue Mar 21, 2014 · 51 comments · May be fixed by #210

Comments

@chamons
Copy link

chamons commented Mar 21, 2014

In many "tab" based products, you can grab a tab and "pop it out" to create a new window with that content. That would be awesome for atom when you want to windows side by side.

@wbingli

This comment has been minimized.

1 similar comment
@emiljohansson

This comment has been minimized.

@AaronHolbrook

This comment has been minimized.

@AaronHolbrook

This comment has been minimized.

@tannerlinsley
Copy link

+1 This is needed asap. Just came over from Sublime Text, and there's only a couple of little but important things to make the experience non-regrettable and even fantastic. This is one of them ;)

@andrewcroce

This comment has been minimized.

@tpisto

This comment has been minimized.

6 similar comments
@jperl

This comment has been minimized.

@jordiorlando

This comment has been minimized.

@brebo

This comment has been minimized.

@manoyes

This comment has been minimized.

@Tolmark12

This comment has been minimized.

@davidgross

This comment has been minimized.

@mergederg
Copy link

+1. Was very weirded out when dragging a tab out of a window saved a copy of the active file to the desktop instead of spawning a window for the tab.

@halcarleton

This comment has been minimized.

@afrjorge

This comment has been minimized.

7 similar comments
@jaumann

This comment has been minimized.

@daveqr

This comment has been minimized.

@ghost

This comment has been minimized.

@adcreare

This comment has been minimized.

@luiscarrasco

This comment has been minimized.

@Platzer

This comment has been minimized.

@Chesire

This comment has been minimized.

@markuz-brasil

This comment has been minimized.

@benogle
Copy link
Contributor

benogle commented Feb 25, 2015

like, how hard would that be to implement

Thanks for the comment. PRs would be accepted for such a feature.

@robertkuerzinger

This comment has been minimized.

1 similar comment
@aveiros

This comment has been minimized.

@jy19

This comment has been minimized.

1 similar comment
@bcherny

This comment has been minimized.

@davidgross
Copy link
Contributor

I have been fiddling with this for the last couple days, (I really want this feature), I am not a node/coffee/javascript programmer(I am a Rails dev, I have some limited javascript experience....). I have a couple questions for someone who knows something about how the events work for tabs, I figured out how to make it make a new window when you drag a tab out of the window(using onDragLeave).

The trouble is, it creates it when you drag it within the window as well, and if you drag it over several tabs(eg: re-ording tabs) it will open a bunch of new windows up.

It seems like I need a way to determine if you dropped it outside the window, but there does not seem to be an event for that(or I don't know what it is called)

onDragEnd seemed promising, but it doesn't allow you to drop the tab in a new window, as it creates the new window after you drop the tab....

I am using the "application:new-window" command to get this, which means you also end up with a "untitled" blank-tab, and that seems wrong...

Thoughts?

PS: my tweaks are in https://github.com/davidgross/tabs if anybody cares....(also, my stuff really just breaks tabs at the moment....)

@norcino

This comment has been minimized.

@davidgross
Copy link
Contributor

Update on my tweaks: I have a functioning "Open Tab in new Window" option in the tab right click menu.

This will, as the name suggests, open the tab in a new window, however it won't copy your un-saved changes, but it does prompt you to save before opening the file in a new window.

@danhardman
Copy link

+1

@davidgross Are you still working on this?

@davidgross
Copy link
Contributor

@danhardman I am still working on this, but, I have not had time to work on it in the last couple days...

@omniproc

This comment has been minimized.

@davelowensohn

This comment has been minimized.

@sftd

This comment has been minimized.

@davidgross
Copy link
Contributor

@benogle do you want a pull request from my work? It simply creates a right-click button to open a tab in a new window, doesn't solve this thread, but, maybe creates a use-able work-around.

@brew-jay

This comment has been minimized.

1 similar comment
@roseperrone

This comment has been minimized.

@mnquintana
Copy link
Contributor

@davidgross A PR for that would be great! It would certainly be a good stopgap until this gets implemented.

@davidgross
Copy link
Contributor

@mnquintana pull request here: #134

@Sheridan-Tech

This comment has been minimized.

@vickytoria082
Copy link

Please implement this so I can stop using sublime +1 👍

@shawmanz32na

This comment has been minimized.

3 similar comments
@yberreby

This comment has been minimized.

@bobrocke

This comment has been minimized.

@glockjt

This comment has been minimized.

@cganterh
Copy link

All those "+1" are very annoying, but sincerely: +1!
The right click PR is enough for me ;).

@grimurd

This comment has been minimized.

@mnquintana
Copy link
Contributor

Thanks for the feedback everyone! Part of this is being implemented in #134. To keep this issue from getting too noisy I'm going to lock it for now.

@atom atom locked and limited conversation to collaborators Jun 1, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet