redhat-developer / redhat-developer/yaml-language-server

QuickFix/CodeAction for duplicate objects: merge

Open
#135 0 comments 0 reactions 0 assignees View on GitHub

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.