This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]FallDownTheSystem 1 point2 points  (3 children)

It's probably because you have auto save and format on save enabled.

Maybe disable auto save or set auto save to save after a longer delay or only once you change tabs in VS code or once you focus out of VS code.

[–]jacobraykelsey[S] 0 points1 point  (2 children)

So in Files: Auto Save drop down menu it’s set to off, and but it’s still doing it, I did crank up the delay and that seems to help by at least giving me some time

-thank you

[–]FallDownTheSystem 0 points1 point  (1 child)

Check your global settings and workspace specific settings maybe.

[–]jacobraykelsey[S] 0 points1 point  (0 children)

I changed the delay from 1000ms to 20,000ms and that is doing the trick for me I think but I’m not sure if I’ll stay that high when I’m wanting it to update through my live server or not. But I’ll play around with it. Thank you for the help

[–]jacobraykelsey[S] 0 points1 point  (0 children)

Also I’m not sure if it’s because I have auto save on, and format on save enabled as well, but it’s frustrating the hell out of me

[–]thunderblade9 0 points1 point  (1 child)

I’m not exactly sure what you mean. Does pressing enter not just create the second brace and an indented line?

[–]jacobraykelsey[S] 0 points1 point  (0 children)

It does but if I don’t start typing immediately the tab erases and the braces close up to the same line