In the variant with annotation there are suggestions from the role of the metadata (argument spec) and the variables in defaults. Whether a facts variable is also available at runtime depends on the concrete configuration at the time of execution.įor keywords and module arguments there are additional suggestions with values.įor boolean values the suggestions can be adjusted in the configuration.įor code completion of variables either an annotation is needed, or a playbook with roles and suitable inventory entry. The code completion of facts is a ‘suggestion’ of OrchidE. Is no argument spec available, comments from the role defaults variable definition is used.Īdditionally, an extract of the typical facts variables is supported. When completing group/host variables with the Enter key, the description from the argument spec definition will also be inserted. When completing modules with the Enter key, all mandatory arguments are also inserted. variables specified in argument_spec file (within playbook includes and jinja templates in same role).group and host vars in inventory variable files,.OrchidE supports IntelliJ code completion via Tab and Enter key. ![]() ( File | Settings | Editor | Inlay hints) In the settings the inlay hints can be switched off and on and the presentation of the inlay can be adapted: OrchidE can display the value(s) of the reference as inlay hints in the editor for most Jinja variables. More settings of quick documentation can be found in the IntelliJ documentation ofĭocumentation tool window. ( File | Settings | Languages & Frameworks | OrchidE | Extension) Installation of OrchidE Builder Definition File You have to set the download directory in the extension settings and install the current definition package. The documentation is not part of OrchidE and must be installed separately. OrchidE displays the documentation for Ansible modules, module arguments and Ansible keywords in the Quick Documentation Popup/Tool Window. ( File | Settings | Languages & Frameworks | OrchidE | Modules) The default configuration uses Based on collection keyword
0 Comments
Leave a Reply. |