yaegassy / coc-ansible

ansible-language-server extension for coc.nvim
https://www.npmjs.com/package/@yaegassy/coc-ansible
MIT License
71 stars 3 forks source link

feat: add ansible-doc integration feature #22

Closed yaegassy closed 2 years ago

yaegassy commented 2 years ago

Description

Add feature to run the ansible-doc command in a terminal window with various options.

Add Commands:

Usage

  1. Execute :CocCommand ansible.ansbileDoc.showInfo or :CocCommand ansible.ansbileDoc.showSnippets.
  2. Choose Plugin Type.
  3. A list of choosed plugin types will be displayed.
  4. Narrow down the target plugin in the fuzzy finder (CocList) and press Enter.
  5. Results are displayed in a terminal window
yaegassy commented 2 years ago

"ansible.ansbileDoc.showInfo" Command

DEMO (mp4)

https://user-images.githubusercontent.com/188642/177926607-a3335a8c-7b9e-4b0d-9e88-fd5b445e846c.mp4

yaegassy commented 2 years ago

"ansible.ansbileDoc.showSnippets" Command

DEMO (mp4)

https://user-images.githubusercontent.com/188642/177926745-b9c882bf-ad08-432f-a256-b1d679fa3a93.mp4