Velocity inspections -> references inspection
Hi
we use the SVN reference in all our Velocity .vm files, like this for example:
<!-- \$Id: index.vm 5571 2010-01-22 10:02:26Z olivier $ -->
When Velocity inspections -> references inspection is on, it would
always underline the $Id as a non reference variable.
It'd be very nice to get rid of this while keeping the inspection on,
we could get green vm files!
Any idea how to achieve that?
cheers
请先登录再写评论。
It seems that IDEA does not recognize Velocity escape syntax.
That's strange, I seem to remember that it worked correctly at some time in the past.
Please submit an issue to http://youtrack.jetbrains.net (subsystem: "Template Languages. Velocity")
Include a link to the user guide [http://velocity.apache.org/engine/releases/velocity-1.6.2/user-guide.html], which describes the escape syntax ("Getting literal" section), and provides some examples.
-tt
I've filed a YouTrack ticket for this:
http://youtrack.jetbrains.net/issue/IDEA-54891
Cheers,
-tt
thanks!