I've got a stack of eclipse settings for code format. Is there any way to import these into intellij?
With IntelliJ IDEA 13 you can also import eclipse Code formatting settings without the need of any plugins.
First you have to export those Code Formatter settings in eclipse. In eclipse go to the Preferences >> Java >> Code Style >> Formatter and export it via "Export All" option.
As a result, you will get a XML file.
In IntelliJ, go to File >> Other Settings >> Default Settings >> Code Style >> Java >> go to "Manage" >> go to "Import" and select that exported XML file.
Apply Changes and IntelliJ should format automatically now.
IntelliJ IDEA doesn't support Eclipse code style settings, however, there is a plug-in to use external Eclipse code formatting instead of the internal one, so that you will get the same formatting in Eclipse and in IntelliJ IDEA.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With