JetBrains Marketplace: [https://plugins.jetbrains.com/plugin/30447-zmybatis--dynamic...] GitHub (Issues?): [https://github.com/luceat-lux-vestra/zMyBatis-public]
It's called zMyBatis. You just right-click inside your XML mapper statement or Java annotation (like @Select), and the plugin parses the dynamic SQL, prompts you for the parameters, and runs the resolved native SQL directly in your IDE's console.
From what I searched, I couldn't find an existing plugin that does exactly this. To be completely honest, I got a lot of help from AI to build this.
I built this primarily to scratch my own itch because I needed it. I'm not entirely sure if it will fit perfectly into everyone else's workflow, and I know it's still rough around the edges. I plan to just put it out there, monitor the feedback, and decide whether to keep updating it or just take it down depending on the reaction.
If you deal with MyBatis on a daily basis, feel free to give it a try and let me know what you think!