Felipe
Felipe

Reputation: 17181

How can I duplicate (clone) a tab in IntelliJ Idea?

In Eclipse I just click above the tab and click on "New Editor". In NetBeans is "Clone". In IntelliJ Idea I didn't find this option yet. What I do now is split vertically but it is not what I want.

Upvotes: 42

Views: 18918

Answers (7)

CrazyCoder
CrazyCoder

Reputation: 402403

You can't have multiple tabs for the same file without using split mode (vertical or horizontal). If you want a copy of the file, use Refactor | Copy.

To quickly split the view and make the same file visible in 2 splits hold Ctrl and drag the tab into the editor area.

UPDATE: feature request added, please vote.

Upvotes: 34

JAnuruddha
JAnuruddha

Reputation: 81

Shift-Enter will open the file in a floating window.

Upvotes: 0

MattheW
MattheW

Reputation: 838

Use Shift + F4.

Ctrl + F4 to close it.

Upvotes: 18

Kar Fung
Kar Fung

Reputation: 141

You can do this simply by Holding CTRL button and drag the tab to the empty space or another monitor.

Upvotes: 14

Ahmad Muzakki
Ahmad Muzakki

Reputation: 1088

  1. Split Vertically
  2. Drag second tab to another Window/Monitor

Upvotes: 21

rlovtang
rlovtang

Reputation: 5060

You can drag the tab "out" of IntelliJ to create a new window with open tabs. Then reopen the file in main window. See this video

This requires the new IntelliJ IDEA 10.

Upvotes: 7

Richard J
Richard J

Reputation: 7313

Yeah, split (vertical or horizontal) is the only option that I have found. You will find the IntelliJ support people really helpful, though, worth asking this question there: http://www.jetbrains.com/support/idea/index.html

Upvotes: 1

Related Questions