Open DeadNews opened 2 years ago
Surprised to find out that redhat.vscode-yaml
didn't work with ansible. Look forward to this feature being added.
I'm the same here, but it works if I switch the file type to yaml, format, and then back to ansible.
Looks like some erroneous checks for currently selected file type in redhat.vscode-yaml
.
Any news on this? Neither redhat.ansible nor redhat.vscode-yaml extension seem to be able to handle Ansible files...
Any news on this? Neither redhat.ansible nor redhat.vscode-yaml extension seem to be able to handle Ansible files...
I am also waiting for, no luck yet!
Ref: https://github.com/ansible/vscode-ansible/issues/597
.vscode/extensions.json
:.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-yaml
issue.