I have a distributed project and I need debug two nodes of my app on the same time. For this I wish open two instances of Intellij, it is possible ?
-
I need to use this because when I remote desktop all existing instances still exist but are not useable. – dtracers May 03 '16 at 17:13
5 Answers
just open each one from different folder level.
For example: Project A has 2 folders (one inside another) and inside the 2nd folder there is code. Then open one instance from folder 1 and another instance from folder 2.
Open each instance by choosing open in new window..simple.

- 151
- 1
- 2
-
Works (IntelliJ 2023.1.5) and has the advantage that you get a proper project window with left and right sidebar windows (which you _don't_ get if you simply move an editor tab to a new window). – davidbak Aug 15 '23 at 17:21
There is this topic about starting two instances of IntelliJ Start two instances of IntelliJ IDE
It is not possible with one instance from my experience

- 1
- 1

- 1,855
- 15
- 27
Just for new people who navigate here. You could just drag & drop the code you want outside android studio.

- 327
- 1
- 2
- 20
-
-
-
But it won't have toolbars and menus. // You can use 3 monitors each to edit a specific file, but if you need the menu or toolbar, you need to go to a specific monitor, because those only exist once. A bit annoying sometimes. – bvdb Oct 19 '22 at 13:21
-
Although this allows using multiple screens to write code, it does not allow debugging multiple instances of the same application – Bennik2000 Feb 26 '23 at 16:00
I found this really helpfull:
You can split the editor view vertically/horizontally, this will display the same file in both splits, then you can drag one of the tabs outside of the IDE to create a float editor window.
Another way to open multiple editors for the same file is to select the file in the Project view and press Shift+Enter.
Source: Serge Baranov response in this thread

- 95
- 2
- 9
I don't think so. One easy thing you can do is open two different major versions at the same time (e.g. 2015 and 2016) or if you have Ultimate edition, you can also install community edition and have both of those open at the same time. Or if you're using community edition, you could install a trail of ultimate just this one time :)
Of course the downside to the second approach is that you may not have some plugins you need for your project.

- 17,041
- 6
- 34
- 60