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

Description in the schema root does not get displayed

Open fuyong2022 opened this issue 3 years ago • 2 comments

Describe the bug

When defining description at the root of the schema, this piece of information does not get displayed.

Expected Behavior

Description should be displayed when mouse hovers.

Current Behavior

No description displayed when mouse hovers.

Steps to Reproduce

  1. Set title and description in the json schema.
  2. Open yaml and see the top document bar, it shows: {title} ({name of schema file})
  3. Mouse hover does not display anything for VSCode 1.70.2 and YAML v1.9.1

Environment

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

fuyong2022 avatar Aug 18 '22 03:08 fuyong2022

@fuyong2022 can you please elaborate your issues? Where you hover currently? any examples?

msivasubramaniaan avatar Aug 30 '22 06:08 msivasubramaniaan

@msivasubramaniaan For example, the title is shown as "Global Azure Conventions and Settings"

In my schema, I can also definee description. But the description is not visible from VSCode. Should the description be displayed somewhere?

fuyong2022 avatar Aug 30 '22 06:08 fuyong2022

@fuyong2022 The issue was fixed and it will be available on the next v1.11.0

msivasubramaniaan avatar Sep 28 '22 15:09 msivasubramaniaan