As you already know, I provide a NetBeans plugin to format your Java code using the Eclipse formatter engine. Currently the 4.5.x engine is embedded.
But there were several complaints that this version does not format the same way as it does using the previous version. There is a reason for that: The Eclipse formatter has been changed in an incompatible way . Other formatter plugins like the one for Intellj Idea are also affected 
But here is a good news for all the brave NetBeans Java developers, who are still in such an environment of 4.4.x Eclipse installations: Now I provide a 4.4-fork of my own plugin. It has the same features and issues like the 4.5 plugin, but it uses the other engine and the plugin has been updated to be installed side by side to the original plugin.
The plugin is already available from the update center from within your NetBeans IDE. Or you can download it from the plugin page  or from github .
In the last days and weeks I was busy enhancing the Eclipse Code Formatter plugin. The main focus was the support of the Workspace Mechanic  configuration file to be in compliance with my coworkers.
Offtopic: Workspace Mechanic is a plugin for Eclipse IDE itsself, which makes sure that shared Eclipse configurations are applied to your local installation. Have a look. It’s useful in a team of several developers.
Workspace Mechnanic also synchronizes the configuration of the formatter. Luckily its file format is quite simple and thus supportable by my plugin. So next to the standard XML-formatter file you can now use Workspace Mechanic EPF-files too.
I also added some other useful features you may like. That was the reason, why the release of this version took so long. For example now the “format on save”-action can optionally format the changed lines only. You can use formatter settings from
.settings, you can configure the Java source level and the line feed. And the download size of the plugin has been massively decreased.
The full changelog can be found at 
In a few days it will be available as an update from within your NetBeans IDE. If you are curious and you don’t want to wait for it, then you can install it manually from  or .
Feel free to file issues and even better, provide pull-requests! We see us at NetBeans Day Germany in Munich on the 31st of March 2016. Get your ticket at !
 Workspace Mechanic
 NetBeans Day Germany in Munich
Within the last days I had time to update the formatter plugin, which allows you to format java source code using the formatter engine of Eclipse JDT. In a few days it will be available as an update from within your NetBeans IDE. If you are curious and you don’t want to wait for it, then you can install it manually from  or .
The major change is that the jars for the formatter engine are now taken from Eclipse 4.5.1 Mars.1.
As you might know, the plugin already provided support for @format:off before – if it was enabled in the formatter file. But now it provides some code templates, so that it easier to use. See the documentation at 
Feel free to file issues and provide pull-requests to see your enhancement in the next release! Happy coding and a happy new year!
Breakpoints will now be preserved – that is the major change. Unfortunately linebreakpoints are not supported, but better than nothing and better than the previous state. I also updated the embedded eclipse formatter engine to 4.4.
Here the full list of changes.
- [Feature 47]: Preserve Class/Method/Field breakpoints (experimental, can be disabled in options)
- [Bugfix 53]: Fixed: Do not remove linebreakpoint, if line is not included in selection
- [Bugfix 52]: Fixed: Cannot assign shortcut for “Format with Eclipse Formatter” action
- [Task 46]: Update to use eclipse formatter libs from eclipse 4.4
- [Task 48]: Support only NetBeans 7.4 and above
- [Task 49]: Add donation button
- [Task 50]: Add link to github/homepage
Downlad it from the plugin center http://plugins.netbeans.org/plugin/50877/ or install it directly from your IDE (Tools/Plugins).
You can file issues at https://github.com/markiewb/eclipsecodeformatter_for_netbeans/issues
I am looking forward for your feedback.
Good news for all the NetBeans IDE java developers who have to comply to formatter rules of their Eclipse JDT coworkers. I released a new version of the Eclipse Code Formatter plugin.
The major change was the integration of the formatter engine from Eclipse Kepler 4.3. The plugin now also allows you to choose which formatter profile you want to use.
The plugin is available from the PPUC at http://plugins.netbeans.org/plugin/50877/eclipse-code-formatter-for-java or from your IDE (Tools|Plugin)
Supports NetBeans 7.3+ and JDK6+
http://code.google.com/p/saveactions4netbeans/ introduces the eclipse-known feature to netbeans.