Depot icon indicating copy to clipboard operation
Depot copied to clipboard

Depot json file: Backslashes inserted when opening file

Open frank-laemmer opened this issue 3 years ago • 1 comments

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?

frank-laemmer avatar Jun 17 '22 06:06 frank-laemmer

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?

kkukshtel avatar Jul 11 '22 19:07 kkukshtel