Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible search always includes colon #114

Open
kassi opened this issue Jul 30, 2023 · 0 comments
Open

Ansible search always includes colon #114

kassi opened this issue Jul 30, 2023 · 0 comments

Comments

@kassi
Copy link

kassi commented Jul 30, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant