OrchidE version 2024.1.0: New functions for shell module and Ansible test arguments.

OrchidE 2024.1.0

OrchidE 2024.1.0 brings language injection support for the Ansible shell module, editor functions for arguments of Ansible test functions, and an aliasing function for variables to associate the variable with a role argument spec definition.

Language injection for shell module

For script code in the Ansible shell module, it is now possible to edit the code in OrchidE with the corresponding plugin.

The plugins for Shell, PowerShell, and Python are currently supported.


OrchidE can recognize the language by means of an annotation, the keyword executable or a shebang line.

If there is more than one entry, the entry with the highest priority is used:

  • 1) Annotation
  • 2) Keyword executable
  • 3) Shebang


Support for test arguments

Code completion, syntax highlighting, and quick documentation are now available for Ansible test plugin arguments.

Support for argument with Ansible test plugins


Alias for inventory variables

With the alias annotation of OrchidE you get Quick Documentation, Code Completion and Navigation for Argument-spec variables that are used indirectly.


If you want to install a role on a node several times, you can do this in the playbook, for example:

- name: Sample Aliases
  roles:
    - role: service-instance
      vars:
        install_folder: ""

    - role: service-instance
      vars:
        install_folder: ""

However, auxiliary variables must now be used to maintain the install_folder variable in the inventory. To continue using editor functions such as quick documentation, navigation and code completion for variables from the argument-spec definition, the alias annotation of OrchidE is used.

With the alias annotation, the auxiliary variables can be mapped to the argument spec definition:

#@alias::install_folder
alias_sample_instance_1: /opt/service_1


Deprecation

Support for IntelliJ platform 2023.1 is deprecated and will end with the launch of the EAP for IntelliJ version 2025.1.