An idea by
Lorenzo Rossi posted in
Internet Software & Services
on 31 Jul, 2023
Deeply nested YAML is hard to edit because you do not know what context you’re in. If you’re modifying Kuberentes YAML, it’s hard to know what is valid where. If you indent a block to the left you make the document invalid. Nested YAML editors stop you from indenting to the left by accident. Validating means that the editor tries to deserialize the YAML into the data structure used by the program and shows you that program’s interpretation of the input YAML to tell you it’s valid or not.