May 02 2015

Enabling Ansible Jinja2 template syntax highlighting in PHPStorm (and other editors)

Category: Linux administrationFractalizeR @ 1:14 am

Just do this:

    <key>fileTypes</key>
    <array>
        <string>j2</string>
    </array>
  • Add cloned repository folder to PHPStorm -> Settings -> Editor -> TextMate Bundles
  • It should work now, but may be you will have to add “*.j2” to PHPStorm -> Settings -> Editor -> Filetypes -> Files supported via TextMate bundles

Leave a Reply

You must be logged in to post a comment. Login now.