VS Code Formatting Extension Fix
As I mentioned in the last guide when I had that little issue where I made a change and it updated the formatting here and made it look pretty ugly.
Guide Tasks
  • Read Tutorial
  • Watch Guide Video
Video locked
This video is viewable to users with a Bottega Bootcamp license

I told you I was going to research the extensions and see what was causing it. It turns out that the issue was with this extension this JS-CSS-HTML Formatter

large

Apparently, it does not play nicely with a few of the other extensions I had.

I'm not saying not to use it but I simply wanted you to know exactly what the issue was. As soon as I said to remove it reloaded the system and then save I was able to fix this and it no longer has those types of conflicts so very quick guide simply to let you know how you can research and then fix any types of issues when you run into something like that.

Where you have some very weird behavior where say you save the file and it rearranges the code or you just have some odd behavior like that. Then there's a good chance that it might be one of your extensions and then you can simply go through and then uninstall each one of them one at a time to see which one is causing the issue.