📄 readme
字号:
This can format all PostgreSQL *.c and *.h files, but excludes *.y, and *.lfiles.To use it, first get the list of typedef's to be included in pgindent byrunning this on the pgsql/bin and pgsql/lib directories: src/tools/find_typedef /usr/local/pgsql/bin /usr/local/pgsql/liband update the list in pgindent. This requires the binaries have debug symbols.From the top directory, run: find . -name '*.[ch]' -type f -print | grep -v 's_lock.h' | xargs -n100 pgindentWe have standardized on NetBSD's indent. We have fixed a few bugs which requre the NetBSD source to be patched with indent.bsd.patch patch. A fully patched version is available at ftp://ftp.postgresql.org/pub/dev.GNU indent, version 2.2.6, has several problems, and is not recommended.These bugs become pretty major when you are doing >500k lines of code.If you don't believe me, take a directory and make a copy. Run pgindenton the copy using GNU indent, and do a diff -r. You will see what Imean. GNU indent does some things better, but mangles too.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -