microsoft / azure-pipelines-vscode

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

warn only for missing fields when required in context #561

Open efinder2 opened 10 months ago

efinder2 commented 10 months ago

In some tasks there some properties are only required when other properties have a specific value. In a practical example the task IISWebAppManagementOnMachineGroup could be used. e. g. if IISDeploymentType is set to IISWebApplication the propterty AppPoolNameForWebsite is not required. So as a developer I have to ignore those hints, wich may be helpfull in other cases.

- task: IISWebAppManagementOnMachineGroup@0
  displayName: 'modify wep app '
  inputs:
    IISDeploymentType: 'IISWebApplication'
    ParentWebsiteNameForApplication: '$(WebsiteName)'
    AppPoolNameForApplication: '$(AppPoolName)'
    VirtualPathForApplication: "/api/"
    PhysicalPathForApplication: '$(wwwRootPath)/api/'

grafik

KonstantinTyukalov commented 10 months ago

Hi @efinder2 thanks for the suggestion! We're working on higher priority issues now, but we'll get back to this one soon.