12

As tabs tend to open inside wrong windows after some time, it would be helpful to store a preset layout in order to go back if things get messed up.

For example, if I am positioned in a run tab in the Output pane and open up a source file by double clicking in the project browser, the source file opens up in the tab in the Output pane instead of the main Editor window

Screenshot in Netbeans 7.2 Win7 x64

In menu Window, there is the option to Reset Windows, which fixes this bug. But then all my window customizations are lost.

So - I haven't figured out how to store my current window configuration. A rather nifty solution (e.g. backing up xml files) is acceptable.

Check this related bug on netbeans.org: Source file opens in wrong window panel

Mateng
  • 3,742
  • 5
  • 37
  • 64

1 Answers1

9

According to this post, the Perspective plugin lets you save a window layout (and switch between layouts). Unfortunately it's quite old (2008), so I'm not sure if it still works with the 7.2 version.

  • 3
    I installed the plugin, installation works fine in 7.2. I already tried out the save + open (=restore) function. Looks very promising. – Mateng Nov 18 '12 at 20:44
  • 5
    It saves most of the layout configuration. However, floating windows return to be docked, and my small toolbar icons are back to large again. But it's the best answer so far. – Mateng Nov 23 '12 at 02:28
  • 1
    Does this also work in NetBeans 8.0.1? Yes it does. Download the Perspective plugin for NetBeans 7: http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=3273 https://blogs.oracle.com/NetBeansSupport/entry/how_to_download_and_install – Henning Klevjer Oct 07 '14 at 06:24
  • I suddenly got big problem with the windows in NB 6.9.1 (I have an old Rails application). I have now saved the folder `6.9\config\Windows2Local` (when the windows was as I want them) from NB's working folder to a safe place. And every time the windows get bad I delete the `6.9\config\Windows2Local` and restore the saved copy. It works the same for 8.0.2, but there I have no problems with the windows. It's an alternative if the plugin mentioned not works. – 244an Sep 23 '15 at 20:32
  • 1
    Works with 8.2 php edition too, after extracing .nbm from zip file. – nithinTa Dec 28 '17 at 04:05
  • Perspective plugin link is not available – Yevgeniy Afanasyev Apr 12 '23 at 07:03