How to get tpl files highlighted in pycharm?

bottle, pycharm, python-2.7

Solution

Just setting it like the picture:

Choose Editor -> File Types -> Recognized File Types -> HTML

Add a Registered Patterns: *.tpl

Your question will be solved.

Problem

What file association will get the correct highlighting for *.tpl files in Pycharm? I have tried HTML and PHP, but neither seem to get it 100%. I am using bottle and python 2.7 on a Windows machine.

Original source

Related problems