redhat-developer / redhat-developer/vscode-yaml

Auto-reload yaml schema if edited in the workspace

Open
#309 13 comments 26 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
829
Forks
260
Avg merge
5h 43m
Merged PRs (30d)
1

Description

when developing a yaml schema, it would be useful that when it is modified, the modified file is picked up automatically. Currently, I need to restart VS Code.

Use case:

  • create a yaml schema
  • modify settings yaml.schemas to point to it
  • open a file X.yaml matching the glob pattern provided for yaml.schemas
  • call completion in the X.yaml file
  • modify the yaml schema, save
  • go back to X.yaml editor
    --> have completion/validation corresponding to the modified and saved yaml schema

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how schemas configured through yaml.schemas are loaded and how completion and validation use them. Reproduce the listed workflow in VS Code, then identify the refresh boundary after the schema file is saved. Done means X.yaml reflects the modified schema without restarting VS Code, with completion and validation both updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.