Notepad ++ / Eclipse SQL代码自动缩进选项? [英] Notepad++/Eclipse sql code auto-indent option?

查看:125
本文介绍了Notepad ++ / Eclipse SQL代码自动缩进选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

DDL特别难看。记事本可以使用SQL自动缩进的任何选项吗?我曾尝试在Eclipse中执行此操作,但是代码对自动缩进不起作用。

DDL gets especially ugly. Is there any option of SQL auto-indenting for Notepad++? I've tried to do it in Eclipse, but the code doesn't react to auto-indent.

推荐答案

是的,有一个针对Notepad ++的免费/开源T-SQL格式插件,称为穷人的T-SQL。格式化程序。它在NPP插件管理器插件列表中可用(偶尔会自动更新一次),也可以从以下位置手动下载/安装: http://www.architectshack.com/PoorMansTSqlFormatter.ashx

Yes, there is a free/open-source T-SQL formatting plugin for Notepad++, called "Poor Man's T-SQL Formatter". It is available in the NPP "Plugin Manager" plugin list (gets updated every once in a while automatically), and is also available for manually downloading/installing from here: http://www.architectshack.com/PoorMansTSqlFormatter.ashx

如果您只想查看一下无需添加到notepad ++,您可以检查在线格式化站点:

If you just want to check it out without adding to notepad++, you can check the online formatting site:

http:/ /poorsql.com

(免责声明:我写了这些工具:))

(disclaimer: I wrote these tools :))

这篇关于Notepad ++ / Eclipse SQL代码自动缩进选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆