Snippets with `${...}`

Sven Brauch mail at
Fri Nov 6 16:07:28 GMT 2020


hm, seems that the escaping for '$' is broken. Feel free to create a bug 
report and assign it to me.

As a workaround, under scripts, insert

   function dollar() { return '$'; }

and then write the snippet like this

   test (${VAR} = ${dollar()}{${VAR}})


On 11/6/20 2:15 PM, Alex Turbov wrote:
> Hi, devs
> I'm trying to add a trivial snippet to print the CMake variable:
> message(STATUS "${VAR}=\${${VAR}}")
> However, the second `${VAR}` won't expand :(
> Any ideas, please?

More information about the KWrite-Devel mailing list