Intellij IDEA, format all code in a project November 19, 2022 by Tarik In the tree-structure, right click on the folder you like to reformat, choose “Reformat code” from the menu.