I just started using Visual Studio Code and am faced with an annoyance every time I paste in YAML code in an existing .yml file. Basically, the editor seems to auto-format the document and in doing so messes up the significant spaces in the document. This causes builds in Azure Devops to break. Although VS Code formats the document nicely into collapsible regions, the formatting annoyance makes it hard to use. Any help would be appreciated.
BEFORE: