redhat-developer / redhat-developer/yaml-language-server
Provide full autocompletion when there are multiple requires and only one is fullfilled
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
E.g. In a case when you have multiple require statements that have the same elements in the same context
required: [
"name",
"age"
]
....
required: [
"name"
]
and a schema so far consists of
name: Josh
Auto completion should autocomplete from both of the fields but currently just autocomplete from the second one because the second one is technically valid as well
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
No file or test is named in the issue. Reproduce the schema with two required arrays in the same context, then trace the YAML language server's autocompletion entry point for how multiple requirements are considered. Done means completion includes fields from both arrays when one requirement is already satisfied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100