1.
简介
2.
安装
3.
使用
3.1.
Git
3.2.
Mercurial
3.3.
Fossil
4.
支持的语言
5.
解析
6.
差异分析
6.1.
棘手的例子
7.
贡献
7.1.
解析器依赖库
7.2.
添加解析器
8.
词典
9.
其它项目
9.1.
树状差异分析
Light
Rust
Coal
Navy
Ayu
Difftastic Manual
支持的语言
本页列出了 Difftastic 支持的所有语言。你也可以用
difft --list-languages
查看你当前安装的版本所支持的语言。
编程语言
语言
使用的解析器
Bash
tree-sitter/tree-sitter-bash
Apex
aheber/tree-sitter-sfapex
C
tree-sitter/tree-sitter-c
C++
tree-sitter/tree-sitter-cpp
C#
tree-sitter/tree-sitter-c-sharp
Clojure
sogaiu/tree-sitter-clojure
(
branched
)
CMake
uyha/tree-sitter-cmake
Common Lisp
theHamsta/tree-sitter-commonlisp
Dart
UserNobody14/tree-sitter-dart
Elixir
elixir-lang/tree-sitter-elixir
Elm
elm-tooling/tree-sitter-elm
Elvish
ckafi/tree-sitter-elvish
Erlang
WhatsApp/tree-sitter-erlang
Emacs Lisp
wilfred/tree-sitter-elisp
Gleam
gleam-lang/tree-sitter-gleam
Go
tree-sitter/tree-sitter-go
Hack
slackhq/tree-sitter-hack
Hare
ecmma/tree-sitter-hare
Haskell
tree-sitter/tree-sitter-haskell
Janet
sogaiu/tree-sitter-janet-simple
Java
tree-sitter/tree-sitter-java
JavaScript, JSX
tree-sitter/tree-sitter-javascript
Julia
tree-sitter/tree-sitter-julia
Kotlin
fwcd/tree-sitter-kotlin
Lua
nvim-treesitter/tree-sitter-lua
Make
alemuller/tree-sitter-make
Nix
cstrahan/tree-sitter-nix
OCaml
tree-sitter/tree-sitter-ocaml
Perl
ganezdragon/tree-sitter-perl
PHP
tree-sitter/tree-sitter-php
Python
tree-sitter/tree-sitter-python
QML
tree-sitter/tree-sitter-qmljs
R
r-lib/tree-sitter-r
Racket
6cdh/tree-sitter-racket
Ruby
tree-sitter/tree-sitter-ruby
Rust
tree-sitter/tree-sitter-rust
(
forked
)
Scala
tree-sitter/tree-sitter-scala
SQL
m-novikov/tree-sitter-sql
Swift
alex-pinkus/tree-sitter-swift
TypeScript, TSX
tree-sitter/tree-sitter-typescript
Zig
maxxnino/tree-sitter-zig
结构化文本格式
语言
使用的解析器
CSS
tree-sitter/tree-sitter-css
HCL
MichaHoffmann/tree-sitter-hcl
HTML
tree-sitter/tree-sitter-html
JSON
tree-sitter/tree-sitter-json
Newick
delehef/tree-sitter-newick
TOML
ikatyang/tree-sitter-toml
YAML
ikatyang/tree-sitter-yaml