Provide reference navigation inside SQL fragment
Say I have an XML file with this piece of code:
<sql bean="my.package.BeanClass">
select * from table where column = #{beanField}
</sql>
An SQL fragment is automatically injected inside the <sql> tag.
How can I provide reference navigation for beanField, so that with CTRL+Right click I'm able to go to declaration point?
Please sign in to leave a comment.
Hi, your scenario seems very similar to https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000303404-Is-it-possible-to-extend-template-language-support-Velocity-with-SQL-, please check the answers there.