Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有很多 Django 模板文件,我想用tidy来清理它们。但是,它会插入所有我不想要的文档类型和标题垃圾。主要是,我只是想让它修复缩进。所有其他的东西都是额外的。
tidy 甚至可以处理这样的部分文件吗?我可以使用什么命令?
看到这个。
请改用 Pretty Diff 工具。这是一个更完整的算法,它在不做任何假设的情况下对不完整的输入进行操作。
http://prettydiff.com/?m=beautify&html