Skip to content
Projects

About

PrettySQL 是一款基于 IntelliJ IDEA 的轻量级插件,致力于提升 SQL 开发体验,集成了 SQL 格式美化、高亮表结构提示、SQL检查、执行报告分析等功能,为日常开发中频繁处理 SQL 的用户提供便捷、清晰、可视化的开发辅助。

Data & Analytics

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_EN.md

Original

PrettySQL - Powerful SQL Plugin for IntelliJ

PrettySQL is a lightweight IntelliJ plugin designed to enhance SQL development. It integrates features like SQL formatting, table structure tooltips, syntax checking, and execution plan analysis to provide a cleaner, more visual, and efficient SQL development experience.

📚 Documentation | 🐛 Report Issues | 🇨🇳 简体中文

🔧 Features

  • Beautify SQL statements with a single click
  • Table structure tooltip when hovering over table names
  • Support for multiple data sources
  • SQL syntax checking
  • SQL execution plan analysis
  • SQL check report generation
  • ER diagram generation

For more features, visit the Documentation Center.

🚀 Getting Started

PrettySQL supports JetBrains IDEs like IntelliJ IDEA, PyCharm, CLion, DataGrip, etc. (Currently not compatible with versions earlier than IntelliJ IDEA 2022.2.2)

Installation Steps

  1. Open your JetBrains IDE and go to File → Settings → Plugins (or Preferences on macOS)
  2. Search for PrettySQL in the plugin marketplace and click Install
  3. Restart your IDE after installation
  4. Right-click SQL inside XML files to format them (supports selected XML tags)
  5. If a yml config file is present, it's used automatically. Otherwise, a popup window will guide you to add a data source
  6. Hover over a table name to view its structure tooltip
  7. Right-click SQL to check syntax and execution plan (DML will not be committed)

🖼️ Screenshots

🤝 Join Us

PrettySQL is continuously evolving. Contributions are welcome — whether it's feedback, feature suggestions, or pull requests.

This project is for learning and personal use only. Commercial use and re-publishing (including uploading to any marketplace or app store) are strictly prohibited without explicit permission from the author.

If you're interested in joining or helping out, feel free to reach out with your ideas!


☕ Support the Author

If you find PrettySQL helpful, consider buying a coffee to support continued development ❤️

Explore related projects

Loading…