vscode-yaml
vscode-yaml copied to clipboard
Newlines and other chars in JSON schema "examples" property interpreted correctly
Describe the bug
Newlines and other chars are not reflected properly when hovering over a variable in YAML file which uses a JSON schema containing the "examples" property
YAML contents:
prop: This\n is\n wrong\n while\n doing\n hover \n
Expected Behavior
I would expect to see the text with newlines and other chars correctly interpreted
Current Behavior
This is what I see when hovering over prop
in the YAML file:
Steps to Reproduce
- Refer from YAML file to example.schema.json
- Write
prop
in the YAML file - Hover over
prop
Environment
- [ ] Windows
- [ ] Mac
- [x] Linux
- [ ] other (please specify)
I have this issue as well !