This plugin simplifies the formatting of SQL queries within the MyBatis-Plus framework, ensuring standardized formats for enhanced readability and consistency.
-
Select the SQL query directly in the console.
-
Right-click on the selected query.
-
Choose "sqlFormat" from the context menu for formatting.
- Open a log file containing SQL statements.
- Select the SQL statements you wish to convert.
- Right-click on the selected statements.
- Choose "sqlFormat" from the context menu for formatting.
These steps facilitate quick and accurate formatting of SQL queries.