redhat-developer / redhat-developer/vscode-yaml
Schemas not loaded in github.dev (hosted vscode)
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Describe the bug
Schemas configured via a .vscode/settings.json don't load in github.dev
Expected Behavior
Schemas work like in local vscode
Current Behavior
I get an error:
Unable to load schema from '/schema/workflows.schema.json': No content.
Steps to Reproduce
- Create a JSON schema file (eg in
/schema.json) - Add a
.vscode/settings.jsonfile with the following contents
{
"yaml.schemas": {
"schema.json": [
"foo.yaml"
]
}
}
- edit
foo.yaml
Environment
- Windows
- Mac
- Linux
- other: github.dev
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in github.dev using the root schema.json, .vscode/settings.json, and foo.yaml described in the report. Start by comparing schema loading there with local VS Code; done means the configured schema loads for foo.yaml without the reported “No content” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100