Okay, I’ll create a JIRA issue covered this topic.

Regards,
Chiwan Park

> On Aug 17, 2015, at 1:17 AM, Stephan Ewen <se...@apache.org> wrote:
> 
> +1 for formatting templates for Eclipse and IntelliJ.
> 
> On Sun, Aug 16, 2015 at 6:06 PM, Sachin Goel <sachingoel0...@gmail.com>
> wrote:
> 
>> We should also write up a matching configuration file to be used in the
>> IDEs and provide it with the source. This might help in reducing any style
>> mistakes due to a reformat, which is actually very helpful with spaces
>> around braces and operators. Especially with Scala, indentations and
>> continuation etc. can be hard to get exactly right [At least that was my
>> experience].
>> 
>> All in all, big plus one to this.
>> 
>> -- Sachin Goel
>> Computer Science, IIT Delhi
>> m. +91-9871457685
>> 
>> On Sun, Aug 16, 2015 at 7:36 PM, Stephan Ewen <se...@apache.org> wrote:
>> 
>>> Hi!
>>> 
>>> I very much support that. A bit stricter rules in the style checkers lead
>>> to more uniform and better readable code. We can have stricter rules both
>>> in Java and Scala.
>>> 
>>> Note that the hardest part of adding the style checks is actually
>> adjusting
>>> all the existing code that violates the style.
>>> 
>>> The best approach would probably be for someone to make a suggestion what
>>> should go into the checkstyle, and then reiterate on it.
>>> 
>>> Greetings,
>>> Stephan
>>> 
>>> 
>>> 
>>> 
>>> On Sun, Aug 16, 2015 at 12:14 PM, Chiwan Park <chiwanp...@apache.org>
>>> wrote:
>>> 
>>>> Hi All,
>>>> 
>>>> I’m reviewing some pull requests written in Scala. While reviewing, I
>>>> think that scala style checker is too loose and documentation about
>> code
>>>> style guideline in wiki [1] is poor. The code style for Scala doesn’t
>>> seems
>>>> unified as that for Java.
>>>> 
>>>> I suggest upgrading version of scalastyle-maven-plugin to 0.7.0, adding
>>>> some rules such as NoWhitespaceBeforeLeftBracketChecker,
>>>> EnsureSingleSpaceAfterTokenChecker, IndentationChecker, and
>>>> MagicNumberChecker and updating the documentation in wiki.
>>>> 
>>>> I hope to discuss the code style for Scala. How think you about this?
>>>> 
>>>> Regards,
>>>> Chiwan Park
>>>> 
>>>> [1]
>>>> 
>>> 
>> https://cwiki.apache.org/confluence/display/FLINK/Coding+Guidelines+for+Scala
>>> 
>> 




Reply via email to