Formatting the output from QueryBuilder.asSql

The query editor when editing an app has an awesome feature that can format SQL into a pretty, canonical form.

I'm using a query builder component to write some SQL, and then displaying the resulting SQL in a text component. Is there a way that I can format that text output into the same pretty, canonical form? A Javascript method or library I can call, perhaps?

Hi aac, thanks for raising this. Indeed this isn't possible right now. I have forwarded your requests to our engineering team. Let me know if you have any other questions!