vscode-edit-csv icon indicating copy to clipboard operation
vscode-edit-csv copied to clipboard

Compare CSV

Open AlecksDeee opened this issue 1 year ago • 3 comments

Feature

Hello! I think the feature to compare .csv would be useful.

AlecksDeee avatar Dec 17 '24 23:12 AlecksDeee

Can you elaborate?

janisdd avatar Dec 19 '24 12:12 janisdd

Sure! I recently needed to compare changes in two large .csv files, I came across a website that helped me and visually showed which rows/columns were added, updated, reordered or deleted. It would be convenient if such a function was in your extension.

Website

Example 1.csv

Name Original ChildOf Index
string bool string int
Something1 True 0
Something2 False Something1 1
Something3 False Something1 2
Something4 False Something1 3

2.csv

Name ChildOf Original Index Json
string string bool int string
Something1 True 0 something1.json
Something2 Something1 False 1 something2.json
Something4 True 3 something4.json

Result image

Why did I liked it? Since it doesn't show two .csv files on the sides, it kind of merges them into one, which I find convenient.

AlecksDeee avatar Dec 21 '24 19:12 AlecksDeee

You can already use the vscode compare to show diffs? it'll show the green/red +- lines like it does for code. What is missing from that for you?

leeaa-s-thermal avatar Mar 18 '25 17:03 leeaa-s-thermal