MySQL Workbench > Plugins > Utilities > Reformat SQL Query
Just answering my own question. I found the feature by accident. It was moved and renamed to and is now located here: Edit > Format > Beautify Query Shortcut: Ctrl+B
Just answering my own question. I found the feature by accident. It was moved and renamed to and is now located here: Edit > Format > Beautify Query Shortcut: Ctrl+B
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