Re:Re:Re: Add more rules to checkstyle.xml in fe

2022-06-18 Thread 陈明雨
gt;> b. Operator Wrap >>>>>>>> c. One Statement Per Line >>>>>>>> d. Multiple Variable Declarations >>>>>>>> >>>>>>>> >>>>>>>> Step 4: (674 files, 6730 lines (with Step 1, Step

Re:Re: Add more rules to checkstyle.xml in fe

2022-06-14 Thread 陈明雨
Empty Line Separator >>>>>>> e. Separator Wrap >>>>>>> f. Overload Methods Declaration Order >>>>>>> g. Variable Declaration Usage Distance >>>>>>> i. One Top Level Class >>>>>>> >>

Re:Re: Add more rules to checkstyle.xml in fe

2022-06-14 Thread morrysnow
>>>> importance are submitted first and sets the severity to Error. The >>>>> Javadoc commits last and sets the severity to Warning. >>>>> >>>>> >>>>>> 2022年4月18日 16:09,vin jake 写道: >>>>>> >>>>>>

Re: Add more rules to checkstyle.xml in fe

2022-06-14 Thread morrysnow
t;>> 1. Add java doc check to CheckStyle and set severity to warning. >>>>>> >>>>>> 2. Fix java doc warning gradually >>>>>> >>>>>> >>>>>>> 2022年4月28日 00:39,morrysnow 写道: >>>>>>> &g

Re: Add more rules to checkstyle.xml in fe

2022-05-06 Thread ling miao
f > lines of code affected by all the rules and categorized them by importance. > >>>>> > >>>>> The link is here: > https://github.com/apache/incubator-doris/issues/8985#issuecomment-214162 > < > https://github.com/apache/incubator-doris/issues/

Re: Add more rules to checkstyle.xml in fe

2022-05-06 Thread morrysnow
>>>>> of patch splitting is as follows. Those with low impact and high >>>>> importance are submitted first and sets the severity to Error. The >>>>> Javadoc commits last and sets the severity to Warning. >>>>> >>>>> &g

Re: Add more rules to checkstyle.xml in fe

2022-04-28 Thread morrysnow
should add for fe. >>>>> >>>>> All people who care about format rule can put up your thoughts. >>>>> >>>>> We can add it in the issue: >>>>> https://github.com/apache/incubator-doris/issues/8985 >>>>>

Re: Add more rules to checkstyle.xml in fe

2022-04-28 Thread morrysnow
gt;>>> On Thu, Apr 14, 2022 at 5:48 PM morrysnow wrote: >>>>> >>>>>> I agree with u. >>>>>> >>>>>> For the first point, I want to list rules first, and then change >>>>>> checkstyle.xml. >>>>&g

Re:Re: Add more rules to checkstyle.xml in fe

2022-04-28 Thread 陈明雨
point, original change information in git is not lost, we >>>>> just need to do blame on the version prior to the ‘code style’ commit and >>>>> some gui tools could list history of one file. Anyway, it is not very >>>>> convenience. >>>

Re: Add more rules to checkstyle.xml in fe

2022-04-28 Thread morrysnow
of code change after applying the code style rule, >>>> we >>>>> would lose the original changelog via `git blame`. >>>>> >>>>> vin jake 于2022年4月14日周四 17:12写道: >>>>> >>>>>> I have add it in PR >>>> http

Re: Add more rules to checkstyle.xml in fe

2022-04-27 Thread morrysnow
gt; 2. If the many lines of code change after applying the code style rule, >>> we >>>> would lose the original changelog via `git blame`. >>>> >>>> vin jake 于2022年4月14日周四 17:12写道: >>>> >>>>> I have add it in PR >&g

Re: Add more rules to checkstyle.xml in fe

2022-04-18 Thread vin jake
道: >> > >> >> I have add it in PR >> https://github.com/apache/incubator-doris/pull/8987 >> >> >> >> On Thu, Apr 14, 2022 at 4:37 PM morrysnow wrote: >> >> >> >>> Hi, devs, >> >>> >> >>> Curre

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread vin jake
; >>> Hi, devs, > >>> > >>> Currently, we only have two rules in checkstyle.xml in fe. These are > all > >>> about import. So, the code style in fe is very casual. > >>> I want to add more rules to checkstyle.xml in fe to Improve code >

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread morrysnow
pr 14, 2022 at 4:37 PM morrysnow wrote: >> >>> Hi, devs, >>> >>> Currently, we only have two rules in checkstyle.xml in fe. These are all >>> about import. So, the code style in fe is very casual. >>> I want to add more rules to checkstyle.xml in fe

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread 41108453
very good -- Original -- From: morrysnow https://github.com/apache/incubator-doris/pull/8987 > > On Thu, Apr 14, 2022 at 4:37 PM morrysnow

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread morrysnow
gt; On Thu, Apr 14, 2022 at 4:37 PM morrysnow wrote: > >> Hi, devs, >> >> Currently, we only have two rules in checkstyle.xml in fe. These are all >> about import. So, the code style in fe is very casual. >> I want to add more rules to checkstyle.xml in fe to Imp

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread Shuo Wang
These are all > > about import. So, the code style in fe is very casual. > > I want to add more rules to checkstyle.xml in fe to Improve code > > readability, and adjust all fe code to satisfy new code style step by > step. > > What do you think about it? If this is a good id

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread morrysnow
;> Currently, we only have two rules in checkstyle.xml in fe. These are all >> about import. So, the code style in fe is very casual. >> I want to add more rules to checkstyle.xml in fe to Improve code >> readability, and adjust all fe code to satisfy new code style step by s

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread Jianliang Qi
vs, > > > > Currently, we only have two rules in checkstyle.xml in fe. These are all > > about import. So, the code style in fe is very casual. > > I want to add more rules to checkstyle.xml in fe to Improve code > > readability, and adjust all fe code to satisfy new cod

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread vin jake
add more rules to checkstyle.xml in fe to Improve code > readability, and adjust all fe code to satisfy new code style step by step. > What do you think about it? If this is a good idea. I will research which > rules apply to our code

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread Jianliang Qi
> > > Hi, devs, > > > > Currently, we only have two rules in checkstyle.xml in fe. These are all > > about import. So, the code style in fe is very casual. > > I want to add more rules to checkstyle.xml in fe to Improve code > > readability, and adjust all fe code to

Re: Add more rules to checkstyle.xml in fe

2022-04-14 Thread ling miao
It is best to check the code style at compile time. Ling Miao morrysnow 于2022年4月14日周四 16:37写道: > Hi, devs, > > Currently, we only have two rules in checkstyle.xml in fe. These are all > about import. So, the code style in fe is very casual. > I want to add more rules to checksty

Add more rules to checkstyle.xml in fe

2022-04-14 Thread morrysnow
Hi, devs, Currently, we only have two rules in checkstyle.xml in fe. These are all about import. So, the code style in fe is very casual. I want to add more rules to checkstyle.xml in fe to Improve code readability, and adjust all fe code to satisfy new code style step by step. What do you