Add file extensions to django templates

Hi,

we are using different file extensions to some django templates but I want to use the same scheme of colours as for the .html files.

How can I add new file extensions to the templates do I can get the correct syntax colors?

Thanks for your help.

1 comment
Comment actions Permalink

Hello filipa,

You can go to Settings | File Types and assign additional extensions to the

HTML file type. If the Django support is enabled, all HTML files are treated

as Django templates.

we are using different file extensions to some django templates but I

want to use the same scheme of colours as for the .html files.

How can I add new file extensions to the templates do I can get the

correct syntax colors?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.