Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text editor is not handling indentation and - prefix within collections automatically #50

Open
harmen-xb opened this issue Feb 28, 2024 · 0 comments

Comments

@harmen-xb
Copy link
Contributor

harmen-xb commented 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.

@harmen-xb 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant