/intellij-ansible

YAML/Ansible support with Jinja2 tags / IntelliJ IDEA

Primary LanguageJava

YAML/Ansible in IntelliJ IDEA

Current status: stable, basic functions, supports only basic YAML, not in active development





Features

  • Goto role (Ctrl-N)
  • Goto task (Ctrl-N)
  • Goto var/property (Ctrl-Alt-Shift-N)
  • Role/Jinja var reference on Ctrl-Click
  • Module doc lookup
  • lexer, parser (internal)
  • syntax highlighting
  • comment/uncomment
  • bracket / parenthesis matching
  • role completion

Install

Current version Download and install via

  1. Go to File → Settings in PhpStorm
  2. Select Plugins on the left
  3. Install from disk file...

Stable version (not-crashing alpha) is available in official plugin repository:

  1. Go to File → Settings in PhpStorm
  2. Select Plugins on the left
  3. Click Browse Repositories button on the bottom
  4. Find YAML/Ansible and install it

If you prefer your own build from master, open this project in IntelliJ IDEA as a Plugin project, go to Build -> Prepare for deployment and install it in your Idea.

Note: the plugin features may not work in IntelliJ 2016 if the YAML support plugin is also active. This will be fixed in future versions. See the related github issue.

Development

This plugin is in its early development phase, it's not complete at all and it will contain many bugs! Be careful if you decide to use it.

Please tell me what features you'd like in Issues tab.

If you want to contribute, please read development.md