Paste SQL from Java (or other) code?

Just installed DBeaver and first impression is good.. 
But I have a little question. When developing I often need to copy some sql statements from my code to run in my SQL editor. The problem is that this statement often includes characters like " and + that I need to remove before I can run the statement.
So I was wondering, does DBeaver has a feature to remove those characters when pasting the text? If not, is this something that could be added?
Regards,
BTJ

But I have a little question. When developing I often need to copy some sql statements from my code to run in my SQL editor. The problem is that this statement often includes characters like " and + that I need to remove before I can run the statement.
So I was wondering, does DBeaver has a feature to remove those characters when pasting the text? If not, is this something that could be added?
Regards,
BTJ