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

added yaml configuration which refers to add break before comments fo… #698

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

msivasubramaniaan
Copy link

For addressing the issue redhat-developer/vscode-yaml#459, introduced the option "yamlBreakBeforeComment". By default maintains as false. if false it maintains the formatter as same.

Example:
when: &shall # we three meet again; in lightning, thunder and in
rain:

After fix: (if yamlBreakBeforeComment:true)
when: &shall

we three meet again; in lightning, thunder and in lightning, thunder and

rain:

@msivasubramaniaan
Copy link
Author

@brodybits can you please review this PR?

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

Successfully merging this pull request may close these issues.

1 participant