redhat-developer / redhat-developer/yaml-language-server
Feature Request: Allow to specify settings for YAML formatting
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
Is your enhancement related to a problem? Please describe.
I am unsure if this is the right repository to ask for this feature, if its wrong please let me know.
I really enjoy using the built-in yaml formatting in VS Code, but with prettier (and now https://github.com/redhat-developer/yaml-language-server/pull/1222) there doesn't seem to be any way to adjust/configure the formatter. It would be very useful for users to allow adjustments on how the yaml file is formatted (for example, i would like more space between groups of resources for easier yaml reading).
Describe the solution you would like
A VS Code Setting that allows the users to modify certain formatting settings or a configuration file somewhere else.
Describe alternatives you have considered
Use 3rd-party tools to format yaml.
Additional context
-
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
The issue names no files, tests, or entry points. Start by reviewing the YAML formatter and existing VS Code settings, then define which formatting options are in scope and how configuration should be exposed. Done means users can configure the agreed formatting behavior and the change is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100