druid 可以提供eclipse/IntellijIDEA 的Codestyle.xml 嗎

sycxhyv7  于 2022-12-31  发布在  Druid
关注(0)|答案(4)|浏览(105)

在eclipse apply code format 的時候會產生大量的 change 主要原因是因為code style 的不同.

3npbholx

3npbholx2#

I found that some codes currently in git repo are not following the above code template. I applied the code template and apply source format to src folder and there is still a lots of change need to commit which mainly due to white space, line wrap...
Any plan to apply source code format once for all existing code and commit to repository?

rks48beu

rks48beu3#

for example 'SchemaObject' there should be new line between each method, but findColumn has no new line separate the two methods...

public interface SchemaObject {

    SQLStatement getStatement();

    SQLColumnDefinition findColumn(String columName);
    SQLColumnDefinition findColumn(long columNameHash);

    boolean matchIndex(String columnName);

    boolean matchKey(String columnName);

    SchemaObjectType getType();

    String getName();
    long nameHashCode64();

    long getRowCount();
}
5anewei6

5anewei64#

這個問題有解嗎?

相关问题