128

I'm wondering if anyone knows how to open two windows of Android Studio with both having the same project. I know you can drag tabs out, but that allows you to only edit that one file. I want two fully-featured windows with each being able to see the Project Files/Structure.

I don't want to just split the editor, I want a separate window.

I want two of these windows, with both "looking" at the same project: enter image description here

I don't want another one of these windows, as I can't view the project structure and change that, and it's hard to change it to a different file in this view: enter image description here

ElectronicGeek
  • 3,312
  • 2
  • 23
  • 35
  • Note:- If the intent is to spread the windows across multiple monitors, @jacob-mckay's answer is the way to go. – Abraham Philip Mar 17 '15 at 09:45
  • I agree, not that I have a bias toward my own answer or anything :P I haven't played with android studio in long enough of a time to see if he can have two package explorers though, where there's a will and a little bit of time theres usually a way – Jacob McKay Mar 18 '15 at 17:00
  • Perhaps this should be migrated to SuperUser.SE? – Ky - Oct 08 '15 at 20:26
  • Perhaps you should consider changing your accepted answer to @JacobMcKay 's? As I see it, his suggestion does exactly what you intended to do. – SercioSoydanov Jul 14 '16 at 10:54
  • Hi OP ! Can you tell me how you did it with the second picture ? I accidently did it once but can seem to repeat the process. Thanks ! – Mackovich Feb 22 '17 at 09:50
  • I'd love the functionality the OP described – Derek Zhu Mar 28 '19 at 21:00

8 Answers8

281

Right click on tab of the file and click "Split vertical / Horizontal"

enter image description here

After splitting, you can just drag one of the tab titles to the second monitor - it will open up a new window. You can then edit the same file in two separate windows

anand krish
  • 4,281
  • 4
  • 44
  • 47
Marco Acierno
  • 14,682
  • 8
  • 43
  • 53
39

If you click and drag a file's tab out of your current window (over onto the desktop, for example), the file will open in a new window. However, this window doesn't seem to have the whole package explorer, console etc.

Although, if you click on the gear on any of the modules, you can uncheck 'pinned' mode and you'll be free to move them around your two monitors just like the window you created above.

Jacob McKay
  • 2,776
  • 1
  • 19
  • 20
  • 1
    Looking at the OP's comment on Marco's answer, this method should be more viable for use with multiple monitors since it opens a new window? – Abraham Philip Mar 17 '15 at 09:43
  • 1
    For me, unchecking "Pinned mode" makes it disappear when I defocus it. – Ky - Oct 08 '15 at 20:28
  • This doesn't work at all (Mac). I'm using 2 monitors and if someone knows how I get this to work, he'll get the up vote. :-) – Anticro Jan 30 '18 at 13:18
  • When I wrote this answer in 2014 I had a Windows machine. Once I get my Mac set up in the next couple days I'll take a look again. It looks like there is a 'floating mode' option on the dockable windows that seems to accomplish the same thing. – Jacob McKay Feb 01 '18 at 01:16
  • Android studio on my Mac seems to behave the same way as it does on Windows so not sure what you mean by "This doesn't work at all". My suggestion works, but I still don't see a solution to the original question of having two fully function Android Studio IDES running and having them pointed to the same project. – Jacob McKay Feb 01 '18 at 23:38
6

Window -> Editor Tabs -> Split Vertically

if you don't use files tabs

enter image description here

Punpuf
  • 2,042
  • 1
  • 19
  • 30
2

If you want to split tabs of android studio project beetween monitors, you can rigthclick to tab(project, debug, terminal etc) and check the "floating mode" option.

See the image: Floating mode tab option

After that you can drag this tab between your monitors as new window.

Fesswood
  • 59
  • 4
  • When I place it on another monitor, then click Android Studio, then click the new window again, the new window snaps back to the original monitor. – Ky - Oct 08 '15 at 20:29
1

Could you just make a copy of android studio & run it side / side? You can run different versions of android studio side/side.. Maybe that is an option.

Chrispix
  • 17,941
  • 20
  • 62
  • 70
0

Just drag the tab outside the current window.

Andres Diez
  • 21
  • 1
  • 2
0

right click on tab and click on windowed mode, it will open up a new window.

0

One hacky way of doing this (but you will not be able to save in the same project) is to make a copy of the project folder and open it in Android Studio.

DragonFire
  • 3,722
  • 2
  • 38
  • 51