Whenever I save my file, one specific line of code is auto-indented. Whenever I run my file this line of code is also auto-indented. The video shows this. The weird thing is that basically the same code on line 20 is not auto formatted.
I tried to go into my settings and ‘Search for Format On Save’ and toggle it off to disable auto-formatting but it was already disabled. Also, whenever I go to a window like chrome or messages or click anything outside of vscode, it also auto formats like in the video. I’ve never had this problem before but I noticed that it only occurs in the Dev Container.
user25275542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.