Open lotte-medic opened 4 years ago
Hello @lotte-medic ,
There might be a good reason, but using a custom extension may make your development difficult. I would recommend using the default extension (i.e. .xml) if that's possible. Even MyBatis itself does not support custom extension, I think.
Anyway, if you really have to use .sqlx, try the following steps:
I just tested and it seems to be working mostly.
Note that there is an open issue #106 which prevents MyBatipse from function properly in the latest version of Eclipse (2020-06).
Thanks for your kindness. ^^ But, It doesn't work. When I re-opend .sqlx file, It works with XML editor. But I clicked with Ctrl+mouse on service java file which is mapper method It doesn't be shown 'Open in' menu.
Can you test it ? Help me more,.......please~~~
Yeah, I remembered I assumed the extension to be '.xml' in several places. I will take a look if I get a chance, but I cannot say 'when'.
We use mybatis. but sql file extension is not XML.
We use extension SQLX like a test.sqlx. but Content type is XML file.
Can We use mybatipse plug-in ? Do I have to setting something on Eclipse?