You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When writing a YAML file by hand, and you type the property name of a collection and then press 'Enter', to get to the next line the identation is not automatically done. You have to indent it yourself to get the right auto-completion.
Since within the grammer it is known that we just typed the name of a collection/array the LSP/editor should be aware that indentation needs to happen.
After indentation for a collection we always need to start with a '- ' the describe the item in the collection, which can also be automated.
The text was updated successfully, but these errors were encountered:
harmen-xb
changed the title
Text editor is not handling indentation for collections automatically
Text editor is not handling indentation and - prefix within collections automatically
Feb 28, 2024
When writing a YAML file by hand, and you type the property name of a collection and then press 'Enter', to get to the next line the identation is not automatically done. You have to indent it yourself to get the right auto-completion.
Since within the grammer it is known that we just typed the name of a collection/array the LSP/editor should be aware that indentation needs to happen.
After indentation for a collection we always need to start with a '- ' the describe the item in the collection, which can also be automated.
The text was updated successfully, but these errors were encountered: