-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add document formatting feature OR set YAML extension's formatter on ansible playbooks. #1114
Comments
This is a compatible issue with the YAML extension. We have default formatting set up in our extension, and we do not want to rely on the YAML extension to do it. Having said that, you can always set up a default extension for Here's how you can set up the formator. Add these to your settings configuration: "[ansible]": {
"editor.autoIndent": "advanced",
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.formatOnSave": true
} |
@priyamsahoo - Thanks for the note!
Thanks! |
Problem
No formatter support on ansible playbooks in VS-Code.
Solution
Add formatter support to ansible's extension.
Alternatives
Tweak ansible extension to use YAML extension as default formatter.
Additional context
No response
The text was updated successfully, but these errors were encountered: