Is there a way to disable auto-formatting (I assume that ReSharper is responsible for this) when working with json files (but not .cs files!) in VS? Typically when working with appsettings.json. Every time I press Enter (new line), all the white spaces basically disappear. However, when I do the clean-up, the whole file is formatted exactly as I want. This is driving me crazy as I have to do the code clean-up after every change in a json file, so it is readable.
EDIT: Here are the screenshots:
After Enter:
After clean-up: