ansible / vscode-ansible

vscode/vscodium extension for providing Ansible auto-completion and integrating quality assurance tools like ansible-lint, ansible syntax check, yamllint, molecule and ansible-test.
https://ansible.readthedocs.io/projects/vscode-ansible/
MIT License
337 stars 77 forks source link

Enable explanation button immediately when a playbook is generated #1390

Closed TamiTakamiya closed 2 weeks ago

TamiTakamiya commented 2 weeks ago

When a playbook is generated using Playbook Generation feature, the Explain the current playbook button on the sidebar is not enabled. It is because the current logic opens an empty editor and inserts the generated playbook. This PR changes to open the generated playbook from the beginning so that the button is enabled immediately when the editor view is opened.