I am using PyCharm Prof with the TeXiFy plugin to write my LaTeX documents.
I started to use Jinja2 Templates to generate some tables automatically from data sources. If I specify LaTeX-source file type in Languages & Frameworks > Template Languages, the templates are successfully recognized. However, not only in documents containing template markups, but also in all plain TeX documents, PyCharm is now starting to use Jinja style comments when I press the line and block comment shortcuts instead of TeX style comments.
Is there any way to make PyCharm to recognize only the files I want to be templates and leave the others as is, eg by using a template directory? The TeX documents should further be recognized as LaTeX-source file type to enable syntax highlighting and checks provided by TeXiFy.