clarkyu2016 / sql-beautify

VS Code extension that beautifies SQL(HQL).
MIT License
60 stars 21 forks source link

SQL Beautify

😀格式化你杂乱无章的sql/hql代码😀

VS Code extension that beautifies SQL(HQL).

📸 安装 Installation

VSCode Plugin Market

💥 特点 Features

1. Beautify SQL

一键美化你的SQL!请确保你使用的语言是SQL,选择需要优化的代码块,按下Alt+Shift+f即可使用!

Beautify your SQL! Make sure the language is set to SQL,then select your sql code and press Alt+Shift+f just like you normally would.

demo

2. Beautify SQL DDL (Only for hive-sql)

一键美化你的DDL!请确保你使用的语言是SQL,选择需要优化的代码块,按下Alt+Shift+l即可使用!

Beautify your SQL DDL! Make sure the language is set to SQL,then select your sql code and press Alt+Shift+l.

demo

3. Extract SQL DDL (Only for hive-sql)

一键从你的Insert语句中提取的DDL!请确保你使用的语言是SQL,选择需要优化的代码块,按下Alt+Shift+;即可使用!

Extract ddl from insert sql ! Make sure the language is set to SQL,then select your sql code and press Alt+Shift+;.

demo

4. Customize your own style 🐱‍🏍

你可以在vscode中文件-首选项-设置-扩展中找到一些自定义内容。详细的说明,可以阅读wiki-功能说明

Customize your own sql-beautify style in [settings-extension]. For more detail, please read wiki Features to get more details about features of this extension

customize

💡 注意 Attention

😎 更迭日志 Release Notes

0.3.22 (2023/08/26)

0.3.20 (2023/07/25)

0.3.17 (2023/03/14)

🎅 联系我 Contact Me

如果有任何问题,欢迎在Issues上留言提问题给我。也可以通过我的微信和我联系

If you have any problem,welcome to submit issues or You can contact me via wechat.

wechat