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
361 stars 86 forks source link

Doc string snippets from module/plugin docs after task keyword #1157

Open ganeshrn opened 2 years ago

ganeshrn commented 2 years ago

Problem

Currently snippet for module doc is not supported

Solution

Add support for task keyword to provide module options snippet support. If user ask from auto-completion immediately after module name ansible.butilin.debug: in that case module snippet can be provided in autocompletion eg. https://marketplace.visualstudio.com/items?itemName=MattiasBaake.vscode-snippets-for-ansible. If the cursor position is at next line after module name individual options can be provided in auto completion.

Alternatives

No response

Additional context

No response

cloin commented 2 years ago

Examples would be cool too