Skip to content

February 27, 2011

1

Export Netbeans templates, font colors, and other settings

Once you’ve got your IDE set up just to your liking, it would be painful to start over with default settings.  So what if you switch to a new computer?  You’d want to take all your settings and preferences with you, not attempt to recreate them from scratch.

As far as I know, Netbeans does not have the ability to export / import your custom settings.  That’d be a real handy feature.  But for now we have to get by without it.

I’ve found two posts on the topic:

http://searjeant.blogspot.com/2007/10/migrating-netbeans-settings.html

http://wiki.netbeans.org/TaTCodeTemplateBackup

I will try these, when I get my new laptop set up with Netbeans, and will update this post with a story of success or failure.

UPDATE: I did try this, and it did work.

Here is what worked:

To transfer the settings, I copied the Editors, Preferences, and org-netbeans-api-project-libraries folders located in the .netbeans\6.9\config folder under my Windows user account to the second Netbeans config folder. (Note: I went from Netbeans 6.9 on one computer to Netbeans 7.0 on another.)

I was concerned that because the Netbeans versions were not the same, something would go awry.  But rest assured, nothing blew up.  I imagine certain version combinations may not play nicely together, though.  YMMV.

Read more from IDE
1 Comment Post a comment
  1. Nicolas
    Dec 11 2012

    hello!, i´ve just noticed that on my version, netbeans 7.0.1, there is already a button for export and import on the tools/options section, near the bottom left corner, have a nice day! 🙂

    Reply

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments