Can I use or import an Eclipse formatter in NetBeans?

eclipse, netbeans

Solution

The answer is YES. You can use eclipse code formatter in Netbeans, and enjoy using Netbeans. You need to download eclipse code formatter plugin from below location suitable to your Netbeans version, import your existing eclipse code formatter and ready to go

http://plugins.netbeans.org/plugin/50877/eclipse-code-formatter-for-java

Problem

We have been using Eclipse for a long time. We have formatter for each of our projects. Now, some of us are moving to NetBeans. Is it possible to migrate / sync / import our Eclipse formatter to NetBeans? I tried importing an Eclipse project into NetBeans. It does not import the formatter we used.

Original source