|
1 | 1 | <idea-plugin> |
2 | 2 | <id>MyBatisLogPlugin</id> |
3 | | - <name>MyBatis Log Plugin</name> |
| 3 | + <name>MyBatis Log Plugin(deprecated)</name> |
4 | 4 | <version>2.1.1</version> |
5 | 5 | < vendor email= "[email protected]" url= "">ob</ vendor> |
6 | 6 |
|
7 | 7 | <description> |
8 | 8 | <![CDATA[ |
9 | | - MyBatis Log Plugin |
10 | | - <br/> |
11 | | - ----------------------------------------------------------------------------------------------------------------------- |
12 | | - <br/> |
13 | | - Restore the mybatis generate sql to original whole sql.<br/> |
14 | | - It will generate sql statements with replace ? to the really param value.<br/> |
15 | | - Through the "Tools -> MyBatis Log Plugin" menu you can tail the sql log.<br/> |
16 | | - You can selected the "Filter" button on the left to filter the contents don't wanna display.<br/> |
17 | | - You can selected the "Format Sql" button on the left to format the generate sql statements.<br/> |
18 | | - You can select the console sql log and right click "Restore Sql from Selection" menu to restore sql.<br/> |
19 | | - Prerequisite: sql log must contain "Preparing:" and "Parameters:" <br/> |
20 | | - ----------------------------------------------------------------------------------------------------------------------- |
21 | | - <br/> |
22 | | - 把 mybatis 输出的sql日志还原成完整的sql语句。<br/> |
23 | | - 将日志输出的sql语句中的问号 ? 替换成真正的参数值。<br/> |
24 | | - 通过 "Tools -> MyBatis Log Plugin" 菜单或快捷键 "Ctrl+Shift+Alt+O" 启用。<br/> |
25 | | - 点击窗口左边的 "Filter" 按钮,可以过滤不想要输出的sql语句。<br/> |
26 | | - 点击窗口左边的 "Format Sql" 按钮,可以格式化输出的sql语句。<br/> |
27 | | - 选中console的sql日志,右击 "Restore Sql from Selection" 菜单可以还原sql语句。<br/> |
28 | | - 前提条件:输出的sql日志必须包含"Preparing:"和"Parameters:"才能正常解析。<br/> |
29 | | - <br/> |
30 | | - <a href="https://github.com/kookob/mybatis-log-plugin">Github</a> | <a href="https://github.com/kookob/mybatis-log-plugin/issues">Issues</a><br/> |
31 | | - <br/> |
32 | | - Donate: <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=2FQY2FH24H4LC&item_name=MyBatis+Log+Plugin¤cy_code=USD&source=url">PayPal</a> |
33 | | - | <a href="https://github.com/kookob/mybatis-log-plugin/blob/master/DONATE.md">支付宝&微信</a><br/> |
34 | | - <br/> |
35 | | - <img src="https://plugins.jetbrains.com/files/10065/screenshot_17367.png" /> |
| 9 | + <b>Restore mybatis sql log to original whole executable sql.</b> |
| 10 | + <div>Due to the poor implementation mechanism of this plugin, some version compatibility problems, registration failures, and performance problems often occur.</div> |
| 11 | + <div>Therefore, this plugin is no longer maintained and may be removed in the future.</div> |
| 12 | + <div>If the plugin works well on your machine, and you choose to continue using this version, there is no problem at all.</div> |
| 13 | + <div>I reimplemented the plugin in a better way, uploaded it to the official Marketplace, and set a minimum selling price ($1/year).</div> |
| 14 | + <div>If you would like to experience and support the new plugin, please visit the following address:</div> |
| 15 | + <div><a href="https://plugins.jetbrains.com/plugin/13905-mybatis-log-plugin"><b>MyBatis Log Plugin</b></a></div> |
| 16 | + <div>Thank you!</div> |
| 17 | + <div>------------------------------------------------------------</div> |
| 18 | + <div>这个插件因为原先的实现机制并不好,导致经常出现一些版本兼容、注册失败以及性能的问题。</div> |
| 19 | + <div>所以此插件后续不再维护,将来有可能会被移除。</div> |
| 20 | + <div>如果该插件在你机器上运行良好,并且你选择继续使用此版本,也是完全可以的。</div> |
| 21 | + <div>我用更好的方式重新实现了一个插件,并上传到官方的Marketplace,且设置了一个最低的售价($1/year)。</div> |
| 22 | + <div>如果你愿意体验并支持新的插件,请访问下面地址: |
| 23 | + <div><a href="https://plugins.jetbrains.com/plugin/13905-mybatis-log-plugin"><b>MyBatis Log Plugin</b></a></div> |
| 24 | + <div>谢谢!</div> |
36 | 25 | ]]> |
37 | 26 | </description> |
38 | 27 |
|
39 | 28 | <change-notes> |
40 | 29 | <![CDATA[ |
41 | | - <a href="https://github.com/kookob/mybatis-log-plugin/wiki/change-notes">change notes</a> |
| 30 | + <a href="https://github.com/kookob/mybatis-log-plugin/wiki/change-notes">Change Notes</a> |
42 | 31 | <br/> |
43 | 32 | <a href="https://github.com/kookob/mybatis-log-plugin/wiki/更新日志">更新日志</a> |
44 | 33 | ]]> |
|
57 | 46 | <!-- Add your extensions here --> |
58 | 47 | <consoleFilterProvider implementation="mybatis.log.MyBatisLogProvider"/> |
59 | 48 | <executor implementation="mybatis.log.tail.TailRunExecutor" id="MyBatisLogTail"/> |
60 | | - <postStartupActivity implementation="mybatis.log.MyBatisLogStartupActivity"/> |
61 | 49 | </extensions> |
62 | 50 |
|
63 | 51 | <actions> |
64 | 52 | <!-- Add your actions here --> |
65 | | - <action id="TailMyBatisLog" class="mybatis.log.action.TailMyBatisLog" icon="/mybatis/log/icon/mybatis.png" |
| 53 | + <action id="TailMyBatisLog0" class="mybatis.log.action.TailMyBatisLog" icon="/mybatis/log/icon/mybatis.png" |
66 | 54 | text="MyBatis Log Plugin" description="MyBatis Log Plugin"> |
67 | 55 | <add-to-group group-id="ToolsMenu" anchor="last"/> |
68 | 56 | <keyboard-shortcut keymap="$default" first-keystroke="ctrl alt shift O"/> |
69 | 57 | </action> |
70 | 58 |
|
71 | 59 | <!-- restore sql from selection --> |
72 | | - <action class="mybatis.log.action.RestoreSqlForSelection" id="RestoreSqlAction" text="Restore Sql from Selection" |
| 60 | + <action class="mybatis.log.action.RestoreSqlForSelection" id="RestoreSqlAction0" text="Restore Sql from Selection" |
73 | 61 | description="Restore Sql from Selection"> |
74 | 62 | <add-to-group group-id="EditorPopupMenu" anchor="last"/> |
75 | 63 | <add-to-group group-id="ConsoleEditorPopupMenu" anchor="before" relative-to-action="ConsoleView.ClearAll"/> |
|
0 commit comments