36

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?

hg8
  • 1,082
  • 2
  • 15
  • 28
Robi Wan Kenobi
  • 1,441
  • 1
  • 10
  • 10

2 Answers2

94

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

hg8
  • 1,082
  • 2
  • 15
  • 28
Robi Wan Kenobi
  • 1,441
  • 1
  • 10
  • 10
-1

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 :)

Pip
  • 1,062
  • 8
  • 6