Yaml-editor with code auto align?

I am using the build in “Configure UI” for Lovelace cards. When using “Manual Card” and trying to combine different custom cards (2-3 cards), I often use a lot of time to get the alignment of the code correct.

Is there any yaml-editor out there, where one can write/paste code in, and then the editor aligns the code correctly?

This way I could use a online- or desktop editor, and paste the auto-aligned code it into the “Manual Card”.

There are YAML “lint” checkers that could make a guess at alignment. I have not used it, but you can try pasting your code into:

http://www.yamllint.com/