Ref: ansible/vscode-ansible#597
.vscode/extensions.json:
.vscode/settings.json:
When I press Format document, vscode complains that There is no formatter for 'ansible' files installed.
Everything works, if replace
"editor.defaultFormatter": "redhat.vscode-yaml",
with
"editor.defaultFormatter": "esbenp.prettier-vscode",.
So it's looks like redhat.vscode-yaml issue.
Ref: ansible/vscode-ansible#597
.vscode/extensions.json:{ // List of extensions which should be recommended for users of this workspace. "recommendations": [ "redhat.ansible", "redhat.vscode-yaml", ] }.vscode/settings.json:When I press
Format document, vscode complains thatThere is no formatter for 'ansible' files installed.Everything works, if replace
"editor.defaultFormatter": "redhat.vscode-yaml",with
"editor.defaultFormatter": "esbenp.prettier-vscode",.So it's looks like
redhat.vscode-yamlissue.