MySQL Workbench > Plugins > Utilities > Reformat SQL Query

29.3k views Asked by At

At some point I installed MySQL Workbench 5.2.47 Revision 10398. This version has the feature to reformat an SQL query located at:

Plugins > Utilities > Reformat SQL Query

I like this feature and I use it almost every day.

Now every newer version I downloaded from http://dev.mysql.com/downloads/workbench/ misses this feature.

How do I get it back?

2

There are 2 answers

3
Robi Wan Kenobi On

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

0
Pip On

Now there is a simple icon (looks like a brush) Just click it and wa-la... your ugly SQL is now a work of art. Take a screenshot of it and sell it as a NFT on opensea.io :)