Better YAML Formatter for Visual Studio CodeA Visual Studio Code extension that provides format support for YAML language. Frustrated of the builtin formatter with its own option philosophy? Or you guys comes from devops world where dealing with a lot of yaml everyday like kubernetes, ansible or helm template. And you have your own prefer style of YAML, e.g., do not indent sequence elements or other customization settings. This extension is made for you :) FeaturesFormat correct, consistent and customized yaml text with Better YAML Formatter. 🔥 Watch the demo video 👇https://github.com/user-attachments/assets/dfdec44b-221f-436d-9d90-413f0c0effe6 Take the k8s yaml for example:
As you see, the sequence style( Unluckily, the builtin yaml format has its own option philosophy. It always does indent and resists to accept such a customization setting. It's useless. I have to keep the style manually every time editing yaml files, or you will end up with a non-idiomatic one. It's tedious. So I create this extension to make life easier. Extension SettingsThis extension contributes the following settings:
ThanksThanks lupengpeng for the icon design. It's great! Many thanks the following projects: Without them there wouldn't be this extension. Throughout the process I learnt a lot and also made some contributions back to them. Definitely welcome your patches and contributions! |