【发布时间】:2014-06-23 09:40:39
【问题描述】:
我想在Sublime Text 2做一些文件比较,我做了一些研究发现:
Sublime 文本具有内置的 diff 功能,但其功能有限
open a folder (Click "File" | "Open Folder..." And choose a folder at a level that contains both files), Sumblime Text 2 will open a new window. Multi-select the two files you want to compare in the sidebar, then right-click and choose "Diff Files...".请参阅quora.com/Sublime-Text/Can-you-compare-files-code-within-Sublime-Text-2有 2 个很好的插件可以完成这项工作:
Sublimerge和FileDiffs
但是,我无法清楚地解释它们之间的差异。我怀疑不是一只蜜蜂比另一只蜜蜂更好,而是一只蜜蜂比另一种更适合一种用途,但我可能错了。
提前致谢
【问题讨论】:
-
只是一个小修正:您不需要需要在包含两个文件的级别选择文件夹 - 您可以添加多个文件夹并在它们之间进行多选。
标签: sublimetext2 file-comparison