Code style settings in IntellijIdea

Answered

Hello.
Can anyone tell me how I can set up a certain order of fields in IntellijIdea code style settings?
I want something like this:

class SomeClass{
public static final String someStr1 = "1";
public static final String someStr2 = "2";

public static String someStr3 = "3";
private static String someStr4 = "4";

public final String someStr5 = "5";

public String someStr = "6";
private String someStr = "7";

//other code
}

I tried to find how can do that but unsuccessfully.

0

Please sign in to leave a comment.