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

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

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/

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}