Reputation: 267177
Is there a way to have 2 windows of files/projects open in netbeans? I want to have one of these windows pointed at one folder, and the other window pointed at another folder. When you have a lot of files and have to constantly switch between the two folders, it gets annoying to have to scroll that much each time.
Upvotes: 5
Views: 14973
Reputation: 121
Allow me to explicitly add in here the "hack" mentioned by @Do_Nhu_Vy (since I don't trust third party websites, and I don't have enough reputation to reply to his comment). All credit goes to the original WordPress user (Pandazen) in said link.
Now then,
the hack/solution consists of changing the "userdir" of NetBeans at launch time: when NetBeans detects a different "userdir" (than the already opened Netbeans' window) it will then proceed to open a new window.
The process of changing NetBeans' userdir at launch is simple:
C:\tmp
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\NetBeans"
"C:\Program Files\NetBeans 8.2\bin\netbeans64.exe"" --userdir C:\tmp
Now, every shortcut will launch a NetBeans instance in a different window. This works with NetBeans 8.2, but I haven't tested it with NetBeans 9 or 10.
Upvotes: 0
Reputation: 1479
The instructions provided in opening-multiple-netbeans-ide-instances actually works.
I have tested it and working as expected. You need to create shortcut for tow different directories with providing project directory.
Upvotes: 2
Reputation: 52586
No exist solutions. But you can "hack" like this: https://pandazen.wordpress.com/2009/12/23/open-netbeans-with-two-instances-windows-simultaneously/
Upvotes: 2
Reputation: 8519
Haven't found a way to have 2 project windows open but I have stacked a project and a file window in the same pane. Just open both windows and drag one down to half size. Also you can undock (float) the windows and put them where ever you want.
Upvotes: 5