wrapping

171 views
Skip to first unread message

Leif Neland

unread,
Sep 10, 2019, 4:56:26 PM9/10/19
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
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
> --
> You received this message because you are subscribed to the Google Groups "js-code-prettifier" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to js-code-prettif...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/js-code-prettifier/9d47e524-e251-4a8c-ac7d-4a13bb1488ed%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages