fabiospampinato / vscode-diff

Diff 2 opened files with ease. Because running `code --diff path1 path2` is too slow.
MIT License
40 stars 9 forks source link

Smarter Diff for JSON files #24

Closed sp71 closed 1 year ago

sp71 commented 1 year ago

Comparing two JSON files would be great where it detects if the same key and value match regardless of the order

a.json

{
  "foo": 1,
  "bar": 2
}

b.json

{
  "bar": 2,
  "foo": 1
}
fabiospampinato commented 1 year ago

That'd be kinda cool, but that's another kind of diffing, it'd probably be better to have a dedicated extension for that.