redhat-developer / redhat-developer/vscode-yaml
How are overlapping glob patterns evaluated?
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
For example:
"yaml.schemas": {
"/Users/me/one-schema.json": "more/specific/path/config*.yaml",
"/Users/me/two-schema.json": "config*.yaml",
Which schema will be applied to this file: /Users/me/more/specific/path/config-development.yaml ?
Can I have a default for all "config*.yaml" files that can be overridden by a more specific glob pattern?
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
The issue names no files, tests, or entry points; begin by locating the configuration and schema-matching implementation and existing documentation for yaml.schemas. Confirm the precedence behavior and document the result, including whether a broad pattern can be overridden by a more specific one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode, yaml
- Domain
- documentation, tooling
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100