Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

copy query from sql developer with format

How can I copy queries from Oracle SQL Developer with format. Unlike Toad the query format is lost as I paste it in any document.

I am referring to font formatting.

like image 870
SaurabhD Avatar asked Oct 19 '22 07:10

SaurabhD


2 Answers

Not (yet) supported in 4.x.

Your best shot is to vote/rate it up: "Copy to clipboard" should include HTML and/or RTF clipboard formats

As a workaround, if you really, really want it bad - you might try out long and tedious path of using "Print" option in color to some PDF printer, then copying it from there (some programs like Preview on Mac OS X preserve formatting while copying from PDF)

like image 94
msciwoj Avatar answered Oct 21 '22 22:10

msciwoj


There is an extension called "Copy As HTML/RTF". But version 4.x doesn't support extensions. Only 3.x and earlier versions support them.

like image 43
Florin stands with Ukraine Avatar answered Oct 21 '22 23:10

Florin stands with Ukraine