Skip to content

Schema suggestions not working for meta/main.yml files with Ansible language #2168

@alisonlhart

Description

@alisonlhart

Summary

When a meta/main.yml file is identified as Ansible language, suggestions from the built-in JSON schema analyzer do not appear.
Changing the language to YAML makes the suggestions appear on the same file.

Example:
Ansible language, no suggestions for collections key:

Image

Switched to YAML language, suggestions given for collections key:

Image

Extension version

25.8.1

VS Code version

1.103

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions