加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.editorconfig 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
zhouqin 提交于 2022-01-28 16:35 . postgis 3.2 original files
# http://editorconfig.org
# top-most EditorConfig file
root = true
# these are the defaults
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*_expected]
trim_trailing_whitespace = false
# C files want tab indentation
[*.{c,h,h.in}]
indent_style = tab
# Perl files want tab indentation
[*.pl]
indent_style = tab
# Exception: utils/postgis_proc_upgrade.pl uses 4-spaces indent
[utils/postgis_proc_upgrade.pl]
indent_style = space
indent_size = 4
# Exception: regress/run_test.pl uses 4-spaces indent
[regress/run_test.pl]
indent_style = space
indent_size = 4
# SQL files want tab indentation
[*.{sql,sql.in}]
indent_style = tab
# topology C files want space indentation
[topology/*.{c,h}]
indent_style = space
indent_size = 2
# topology C files want space indentation
[liblwgeom/lwgeom_topo.{c,h}]
indent_style = space
[liblwgeom/lwgeom_log.h]
indent_style = space
# topology SQL files want space indentation
[topology/**.{sql,sql.in}]
indent_style = space
# postgis/sfcgal.sql.in wants space indentation
[postgis/sfcgal.sql.in]
indent_style = space
# .h.in files want space indentation
[*.h.in]
indent_style = space
# Makefiles want tab indentation
[{Makefile.in,Makefile,GNUmakefile.in}]
indent_style = tab
# .bat files want CRLF
[*.bat]
end_of_line = crlf
# Docbook should be space cause tabs are mangled in html
[*.xml]
indent_style = space
indent_size = 4
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化