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

chore(option): add "ansibleServer.trace.server" #11

Closed yaegassy closed 2 years ago

yaegassy commented 2 years ago

Description

Add the *.trace.server setting to the configuration option, so that configuration completion also works in coc-settings.json. (In the case of vscode, it's settings.json)

Added with reference to vscode-yaml. https://github.com/redhat-developer/vscode-yaml/blob/main/package.json#L98-L107

DEMO

https://user-images.githubusercontent.com/188642/138537321-b75037d1-760d-4c8f-86c0-c9feb861e250.mp4

Misc

I am wondering if it would be better to change to ansible instead of ansibleServer.

adjust here if you want to change it. https://github.com/yaegassy/coc-ansible/blob/master/src/index.ts#L175