You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to js-code-prettifier
My sql is generated in one long line.
I guess js-code-prettifier is just colour-coding, not wrapping and indenting, it seems.
Is any other js available to do that?
Mike Samuel
unread,
Sep 10, 2019, 5:01:14 PM9/10/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to js-code-prettifier
Correct. The prettifier just adds styles. I don't know of JS
reformatting libraries for SQL I'm afraid.
You can get some generic wrapping by adding CSS like
white-space:pre-warp but that's not going to indent lines the way a
language-aware code editor would