editorconfig-cf:根据 .editorconfig 文件检查和修复编码风格的工具。 它将修复任务传递给特定的语言美化者

时间:2021-07-12 21:35:09
【文件属性】:
文件名称:editorconfig-cf:根据 .editorconfig 文件检查和修复编码风格的工具。 它将修复任务传递给特定的语言美化者
文件大小:14KB
文件格式:ZIP
更新时间:2021-07-12 21:35:09
Python EditorConfig-cf -- EditorConfig 检查器和格式化器 这个 python 程序使用文件中给出的规则来检查和修复您的编码风格。 它仍在开发中,但非常感谢您的贡献,因为我不会使用所有语言! 用法 python /path/to/editorconfig_cf.py [check|format] [file1] [file2] [file3] ... 其中[file1] , [file2] , [file3] , ... 是您要检查或格式化的源文件。 这个怎么运作 此脚本不会直接触及您的代码; 相反,它调用特定于语言的美化器来检查和修复。 当给定一个文件时,它首先根据其扩展名查看该文件的类型。 在确定源文件的类型后,EditorConfig-cf 尝试调用它知道的相应美化器。 如果发现美化器可用,EditorConfig-cf 调用美化器检查或修复源代码,并将修
【文件预览】:
editorconfig-cf-master
----COPYING(7KB)
----README.md(4KB)
----handling()
--------pylint.py(2KB)
--------uncrustify.py(2KB)
--------__init__.py(0B)
----tests()
--------c-uncrustify()
--------python-pylint()
--------cpp-uncrustify()
----.editorconfig(117B)
----editorconfig_cf.py(6KB)

网友评论