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

CSV files are not detected #21

Closed yisen-cai closed 7 months ago

yisen-cai commented 2 years ago

I'm using Diff to check many kinds type file, but only csv file can't show diff file option list, the file is real exists, change it's type is ok, it only shows without csv type.

mtazzari commented 1 year ago

The tool is great, but I also find that it doesn't work with .csv files. Is it possible to have a quick fix for that? It'd be super helpful. Many thanks!

fabiospampinato commented 1 year ago

That's strange, maybe .csv files are detect as binary files internally by mistake. I'll look into that.

StefKors commented 1 year ago

1+ on this one, just ran into this and thought the extension was broken 😄

jgarces-pd commented 1 year ago

same here. it says: "You need to have at least 2 saved files in order to start a diff" "Source: Diff (Extension)"

06000208 commented 10 months ago

can confirm this is the case, csv files aren't showing up in the list, but you can rename them to txt and it'll work

fabiospampinato commented 7 months ago

I've rewritten the extension, this is fixed in v2. "csv" files were considered to be binary in the dependency the extension uses to detect binary files.