# Link-Kou/intellij-mybaitslog

用于在IDEA将Mybatis的SQL日志还原为可执行的SQL，Used to restore Mybatis SQL logs to executable SQL in IDEA,

Repository: https://github.com/Link-Kou/intellij-mybaitslog
Canonical: https://ross.abutalabs.com/products/intellij-mybaitslog
Language: Java
License Family: other
Topics: mybatis, idea, intellij-plugin, idea-plugin, mybatis-log-plugin, mybatis-log
Last push: 2023-08-28T02:01:16+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2353, "days_push": 1102, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1183, forks 248 (observed 2026-08-28T04:03:54.553589+00:00)

## What it is
An IntelliJ IDEA plugin that reconstructs MyBatis SQL log output into fully executable SQL statements. It supports MyBatis 3.2.0+ and MyBatis-Plus, formatting logs for all databases.

## Use cases
- restore mybatis sql logs to executable sql in idea
- format mybatis log output into runnable sql
- debug mybatis sql statements from console logs
- convert mybatis parameterized logs into complete sql
- view executable sql for mybatis-plus queries
- copy sql from idea console with parameters filled in

## When to choose
- you develop Java applications with MyBatis or MyBatis-Plus in IntelliJ IDEA
- you need to turn MyBatis log output into copy-paste-ready SQL for debugging
- you want an in-IDE tool rather than copying logs manually

## When to avoid
- your project uses Gradle, which is not yet supported
- you rely on custom SqlSource implementations
- you use MyBatis older than 3.2.0 or an IDE below the supported versions
- you don't use IntelliJ IDEA or MyBatis at all

## Facets
- artifact type: plugin
- maturity: active
- function: logging, developer-tools, parser
- domain: developer-tools, databases, backend
- platform: editor-plugin, jvm
- tags: mybatis, intellij-plugin, sql-log, sql-formatting, idea-plugin, debugging

## Member repositories
- Link-Kou/intellij-mybaitslog (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.553589+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:24:30.988354+00:00, confidence not recorded.
  - readme: https://github.com/Link-Kou/intellij-mybaitslog (fetched 2026-08-28T04:03:54.553589+00:00, sha 51ddcc99dcc0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
