Robi Wan Kenobi
Robi Wan Kenobi

Reputation: 1561

MySQL Workbench > Plugins > Utilities > Reformat SQL Query

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?

Upvotes: 41

Views: 32416

Answers (2)

Pip
Pip

Reputation: 1182

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

Upvotes: -1

Robi Wan Kenobi
Robi Wan Kenobi

Reputation: 1561

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

Upvotes: 101

Related Questions