redhat-developer / redhat-developer/vscode-yaml
FEATURE: Trailing comma
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 829
- Forks
- 260
- Avg merge
- 5h 43m
- Merged PRs (30d)
- 1
Description
So instead of tags: [update_vars] we would get tags: [update_vars, ]. Right now trailing commas are removed by the formatter. An option to disable the removing would already be helpful.
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 by locating the YAML formatter implementation and its existing formatting-option handling in the TypeScript codebase. Determine how trailing commas are currently removed and how an option could preserve them. Done means the formatter can retain a trailing comma when configured, while existing behavior remains unchanged by default, with coverage for the requested array syntax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100