-
Notifications
You must be signed in to change notification settings - Fork 48
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
Hover module documentation failures over variable files. #63
Comments
@ichundu thanks for reporting the issue, we'll look at it and update later. |
@yungez Update: |
@ichundu thanks for the update. Actually I tested several variable files, didn't see the error. could you pls share your variable files to help investigate? thanks in advance. Pls share us any comments/pain point when you use ansible. We'll discuss and investigate to see how to help real ansible user like you by adding more new features to this extension. |
This error happens when I hover anything from this yml file:
The fact that I have two keys with the same name seems to be the cause of the |
@ichundu thanks for sharing the info. after investigation, the error happens when yaml file is invalid, such as wrong indent or in your example, duplicate key. Fix here includes:
Next release contains the fix will be around end of Feb. Stay tuned. Again thanks for feedback. |
@yungez you are correct, after some further investigation the issue seems to happen when there is some syntax related error in the yml file. Because the error output is instant and and takes half of the editor workspace it is a deal breaker. Thanks for the fix. Also the hover feature that displays the module link is very helpful, but it doesn't seem to work in role tasks for me. It's only showing module links on the top level playbook tasks. |
@ichundu currently we only support hover over on modules in tasks. Thanks for suggestion on modules in roles. Will add it and update here once ready. |
fixed in PR # 69. release in 0.1.4 version. The config item to enable/disable hover functionality is: pls have a try and let us know if any further question. thanks. |
Since the latest update (version 0.1.3) I'm getting multiple failures output messages every time I lay the mouse cursor over some text in ansible variable files.
I think this is related to the feature that displays a link to the Ansible module documentation when hovering over a module.
The exact error message I'm getting is:
Also is there a way to disable this feature?
The text was updated successfully, but these errors were encountered: