edgafner / dorkag

Issue Tracker repository for all Dorkag plugins
Other
5 stars 0 forks source link

[BUG]: trigger and stages are marked as invalid in a .yml file #61

Closed BigHoss closed 4 months ago

BigHoss commented 5 months ago

Describe the bug valid yml content is marked as invalid

To Reproduce Steps to reproduce the behavior:

  1. create an azure-pipelines.yml
  2. content:
    
    trigger:
    - main
    pool:
    vmImage: ubuntu-latest

variables: buildPlatform: 'Any CPU' buildConfiguration: 'Release' disable.coverage.autogenerate: 'true'

stages:

Expected behavior code completion

Screenshots image

Desktop (please complete the following information):

JetBrains IDE (please complete the following information):

Azure Devops organization details:

Jonatha1983 commented 5 months ago

Hi @BigHoss thanks for reporting.

I saw this issue and it is due the bad json schema provided by Microsoft.

I amusing the same one they use for vscode and I am periodically checking for updates hopefully they will fix those issues.

I ll mark this issue with both bug and block labels and I will update once there is a new fixed version.

You can turn off the inspection in the AZD settings if this is really bothering you.

Thanks again for reporting

Jonatha1983 commented 4 months ago

Hi @BigHoss, I found a way to fix it - you can disable the depreciation warnings for this specific inspection in the settings.

image

image

image

This is a workaround. I am consulting with Jetbrains on how to do that in the code.

Closing this issue for now will update once a version with a fix is released.