microsoft / azure-pipelines-vscode

VS Code extension for working with Azure Pipelines YAML files
MIT License
163 stars 102 forks source link

gives syntax error for valid content when file name is not azure-pipelines.yml #591

Open vairakkumaar-svs-hf opened 2 months ago

vairakkumaar-svs-hf commented 2 months ago

I have a file name azure-pipelines-prod.yml

and have the following content ` trigger:

resources: repositories:

stages:

and I get error in line 1. how to make vscode to use the azure-pipelines syntax?

I tried adding in my workspace settings.json as follows and it did not work.

{ "files.associations": { "**/ci/azure-pipelines-*.yml": "azure-pipelines" } }

vmapetr commented 2 months ago

Hi @vairakkumaar-svs-hf thanks for reporting! We are working on more prioritized issues at the moment, but will get back to this one soon.