You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jouve
changed the title
"Go to Definition" for import/include resources (roles/playbook/etc)
"Go to Definition" for import/included resources (roles/playbook/etc)
Feb 7, 2025
There are some limitations we have on retrieving context that makes this complicated. However, we are interested in looking into this further, especially with the existence of the marketplace item you linked.
Additionally, the extension currently is very limited on what it considers "ansible" files by default, since many of our functions depend on "ansible" files being playbooks. While we are evaluating this, that will need to change before we can move ahead with this.
I will leave this open for now, though there is no timeline on if/when we will be able to implement.
Problem
"Go to Definition" does not work (import_playbook in this example, but it applies to other import/include)
Solution
"Go to Definition" open the imported/included yaml
Alternatives
tried https://marketplace.visualstudio.com/items?itemName=BlauweLucht.ansible-go-to-definition, but it would be nice have this feature by default
Additional context
No response
The text was updated successfully, but these errors were encountered: