java - Rearrange modifier keywords in IntelliJ -


is there way automatically rearrange modifier keywords in intellij?

for example, if have following code:

private final static int x = 0; final private static int y = 0; static final private int z = 0; 

rearrange to:

private final static int x = 0; private final static int y = 0; private final static int z = 0; 

go settings , enable editor | inspections | java | code style issues | missorted modifiers inspection. has quick fix sort modifiers. inspection part of analyze | code cleanup..., solution invoke on code.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -