afterschoolstudio / Depot

Structured data editor built inside VS Code
Apache License 2.0
205 stars 20 forks source link

Depot json file: Backslashes inserted when opening file #57

Open frank-laemmer opened 2 years ago

frank-laemmer commented 2 years ago

I use a depot.json file. Whenever I open the file (no edit) the VS code shows that the file was changed. When I save the file: The diff shows that some backslashes are getting added before closing curly braces:

Screenshot 2022-06-17 at 08 48 20

I tried a clean stable installation of VS code only with the Depot extension. My colleague does not have the problem. So maybe some config with my machine.

Sorry for posting this lazy ticket. Maybe someone else has that issue as well?

kkukshtel commented 2 years ago

Oh weird, I've never seen this before. Maybe it's a line-endings setting in your Code instance? Does your .vscode folder have anything suspicious in it?