Using ${workspaceFolder} token to reference local schema files? #1091
Unanswered
markcandelora
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a workspace organized like below:
.vscode/settings.json:
schema.json:
There's actually more in the
schema.json
document, but this shows a quick summary. I've validated the schema a few different ways and confirmed that it's a valid schema document.The problem is when I open the
content1.yaml
document I get an error on the first character of the first property:Unable to load schema from '\${workspaceFolder}\schema.json': No content.YAML(768)
So, it looks like the ${workspaceFolder} token doesn't get replaced from the settings file; is there any way to reference a schema file within the workspace folder?
Beta Was this translation helpful? Give feedback.
All reactions