vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Self-reference of schema files

Open tats-u opened this issue 3 years ago • 2 comments

Describe the bug

https://github.com/tats-u/vscode-yaml-bug

Expected Behavior

Self-reference does not occur in schema files.

Current Behavior

image

Steps to Reproduce

  1. Create a YAML schema
  2. Create a YAML using the schema and add # yaml-language-server: $schema=[the relative path of 1.] to the first line
  3. Open the schema that has been created in 1.

Environment

  • [x] Windows
  • [ ] Mac
  • [ ] Linux
  • [ ] other (please specify)

tats-u avatar Jul 28 '22 14:07 tats-u

Duplicate of #477

corneliusroemer avatar Aug 12 '22 15:08 corneliusroemer

Thank you for suggesting a heavily related issue, but it is not completely duplicated to mine because it does not use the special comment but uses the project config.

tats-u avatar Aug 13 '22 02:08 tats-u