Code reformatting on save in PhpStorm or other jetbrains ide
Actually it is possible. The idea is to record a very simple macro that selects all the lines (Ctrl+A), formats (Ctrl+Alt+L), deselect all (Up and Down arrow) and saves a file (Ctrl+S), and bind this macro to Ctrl+S. Free Ctrl+S changing keyboard shortcut for “Save all” open File > Settings; search for “keymap” and open … Read more