X

Splitting NetBeans Editor Windows




I decided to write something about splitting NetBeans editor windows, because it's one of those hidden features users keep asking for. The use case is that you want to edit the same file in two editor windows. Or you want to open two different files and compare them in split view. Many editors support this functionality and it is in NetBeans, too, although it is not commonly known.



To open one file in two windows, use Window->Clone document. Then you have the same file opened twice. To split the screen, just drag one window title to the bottom, till you get a rectangle on bottom of the editor. Drop it and you have splitted editing screen. Here is a screenshot:












Horizontal split - click for detail
 


Vertical split - click for detail

Join the discussion

Comments ( 3 )
  • trembovetski Monday, April 4, 2005
    Just wanted to mention, many other IDEs can split their editors horizontally, but Netbeans can also split it vertically, which I find extemely useful (and it helped my transition from emacs).
    You might want to add a screenshot of vertically split editor as well =)
    Thanks,
    Dmitri
    Java2D Team
  • Roman Strobl Monday, April 4, 2005
    Good point, Dmitri, I'll add it :-)
  • jim Monday, April 17, 2006
    The FileMonkey file operations package automates common file management tasks. This package can copy, move, split, search, replace, rename, alter case, generate lists, trim, truncate, crop, chop, set attributes, encrypt, decrypt, wipe, delete, extract and more.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services