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

Ansible search always includes colon

Open kassi opened this issue 2 years ago • 0 comments

When in ansible mode, performing "Search in Dash for current selection" always appends the colon from the yaml key. When in dockercompose mode for instance, this is not the case.

Example:

- name: My Ansible task
  ansible.builtin.file:
               ^ cursor

Searches for "ansible.builtin.file:", so I always have to remove the colon from the search manually.

Since VSCode also highlights the whole area when the cursor inside incl. colon, I guess it has something to do with wordSeparators, but I was not able to overwrite this in the settings and make it work. Maybe this is related to the ansible plugin rather than vscode-dash, but maybe someone has an idea on how to fix this.

kassi avatar Jul 30 '23 08:07 kassi