Change SQL dialect for current file Follow
I'm using MyBatis that uses xml files for sql. These files are widespread throughout the project. Each time I create a new xml file, I have to go through settings, SQL Dialects, navigate to xml file and change the dialect from <Generic> to something else.
Is there an easy way, some shortcut, to change the dialect for the entire xml file or the parent directry?
Thanks.
Please sign in to leave a comment.
Hello.
The same Settings / SQL dialects page supports assigning values to whole directories. Please check.
Regards,
Alexander.
Yes, I known that. My problem is that I have several directories with xml files. Each time I create a new directory and put some xml files I have to go through settings and do that (I'm lazy)
I would suggest an option in the status bar. With that not only I can see what is the currect dialect as I could change the dialect.
Sounds reasonable. Welcome to create an issue for our developers: http://youtrack.jetbrains.com/issues/IDEA
Alexander.