ansible-language-server icon indicating copy to clipboard operation
ansible-language-server copied to clipboard

"listen" is not detected as a keyword

Open bluikko opened this issue 4 years ago • 1 comments

Summary

The keyword listen is not detected as a keyword. All other keywords seem to be detected, including notify.

Extension version

0.7.1

VS Code version

1.62.3

Ansible Version

Running on Windows without Ansible.

OS / Environment

Windows 10 1909.

Relevant log output

Only errors about spawning `cmd` because there is no python or ansible.

bluikko avatar Dec 01 '21 08:12 bluikko

Currently the keywords are hardcoded in file https://github.com/ansible/ansible-language-server/blob/main/src/utils/ansible.ts To fix this we will have to run ansible-doc -l -t keyword command to generate ansible keywords. This feature was added in recent release of ansible-core.

ganeshrn avatar Mar 30 '22 13:03 ganeshrn