VIM可以自动缩进SQL吗? [英] Can VIM autoindent SQL?

查看:201
本文介绍了VIM可以自动缩进SQL吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

" SQL语句缩进良好做法"似乎是可接受的用于编写SQL块的格式.

"SQL Statement indentation good practice" appears to be the accepted format for writing SQL blocks.

是否有一个符合该标准的Vim缩进/语法文件,或者至少是紧密文件?

Is there a Vim indent/syntax file that would adhere to this standard, or at least be close?

目前,我的Vim几乎保留了所有内容,只缩进了某些关键字.

Currently my Vim left alights pretty much everything and only indents certain keywords.

推荐答案

" SQLUtilities:SQL实用程序-格式化,生成-列列表,数据库过程"具有SQL Utilities插件,该插件具有功能.还有"如何在Vim中自动格式化和自动大写SQL "是相关的讨论.

"SQLUtilities : SQL utilities - Formatting, generate - columns lists, procedures for databases" has the SQL Utilities plugin, which is capable. And "How to auto-format and auto-capitalize SQL in Vim" is a related discussion.

这篇关于VIM可以自动缩进SQL吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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