DEV Community

Discussion on: Have anyone managed to format code in IntelliJ just like Eclipse?

Collapse
 
raulvillalbamedina profile image
RaĂșl Villalba medina

You could use this maven plugin to execute in both ides.
The format file is in eclipse format, is very easy to use

net.revelc.code.formatter
formatter-maven-plugin

Collapse
 
bassemibrahim profile image
Bassem

I had some problems with the plugin at first. But once I added eclipse XML config exported file to it. Formating in no longer an issue.

But I still run into some hiccups like wildcard imports.