[Lazarus] IDE option: Convert selection to string ?

Martin Frb lazarus at mfriebe.de
Thu Jul 12 17:06:14 CEST 2018


On 12/07/2018 14:19, Michael Van Canneyt via Lazarus wrote:
>
> It would be nice if the IDE could do this:
> select a block of text, and choose 'Refactoring -> convert to pascal 
> string'
>
> Currently I have a separate tool that does this (both ways: quote and 
> unquote, in case I need to re-rest an SQL statement from my code) but 
> it would be a lot faster if the IDE could do it for me. Most likely it 
> already contains code
> that does similar things like this.

While it would be nice as a build in, you can always add it as pascal 
script macro.


More information about the Lazarus mailing list