1

When I run the following command it opens a new instance everytime. Is it possible to open file in the running instance of netbeans ?

I'm using NetbeansPortable 8.2

E:/Netbeans/NetBeansPHPPortable.exe --open "c:\\test.php"
nithinTa
  • 1,632
  • 2
  • 16
  • 32

1 Answers1

0

If there is an instance of the IDE already running, the file will simply open in this instance and the command will exit. You may need to pass the --userdir option to match the user directory of the running IDE.

Source: http://wiki.netbeans.org/FaqCliOpen

Joachim Rohde
  • 5,915
  • 2
  • 29
  • 46