IntelliJ java formatter

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IntelliJ java formatter

Flavio Pompermaier
Hi to all,
I'm migrating to IntelliJ because it's very complicated to have a fully working env in Eclipse (too many missing maven plugins). Is there a way to automatically format a Java class (respecting the configured checkstyle)? Or do I have to manually fix every Checkstyle problem?

Thanks in advance,
Flavio
Reply | Threaded
Open this post in threaded view
|

Re: IntelliJ java formatter

Xintong Song
Hi Flavio,

I'm not aware of anyway to automatically format the codes. The only thing I find that might help is to enable your IDE with a checkstyle plugin.
https://ci.apache.org/projects/flink/flink-docs-stable/flinkDev/ide_setup.html#checkstyle-for-java

Thank you~

Xintong Song



On Thu, Apr 23, 2020 at 8:19 PM Flavio Pompermaier <[hidden email]> wrote:
Hi to all,
I'm migrating to IntelliJ because it's very complicated to have a fully working env in Eclipse (too many missing maven plugins). Is there a way to automatically format a Java class (respecting the configured checkstyle)? Or do I have to manually fix every Checkstyle problem?

Thanks in advance,
Flavio