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

Feature Request: Allow to specify settings for YAML formatting

Open
#1,234 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.