vscode-ansible icon indicating copy to clipboard operation
vscode-ansible copied to clipboard

Context menu with Lightspeed is rendered when Lightspeed is disabled.

Open kristof-mattei opened this issue 6 months ago • 1 comments

Summary

Disabling Ansible Lightspeed does not remote the context menu entries.

Worse, it is shown everywhere, not just in Ansible playbooks.

Link to offending source code: https://github.com/ansible/vscode-ansible/blob/a2c4e3fc58d62fa744bbbe1702f98b16cb133768/package.json#L755-L756

I have "ansible.lightspeed.enabled": false, in my settings.json.

Meaning the context menu should not be rendered, whether I'm in a playbook or not.

Example:

image

Extension version

v24.8.3

VS Code version

1.92.0

Ansible Version

❮ ansible --version
ansible [core 2.16.7]
  config file = None
  configured module search path = ['/home/kristof/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/kristof/.pyenv/versions/3.12.3/envs/ansible/lib/python3.12/site-packages/ansible
  ansible collection location = /home/kristof/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/kristof/.pyenv/versions/ansible/bin/ansible
  python version = 3.12.3 (main, Jul  1 2024, 11:24:56) [GCC 13.2.0] (/home/kristof/.pyenv/versions/3.12.3/envs/ansible/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True

OS / Environment

Windows 11, WSL Ubuntu 22.04, ansible-lint 24.6.0

Relevant log output

No response

kristof-mattei avatar Aug 03 '24 02:08 kristof-mattei