redhat-developer / redhat-developer/vscode-yaml
Autocomplete doesn't fill a "required" field with a default value
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
Pretty much as the title says really, if a field has a "default" value, but is in the "required" section, it will not autocomplete in the editor with the default value
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 the VS Code YAML editor with a field that has both a default value and required status. Trace the autocomplete behavior for that schema and confirm it inserts the default value for required fields while preserving existing behavior for other fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode, yaml
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100