-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapse (hide) same lines #70
Comments
Thank you for using JSONDiff @fzyzcjy and a big thank you for the feature suggestion. I've looked into code folding before. The sample in your screenshot is hiding lines that don't have any differences. Would you want JSONDiff to do the same thing and collapse sections that don't have any differences or do you have another idea for how you'd want to see this working? |
Thanks for the reply!
I guess the simplest solution is to just collapse anything that does not change. For optional better experience, I would like to see the parent keys be shown. For example, suppose we want to compare:
Then, the naive way will only show the |
Thank you for the extra details @fzyzcjy. Let me take a little time to think about the best user experience here and see what I can come up with. |
Sure, take your time and looking forward! |
Hi thanks for the diff tool! It would be great if, when there are a ton of exactly same lines, they can be folded, such that the diff is much shorter. For example, SmartGit has something like:
The text was updated successfully, but these errors were encountered: