-
Notifications
You must be signed in to change notification settings - Fork 115
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
Pretty-printing JSON in IntelliJ diffs #749
Comments
Duplicate of #44. I understand it would be a useful feature, but currently I do not have any capacity to implement it, sorry. |
Hi @joshuajaharwood, I am currently looking into that. I am curious what would be your expectation, we can to the following
|
Hi @lukas-krecan, deepest apologies for the late response. I'd probably prefer option 3 given that I have large JSON blobs I need to compare for any differences - it'd make seeing differences at a glance much easier. I wouldn't mind if the order of fields changed, I only really care about the differences between actual and expected. Having to scroll through the entire thing to see differences when you're working with hundreds of differing JSON assertions can be troublesome! Kind regards, |
Is your feature request related to a problem? Please describe.
When comparing two JSON strings when a difference is found (when you click in IntelliJ), they are printed without any whitespace which can make visual inspection harder.
Describe the solution you'd like
The ability to pretty-print both JSON strings for display in the IntelliJ differ would make visual comparison much easier.
Describe alternatives you've considered
None
Additional context
Tested on v2.38.0, Java 8.
The text was updated successfully, but these errors were encountered: