$ in File Header
I'm using a File Header in 823 with a couple of version control tags in it, for instance:
In Ariadna this was fine, but in Aurora when I create a new class, the first $ goes missing, so I end up with:
Do I have to escape the $ in File Header's now, and if so, how? Or, is this a bug?
请先登录再写评论。
Change it to:
You can escape each $ with another $. You don't need to escape the ending $ because it's not followed by a word.
Thanks, that works. I just didn't think it
would because the syntax highlighting still
shows the $Log highlighted, even in:
I filed a bug report about this issue some time ago, but it's still open. Maybe you could give it some votes?
http://www.intellij.net/tracker/idea/viewSCR?publicId=10831
The other solution is to put this code in "Includes" section rather than in "Templates" and include it in header, using #include directive, but not #parse.
This is just because a Velocity is there...