Cave Johnson
Cave Johnson

Reputation: 6778

How to change the default Netbeans 8.0.2 project directory?

I installed XAMPP and then Netbeans and noticed that new PHP projects default to XAMPP's htdocs folder. Does anyone know how to change this default folder?

I tried to search google but all the first page results are related to Netbeans 7. I tried to follow the instructions from this question but I can't find the projectui.properties mentioned in the accepted answer. I'm on Windows 10.

Upvotes: 4

Views: 26992

Answers (5)

BabaNew
BabaNew

Reputation: 976

Running Netbeans 11:

C:\Users\<YOUR_WINDOWS_USER>\AppData\Roaming\NetBeans\11.1\config\Preferences\org\netbeans\modules\projectui.properties

Look for this property:

enter image description here

Upvotes: 0

Nitin Pund
Nitin Pund

Reputation: 1092

May be this will help you

  1. Edit the file C:\Users\<YourName>\AppData\Roaming\NetBeans\8.2.0\config\Preferences\org\netbeans\modules\projectui\groups\<TheGroup>.properties.
  2. Change the path entry to the new location.

Upvotes: 4

trambolin126
trambolin126

Reputation: 1

You can edit that file if you are using NetBeans IDE 15 and installed from Snap Store.

sudo nano ~/snap/netbeans/69/config/Preferences/org/netbeans/modules/projectui.properties

Upvotes: 0

M Ahmad Mujtaba
M Ahmad Mujtaba

Reputation: 95

In addition to directory given in above answer, default directory under NetBeans 10 and Linux/Ubuntu can be modified using

nano ~/.netbeans/10.0/config/Preferences/org/netbeans/modules/projectui.properties

Upvotes: 3

Zhorius
Zhorius

Reputation: 11

When you create a new project, its parent folder becomes a default folder for your future project, you can reassign it everytime creating new project.

Upvotes: 1

Related Questions