任何适用于 Eclipse 的 SQL 格式化程序插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/14523783/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 19:52:04  来源:igfitidea点击:

Any SQL formatter plugin for Eclipse avaialble?

sqlsql-servereclipseformatting

提问by emilly

I am not finding any standard open source sql formatter eclipse plugin on net. I am using eclipse helios. I can find Edit-->FormatSQLbut that does not seems to be working. Found one at http://ventralnet.blogspot.in/2010/11/sql-beautifier-eclipse-plugin.htmlbut formatting is not good. Any suggestion will be helpful. For info I am using sqlserver sql scripts.

我没有在网上找到任何标准的开源 sql 格式化程序 eclipse 插件。我正在使用日食太阳神。我可以找到Edit-->FormatSQL但这似乎不起作用。在http://ventralnet.blogspot.in/2010/11/sql-beautifier-eclipse-plugin.html找到一个, 但格式不好。任何建议都会有所帮助。有关信息,我正在使用 sqlserver sql 脚本。

采纳答案by slashdot

Some of my favorites are:

我最喜欢的是:

Eclipse SQL Explorer at: http://eclipsesql.sourceforge.net

DBViewer at: http://www.ne.jp/asahi/zigen/home/plugin/dbviewer/about_en.html

回答by sojin

Toad eclipse-extension(community edition), will get you almost everything you want in an SQL editor, including formatting (ctrl+shif+f). Search for 'toad' in eclipse market place. It has very good Oracle, MySQL and PostgreSQL support.

Toad eclipse-extension(社区版)将在 SQL 编辑器中为您提供几乎所有您想要的东西,包括格式设置 (ctrl+shif+f)。在日食市场中搜索“蟾蜍”。它有很好的 Oracle、MySQL 和 PostgreSQL 支持。

Take a look at Installation instructions and screenshots.

查看安装说明和屏幕截图

Another option is http://dbeaver.jkiss.org/download/#eclipse(Which is very good and also has a standalone version)

另一种选择是http://dbeaver.jkiss.org/download/#eclipse(非常好,也有独立版本)