Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Data Grip - how do I perform a simple SQL formatting (the same way ctrl+shift+F does in DBeaver)?

I'm using Data Grip and writing queries for use with Presto. How can I get Data Grip to format my queries so they will be neat and easy to read?

enter image description here

enter image description here

like image 909
GiladZa789 Avatar asked Jan 24 '26 08:01

GiladZa789


1 Answers

Ctrl/Cmd+Alt+L formats your code.

Settings | Editor | Code Style | SQL to adjust.

like image 80
moscas Avatar answered Jan 27 '26 00:01

moscas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!