Feature Request - Copy Quoted / Paste Unquoted
Hi, there is a feature that exists on other tool (i think it was navicat):
Select SQL, Right Click, Below "Copy as Plain Text" Add "Copy Quoted", with a submenu with programming languages, and you quote and add line breaks for that programming language.
And (I never saw that anywhere) on paste, remove the quotes!
I know if I paste within a String on Jetbrains IDE's it'll quote correctly. But I'm trying to replace (not renewing) Navicat for DataGrip, And I miss this feature, mainly on Delphi code.
You shouldn't add line breaks inside the string, but if you chose to do that, I can live with this.
For me is better pasting (Delphi)
'SELECT f1' +
'FROM t1'
than (Delphi)
'SELECT f1'#13 +
'FROM t1'
or (Java)
"SELECT f1\n" +
"FROM t1"
Please sign in to leave a comment.
We should be able to edit the post there.
Where reads:
Should be:
Missed a space.
Can you please specify where from and where to do you want this copy/paste feature work exctly? As this escaping copy/paste feature only works for programming lanuages which are supported by IDE.
I want exactly the same feature from Navicat:
http://www.navicat.com/manual/online_manual/es/navicat/win_manual/QueryEditorFeature.html
"Copy with Quotes"
It should work with plain text. No IDE involved.
Does Edit | Paste Simple in DataGrip action do what you need?
No, I want to copy the query made FROM data grip, with proper quoting!
I made a video.
https://youtu.be/bwr1BvySCUM
Thanks! Please vote for this request: https://youtrack.jetbrains.com/issue/IDEA-150476
Thanks. The link shows a 404.
Please vote to the request too!!!
404 is because of a space in the end of link, corrected it tanks. Submitter can not vote for reported by him requests :)