Convert selected Mybatis log to an executable SQL.
- Select the log containing
Preparing
andParameters
(extra lines will be filtered). - Right-click the mouse and select the
Copy as SQL
menu (shortcut key:shift + alt + H
) to copy SQL.
- Select the log containing
Preparing
andParameters
(extra lines will be filtered). - Right-click and select the
Show SQL
menu (shortcut key:ctrl + shift + H
) to display SQL. - Click the
COPY TO CLIPBOARD
button to copy the SQL.
- 选择包含
Preparing
和Parameters
的日志(多余的行会被过滤)。 - 鼠标右键,选择
Copy as SQL
菜单(快捷键:shift + alt + H
)复制 SQL。
- 选择包含
Preparing
和Parameters
的日志(多余的行会被过滤)。 - 鼠标右键,选择
Show SQL
菜单(快捷键:ctrl + shift + H
)展示 SQL。 - 点击
COPY TO CLIPBOARD
按钮复制 SQL。
-
Using IDE built-in plugin system:
Preferences > Plugins > Marketplace > Search for "Mybatis SQL" > Install Plugin
-
Manually:
Download the latest release and install it manually using Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.