flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Rohrmann <trohrm...@apache.org>
Subject Re: Checkstyle in IntelliJ
Date Tue, 09 Jun 2015 09:10:13 GMT
Hi Pieter-Jan,

I'm not aware of an Eclipse or IntellJ auto format profile. I think that
all Flink contributors apply their style changes manually. The maven output
should tell you quite precisely what's wrong and in which file the
checkstyle errors occur. Moreover, applying an IDE auto format is in
general discouraged because due to the absence of a common style profile,
this would change also code which you haven't actually touched. As a
consequence it's no longer possible to see who worked on what part of the
code.

Cheers,
Till

On Tue, Jun 9, 2015 at 10:50 AM Pieter-Jan Van Aeken <
pieterjan.vanaeken@euranova.eu> wrote:

> Hi Flink Community,
>
> I would like to contribute to the code base of Flink but I find myself
> unable to built my changed project due to errors in my "code style".
>
> My IDE of choice is IntelliJ and unfortunately, I can not import
> "tools/maven/checkstyle.xml" nor "tools/maven/scalastyle-config.xml".
> From what I understand, this is only possible in Eclipse? Can anyone
> perhaps provide me with the Eclipse Profile XML files so that I can
> use the auto-format function in IntelliJ to make my code comply with
> the style standards? My additions are written in Scala and Java.
>
> Regards,
>
> Pieter-Jan Van Aeken
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message