Reputation: 141
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?
Upvotes: 13
Views: 11480
Reputation: 10345
Ctrl/Cmd+Alt+L
formats your code.
Settings | Editor | Code Style | SQL
to adjust.
Upvotes: 14