Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Import/Export Code Formatting Settings from NetBeans

DZone's Guide to

Import/Export Code Formatting Settings from NetBeans

· Java Zone
Free Resource

Managing a MongoDB deployment? Take a load off and live migrate to MongoDB Atlas, the official automated service, with little to no downtime.

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/

MongoDB Atlas is the easiest way to run the fastest-growing database for modern applications — no installation, setup, or configuration required. Easily live migrate an existing workload or start with 512MB of storage for free.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}