Over a million developers have joined DZone.

Import/Export Code Formatting Settings from NetBeans

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

In short: To share settings (e.g. code formatting) from NetBeans with Eclipse a little bit of work has to be done. For NetBeans you have the following possibilities

  • Either directly use the file
    'home'/.netbeans/6.0/config/Preferences/org/netbeans/modules/java/source/CodeStyle/default.properties
  • Use the eclipse importer. Now you can use the project within NetBeans and sync etc.

Or  you could load the settings (e.g. the settings from previously imported eclipse project) via “right-clicking the project”->Properties->Formatting->Use project specific options->Load from other projectper-project-settings

 

Other possibilities? Let me know

From http://karussell.wordpress.com/

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}