Sql Syntax Highlighting does not work in xml files
Followed by 3 people
Answered
Hi. now Sql Syntax Highlighting does not work in xml files. (mybatis)
but tags work.
example:
select tag and id, resulttype are highlighting
but,
select *
from all
it's just plain text!!
<select id="getdata" resultType="dto" >
select *
from all
</select>
how can i setting this?
Please sign in to leave a comment.
BTW, the IDE does not support mybatis framework out of the box. You can try some 3rd party plugins like https://plugins.jetbrains.com/plugin/14297-my-mybatis .
Thank you for your answer.
sql files work perfectly. but xml files are still not work. do you have any idea?
I don't have a sql...
BTW, According to your advice, i install my-batis plugin. thank you.
Can you please attach a screenshot of your editor?
Regarding unable / inject SQL language I mean the operation like below.
hi. here my editor screenshot.
are "inject SQL language" and "inject SqlDelight" the same?
Looks like you are using the IntelliJ IDEA Community Edition. It's not supported.
There'll be no database dialect for such as MySQL and Postgresql etc.