You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a nested list in a markdownDescription in a JSON schema does not display the tooltip correctly when hovered over the property.
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"foo": {
"type": "string",
"markdownDescription": "\n\nField foo\n* `a`; has childs:\n * `b`; some text\n * `c`; some other text\n"
},
"bar": {
"type": "string",
"markdownDescription": "\n\nField bar\n* `a`; has childs:\n\t* `b`; some text\n\t* `c`; some other text\n"
}
}
}
When having a new file that is using the above json schema and you press Control + Space to see your properties, the list looks correct.
However, if you used the property and hovered over your property or let you show your documentation via shortcut, the nested list no longer looks correct
It is no longer a nested list. Only the top level elements are displayed correctly.
Expected Behavior
I expect that the hovered list is the same as the Control + Space list and to see the correct nested list
Current Behavior
When hovering a property the nested list is not displayed correctly
Steps to Reproduce
create a json schema as above
link the schema to an file
add the property foo and hover over its tooltip
Workaround
By using \t instead of spaces (property bar), it will display in both ways correctly. However, tabs are not always common to use
Environment
Windows
Mac
Linux
other (please specify)
The text was updated successfully, but these errors were encountered:
Describe the bug
Having a nested list in a
markdownDescription
in a JSON schema does not display the tooltip correctly when hovered over the property.When having a new file that is using the above json schema and you press Control + Space to see your properties, the list looks correct.
However, if you used the property and hovered over your property or let you show your documentation via shortcut, the nested list no longer looks correct
It is no longer a nested list. Only the top level elements are displayed correctly.
Expected Behavior
I expect that the hovered list is the same as the Control + Space list and to see the correct nested list
Current Behavior
When hovering a property the nested list is not displayed correctly
Steps to Reproduce
foo
and hover over its tooltipWorkaround
By using
\t
instead of spaces (propertybar
), it will display in both ways correctly. However, tabs are not always common to useEnvironment
The text was updated successfully, but these errors were encountered: