Edit in YAML
When a screen is opened in Neos Studio, the shortcut Ctrl + Shift + Y allows you to display and save its data in YAML.
Even if visually the rendering can be very close to the persisted YAML files, it is not a direct modification of these files:
- The displayed YAML is the result of a transformation of the screen data.
- When saving, the YAML is transformed back into JSON and passed to the Post, Put and Delete APIs.
This YAML entry can make it easier to perform searches, replacements and copy-paste of elements while keeping all the controls performed on the server side when saving.
The YAML only contains modifiable properties, embedded collections and editable references. The module name is omitted to lighten the YAML on child elements when it has the same value as its parent.
The keyboard shortcut Ctrl + Shift + Space or right-clicking in the code editor allows input aids on certain properties (localizable string editor or selection screen when a lookup is available).
Warning
Performing entries in this way can bring productivity gains but you have to be very careful. Since the entry is much less guided than with classic entry screens, it is much easier to make mistakes that can be difficult to detect.