In short: To share settings (e.g. code formatting) from NetBeans with Eclipse a little bit 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 project
- Other possibilities? Let me know!
Is there any way to do it in reverse? Import Eclipse formatting settings to NetBeans?