author Hans-Jörg Bibiko category Query Editor command cat | perl -ne 'chomp;s/\t/ /g;s/"/\\"/g;print "\"".$_."\" . \"\\n\" .\n"' | sed '$ s/.........$//' | sed '$ s/$/;/' | __CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100 pbcopy contact znvy@ovovxb.qr description Takes the current query or the selection and copies it as a single line quoted multi-line string by appending a ; into the pasteboard for usage in other IDEs as e.g. PHP code snippet. Example: SELECT a FROM b ORDER BY c DESC will copy "SELECT a" . "\n" . " FROM b" . "\n" . " ORDER BY c DESC"; Version 1.0 input selectedtext input_fallback currentquery keyEquivalent name Copy Single Line Quoted output none scope inputfield tooltip Takes the current query or the selection and copies it as a single line quoted multi-line string by appending a ; into the pasteboard uuid CDAC825A-AE80-4544-9DBB-8E68A5C540D0 isDefaultBundle