I mean, something equivalent to simple formatting plugin that automatically indents code. Is there something in this sense?
Other values do not affect the MySQL Workbench SQL parser and are ignored. If the value of SqlMode is not set, the default value of the SQL_MODE session variable defined by the server stays unchanged during operations with the server. However, the MySQL Workbench SQL parser behaves as if SQL_MODE is also not set.
The SqlMode property is defined in two locations: globally and at document scope. MySQL Workbench uses the global property to initialize the document property for each new document created.
Other values do not affect the MySQL Workbench SQL parser and are ignored. If the value of SqlMode is not set, the default value of the SQL_MODE session variable defined by the server stays unchanged during operations with the server.
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
This Works:
Edit -> format -> Beautify Query
NOTE: You have to click it always, it does not happen on saving the Query.
Shortcut: Ctrl + B
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With