H
H
h7h2vc2014-02-25 21:44:12
Programming
h7h2vc, 2014-02-25 21:44:12

What are code formatters?

Hello!
Many SQL formatting programs have the option to output the result as a code in some programming language, where the query text is written to a string variable (an example is in the screenshot from www.dpriver.com/pp/sqlformat.htm ).
qbob.png
Are there any similar solutions (in any form: online, plugin, standalone program) for writing any multi-line text into a text variable, not just SQL?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem, 2014-02-25
@Properrr

I think it's extremely easy to write yourself, in any language.
If you really need it - write, I'll try to "catch"

Z
zxmd, 2014-02-26
@zxmd

in sublime, item "search and replace". We are looking for \n\s* replaces with a space. With Regular expression enabled

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question