I mean, something equivalent to simple formatting plugin that automatically indents code. Is there something in this sense?
Asked
Active
Viewed 1.1k times
6
-
Relevant: https://stackoverflow.com/questions/30938297/mysql-workbench-plugins-utilities-reformat-sql-query – Tim Biegeleisen Oct 19 '17 at 06:23
3 Answers
18
Refer this link you will have Beautify Query option
select the query you want to format in editor and then do
Edit -> format -> Beautify Query

RohitS
- 1,036
- 12
- 17
-
9
-
-
I am using Workbench on Ubuntu 20.04. This option seems like it has formatted something when clicked. But nothing changed at all. – Deepam Gupta Oct 16 '21 at 10:14
1
This Works:
Edit -> format -> Beautify Query
NOTE: You have to click it always, it does not happen on saving the Query.
Shortcut: Ctrl + B

Tomerikoo
- 18,379
- 16
- 47
- 61

majidshakeelshawl
- 114
- 6