6

理解语法的 diff 工具 Difftastic

 2 years ago
source link: https://www.oschina.net/p/difftastic
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Difftastic首页、文档和下载 - 理解语法的 diff 工具 - OSCHINA - 中文开源技术交流社区

Difftastic 是一个实验性的 diff 工具,根据文件的语法进行比较。如果一个文件有一个不被识别的扩展名,Difftastic 会使用一个带有单词高亮的文本差异。

它支持 20 多种编程语言:

  • Clojure
  • Common Lisp
  • Elixir
  • Emacs Lisp
  • Haskell
  • Janet
  • JavaScript (and JSX)
  • OCaml
  • Python
  • Scala
  • TypeScript (and TSX)

示例

已知的问题

  • Performance:Difftastic在有大量变化的文件上的扩展性相对较差,而且会使用大量的内存。
  • Display:Difftastic有一个并排的显示方式,通常效果很好,但可能会让人困惑。
  • Robustness:Difftastic经常有修复崩溃的版本。
展开阅读全文

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK