redhat-developer / redhat-developer/yaml-language-server
QuickFix/CodeAction for duplicate objects: merge
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
See https://stackoverflow.com/questions/29306630/can-i-automatically-merge-duplicate-objects-in-yaml-files/55075809#55075809
Yaml LS already detects and reports duplicate (great!), it would be nice to add some quickfixes such as "merge duplicate objects".
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
Start with the YAML language server's existing duplicate-object diagnostic and the referenced Stack Overflow example. Determine how a merge quick fix should behave, then verify that applying it produces the intended combined YAML objects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100