Skip to content

Commit 27af1fa

Browse files
author
huangbin
committed
Signed-off-by: huangbin <[email protected]>
1 parent 631d972 commit 27af1fa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ mybatis是一个流行的ORM工具,其有一个特点:将sql抽取出来单
1515
1. 在以dao命名结尾的类中,当鼠标在sqlId的文本上悬停时,会弹出弹层,显示出实际的sql,如图所示:
1616
![鼠标悬停](https://raw.githubusercontent.com/huangice/images/master/screenshots/codeplus-hover.png)
1717
(由于第一次需要扫描工程中所有的xml文件,所以第一次弹出会稍慢一些,之后就会很快了。)
18-
1918
这个弹层下有两个按钮,第一个按钮点击会打开对应的xml文件并定位到对应的行;第二个按钮点击则会复制sql到剪切板。
2019
2. 在以dao或mapper命名结尾的类中,在任意位置右键点击,可以看到弹出的右键菜单中有一个选项:Open mybatis sql xml,如图:
2120
![右键](https://raw.githubusercontent.com/huangice/images/master/screenshots/codeplus-menu.png)
22-
2321
点击会打开对应的xml文件。如果在sqlId的文本上右键时,会同时定位到对应的sql行。
2422

0 commit comments

Comments
 (0)