MyBatis SQL Log Merger
Extension Actions
- Live on Store
Merge MyBatis SQL logs into complete SQL statements
### Features
- Parse MyBatis log output to extract SQL templates and parameters
- Automatically merge parameters into SQL templates to form complete executable SQL
- Simple UI with input and output fields
- Works with complex parameter types including Long, String, Timestamp, etc.
- Three interaction modes: popup window, standalone page, and page button
- Clean and intuitive user interface
- SQL formatting and syntax highlighting
- Collapsible instructions and examples
- Copy to clipboard functionality
- Dual input modes: single-box mode (paste complete logs) or dual-box mode (separate SQL template and parameters)
- Flexible input parsing: both single and dual modes support inputs with or without Preparing:/Parameters: prefixes
- Configurable URL patterns for page button display
- Multi-language support (Chinese/English)
### Installation
1. Clone or download this repository
2. Open Chrome and navigate to `chrome://extensions/`
3. Enable "Developer mode" in the top right corner
4. Click "Load unpacked" and select the directory containing this extension