I just started using VSCODE and 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:

