Update your settings.json to include this file association:
"files.associations": {
"*pipeline*.yaml": "azure-pipelines"
}
By default, the extension .yaml associates the file with YAML Language Mode. In this case, we want VS Code to recognize any file with 'pipeline' and .yaml in the filename to associate with Azure Pipeline Language. There are differing rule sets for the two and cause problems with recognizing it.
No comments:
Post a Comment