Skip to content

"Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked." is spammed to logs when editing a file that references a schema through a comment #1211

@datho7561

Description

@datho7561

Describe the bug

"Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked." is spammed to logged when editing a file that references a schema through a comment

Expected Behavior

Nothing is output to logs unless somethings wrong in the comment that links to a schema.

Current Behavior

"Several $schema attributes have been found on the yaml-language-server modeline. The first one will be picked." is spammed to the logs, even when the schema comment is correct.

Steps to Reproduce

  1. Make a YAML document that links to a schema through a comment
  2. Open the logs and observe the output

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions