Re: Snippets with `${...}`
Sven Brauch <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwrite |
|---|---|
| Message-ID | <[email protected]> |
Hi,
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}})
Greetings,
Sven
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?