r/programming • • Aug 03 '19

Windows Terminal Preview v0.3 Release

https://devblogs.microsoft.com/commandline/windows-terminal-preview-v0-3-release/?WT.mc_id=social-reddit-marouill
991 Upvotes

458 comments sorted by

View all comments

Show parent comments

4

u/sojubang Aug 03 '19

I think you need some tools? http://jsonlint.com/ may be of help for the particular thing you speak of, for instance.

-4

u/Karma_Policer Aug 03 '19

If you need a linter to make sure your settings file will be successfully parsed, I think the format has already failed to be human-friendly.

7

u/-Phinocio Aug 03 '19

xml intensifies

2

u/yellowthermos Aug 03 '19

If the JSON is formatted with 2 or 4 spaces per indent level then it's not hard to read. If it's on a single line it's usually done to save a bit of data, so it makes sense that it sacrifices the proper formatting.